Tax Gain Harvesting: The Flip Side Everyone Ignores
Tax-loss harvesting gets all the press. Every robo-advisor markets it. Every financial blogger writes about it. And it's genuinely valuable — we built an entire microtool around it. But there's a mirror-image strategy that's equally powerful, dramatically simpler, and used by almost nobody: tax gain harvesting.
The idea is so straightforward it sounds like a mistake. You deliberately sell investments that have gone up in value, realize a capital gain, pay zero tax on it, and immediately repurchase the same asset at a higher cost basis. You've just permanently reduced your future tax liability for free.
The 0% Long-Term Capital Gains Bracket
The mechanism that makes tax gain harvesting possible is the 0% long-term capital gains bracket. In 2026, if your taxable income falls below $47,025 (single) or $94,050 (married filing jointly), you pay 0% federal tax on long-term capital gains and qualified dividends.
Add the standard deduction — $15,000 for singles, $30,000 for married couples — and the actual income thresholds before you pay any capital gains tax are:
- Single: Up to $62,025 in total income ($15,000 standard deduction + $47,025 LTCG threshold)
- Married: Up to $124,050 in total income ($30,000 standard deduction + $94,050 LTCG threshold)
If a married couple earns $80,000 in wages and has $44,050 in long-term capital gains, they pay 0% on every dollar of those gains. None. Zero. The federal government gets nothing on that capital gain.
How Tax Gain Harvesting Works
Here's the process, which is simpler than tax-loss harvesting in one critical way:
-
Identify appreciated positions in your taxable brokerage account that you've held for more than one year (short-term gains don't qualify for the 0% rate — they're taxed as ordinary income).
-
Calculate how much gain you can realize without exceeding the 0% LTCG threshold.
-
Sell the shares, realize the gain, and file your taxes showing the capital gain at the 0% rate.
-
Immediately repurchase the same asset. This is the part that surprises people. The wash sale rule — which prohibits repurchasing a "substantially identical" security within 30 days — applies only to losses. It does not apply to gains. You can sell Apple stock for a gain and buy it back the same afternoon. Your cost basis resets to the new, higher purchase price.
By resetting your cost basis higher, you've reduced the taxable gain you'll realize whenever you eventually sell those shares for real — during retirement, for a home down payment, or whenever you need the money. You've permanently shrunk a future tax bill by paying nothing today.
When Tax Gain Harvesting Makes Sense
Tax gain harvesting only works in years when your income is low enough to land you in the 0% LTCG bracket. That sounds like a narrow window, but it's broader than most people realize:
Early retirement (pre-Social Security, pre-RMDs). This is the golden window. You've stopped earning W-2 income but haven't started Social Security or required minimum distributions. Your taxable income might be near zero. Every year, you can harvest tens of thousands in gains — sometimes over $100,000 for married couples — and pay nothing. This is the engine behind the 0% capital gains bracket strategy we've written about elsewhere.
A sabbatical or gap year. If you take six months or a full year off, your annual income drops. That low-income tax year is a harvesting opportunity. Don't waste it.
Starting a business or switching careers. The first year of self-employment often produces little net income. That's a tax gain harvesting year.
A layoff with severance. Severance stretches taxable income, but if you're out of work for most of the year, your total income for the year might still be low.
Graduate school. Stipend income is typically low enough to qualify for the 0% bracket.
Military deployment. Combat zone tax exclusion can create zero-tax years that are ideal for gain harvesting.
The common thread: any year when your income dips below the threshold is a year you should be harvesting gains, not just sitting on them.
Tax Gain Harvesting vs. Tax Loss Harvesting
These strategies are two sides of the same coin, and they complement each other throughout an investment lifetime:
| Tax Loss Harvesting | Tax Gain Harvesting | |
|---|---|---|
| When to use | During market downturns | When income is in the 0% LTCG bracket |
| What you sell | Losers (positions below cost basis) | Winners (positions with unrealized gains) |
| What you pay | You harvest a loss that offsets gains or income | You pay 0% tax on the realized gain |
| Wash sale applies? | Yes — can't repurchase for 30 days | No — can repurchase immediately |
| Net effect | Tax savings now (up to $3,000/year offset) | Tax savings later (higher cost basis means smaller future gain) |
| Brokerage features | Most robo-advisors automate this | Almost nobody automates this |
Tax-loss harvesting is reactive — you do it when the market drops. Tax gain harvesting is proactive — you do it when your income drops. Most people are so focused on the first that they completely miss the second.
The State Tax Caveat
The 0% rate applies to federal capital gains tax. Most states with an income tax treat capital gains as ordinary income and tax them at the state rate. If you live in California and harvest gains, you'll still pay California's 9.3%–13.3% on those gains.
If you're considering a large gain harvest, factor in your state tax rate. For some people, it's still worth doing — paying state tax now on a gain you've reset higher is often better than paying federal and state tax on a much larger gain later. But run the numbers. And if you're doing state income tax arbitrage and planning a move to a no-tax state, it may be worth deferring major gain harvesting until after the move.
The Bottom Line
Tax gain harvesting is the most underutilized tool in the individual investor's tax planning toolkit. It doesn't require a bear market. It doesn't require complicated wash sale rules. It doesn't require special accounts. It requires exactly one thing: a year where your income is lower than usual — and the awareness to capitalize on it.
The 0% capital gains bracket isn't guaranteed to exist forever. Tax policy changes. Brackets get compressed. Rates go up. Every year you're eligible and don't harvest is a year of permanent tax avoidance you've left on the table.
The market gives you plenty of winners. Make sure the IRS doesn't get a cut of your best ones.