Home / Articles / Tax-Gain Harvesting: How the 0% Capital Gains Bracket Works in 2026

Tax-Gain Harvesting: How the 0% Capital Gains Bracket Works in 2026

Some years your income is low enough that selling a winning investment costs no federal tax. Here is how to check, and what to watch.

By Robert Allen Bautista · Kansas City tax educator, CPA candidate · Published 2026-11-25

Key takeaways

  • Tax-gain harvesting means selling an appreciated investment in a year when the gain is taxed at 0%, then buying it back to reset your cost basis.
  • For 2026, the 0% rate covers taxable income up to $98,900 for married couples filing jointly, $49,450 for single filers and $66,200 for heads of household.
  • Your gain stacks on top of your other taxable income, so only the room left under the limit is taxed at 0%.
  • The wash-sale rule covers losses only, so you can rebuy a gain-harvested investment immediately.
  • A harvested gain raises your adjusted gross income, which can affect Social Security taxation, Medicare premiums, ACA credits and state tax.

The federal tax code has a bracket where long-term capital gains are taxed at zero. Most people never see it because their income sits too high. In a low-income year, though, you can sell a winner, pay no federal tax on the gain and buy the investment back the same day. That move is called tax-gain harvesting. The 2026 limits come from Rev. Proc. 2025-32 and the IRS 2026 inflation adjustments release.

What tax-gain harvesting is

You sell an investment you have held for more than a year at a profit, and you rebuy it. Your portfolio looks the same afterward. What changed is your cost basis, which is now the higher price you just paid. The next time you sell, the taxable gain starts from that higher number, so a future bill can be smaller.

The wash-sale rule does not get in the way. It disallows losses when you rebuy within the 30-day window, and it says nothing about gains. You can rebuy immediately.

Who tends to benefit

It matters most for assets held in a regular taxable brokerage account. Gains inside an IRA or 401(k) do not work this way.

The 2026 thresholds

The 0% rate applies to taxable income, which is your income after the standard deduction. Here are the 2026 figures.

Filing statusTop of 0% rate (taxable income)Standard deduction
Married filing jointly$98,900$32,200
Single or married filing separately$49,450$16,100
Head of household$66,200$24,150

Sources: Rev. Proc. 2025-32, section 3.03, and the IRS 2026 inflation adjustments release. Extra standard deduction amounts for age 65 and older are not included here.

How the gain stacks on your other income

Long-term gains sit on top of your ordinary income. The tax system fills the lower slots with wages, pension, interest and similar income first. The gain lands above that. Only the part of the gain that still fits under the threshold is taxed at 0%. Anything above it is taxed at 15%. Qualified dividends are treated the same way and share the same room.

A hypothetical example

This is a made-up illustration, not a real client. A married couple filing jointly has $60,000 of taxable income for 2026. The 0% limit is $98,900, so they have $38,900 of room.

In both cases they can buy the same shares back and carry a higher basis forward.

Side effects to check first

A harvested gain increases your adjusted gross income, and other rules read that number. I am describing these in general terms because the exact thresholds depend on your situation.

A step-by-step checklist

  1. Estimate your total 2026 income and your taxable income after the standard deduction.
  2. Subtract that from the threshold for your filing status to find your room.
  3. Confirm which lots you own, the purchase dates and the cost basis. Only lots held more than one year qualify.
  4. Pick lots whose total gain fits within the room, and leave a cushion for income you may not have counted.
  5. Check the effect on Social Security, Medicare, ACA credits and state tax.
  6. Sell before December 31, then rebuy if you want to keep the position.
  7. Keep the trade confirmations and record the new basis.

For more on how 2027 numbers shift, see the guide to 2027 tax brackets and the standard deduction.

Sources

Frequently asked questions

What is tax-gain harvesting?

Selling an appreciated investment in a year when the gain falls in the 0% long-term capital gains bracket, then buying it back. The holding stays the same and your cost basis resets to the higher price.

Does the wash-sale rule stop me from buying the investment back?

No. The wash-sale rule disallows losses on sales followed by a repurchase within the 30-day window. It does not apply to gains, so you can rebuy right away.

What are the 2026 income limits for the 0% rate?

For 2026, the 0% rate applies up to $98,900 of taxable income for married couples filing jointly, $49,450 for single filers and married filing separately, and $66,200 for heads of household, per Rev. Proc. 2025-32.

Can harvesting a gain affect my Social Security or health insurance?

It can. The gain raises your adjusted gross income, which can make more of your Social Security taxable and can reduce ACA premium tax credits. Medicare income-related premiums can also be affected, so ask the Social Security Administration how a gain would count for you.

Do I need to hold the investment for any minimum time?

Yes. The 0% rate applies to long-term gains, meaning assets held for more than one year. Short-term gains are taxed as ordinary income.

More guides are on the Articles page.

Related guides

More quick answers: Tax questions Kansas City freelancers and families ask most.

General information, not individual tax advice.