The 0% capital-gains bracket is real: LTCG stacking explained

Last reviewed July 2026 · 5 min read

Long-term capital gains and qualified dividends do not use the ordinary income tax brackets. They have their own three-rate schedule — 0%, 15%, and 20% — and for retirees with modest ordinary income, the 0% rate is not a loophole or a rounding error. It is a real bracket, written into the tax code, wide enough that a married couple can realize six figures of gains in a year and owe no federal income tax on them. The catch is understanding stacking: which rate applies depends not on the size of the gain alone, but on where the gain sits on top of your other income.

How stacking works

Picture your taxable income as layers in a glass. Ordinary income — wages, interest, pre-tax retirement withdrawals, Roth conversions, the taxable part of Social Security — pours in first and is taxed by the ordinary brackets. Long-term gains and qualified dividends stack on top of that ordinary layer. The preferential rate for each dollar of gain depends on the height it reaches: for 2026, gains are taxed at 0% until total taxable income passes $49,450 (single) or $98,900 (married filing jointly), at 15% up to $545,500 / $613,700, and at 20% above that.

Two consequences follow. First, a retiree with little ordinary income has a tall empty space under the 0% ceiling, and gains realized into that space are federally tax-free. Second, every extra dollar of ordinary income pushes the whole gains layer up by a dollar — which can shove gains that would have been free into the 15% zone.

A worked 2026 example

Take a married couple, both retired, living off a taxable brokerage account with no pension and Social Security not yet claimed. Their only income is what they choose to realize. For 2026 the standard deduction is $32,200 (MFJ), and the 0% gains ceiling is $98,900 of taxable income. They could sell appreciated shares with up to $131,100 of gain — the deduction absorbs the first slice, the 0% bracket holds the rest — and pay $0 of federal income tax. Note that it is the gain that counts, not the sale proceeds: selling $300,000 of stock with $120,000 of embedded gain realizes $120,000, not $300,000.

Standard deductionLong-term gains at 0%Deduction used up0% ceiling — 15% starts$0$25K$50K$75K$100K$125K
The worked 2026 example (married filing jointly, no other income): the $32,200 standard deduction absorbs the first slice, and the next $98,900 of gains fills the 0% bracket — $131,100 of realized gain, $0 of federal income tax. Gains past that line are taxed at 15%.

Gain harvesting: a free step-up in basis

This is why “tax-gain harvesting” exists. If gains are free this year, sell the appreciated position and immediately buy it back. Unlike loss harvesting, there is no wash-sale rule for gains — you can repurchase the same fund the same day. Your holdings are unchanged, but the cost basis has stepped up to today’s price, permanently shrinking the taxable gain a future (higher-income) year would have to recognize. Retirees in the gap years before Social Security and RMDs often alternate: harvest gains at 0% some years, do Roth conversions in others, since both strategies compete for the same low-income headroom.

The bump zone and other fine print

Around the 0%/15% boundary lurks a “bump zone”: when an extra dollar of ordinary income is itself taxed at 12% and pushes a dollar of gain from 0% to 15%, the effective marginal rate on that dollar is about 27% — higher than the 22% bracket it appears to avoid. Three more caveats. Realized gains are still income for other purposes: they raise MAGI, which drives ACA premium subsidies before 65, Medicare IRMAA surcharges after, and the taxable share of Social Security. The 3.8% net investment income tax applies to gains once MAGI exceeds $250,000 (MFJ) or $200,000 (single) — thresholds fixed by statute, never indexed. And most states tax capital gains as ordinary income, so “0%” is a federal statement, not a total one.

Try it in Deorbit Plan

The tax engine models LTCG stacking exactly: taxable-account withdrawals realize gains pro rata, dividends arrive as qualified income, and both stack on top of ordinary income against the 2026 thresholds. Expand any year in the Year table to see Realized LTCG alongside federal tax, NIIT, and MAGI, and watch the Tax & MAGI chart to see how realized gains move you toward the ACA and IRMAA reference lines. Then open the Strategy panel and add a fill-the-bracket Roth conversion — the year-by-year tax numbers show the stacking interaction directly, since every converted dollar lifts the gains layer with it.

Educational content only — not financial, tax, or investment advice.

References