If you own a taxable brokerage account with appreciated stocks, ETFs, or mutual funds, the IRS lets you pull tens of thousands of dollars out every year at a 0% federal tax rate. A married couple with a $1.5 million portfolio can often realize well into six figures of long-term gains in a single year and owe the IRS nothing, provided the rest of their income sits inside the standard deduction. That’s the tax-free capital gains harvest most retirees never run.
The reason they miss it: they pull from a traditional IRA first, generate ordinary income, and blow past the threshold that unlocks the 0% rate. The order of your withdrawals is the whole game.
The Buried Rule: The 0% Long-Term Capital Gains Bracket
Long-term capital gains (assets held more than 12 months) and qualified dividends are taxed at 0%, 15%, or 20%, not at your ordinary income rate. The 0% rung covers taxable income up to a specific ceiling. For 2026, that ceiling for married filing jointly ends at $100,800. Stack the standard deduction on top of that ceiling and you get the true tax-free harvest number.
The Proof
The preferential rate lives in Internal Revenue Code §1(h). The 2026 standard deduction figures come from IRS Revenue Procedure 2025-32, released October 9, 2025, which set the standard deduction at $32,200 for married couples filing jointly and $16,100 for single filers under the One, Big, Beautiful Bill. Combine §1(h) with §63 (standard deduction) and the tax-free ceiling comes into focus.
Who Qualifies
This works for retirees, early retirees, or anyone who holds appreciated assets in a regular taxable brokerage account and can control their ordinary income for the year. It does not apply to withdrawals from a traditional 401(k) or IRA, which leave the account as ordinary income. It also does not help if your pension, taxable Social Security, required minimum distributions, or wages already push you above the 0% ceiling. Short-term gains (held one year or less) are taxed as ordinary income and get none of this treatment.
How to Use It in 2026
- Total your ordinary income for the year: pension, taxable Social Security, IRA or 401(k) withdrawals, interest, short-term gains. Subtract the standard deduction of $32,200 (MFJ) or $16,100 (single).
- Subtract that number from the top of the 0% long-term capital gains bracket. What remains is your tax-free gain capacity for the calendar year.
- Sell appreciated positions in your taxable account up to that gain amount. Only the gain counts against the ceiling, not the entire sale proceeds.
- Optional: immediately repurchase the same shares. The wash-sale rule applies only to losses, so a tax-gain harvest resets your cost basis higher at no federal cost.
The Catch
Provisional income comes first. Tax-free long-term gains still count toward the formula that decides how much of your Social Security check becomes taxable. A large realization can pull up to 85% of your benefit into ordinary income, wiping out the win.
IRMAA is second. Medicare Part B and D surcharges kick in above $109,000 modified AGI for single filers or $218,000 for joint filers in 2026, when the standard Part B premium is $202.90 per month. Cross the line by a dollar and your Part B premium jumps to $284.10, plus a Part D surcharge, for a two-year lookback penalty.
Third, the cliff. The 0% bracket does not phase out. One dollar over the threshold flips the excess gain straight to 15%. Model the number before you hit sell, especially with the 10-year Treasury at 4.55% as of July 17, 2026, since Treasury and CD interest is fully taxable and quietly eats your 0% capacity. The 2026 Social Security COLA of 2.8% also nudges more benefits into the taxable zone. Ordinary income first, gains last.
Contact [email protected] for any questions or corrections.