Back to blog
May 19, 202610 min read

Tax-Gain Harvesting: How to Pay 0% Capital Gains Tax in Low-Income Years (2026 Strategy)

Learn how tax-gain harvesting lets you sell appreciated investments and pay zero capital gains tax in low-income years. Step-by-step 2026 strategy with income thresholds, examples, and common mistakes to avoid. The opposite of tax-loss harvesting — and just as powerful.

tax-gain harvesting
zero capital gains tax
0% capital gains bracket
tax-free stock selling
capital gains tax strategy 2026
low income investing strategy
tax planning investments

title: "Tax-Gain Harvesting: How to Pay 0% Capital Gains Tax in Low-Income Years (2026 Strategy)" description: "Learn how tax-gain harvesting lets you sell appreciated investments and pay zero capital gains tax in low-income years. Step-by-step 2026 strategy with income thresholds, examples, and common mistakes to avoid. The opposite of tax-loss harvesting — and just as powerful." publishedAt: "2026-05-19" author: "AI Finance Brief" tags: ["tax-gain harvesting", "zero capital gains tax", "0% capital gains bracket", "tax-free stock selling", "capital gains tax strategy 2026", "low income investing strategy", "tax planning investments"] readingTime: "10 min read"

Tax-Gain Harvesting: How to Pay 0% Capital Gains Tax in Low-Income Years

Everyone knows about tax-loss harvesting — selling losers to offset gains. It gets written about endlessly. But there's an equally powerful strategy that barely gets mentioned, and it works in the opposite direction: selling your winners when you can pay zero tax on the gains.

It's called tax-gain harvesting, and it's one of the most underutilized moves in personal tax planning. If you have a year where your taxable income drops — you took a sabbatical, retired early, went back to school, switched careers, had a gap between jobs, or simply earned less — you may be sitting in the 0% long-term capital gains bracket without realizing it. That means you can sell appreciated stock, mutual funds, or ETFs and owe absolutely nothing in federal capital gains tax.

This isn't a loophole. It's the tax code working exactly as designed. And most people miss it entirely because they never think to sell winners on purpose.


Key Takeaways

  • The 0% long-term capital gains bracket is real — in 2026, single filers with taxable income up to $48,350 and married couples filing jointly up to $96,700 pay zero federal tax on long-term capital gains.
  • Tax-gain harvesting means intentionally realizing gains in years when your income is low enough to fall within this bracket — the opposite of tax-loss harvesting.
  • It permanently eliminates tax on those gains by resetting your cost basis to the current market value. If you rebuy the same investment, future gains are measured from the higher price.
  • Common windows include early retirement years before Social Security and RMDs kick in, sabbaticals, career transitions, graduate school, and any year with unusually low earned income.
  • You need to plan the math carefully — the gains themselves count as income and can push you out of the 0% bracket, so you may need to harvest in tranches across multiple years.

How the 0% Capital Gains Bracket Works

The federal long-term capital gains tax rate isn't a flat number. It's a tiered system based on your taxable income (not your gross income — this distinction matters):

2026 Long-Term Capital Gains Tax Brackets

| Filing Status | 0% Rate | 15% Rate | 20% Rate | |---------------|---------|----------|----------| | Single | Up to $48,350 | $48,351–$533,400 | Over $533,400 | | Married Filing Jointly | Up to $96,700 | $96,701–$600,050 | Over $600,050 | | Head of Household | Up to $64,750 | $64,751–$566,700 | Over $566,700 |

The critical detail: your taxable income is your gross income minus deductions. In 2026, the standard deduction is $15,700 for single filers and $31,400 for married couples filing jointly. That means a married couple with no other income could have gross income (including capital gains) up to $128,100 and still pay zero capital gains tax.

Let's make this concrete. Say you're a married couple who both left corporate jobs to travel for a year. Your only income is $20,000 from freelance consulting. After the standard deduction of $31,400, your taxable income from ordinary sources is... zero. You now have the full $96,700 of 0% bracket space available for long-term capital gains.

If you have $90,000 in unrealized gains sitting in a taxable brokerage account, you could sell all of it and owe $0 in federal capital gains tax. Without this strategy, selling those same shares in a normal earning year at the 15% rate would cost you $13,500.


