Long-term gains have their own rates
Sell an asset you've held more than a year and the profit is a long-term capital gain, taxed at preferential rates of 0%, 15%, or 20% — not your ordinary income rate. (Held a year or less? That's short-term, taxed as ordinary income — the whole game is the one-year mark.) Qualified dividends get the same 0/15/20% treatment.
How the 0% bracket actually works: stacking
Long-term gains stack on top of your ordinary taxable income. For 2026, the 0% rate covers gains that keep your total taxable income at or below $49,450 (single), $98,900 (married filing jointly), or $66,200 (head of household). Because it's measured on taxable income, you first subtract your 2026 standard deduction — $16,100 / $32,200 / $24,150 — which is why the tax-free room is larger than people expect.
Tax-gain harvesting: the move
If you have room in the 0% bracket, you can deliberately sell appreciated long-term holdings to realize gains at 0%, then immediately rebuy them. Nothing changes in your portfolio — but your cost basis resets higher, so a future sale (maybe in a year you're in the 15% bracket) is measured from that higher basis and taxed less. You've converted future taxable gain into tax-free gain today.
Who this is for
It's most powerful in lower-income years: early retirement before Social Security and RMDs kick in, a sabbatical or gap year, a year between jobs, a new business with low first-year profit, or a student with investment gains. If your ordinary taxable income sits below your 0% ceiling, that gap is free capital-gains room every single year — and it doesn't roll over, so unused room is lost.
The honest caveats
A 0% federal rate isn't always a 0% total cost. Realizing gains raises your AGI/MAGI, which can: increase ACA marketplace subsidy repayment, push Medicare IRMAA surcharges (with a two-year lookback), make more of your Social Security taxable, and trigger state capital-gains tax (many states tax gains as ordinary income). None of these are in the 0% federal number — check them if you're near a threshold.
See your 0% room → Free calculator: enter your filing status, income and any gain — see exactly how much you can realize at 0% and the tax on the rest.