How retirement income is taxed
In retirement your income comes from several places, and each is taxed differently: IRA withdrawals as ordinary income, Roth withdrawals not at all, investment gains at their own lower rates, Social Security somewhere between none and 85% of it. The sources also affect one another, so the tax on your next dollar can be much higher, or lower, than your bracket suggests.
Each source has its own rule
The biggest change from working life is that there's no paycheck. With no wages there's no Social Security or Medicare tax, and what's left is federal income tax, state income tax and, at higher incomes, a 3.8% surtax on investment income. Here's how each common source is treated.
| Source | How it's taxed federally |
|---|---|
| Traditional 401(k), IRA or 403(b) withdrawals | Ordinary income, at your bracket rate. Before 59½, usually a 10% penalty as well. |
| Roth 401(k) or Roth IRA withdrawals | Nothing, once you're 59½ and the account is five years old. Contributions come out tax-free at any age. |
| Pensions and most annuities | Ordinary income, except any part you paid in with after-tax money. |
| Social Security | None, up to 50% or up to 85% of benefits counts as income, depending on your other income. |
| Selling investments in a taxable account | The original cost comes back untaxed. Gains on investments held over a year are taxed at 0%, 15% or 20%; held a year or less, as ordinary income. |
| Qualified dividends | 0%, 15% or 20%, like long-term gains. |
| Interest, and other dividends | Ordinary income. Municipal bond interest is exempt from federal tax, but it still counts in the Social Security and Medicare income tests. |
| HSA withdrawals | Nothing if spent on medical costs. Other spending is ordinary income, with a 20% penalty before 65 and none after. |
Two consequences follow. The order you draw from your accounts changes your tax bill even when the spending is identical, which is the subject of Which account to draw from first. And income you don't count, like Roth money or the original cost of shares you sell, can keep the counted part low enough to stay in cheap brackets.
How much of Social Security is taxed
Social Security has its own test, based on a figure the IRS doesn't name but most people call provisional income (SSA calls it combined income):
Provisional income = your AGI not counting Social Security + tax-exempt interest + half of your Social Security benefits.
Then the thresholds decide how much of your benefit becomes taxable income:
| Provisional income | Single | Married filing jointly | Share of benefits taxable |
|---|---|---|---|
| Below the first threshold | Under $25,000 | Under $32,000 | None |
| Between the thresholds | $25,000–$34,000 | $32,000–$44,000 | Up to 50% |
| Above the second threshold | Over $34,000 | Over $44,000 | Up to 85% |
The shares are "up to" because benefits are phased in gradually. Between the thresholds, the taxable part is half of the provisional income over the first line (capped at half your benefits). Above the second line it's 85% of the amount over it, plus the smaller of $6,000 for a couple ($4,500 single) or half the benefits, capped at 85% of benefits. No one ever pays tax on more than 85% of their Social Security.
A worked example: a married couple with $40,000 of Social Security between them and $30,000 of IRA withdrawals. Their provisional income is $30,000 + $20,000 (half the benefits) = $50,000, which is $6,000 over the $44,000 line. Taxable Social Security is 85% of $6,000, plus $6,000, which comes to $11,100, well under the $34,000 cap (85% of $40,000). Their AGI is $41,100: the $30,000 of withdrawals plus the $11,100 of benefits that count. The other $28,900 of Social Security never appears as income.
| Other income (IRA withdrawals, pension, interest) | Married couple | Single person |
|---|---|---|
| $0 | $0 | $0 |
| $5K | $0 | $0 |
| $10K | $0 | $2,500 |
| $15K | $1,500 | $5,350 |
| $20K | $4,000 | $9,600 |
| $25K | $6,850 | $13,850 |
| $30K | $11,100 | $18,100 |
| $35K | $15,350 | $22,350 |
| $40K | $19,600 | $26,600 |
| $45K | $23,850 | $30,850 |
| $50K | $28,100 | $34,000 |
| $55K | $32,350 | $34,000 |
| $60K | $34,000 | $34,000 |
| $65K | $34,000 | $34,000 |
| $70K | $34,000 | $34,000 |
| $75K | $34,000 | $34,000 |
| $80K | $34,000 | $34,000 |
The steep part of each line is what the next section is about. Where the line is rising steeply, every extra $1,000 of other income drags $850 of benefits into taxable income with it. A single person gets there with much less income than a couple, because the single thresholds are lower but the benefit is the same size.
If both are 65 or older, their 2026 deductions come to $47,500 (the standard deduction, the extra amount at 65 and the senior deduction; Deductions and credits has the details), so they owe no federal income tax at all. If both were under 65, the $32,200 standard deduction would leave $8,900 taxable and a bill of $890.
The thresholds date from 1983, when Congress began taxing benefits from 1984 to shore up Social Security's finances, and the 85% tier was added in 1993. Neither set has ever been indexed. They were meant to touch only better-off retirees, but as benefits and other incomes have risen with inflation, more people have crossed them each year. SSA's researchers found that the share of beneficiary families taxed on their benefits rose from less than one in ten in 1984 to more than half.
The tax torpedo
The Social Security rule has an odd side effect. In the range where your benefits are being phased into income, each extra dollar from an IRA makes another 50 or 85 cents of Social Security taxable as well. So $1 of withdrawal adds $1.50 or $1.85 to taxable income, and the tax on that dollar is your bracket rate times 1.5 or 1.85. Planners call the bump this makes the tax torpedo.
| IRA withdrawals per year | Tax on the next dollar | Bracket |
|---|---|---|
| $0 | 0% | 10% |
| $5K | 0% | 10% |
| $10K | 0% | 10% |
| $15K | 0% | 10% |
| $20K | 0% | 10% |
| $25K | 0% | 10% |
| $30K | 0% | 10% |
| $35K | 18.5% | 10% |
| $40K | 18.5% | 10% |
| $45K | 22.2% | 12% |
| $50K | 22.2% | 12% |
| $55K | 22.2% | 12% |
| $60K | 22.2% | 12% |
| $65K | 12% | 12% |
| $70K | 12% | 12% |
| $75K | 12% | 12% |
| $80K | 12% | 12% |
| $85K | 12% | 12% |
| $90K | 12% | 12% |
| $95K | 12% | 12% |
| $100K | 12% | 12% |
| $105K | 12% | 12% |
| $110K | 24.64% | 22% |
| $115K | 24.64% | 22% |
| $120K | 24.64% | 22% |
| $125K | 24.64% | 22% |
| $130K | 24.64% | 22% |
| $135K | 24.64% | 22% |
| $140K | 24.64% | 22% |
| $145K | 24.64% | 22% |
| $150K | 24.64% | 22% |
At $50,000 of withdrawals the federal tax is $3,686, and the next dollar withdrawn pays 22.2% where the bracket is 12%. Another $1,000 from the IRA would make $850 more of the Social Security taxable as well.
For this couple the first $31,000 or so of withdrawals is covered by their deductions and costs nothing. From there to about $62,000, each dollar pays 18.5 or 22.2 cents while their bracket says 10 or 12. You can check one point by hand. At $50,000 of withdrawals, another $1,000 makes another $850 of Social Security taxable, so taxable income rises by $1,850. They're in the 12% bracket, and 12% of $1,850 is $222, or 22.2 cents per dollar withdrawn. Once 85% of their benefits is taxable, at about $62,000, the extra effect stops and the rate drops back to 12%, lower than in the torpedo zone. Further up, above $150,000 of AGI, the senior deduction starts to phase out and the rate rises past their 22% bracket to 24.64%.
The torpedo gets sharper when the zone overlaps a higher bracket. A single person of 67 with $40,000 of Social Security pays about 43 cents of federal tax on each dollar of IRA withdrawals around $46,000, in the 22% bracket: 22% times 1.85, plus the senior deduction shrinking at the same time.
A few things soften it:
- Take IRA income before Social Security starts. Withdrawals or Roth conversions in the years before you claim are taxed at plain bracket rates, and leave a smaller IRA to draw on later.
- Mix in income that doesn't count. Roth withdrawals and the cost basis of shares you sell don't enter provisional income, so they can pay for spending without pulling benefits into tax.
- Claim Social Security later. More of your income then comes as benefits, only half of which enters the test, and less from the IRA, all of which does.
- Give through a QCD. From 70½, money sent straight from an IRA to charity is left out of income altogether.
Capital gains and the 0% bracket
Long-term capital gains, on investments held more than a year, and qualified dividends have their own rates. For 2026:
| Rate | Single, taxable income | Married filing jointly, taxable income |
|---|---|---|
| 0% | Up to $49,450 | Up to $98,900 |
| 15% | $49,450–$545,500 | $98,900–$613,700 |
| 20% | Over $545,500 | Over $613,700 |
The rates apply to taxable income including the gain, and gains are stacked on top of ordinary income. Your IRA withdrawals, pension and taxable Social Security fill the bottom of the stack; the gains sit above them, and only the part of the gains that reaches past the line pays 15%.
Take a married couple, both 66, with $60,000 of IRA withdrawals, $30,000 of Social Security and a $40,000 long-term gain from selling shares. $25,500 of their benefits is taxable, so their AGI is $125,500. After $47,500 of deductions, ordinary income uses $38,000 of taxable income and the $40,000 gain sits on top, reaching $78,000. That's under the $98,900 line, so the whole gain is taxed at 0%, and they could have realized another $20,900 of gain at 0%. Their federal tax, $4,064, is all on the ordinary income.
Had the gain been $80,000, it would have reached past the line. The bars show both cases.
| Long-term gain realized | Covered by deductions | Ordinary income, taxed at 10% and 12% | Gain taxed at 0% | Gain taxed at 15% |
|---|---|---|---|---|
| $40,000 gain | $47,500 | $38,000 | $40,000 | $0 |
| $80,000 gain | $45,640 | $39,860 | $59,040 | $20,960 |
With the $80,000 gain, $59,040 of it still fits under the $98,900 line and is taxed at 0%. The top $20,960 pays 15%, which is $3,144. The bigger gain also raises their AGI past $150,000, which trims their senior deduction by $1,860 and pushes that much more ordinary income into tax. Their federal bill goes from $4,064 to $7,431: the second $40,000 of gain cost $3,367, about 8.4%, and the first cost nothing.
A couple under 65 with no other income could realize about $130,000 of long-term gains in 2026 and owe no federal income tax: $130,000 less the $32,200 standard deduction is $97,800 of taxable income, all inside the 0% band.
That's the reason for gain harvesting: in a year with room in the 0% band, sell shares with gains and buy them straight back. You owe nothing, and the higher cost basis means less taxable gain later. (The wash-sale rule only stops you claiming losses this way, not gains.) The catch is that the gain is still income. It raises AGI, so it can make more Social Security taxable, raise Medicare premiums two years later and shrink ACA premium credits before 65.
When you sell shares from a taxable account, only the gain is income. If you bought for $60,000 and sell for $100,000, $60,000 comes back as your own money and only $40,000 is taxed. That's why a taxable account is so useful early in retirement: it can pay for a lot of spending while reporting little income. The taxable account covers it in more detail.
The 3.8% investment income tax
The net investment income tax, which began in 2013, adds 3.8% on the smaller of your net investment income or the amount by which your modified AGI exceeds $200,000 single or $250,000 joint. Like the Social Security thresholds, these have never been indexed.
Investment income here means interest, dividends, capital gains, rents and royalties. IRA and 401(k) withdrawals, pensions and Social Security aren't investment income, but they still count toward modified AGI, so they can push your investment income into the tax. A couple with $240,000 of pension and IRA income and $40,000 of dividends and gains has modified AGI of $280,000, $30,000 over the line. The tax applies to the smaller figure, $30,000, so it's $1,140.
Roth conversions work the same way: the converted amount isn't investment income, but in the year you convert it can expose your dividends and gains to the 3.8%.
Paying the tax during the year
With no employer withholding from a paycheck, retirees have to arrange it themselves. The IRS expects tax to be paid through the year, and charges a penalty when too little is.
- Social Security withholds federal tax only if you ask, at 7%, 10%, 12% or 22% of each payment, using Form W-4V.
- IRA withdrawals have 10% withheld by default, which you can change; a pension withholds as if it were a paycheck unless you choose otherwise.
- Quarterly estimated payments cover the rest. You generally avoid a penalty if you pay at least 90% of this year's tax or 100% of last year's (110% if last year's AGI was over $150,000).
One useful quirk: tax withheld is treated as paid evenly through the year, whenever it actually came out. A retiree who finds in December that they've underpaid can take an IRA withdrawal with enough withheld to cover the gap, and it counts as if it had been paid on time all year.
Seeing it in your own plan
Income Tax has a retirement mode for this. Enter traditional, Roth and brokerage withdrawals, the share of the brokerage withdrawal that's gain, Social Security, pensions and other income, and it taxes each the way the law does: provisional income and the taxable share of benefits, gains stacked against the 0%, 15% and 20% bands, the 3.8% surtax and your state's own retirement rules. It also shows the rate on your next $1,000 of IRA withdrawals, which is where the torpedo shows up.
To see how the mix changes over a whole retirement, the Withdrawal Order optimizer tries drawing your accounts in different orders, and Roth Conversions tests moving IRA money to a Roth in the low-income years before Social Security and required minimum distributions begin.
Common questions
Do I pay Social Security and Medicare tax on IRA withdrawals?
No. Those taxes apply to wages and self-employment income. Withdrawals, pensions, Social Security benefits and investment income are subject to income tax only, plus the 3.8% surtax on investment income above its thresholds.
Are Roth withdrawals ever taxed?
Your contributions can always come out tax-free. Earnings come out tax-free once you're 59½ and it's been five years since your first Roth IRA contribution or conversion. Before that, withdrawn earnings can be taxed and penalized, though exceptions apply. Roth money also doesn't count toward provisional income or Medicare's income test.
Is municipal bond interest really tax-free?
From federal income tax, yes, and usually from your own state's if the bonds are issued there. But it's added into provisional income for Social Security and into the income Medicare uses for its surcharges, so it can still raise what you pay.
What about selling my house?
If you owned it and lived in it for at least two of the last five years, up to $250,000 of gain ($500,000 for a married couple) is excluded from income. Gain above that is taxed as a long-term capital gain.
Does my state tax Social Security?
Most don't. For 2026, eight states still tax some benefits, most of them with an income-based exemption or credit, and nine don't tax wages or retirement income at all. State taxes has the list.
In short
- IRA and pension income is taxed at ordinary rates, qualified Roth money not at all, and long-term gains at 0%, 15% or 20%.
- Up to 85% of Social Security is taxable, depending on provisional income; the $25,000 and $32,000 thresholds have never been indexed.
- Where benefits are being phased into income, each IRA dollar can be taxed at 1.5 or 1.85 times your bracket rate.
- Gains stack on top of ordinary income; a couple can have up to $98,900 of taxable income in 2026 and pay 0% on the gains in it.
- No wages means no FICA, but you need to arrange withholding or estimated payments yourself.
Lessons explain how things work. They aren’t personal financial, tax or legal advice.