Tax-Gain Harvesting vs. Tax-Loss Harvesting: Key Differences

These two strategies are mirror images, but they serve different purposes:

| | Tax-Loss Harvesting | Tax-Gain Harvesting | |---|---|---| | What you sell | Positions at a loss | Positions at a gain | | When it's useful | High-income years (to offset gains) | Low-income years (to use the 0% bracket) | | Tax benefit | Defers taxes by reducing current-year liability | Permanently eliminates taxes on realized gains | | Wash sale rule | Yes — can't rebuy substantially identical securities within 30 days | No — you can immediately rebuy the same investment | | Cost basis effect | Lowers your cost basis (deferring gains to the future) | Raises your cost basis (reducing future gains) | | Net result | Tax deferral (you pay later) | Tax elimination (you never pay) |

That last row is the key insight. Tax-loss harvesting is a timing strategy — you're deferring tax, not eliminating it. Tax-gain harvesting done in the 0% bracket is a permanent tax reduction. The gains vanish from your future tax liability entirely because your new cost basis equals the current market price.

And crucially: there is no wash sale rule for gains. You can sell a position, immediately rebuy the identical shares, and keep your portfolio allocation unchanged. The only thing that changed is your cost basis — it's now higher, which means less tax when you eventually sell for good.


Who Should Use Tax-Gain Harvesting (And When)

This strategy isn't for everyone every year. It specifically targets windows where your taxable income temporarily drops. Here are the most common scenarios:

1. Early Retirement Before Age 62–73

This is the single best window for tax-gain harvesting. If you retire at 50 or 55, you may have a decade or more before Social Security and Required Minimum Distributions inflate your taxable income. During these years, your only taxable income might be small pension payments, part-time work, or Roth conversions you control.

Example: You retire at 52 as a married couple with $40,000 in part-time income. After the standard deduction ($31,400), your taxable income is $8,600. You have $88,100 of 0% bracket space remaining ($96,700 − $8,600). Over five years of early retirement, you could harvest $440,500 in gains at a 0% rate — saving $66,075 compared to the 15% rate.

2. Sabbatical or Career Break Year

Taking a year off between jobs or for personal reasons? If your earned income is significantly lower than normal, you may drop into the 0% bracket. Even a partial year of lower income can create harvesting room.

3. Graduate School

If you leave the workforce for an MBA, law degree, or other program, your income may drop to near zero for one to three years. These are ideal harvesting windows — you're living off savings anyway, and you can systematically reset your cost basis while paying no tax.

4. Part-Time or Reduced Work Schedule

Downshifting to part-time work, whether for childcare, health reasons, or lifestyle choice, often reduces income enough to open up 0% bracket space.

5. Business Loss Year

If you own a business and have a year with significant losses, those losses reduce your taxable income and may create room for tax-free capital gains harvesting in your investment accounts.


Step-by-Step: How to Execute a Tax-Gain Harvest in 2026

Step 1: Estimate Your Taxable Income for the Year

Before selling anything, you need to know how much 0% bracket space you have. Calculate your projected 2026 taxable income:

Gross income (wages, freelance, interest, dividends, rental income, Social Security) Minus adjustments (IRA contributions, student loan interest, HSA contributions) Minus deductions (standard deduction or itemized, whichever is larger) = Taxable income from ordinary sources

The remaining space between this number and the 0% bracket ceiling is your harvesting capacity.

Step 2: Identify Lots with the Largest Unrealized Gains

Log into your brokerage account and sort your positions by unrealized gain. Most brokerages (Fidelity, Schwab, Vanguard) let you view gains by tax lot — individual purchase dates and prices.

Prioritize harvesting lots with:

  • The largest embedded gains (maximizing the tax savings per transaction)
  • The oldest holding periods (these are most likely to be long-term, qualifying for the 0% rate — remember, you need to hold for more than one year)
  • Positions you'd want to continue holding (since you can rebuy immediately)

Step 3: Sell Enough to Fill the Bracket — But Don't Overflow

