Free retirement tools and guides for seniors — clear, calm, and trustworthy Free Newsletter
Written and reviewed by the SavedNest editorial team · See how we source and verify this

Capital Gains Tax Strategies for Retirees

Retirees often sit in a unique position: lower ordinary income but potentially large capital gains from decades of investing. The 0% long-term capital gains bracket is real, and more retirees qualify for it than realize.

Tax strategy Updated 2026
Published July 21, 2026 How we keep this accurate
Planning Insight — A reasonable observation to consider — not an official determination.
Advertisement 728 × 90
The decision this page addresses

Should I harvest capital gains now, or wait?

The 0% long-term capital gains bracket genuinely exists for some retirees — but adding just one more dollar of income can push the whole gain into a taxable bracket, not just that dollar.
What actually matters here
Your current taxable income bracket How long you've held the investment Other income you're expecting this year Whether you're near a Medicare IRMAA threshold
Use the Retirement Tax Estimator
Closely related decisions
Next step: Model my tax bracket

Long-term capital gains (on investments held over a year) are taxed at 0%, 15%, or 20% depending on your total taxable income — brackets that are separate and generally more favorable than ordinary income tax rates. For retirees whose taxable income has dropped after leaving the workforce, this creates real planning opportunity.

The 0% bracket is wider than most people think

Many retirees assume any capital gain gets taxed — but if your total taxable income (including the gain itself) falls under the 0% long-term capital gains threshold for your filing status, that portion of the gain is taxed at 0%. This "stacks" on top of your ordinary income: your ordinary income fills the bottom of the bracket structure first, and capital gains stack on top of that.

A retired couple with modest Social Security and pension income, and no other income, can often realize a substantial capital gain at 0% federal tax — a strategy sometimes called "gain harvesting," the mirror image of tax-loss harvesting.

Two strategies worth knowing

Gain harvesting

Deliberately selling appreciated investments in a low-income year to "reset" your cost basis at 0% tax — then, if you want, immediately buying back in (unlike tax-loss harvesting, there's no wash-sale rule blocking this for gains).

Loss harvesting

Selling losing positions to offset gains elsewhere, or up to a limited amount against ordinary income each year, with excess losses carrying forward to future years.

Watch the IRMAA and Social Security taxability interactions. A large realized gain increases your AGI for the year, which can push you into a higher Medicare IRMAA bracket two years later and increase how much of your Social Security benefit is taxable — the federal capital gains tax rate isn't the only cost to model.

Timing considerations that matter

1

Spread large gains across multiple years

Rather than selling a large position all at once, realizing gains gradually across several years can keep you in a lower bracket each year instead of spiking into a higher one in a single year.

2

Coordinate with RMDs and Roth conversions

All three — RMDs, Roth conversions, and realized capital gains — compete for the same limited "room" in your lower tax brackets each year. Plan them together, not separately.

3

Consider state taxes separately

Not every state follows federal capital gains treatment — some tax capital gains as ordinary income at the state level regardless of your federal bracket.

Plan your gains strategically

Get help coordinating gains, RMDs, and conversions

A fiduciary financial advisor can model exactly how much room you have in the 0% bracket and coordinate it with your other retirement income sources.

Advertisement 468 × 60

Common questions

Do capital gains count toward the income that makes Social Security taxable?

Yes — capital gains are included in the combined income calculation the IRS uses to determine how much of your Social Security benefit is taxable.

What's the difference between short-term and long-term capital gains?

Assets held one year or less are short-term gains, taxed at your ordinary income rate. Assets held longer than a year qualify for the lower long-term rates (0%, 15%, or 20%) discussed here.

Can I harvest gains and immediately rebuy the same investment?

Yes — the wash-sale rule only restricts repurchasing after selling at a loss, not after selling at a gain, so gain harvesting doesn't have the same 30-day rebuy restriction.

Not sure where to start?

Find the Right SavedNest Guide or Tool

Start with the topic that matters most, or explore our free retirement tools.

Start Here Explore Free Tools