Taxes in retirement: the overview
In retirement the paycheck is replaced by several kinds of income, and the tax code treats each differently. Traditional IRA and 401(k) withdrawals, pensions and interest are taxed as ordinary income in brackets from 10% to 37%[1]. Long-term capital gains and qualified dividends get their own lower rates. Part of Social Security may be taxable. Qualified Roth withdrawals are not taxed at all. So the account you draw from, and the year you draw it, shape the tax bill as much as the amount does.
The decisions
- Using the deductions you have. The 2026 standard deduction is $32,200 on a joint return and $16,100 for a single filer, plus $1,650 per spouse aged 65 or older on a joint return ($2,050 if single)[1]. For 2025 through 2028 there is also a $6,000 deduction for each person 65 or older, reduced by 6% of modified AGI above $75,000 ($150,000 joint)[2].
- Harvesting the 0% capital-gains rate. Gains on assets held more than a year are long-term; short-term gains are taxed as ordinary income[3]. Long-term gains sit on top of ordinary taxable income, and the part that falls below $49,450 of taxable income (single) or $98,900 (joint) is taxed at 0%; the 20% rate starts above $545,500 and $613,700[1]. Selling a loss to offset gains has a limit too: the loss is disallowed if you buy substantially identical securities within 30 days before or after the sale[8].
- Watching the thresholds that are not indexed. The 3.8% net investment income tax reaches investment income once modified AGI is above $200,000 (single) or $250,000 (joint), and those amounts are not adjusted for inflation[5]. Social Security benefits begin to be taxed once provisional income (roughly your other income plus half your benefits) passes $25,000 single or $32,000 joint, also fixed in the law[4].
- Paying during the year. With no employer withholding, retirees pay by estimated tax or by withholding from IRA distributions. There is generally no underpayment penalty if you paid at least 90% of this year’s tax or 100% of last year’s[6], or 110% of last year’s if your adjusted gross income was over $150,000[7]. Withholding counts as paid evenly through the year unless you choose otherwise, so tax withheld from a December distribution covers the earlier quarters too[7].
- Employer stock and state tax. Employer shares taken out of a plan in a lump-sum distribution can keep their net unrealized appreciation untaxed until the shares are sold, and that appreciation is then taxed at capital-gains rates[9]. State rules vary as much as anything federal: Texas has no personal income tax[10], while Pennsylvania taxes income at a flat 3.07% but exempts Social Security and eligible retirement distributions[11].
What to read, in order
Start with LTCG stacking, which explains how gains and ordinary income share the brackets, and the many MAGIs, which sorts out the different income definitions behind each threshold. Then read NIIT, state taxes in retirement (with every modeled state compared on the state pages) and estimated-tax safe harbors. For a taxable brokerage account, see tax-loss harvesting; for company stock in a 401(k), NUA and ESOP NUA. The full tables are on the 2026 brackets and 2026 contribution limits pages. How benefits are taxed is covered under Social Security.
Start here
- The 0% capital-gains bracket is real: LTCG stacking explainedLong-term gains stack on top of ordinary income and are taxed at 0% up to $98,900 (MFJ, 2026). How gain harvesting steps up basis for free, and the bump-zone trap.
- The many MAGIs: one income, five different testsACA subsidies, IRMAA, NIIT, IRA deductions, and Roth eligibility each define "modified AGI" differently: what each test adds back, the 2026 thresholds, and which ones are cliffs.
Go deeper
- NIIT: the 3.8% surtax with the frozen thresholdThe net investment income tax explained: the lesser-of formula, why Roth conversions expose dividends to it, and how the never-indexed $250k/$200k thresholds reach further every year.
- State taxes in retirement: the exemptions that change the mapPennsylvania and Illinois exempt retirement income entirely, Georgia shields $65,000 per person at 65+, nine states have no income tax, and only eight still tax Social Security.
- Safe-harbor rules: estimated taxes in retirement without penaltiesThe 90%/100%/110% safe harbors, the four uneven quarterly deadlines, and the §6654(g) quirk that lets a December RMD with withholding retroactively cover the whole year.
- Tax-loss harvesting without wash-sale regretHow harvested losses actually save tax, the 61-day wash-sale window, the IRA trap that destroys a loss permanently, and why retirees in the 0% bracket should harvest gains instead.
- Net unrealized appreciation (NUA) tax treatmentNet unrealized appreciation (NUA) gives company stock in a 401(k) special tax treatment: basis taxed now, growth at capital gains rates later.
- ESOP NUA: net unrealized appreciation tax treatmentHow net unrealized appreciation (NUA) applies to ESOP shares: the S-corp cash-only exception, the age-55 diversification election, and the lump-sum trap.
Reference tables
- What changed for 2027: tax brackets, limits, Social Security and MedicareEvery published 2027 retirement figure beside 2026 (brackets, deductions, HSA, Social Security, ACA and Medicare), and what the new tax tables do to four sample retired households.
- 2027 federal tax brackets and standard deductions, all four filing statusesTax year 2027 brackets, standard deductions, 65+ and $6,000 senior deductions, and 0%/15%/20% capital-gains thresholds for all four filing statuses, beside 2026.
- 2027 retirement contribution limits: 401(k), IRA, HSA, and every catch-up2027 contribution limits: HSA limits of $4,500 self-only and $9,000 family; 401(k), IRA and catch-up limits not yet published, with the 2026 figures.
- 2026 federal tax brackets and standard deductions, all four filing statusesTax year 2026 brackets, standard deductions, 65+ and $6,000 senior deductions, and 0%/15%/20% capital-gains thresholds for all four filing statuses.
- 2026 retirement contribution limits: 401(k), IRA, HSA, and every catch-up2026 limits: the $24,500 401(k) deferral, $8,000 catch-up, the age-60–63 catch-up, IRA and Roth phase-outs, HSA and HDHP figures, SIMPLE and QCD limits.
Calculators
- Marginal-rate map: See what your next dollar of IRA withdrawals really costs: brackets, the Social Security tax torpedo, capital-gains stacking, NIIT, and the IRMAA and ACA cliffs.
- 0% capital gains calculator: See how much long-term gain fits in the 0% bracket this year, with the age-65 and senior deductions, and the tax on the gain you plan to take.
- NUA calculator: Company stock in a 401(k)? Compare the federal tax of the NUA election with rolling the shares to an IRA, year by year, and find the break-even basis.
- Retirement deadlines calendar: Estimated-tax, IRA and HSA, RMD, Roth conversion, QCD, Medicare and Marketplace dates in one list, with your own ages merged in and a calendar file to download.
- Key numbers for 2027: Brackets, deductions, contribution limits, IRMAA tiers and other 2027 figures on one printable page.
- Roth conversion tax calculator: Enter filing status, other income and a conversion amount to see the federal tax on the conversion and the brackets it fills.
Worked examples and comparisons
- Worked example: a retired couple’s federal return with a Roth conversion and capital gains: A couple, both 66, convert $80,000 and sell shares at a gain: every deduction, bracket slice and the 0% capital-gains band, line by line.
- Worked example: the senior deduction and its phase-out: The same couple at three income levels and in the year after the deduction expires, showing exactly how the 6% phase-out shrinks it.
- Worked example: the 3.8% net investment income tax: A high-income couple with dividends, gains and Social Security: the 15% gains layer, then the NIIT on the smaller of investment income and income over the line.
- Married filing jointly vs separately in retirement: Two retired couples run both ways: brackets, Social Security, the senior deduction and Medicare surcharges on joint versus separate returns.
See it in your plan
If you already have a saved plan, the link only takes you to the right panel; your plan is not changed.
Related topics
This page explains how the rules work. It is not financial, tax or investment advice. Read the disclaimer.
References
- IRS Rev. Proc. 2025-32: 2026 inflation adjustments (brackets, standard deduction, capital-gains thresholds) ↩
- 26 U.S. Code §151: Allowance of deductions for personal exemptions (deduction for seniors) ↩
- IRS Topic 409: Capital gains and losses ↩
- IRS Publication 915: Social Security and equivalent railroad retirement benefits ↩
- IRS:Net Investment Income Tax ↩
- IRS Topic 306: Penalty for underpayment of estimated tax ↩
- IRS Publication 505: Tax withholding and estimated tax ↩
- IRS Publication 550: Investment income and expenses (wash sales) ↩
- IRS Topic 412: Lump-sum distributions (net unrealized appreciation) ↩
- Texas Comptroller: Taxes ↩
- Pennsylvania DOR: PA personal income tax guide (retirement exemptions) ↩