This is where precision matters. The gains themselves add to your taxable income. If you have $50,000 of bracket space and $50,000 in gains, you can harvest exactly $50,000 and stay within the 0% rate.

But if you harvest $60,000, the first $50,000 is taxed at 0% and the remaining $10,000 is taxed at 15%. That's still a good deal — you're paying an effective rate of just 2.5% on the full $60,000 — but it's worth knowing the math.

Pro tip: If you're close to the boundary, use specific lot identification to harvest only the lots that keep you within the 0% bracket. Save larger-gain lots for next year if you'll have another low-income year.

Step 4: Repurchase Immediately (If You Want to Maintain Your Allocation)

Unlike tax-loss harvesting, there is no wash sale rule for gains. The moment after you sell, you can rebuy the exact same shares — same fund, same ETF, same stock. Your portfolio allocation doesn't change at all.

What changes is your cost basis. Say you bought 100 shares of VTI at $150 and sold at $250. Your gain was $10,000 (taxed at 0%). When you repurchase 100 shares at $250, your new cost basis is $250 per share. If you eventually sell at $300, your future gain is only $5,000 instead of $15,000.

Step 5: Document Everything

Keep records of:

  • The lots you sold (acquisition date, cost basis, sale price)
  • Your income calculation showing you stayed within the 0% bracket
  • The repurchase dates and prices (for setting your new cost basis)

Your brokerage will issue a 1099-B for the sales. Even though the tax is $0, you still need to report the transactions on Schedule D of your tax return.


The Hidden Interactions: What Most Guides Miss

Tax-gain harvesting doesn't exist in isolation. Your realized gains interact with several other parts of the tax code:

ACA Premium Tax Credits

If you're buying health insurance through the ACA marketplace (common for early retirees), your subsidy is based on Modified Adjusted Gross Income (MAGI). Capital gains count toward MAGI. Harvesting a large gain could reduce or eliminate your premium subsidy, potentially costing more than the tax savings.

Solution: Model both the tax savings and the premium impact before harvesting. In some cases, it's better to harvest a smaller amount that keeps you below ACA subsidy cliffs.

Social Security Taxation

If you're receiving Social Security, capital gains can push your combined income above the thresholds that trigger taxation of benefits ($25,000 single / $32,000 married). Harvesting gains could cause up to 85% of your Social Security to become taxable.

Solution: If you're already receiving Social Security, calculate the impact on benefit taxation before harvesting. For most people, the best harvesting window is before Social Security begins.

Net Investment Income Tax (NIIT)

The 3.8% NIIT applies to investment income (including capital gains) when your MAGI exceeds $200,000 (single) or $250,000 (married). This is rarely an issue during low-income harvesting years, but it's worth confirming.

State Capital Gains Taxes

The 0% federal bracket is a federal benefit only. Most states tax capital gains as ordinary income. Depending on your state:

  • No state income tax: Alaska, Florida, Nevada, New Hampshire (on earned income), South Dakota, Tennessee, Texas, Washington, Wyoming — full benefit of the 0% federal rate
  • Low state rates: States like Arizona (2.5%), North Dakota (1.95%), and Indiana (3.05%) mean your total tax on harvested gains is minimal
  • High state rates: California (up to 13.3%), New York (up to 10.9%), and New Jersey (up to 10.75%) can take a significant bite even when federal tax is zero

Factor your state rate into the math. Even in California, paying 9.3% state tax is far better than paying 15% federal plus 9.3% state (24.3% total) in a normal income year.


Multi-Year Harvesting: The Real Power Move

The biggest gains from this strategy come from systematically harvesting across multiple low-income years. If you have a three-year early retirement window, a two-year MBA program, or plan to phase into part-time work over several years, you can plan your harvesting across the full period.

Example: Five-Year Early Retirement Harvesting Plan

A married couple retires at 55 with $600,000 in unrealized gains in a taxable brokerage account. Their only income is $15,000 per year from a small rental property. After the standard deduction, they have roughly $83,000 of 0% bracket space annually.

