Tax-Gain Harvesting: How to Pay 0% on Capital Gains in 2026
You've heard of tax-loss harvesting — selling losers to offset gains. Tax-gain harvesting is the mirror strategy: deliberately selling winners in a year when your income is low enough to fall inside the 0% long-term capital gains bracket, then immediately buying the same positions back at a higher cost basis.
The result: you permanently reset your embedded gain — at zero federal tax cost — reducing the future tax bill when you eventually sell for real.
For $1M–$5M investors in a gap year between careers, an early retirement window before Social Security or RMDs begin, or a part-time earning year, this is one of the highest-leverage tax moves available. Use the calculator below to find your 2026 harvest room.
0% Gain Harvest Calculator — 2026
Calculator uses 2026 federal LTCG thresholds. State taxes not included — most states tax capital gains as ordinary income regardless of the federal 0% bracket. Not investment or tax advice.
What Is Tax-Gain Harvesting?
Tax-gain harvesting means selling appreciated securities in a year when your taxable income is low enough to place those gains in the 0% long-term capital gains bracket — then immediately buying the same securities back at the new, higher price.
The IRS does not have a wash-sale rule for gains. The wash-sale rule only applies to losses: it prevents you from selling a loser, claiming the deduction, and buying back within 30 days. Gains have no such restriction. You can sell 100 shares of VTI at a $40,000 gain and repurchase 100 shares the same afternoon — no rule violated, higher basis established.
The 2026 Brackets: What Counts as a "0% Year"
In 2026, the 0% long-term capital gains rate applies as long as your total taxable income — ordinary income plus long-term capital gains — stays at or below:1
| Filing Status | 0% LTCG Threshold | 15% Bracket Starts | 20% Bracket Starts |
|---|---|---|---|
| Single | $49,450 | $49,451 | $545,501 |
| Married Filing Jointly | $98,900 | $98,901 | $613,701 |
"Taxable income" here means after your standard or itemized deduction — not your gross income. A married couple with $92,000 in wages and a $32,200 standard deduction has taxable ordinary income of $59,800 and $39,100 of 0% bracket room for LTCG.
Short-term gains are taxed as ordinary income and do not qualify for the 0% rate. Only positions held more than one year get the preferential rate.
Who Benefits Most
Tax-gain harvesting requires a low-income year. For the $1M–$5M investor, the most common windows:
- Early retirement before Social Security or RMDs begin. You're drawing from a taxable account to live on while deliberately keeping income low. A couple living on $60,000 in portfolio withdrawals (of which $20,000 is return-of-basis) might show only $40,000 in taxable income — leaving $58,900 of 0% gain-harvest room.
- Gap years between jobs. Extended sabbaticals, career pivots, or voluntary time off often compress income dramatically. The year you leave a high-paying role before your next one starts can be ideal.
- Semi-retirement with part-time income. A couple where one spouse continues part-time consulting but household income drops below $100K in taxable terms.
- Years when large deductions are bunched. Significant charitable deductions (or itemizing in a donor-advised fund year) reduce taxable income and can create unexpected 0% room even in higher-income years.
- Business sale years with installment deferral. If you sold a business and structured installments, later installment years with lower income may offer harvesting opportunities.
Mechanics: How to Execute
- Identify the positions. Screen your taxable brokerage for long-term positions (held >1 year) with unrealized gains. Prioritize positions you would realistically sell eventually anyway — appreciated index funds, employer stock transferred out of a 401(k), or inherited positions with modest step-up.
- Estimate your harvest room. Use the calculator above or work through the math: 0% threshold minus your projected taxable ordinary income equals gain harvest capacity.
- Sell and immediately repurchase. There is no waiting period. You can sell and buy the same security on the same day. Your broker will show a realized gain on your year-end 1099-B; you'll also have a new cost basis equal to the repurchase price.
- Watch lot accounting. Use specific identification (SpecID) to target the highest-gain lots that still qualify as long-term. Avoid accidentally triggering short-term gain on lots you've held less than a year.
- Document your projected income carefully. Underestimating ordinary income is the main execution error. Year-end dividends, interest from money market accounts, and variable income sources can push you over the threshold unexpectedly.
Tax-Gain Harvesting vs. Roth Conversions: Competing for the Same Space
Both Roth conversions and tax-gain harvesting consume bracket space. A Roth conversion is taxed as ordinary income; a harvested LTCG stacks on top of ordinary income at the preferential rate. This means you face a direct trade-off in low-income years:
- Every dollar you convert to Roth reduces your gain-harvest room by one dollar.
- Every dollar you harvest at 0% LTCG is a dollar you didn't use for a Roth conversion.
Which is worth more depends on your future ordinary income expectations:
- Harvest gains first if you expect future ordinary income to be high (large RMDs, Social Security, pension) — because your future capital gains will also be taxed at 15%+ when you eventually sell.
- Prioritize Roth conversions first if your future ordinary income rate exceeds your future LTCG rate — because ordinary income from traditional IRA distributions is taxed at marginal rates, while future capital gains from a Roth are tax-free.
In practice, many $1M–$5M investors benefit from doing both: fill the 12% ordinary income bracket with Roth conversions, and fill any remaining 0% LTCG room with gain harvesting. A fee-only advisor with tax planning depth can model this trade-off across your specific account mix.
See also: Roth Conversion Strategy: 2026 Bracket Optimization
Three Risks to Watch
1. ACA Premium Subsidy Cliff
If you are buying health insurance on the ACA marketplace before Medicare eligibility, capital gains count in your ACA MAGI — the income measure used to calculate subsidies. In 2026, household income above 400% of the federal poverty level (approximately $62,600 single / $84,600 married) triggers the subsidy cliff: you lose all premium tax credits above that income level.
Harvesting $30,000 in gains while your ordinary income is already $60,000 as a single filer would push you $27,400 over the cliff — potentially costing $8,000–$14,000 in forfeited subsidies, far outweighing the tax savings. Always model the ACA interaction before executing in a pre-Medicare year. See also: Health Insurance Before Medicare.
2. IRMAA Medicare Surcharges
If you are already on Medicare, IRMAA surcharges apply when your MAGI (which includes realized capital gains) exceeds $109,000 single / $218,000 MFJ in 2026. Crossing the first IRMAA tier adds $912–$2,040/year per person in Part B + Part D surcharges — a two-year lookback means an income event this year affects your 2028 Medicare premiums.4
Gain harvesting near the IRMAA threshold requires precision. See also: IRMAA Planning: 2026 Tier Calculator.
3. State Income Tax
The 0% federal rate does not shield you from state tax. Most states tax long-term capital gains as ordinary income at your marginal state rate. California, for example, taxes LTCG at up to 13.3% with no preferential rate. If you are in a high-tax state, gain harvesting still generates state tax even when the federal bill is $0. In a no-income-tax state (Florida, Texas, Nevada, Washington), this concern disappears. See also: State Income Tax Planning.
When NOT to Harvest Gains
- If you plan to hold until death. Assets in your taxable account receive a full step-up in basis at death under IRC §1014. If you intend to pass a position to heirs and never sell it, harvesting gains now accelerates a tax event that would otherwise disappear entirely.
- If the position is inside a tax-advantaged account. Gains inside a 401(k), IRA, or Roth are not eligible for the preferential LTCG rate. You cannot harvest gains inside retirement accounts — those grow and distribute as ordinary income (traditional) or tax-free (Roth) regardless of the asset type.
- If you're in the 15%+ LTCG bracket all year. The strategy requires actual 0% bracket room. If your income already fills the 0% band, there is nothing to harvest.
- If short-term gains dominate. Short-term gains are ordinary income regardless of bracket. Harvesting a position held less than one year creates ordinary income — the opposite of the goal.
Gain Harvesting vs. Loss Harvesting: They're Complementary
Tax-loss harvesting and tax-gain harvesting serve opposite purposes but can coexist in a single portfolio:
- Loss harvesting: In volatile years, sell losers to generate a deduction, offset gains, or create a $3,000/year ordinary income deduction with carryforward. Best in high-income years when the deduction is worth the most.
- Gain harvesting: In low-income years, sell winners to reset basis at 0% federal cost. Best in gap years or early retirement.
A well-managed taxable account uses both strategies opportunistically — harvesting losses when markets drop, harvesting gains when income is unusually low. Direct indexing platforms automate the loss side; the gain side is a deliberate annual planning decision. See also: Tax-Loss Harvesting: The $1M–$5M Guide.
How a Fee-Only Advisor Coordinates This
Tax-gain harvesting is mechanically simple but requires precise income projection, coordination across accounts, and sequencing against Roth conversions, IRMAA tiers, ACA cliffs, and RMD timing. A flat-fee or AUM-based fee-only advisor who integrates tax planning into portfolio management — not a broker focused on product sales — can model the full interaction and execute the strategy in your specific situation.
The advisors in our network specialize in $1M–$5M households precisely because this tier has the complexity to benefit from integrated planning but doesn't always qualify for the HNW boutiques that serve $5M+ clients. See also: How to Choose a Financial Advisor for Millionaires.
Sources
- IRS Rev. Proc. 2025-67 — 2026 inflation-adjusted tax parameters including LTCG rate brackets ($49,450 single / $98,900 MFJ for 0% rate) and standard deduction ($16,100 single / $32,200 MFJ). Values verified May 2026.
- IRS Topic 409: Capital Gains and Losses — governing rules for LTCG rate eligibility, holding period requirements, and wash-sale rule scope (applies only to losses, not gains).
- IRC §1411 — Net Investment Income Tax — 3.8% NIIT applies to net investment income (including LTCG) above $200,000 single / $250,000 MFJ MAGI. Thresholds are not inflation-adjusted.
- CMS 2026 Medicare Part B Premium and IRMAA Fact Sheet — 2026 IRMAA income thresholds ($109,000 single / $218,000 MFJ for Tier 1) and Part B base premium ($202.90/month). Two-year lookback applies.
- IRS Rev. Proc. 2025-32 — 2026 ordinary income tax brackets. Used to confirm stacking order: ordinary income fills bracket first, LTCG stacks on top.