Millionaire Advisor Match

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

Wages, pension, RMDs, Social Security taxable portion, etc. — after your standard or itemized deduction. In 2026, the MFJ standard deduction is $32,200; single is $16,100. 1
Total paper gain across taxable brokerage holdings held >1 year.

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 core math. If you hold $200,000 in unrealized LTCG and eventually sell in a 15% bracket year, you owe $30,000 in federal tax. If you harvest $50,000 of that gain today at 0%, your future tax bill falls to $22,500 — a $7,500 permanent saving with no change to your portfolio holdings.

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 Status0% LTCG Threshold15% Bracket Starts20% 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:

Mechanics: How to Execute

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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:

Which is worth more depends on your future ordinary income expectations:

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

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:

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.

A worked example. Jen and Tom are 58 and 60. Tom retired early; Jen works part-time consulting. Their 2026 taxable income: $72,000 ordinary income (consulting + taxable dividends) after the $32,200 MFJ standard deduction. The 0% LTCG threshold is $98,900 — leaving $26,900 in harvest room. They hold $180,000 in unrealized LTCG in their joint brokerage (index funds and one appreciated tech position). They harvest $26,900 in long-term gains at 0% federal tax. Their cost basis resets on those lots. When they sell the same shares in a future high-income year at 18.8% (15% + NIIT), they've saved $5,057 in federal tax permanently — with no change to their portfolio.

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

  1. 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.
  2. 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).
  3. 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.
  4. 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.
  5. IRS Rev. Proc. 2025-32 — 2026 ordinary income tax brackets. Used to confirm stacking order: ordinary income fills bracket first, LTCG stacks on top.

Get matched with a specialist

Fee-only advisor who integrates tax planning with investment management. Free match, no obligation.

Fee-only · No commissions · Free match · No obligation

Millionaire Advisor Match is a matching service. We connect you with vetted fee-only financial advisors in our network — we don't manage money or provide advice ourselves. Advisors in our network are fiduciaries who charge transparent fees (not product commissions), and we match you based on your specific situation.