| Year | Gains Harvested | Federal Tax | Cumulative Savings (vs. 15%) | |------|----------------|-------------|------| | Year 1 | $83,000 | $0 | $12,450 | | Year 2 | $83,000 | $0 | $24,900 | | Year 3 | $83,000 | $0 | $37,350 | | Year 4 | $83,000 | $0 | $49,800 | | Year 5 | $83,000 | $0 | $62,250 | | Total | $415,000 | $0 | $62,250 |

That's $62,250 in permanent tax savings, executed entirely within the rules of the tax code. No aggressive positions. No audit risk. Just methodical use of an income bracket that most people forget exists.


Combining Tax-Gain Harvesting with Roth Conversions

Here's an advanced strategy that many financial advisors use for early retirees: fill the 0% capital gains bracket first, then fill the remaining ordinary income brackets with Roth conversions.

The 0% capital gains bracket is based on your taxable income including ordinary income. Roth conversions count as ordinary income. So the order matters:

  1. First, calculate your ordinary taxable income (wages, pensions, interest, etc.)
  2. Second, harvest enough long-term gains to fill the 0% bracket
  3. Third, do Roth conversions to fill the 10% and 12% ordinary income brackets

The key insight: long-term capital gains stack on top of ordinary income for determining your capital gains rate, but they don't push your ordinary income into higher brackets. This means you can optimize both strategies simultaneously without interference — as long as you do the math carefully.

A married couple with $30,000 in ordinary income could potentially harvest $66,700 in gains at 0%, then convert $50,000 from a Traditional IRA to Roth at a low effective tax rate — all in the same year.


Common Mistakes to Avoid

1. Forgetting About Short-Term Gains

Only long-term capital gains (held more than one year) qualify for the 0% rate. Short-term gains are taxed as ordinary income. If you accidentally sell shares you've held for 11 months, you'll pay your ordinary income tax rate on the gain. Always verify holding periods before selling.

2. Ignoring the ACA Cliff

For early retirees on marketplace insurance, the ACA subsidy cliff can create effective marginal tax rates above 100%. A $1 increase in income at the wrong threshold can cost thousands in lost subsidies. Model this interaction before harvesting.

3. Not Using Specific Lot Identification

If you've bought shares at different times and prices, your brokerage's default method (often average cost for mutual funds or FIFO for stocks) may not sell the optimal lots. Switch to specific lot identification so you can choose exactly which shares to sell.

4. Harvesting in Taxable Accounts Only

This strategy only applies to taxable brokerage accounts. Gains inside IRAs, 401(k)s, and Roth accounts are already tax-sheltered (or tax-free). Don't waste time "harvesting" inside retirement accounts — it does nothing.

5. Forgetting to File the Transactions

Even though the tax is $0, you must report the sales on your tax return. Failing to report triggers automatic IRS notices because your brokerage reports the sales on a 1099-B. Report the transactions and show the 0% rate — it takes 10 minutes and avoids a headache.


How to Know If Tax-Gain Harvesting Is Right for You This Year

Run through this quick checklist:

  • [ ] Do you have unrealized long-term gains in a taxable brokerage account?
  • [ ] Is your projected 2026 taxable income (after deductions) below the 0% threshold for your filing status?
  • [ ] Have you held the positions you'd sell for more than one year?
  • [ ] Have you modeled the impact on ACA subsidies (if applicable)?
  • [ ] Have you checked your state capital gains tax rate?

If you checked all five boxes, you're a strong candidate. Even checking four out of five is worth running the numbers.


The Bottom Line

Tax-gain harvesting is the mirror image of tax-loss harvesting — and in many ways, it's more powerful because it permanently eliminates tax rather than merely deferring it. Every dollar of long-term capital gains you realize in the 0% bracket is a dollar that will never be taxed, no matter what happens to your income in the future.

The strategy requires a low-income year, some basic math, and the willingness to sell and immediately rebuy your investments. That's it. No complex structures, no expensive advisors, no legal gray areas.

If you have a window of low income in 2026 — whether by choice or circumstance — don't waste it. Your future self will thank you for every gain you harvested at zero percent.

Get Your Daily Brief

AI-powered market analysis delivered to your inbox every morning. Free during beta.

Start Free

This content is for informational purposes only and does not constitute financial advice. Always do your own research before making investment decisions.