Skip to content
RetirementFAQs
Explainer Updated 2026

Capital Gains Harvesting in Retirement

There's a bracket where long-term capital gains are taxed at zero, and the years between retiring and your first RMD are when you're most likely to live inside it.

RMDs Capital gains

What if you could sell a winning investment and owe nothing in federal tax on the gain? You can, inside a specific income band, and most retirees never realize they’re standing in it. Capital gains harvesting means deliberately selling appreciated assets to lock in gains while they’re taxed at a low rate, or at zero, then often buying the position right back at a higher cost basis. It’s the mirror image of tax-loss harvesting, and for affluent retirees it’s frequently the more valuable of the two.

How the zero bracket works

Long-term capital gains, on assets held more than a year, get their own set of rates: 0%, 15%, and 20%. The rate you pay depends on your total taxable income, not just the gain. For 2026, a married couple filing jointly pays 0% on long-term gains while their taxable income sits at or below $98,900, and a single filer pays 0% up to $49,450. Above those lines the rate steps up to 15%, and only above $613,700 for couples (or $545,500 single) does it reach 20%.

Picture a retired couple who haven’t started Social Security or required minimum distributions yet. Their taxable income before any harvesting is well under that $98,900 ceiling. They can realize long-term gains right up to the line and pay zero federal tax on them. Then they rebuy the same shares. Their cost basis resets higher, which shrinks the taxable gain on the next sale, and they never left the market.

The window is the whole point

The gap between leaving work and turning on Social Security and RMDs is the lowest-income stretch most affluent households will ever see again. It’s also short. Once those income streams switch on, they fill the low brackets first, and the room for zero-rate gains collapses.

So every year in that window is a decision: harvest gains at 0% or 15%, run Roth conversions, or split the room between them. You usually can’t max out both. Gains harvesting keeps more after-tax dollars in your taxable account with a cleaner basis. Conversions move money into a bucket that grows tax-free forever and never triggers an RMD. Which one wins depends on how large your tax-deferred balances are and what your heirs will inherit.

The hidden price most people miss

Here’s the second-order effect that wrecks a sloppy harvest. Capital gains stack on top of your ordinary income, and that combined number is what decides your bracket. Realize too much and you don’t just pay 15% on the overflow. You can push ordinary income that was sitting in a low bracket up against the next one, make more of your Social Security taxable, and lift the income that sets your Medicare premiums two years later through IRMAA, the income-based surcharge on Medicare. The gain looked free. The ripple wasn’t.

That’s why harvesting is a precision move, not a year-end grab. You’re filling a cup to the rim without spilling, and the rim is the top of the 0% or 15% bracket minus everything else already on your return.

If your accounts are large

For a household with a big taxable account and large IRAs, the real contest is sequencing across years. Harvest gains in the years a Roth conversion would cost too much, and convert in the years your gains are already realized at zero. Hold your highest-basis lots for spending and your lowest-basis lots for a step-up in basis at death, when heirs inherit them with the gain erased. Coordinate the whole thing with your tax-efficient withdrawal order so the harvest serves the plan instead of fighting it.

The zero bracket is a gift with an expiration date. The retirees who use it treat the low-income years as the asset they are, and spend them on purpose before Social Security and RMDs take the room back.

Related questions

Still have questions?

Join the community to ask directly, or see if a one-on-one planning call is a fit.