Capital Gains Harvesting in Retirement: How to Pay 0% Tax

Learn how capital-gains harvesting lets retirees pay 0% tax on investment profits. Discover when it makes sense, who qualifies, and how to coordinate it with other tax strategies.

Capital-gains harvesting is one of the few times you can sell investments, pay little to no tax, and improve your future tax picture.

When timed correctly, this strategy helps retirees reset cost basis, rebalance portfolios, and reduce lifetime taxes.

The Hidden Opportunity Most Retirees Miss

Most retirees try to avoid paying taxes — but sometimes, realizing income on purpose is the smartest move you can make.

That’s the idea behind capital-gains harvesting.

Instead of deferring gains indefinitely, you intentionally sell appreciated investments during low-income years, pay little (or nothing) in tax, and immediately reinvest.

You end up in the same market position — but with a higher cost basis and lower future tax bill.

It’s not about timing the market.

It’s about timing your income.

What Exactly Is Capital-Gains Harvesting?

Whenever you sell an investment in a taxable account for more than you paid, you realize a capital gain.

If you’ve held the investment for more than a year, it’s a long-term capital gain, which enjoys lower tax rates.

Capital-gains harvesting means realizing those gains intentionally — especially in years when your income is low enough to keep the tax rate on those gains at 0%.

Then, you can immediately repurchase the same (or a similar) investment.

Unlike losses, there’s no “wash-sale rule” for gains.

Example

Let’s say you bought $20,000 of a broad-market ETF several years ago that’s now worth $35,000.

  • Your gain: $15,000
  • You sell and realize that $15,000 of long-term capital gain.
  • If your taxable income stays within the 0% bracket, you pay no federal tax on that $15,000.
  • You immediately repurchase the ETF — now with a new cost basis of $35,000.
  • Alternatively, if it gained more than that OR you only wanted to sell a portion you can do that too.

Later, when you eventually sell again, you’ll owe tax only on gains above that higher basis.

The 0% Long-Term Capital-Gains Bracket

Here’s where the opportunity gets interesting.

For 2025, the 0% capital-gains bracket applies up to these approximate taxable-income thresholds:

For Married Filing Jointly:

  • 0% capital gains rate up to ~$94,000 of taxable income
  • 15% capital gains rate from ~$94,000 to ~$583,750
  • 20% capital gains rate above ~$583,750

For Single Filers:

  • 0% capital gains rate up to ~$47,000 of taxable income
  • 15% capital gains rate from ~$47,000 to ~$291,850
  • 20% capital gains rate above ~$291,850

(Exact numbers adjust annually with inflation.)

Another way to think about it:

If you're in the 12% federal marginal tax bracket or below, your long-term capital gains are taxed at 0%.

That makes the 12% bracket a critical planning threshold — stay within it, and you can realize gains tax-free while still having room for other income sources like dividends, interest, or small IRA withdrawals.

Key takeaway:

If your taxable income (after deductions) is below those thresholds, your long-term capital gains are taxed at 0%.

That means a retiree couple could have well over $100,000 of total gross income — once you add the standard deduction — and still pay zero federal tax on long-term gains.

When Capital-Gains Harvesting Makes Sense

This strategy works best in the gap years between retirement and RMDs or Social Security — when your taxable income is temporarily low.

Here are the most common opportunities:

  1. Early retirement years before age 70 — often called the “tax-planning window.”
  2. Years after a market dip when rebalancing your portfolio.
  3. When selling a concentrated position (e.g., company stock) gradually over time.
  4. Years with large itemized deductions (like charitable giving or medical expenses).
  5. Coordinating with your spouse’s income if one is still working part-time.

Done right, harvesting gains can help you reset your cost basis, avoid “tax bombs” later, and simplify portfolio withdrawals in your 70s and 80s.

When It Might Not Make Sense

There are times when harvesting gains can actually hurt more than help:

  • You’re already filling the 22% or higher ordinary bracket, meaning your long-term gains will be taxed at 15% instead of 0%.
  • The extra income could push you into higher Medicare IRMAA brackets two years later.
  • You’re planning to give the asset to charity or heirs, both of which receive a step-up in basis — making harvesting unnecessary.
  • You need the investment soon for spending — no time for future growth to offset the sale.

Like all tax strategies, context matters.

Case Study: Rebalancing with Purpose

Meet Carol and David, ages 63 and 61.

They retired two years ago after Carol left her role as a school administrator and David stepped away from his small business. They're now living on about $75,000/year from savings, and they don't plan to claim Social Security until age 70.

They have:

Traditional IRAs: $850,000 (Tax-deferred)

Roth IRAs: $180,000 (Tax-free)

Taxable brokerage: $400,000 (Mixed stock/bond ETFs)

Cash: $60,000 (Emergency fund)

Their brokerage account includes a handful of low-cost index funds they've held for over a decade — some with significant unrealized gains. One fund alone has grown from $50,000 to $95,000.

Carol worries about future taxes. David wants to rebalance but hesitates to sell anything because "we'll get hit with capital gains."

That's when they learn about capital-gains harvesting — and realize this is the perfect time to act.

Step 1: Review Income

After deductions, their projected taxable income is about $70,000 — safely within the 0% capital-gains bracket for joint filers.

Step 2: Realize Gains Intentionally

They sell $20,000 of long-term gains from an appreciated ETF position.

Because they’re under the 0% limit, they owe no federal tax on the sale.

They immediately reinvest in a similar low-cost ETF, keeping their allocation intact but resetting cost basis.

Step 3: Future Impact

  • Portfolio cost basis increases by $20,000
  • Future sales will generate smaller taxable gains
  • They avoid the “surprise tax” later when RMDs begin
  • They free up cash for short-term travel plans

The Bottom Line

Capital-gains harvesting is a low-risk, high-reward maneuver when used at the right time.

It can help retirees:

  • Pay 0% tax on gains during low-income years
  • Rebalance portfolios without triggering large future liabilities
  • Smooth income before Social Security or RMDs
  • Preserve flexibility for charitable giving or estate planning

“You can’t control the market — but you can control to a degree when you pay taxes.”

At Ignite Financial, we help retirees build multi-year tax maps to coordinate Roth conversions, RMDs, and capital-gains harvesting for lasting tax efficiency.

See our article on 7 ways to Lower Taxes in Retirement

Take the Next Step — It Only Takes Two Minutes

You’ve saved and invested for years.

Now it’s time to make those investments work after taxes.

Subscribe to our newsletter for weekly retirement strategies.

Schedule your free Assessment — we’ll run the numbers and show how we can help.

Join Spark Beneath | Schedule Your Assessment

FAQ: Capital-Gains Harvesting

1. What’s the difference between tax-gain and tax-loss harvesting?

  • Tax-loss harvesting: You sell losers to offset gains and reduce taxes.
  • Tax-gain harvesting: You sell winners to realize gains intentionally in years when your tax rate is 0%.

2. How much can I harvest tax-free?

That depends on your taxable income.

For 2025, married couples can realize roughly $94,000 of taxable income (including the gains) before paying any federal long-term capital-gains tax.

3. Do I have to wait 30 days to repurchase?

No.

The 30-day wash-sale rule applies only to losses, not gains.

You can sell and buy the same security immediately.

4. How often should I harvest gains?

Usually annually during low-income years (often before RMDs or Social Security).

Many retirees check this each fall, after estimating year-end income.

5. Does state tax apply to capital-gains harvesting?

Yes — some states tax long-term gains even if the federal rate is 0%.

However, Iowa no longer taxes retirement income or most investment gains, giving local retirees an extra advantage