The 0% capital-gains bracket is real: LTCG stacking explained
Long-term capital gains and qualified dividends do not use the ordinary income tax brackets. They have their own three-rate schedule of 0%, 15% and 20%[1]. For retirees with modest ordinary income, the 0% rate is a real bracket written into the tax code, and it is 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 stacking. Which rate applies depends on where the gain sits on top of your other income, as well as on the size of the gain.
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) goes in first and is taxed by the ordinary brackets. Long-term gains and qualified dividends stack on top of that ordinary layer[3]. 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[2].
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. That can push 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[2]. They could sell appreciated shares with up to $131,100 of gain and pay $0 of federal income tax. The deduction absorbs the first part and the 0% bracket holds the rest. Only the gain counts, not the sale proceeds: selling $300,000 of stock with $120,000 of embedded gain realizes $120,000, not $300,000.
0% capital-gains headroom
You can realize up to $86,400 of long-term gains this year without paying federal tax on them. A $50,000 gain would cost $0 in federal tax (0% of the gain).
- Deductions: $47,500 (standard, plus any age-65 and senior deductions at this income). Taxable ordinary income: $12,500.
- 0% band: taxable income up to $98,900. Gains stack on top of ordinary income, so $86,400 of gains fit before the 15% rate starts.
- Tax on a $50,000 gain: $0: capital-gains tax $0, extra ordinary tax $0, net investment income tax $0. $50,000 of it is untaxed.
Federal only. The senior deduction applies for tax years 2025–2028 to people 65 or older, and not to married people filing separately.
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, so you can buy back the same fund the same day[4]. Your holdings are unchanged, but the cost basis has stepped up to today’s price. That permanently shrinks the taxable gain a future (higher-income) year would have to recognize[4]. Retirees in the gap years before Social Security and RMDs often alternate, harvesting gains at 0% some years and doing Roth conversions in others, because both use up the same low-income room.
The bump zone and other fine print
Around the 0%/15% boundary is 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%. That is higher than the 22% bracket it appears to avoid[5]. 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 and never indexed[6]. And the 0% rate is federal only: many states tax capital gains like any other income.
Try it in Deorbit Plan
The simulator models LTCG stacking: taxable-account withdrawals realize gains in proportion to the account’s unrealized gain (an approximation of lot-by-lot selling), dividends arrive as qualified income, and both stack on top of ordinary income against the 2026 thresholds, indexed with inflation in later years. Expand any year in the Year-by-year detail table to see Realized LTCG alongside federal tax, NIIT, and MAGI, and watch the Taxes & 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 directly, since every converted dollar lifts the gains layer with it.
This page explains how the rules work. It is not financial, tax or investment advice. Read the disclaimer.
References
- IRS Topic 409: Capital gains and losses ↩
- IRS Rev. Proc. 2025-32: 2026 inflation adjustments (§4.03 maximum zero rate amounts) ↩
- 26 U.S. Code §1(h): Maximum capital gains rate ↩
- Kitces: Mechanics of the 0% long-term capital gains rate ↩
- Kitces: The tax impact of the long-term capital gains bump zone ↩
- Investopedia: Capital gains tax 101 ↩