Skip to content
PenyuOnCore
Menu
  • Home
  • Core Ecosystem Analysis
  • Personal Finance & Investing
  • Make Money Online
  • Bitcoin
  • About Us
Menu
Tax gain harvesting concept: a desk with a potted plant, a brokerage screen with a rising bar chart, a calendar with the last day marked and a basket of coins

Tax Gain Harvesting: Use the 0% Rate Before Dec 31, 2026

Posted on December 4, 2026

Tax gain harvesting means selling investments that have gone up in value, held for more than a year in a taxable brokerage account, in a year when the gain falls inside the 0% long-term capital gains bracket, then buying back in at the new, higher price. For 2026, that 0% bracket covers taxable income up to $49,450 for single filers and $98,900 for married couples filing jointly, and the trade has to happen by December 31. The wash sale rule only applies to losses, so you can rebuy the same investment straight away.

This guide covers the 2026 and 2027 limits, how much gain you can actually harvest, the hidden costs and a year-end checklist. It’s based on IRS, CMS, Social Security, HealthCare.gov and GOV.UK guidance checked on 5 December 2026.

How tax gain harvesting works

The IRS taxes net long-term capital gains at 0%, 15% or 20%, depending on your taxable income. A gain is long-term if you held the asset for more than one year. If your income is low enough, some or all of that gain is taxed at 0%.

Tax gain harvesting uses that window on purpose:

  • You sell shares with a long-term gain while the gain fits in the 0% bracket.
  • You pay no federal tax on the part of the gain inside the bracket.
  • You buy the same or a similar investment again, so your cost basis resets to today’s price.
  • When you sell later, your taxable gain is smaller, because the old gain has already been taxed at 0%.

It suits people having a low-income year: early retirees living off savings before Social Security and required minimum distributions start, people between jobs, students with investments, and anyone whose income fell in 2026.

2026 and 2027 0% capital gains brackets

These are taxable income limits (income after deductions), taken from IRS Rev. Proc. 2025-32 for 2026 and Rev. Proc. 2026-35 for 2027:

Filing status2026: 0% up to2026: 15% up to2027: 0% up to2027: 15% up to
Single$49,450$545,500$51,050$563,200
Married filing jointly$98,900$613,700$102,100$633,600
Head of household$66,200$579,600$68,350$598,400
Married filing separately$49,450$306,850$51,050$316,800

Gains above the 15% limit are taxed at 20%. For the 2027 ordinary income brackets, see our 2027 tax brackets guide.

How much gain can you harvest at 0%? The stacking math

This is where most people get it wrong. The 0% limit is not how much gain you can take. Long-term gains and qualified dividends sit on top of your ordinary income, so wages, pensions, IRA withdrawals, interest and short-term gains fill the 0% bracket first. Your harvesting room is what’s left:

  1. Estimate your 2026 adjusted gross income without the harvested gain.
  2. Subtract your deduction. The 2026 standard deduction is $16,100 for single filers, $32,200 for joint filers and $24,150 for heads of household. People aged 65 or older add $1,650 each ($2,050 if unmarried), plus the new $6,000 senior deduction if eligible.
  3. Subtract any qualified dividends and fund distributions you expect, since they use the same bracket.
  4. Subtract the result from the 0% limit for your filing status. What’s left is your 0% room. Any gain above it is taxed at 15%.

Example 1: single filer with a salary

Maya earns $55,000 in wages and takes the $16,100 standard deduction, so her taxable income is $38,900. Her 0% room is $49,450 − $38,900 = $10,550 of long-term gain.

Example 2: early-retired couple, both 65+

A couple who haven’t claimed Social Security yet withdraw $80,000 from a pension and traditional IRA. Their deductions are $32,200 + $3,300 (two additional deductions of $1,650) + $12,000 (two senior deductions) = $47,500, leaving $32,500 of taxable income. Their 0% room is $98,900 − $32,500 = $66,400. With that gain, their MAGI would be $146,400, still under the $150,000 joint level where the senior deduction starts to phase out.

Both examples are simplified. Run your own numbers in tax software or with a tax professional before you sell.

Tax gain harvesting checklist: a calendar with the last day marked, a potted plant, coin stacks and a brokerage screen with a rising bar chart on a desk

Does the wash sale rule apply to tax gain harvesting?

No. IRS Publication 550 says a wash sale occurs when you sell stock or securities at a loss and buy substantially identical securities within 30 days before or after. Selling at a gain and rebuying the same day doesn’t trigger it.

Be careful if you own several lots bought at different prices. If any lot you sell is at a loss and you rebuy, that loss can be disallowed. Publication 550 lets you use the basis of specific shares if you can adequately identify them, so tell your broker which lots to sell instead of relying on first-in, first-out.

The December 31 deadline and timing rules

  • Trade date counts. For publicly traded stocks and funds, Publication 550 says you report the gain in the year of the trade date, not the settlement date. A trade executed on December 31, 2026 counts for 2026.
  • Check the holding period. It starts the day after you bought and ends on the day you sell. Shares held one year or less produce short-term gains, taxed as ordinary income.
  • Watch year-end fund payouts. Mutual fund capital gain distributions are long-term regardless of how long you owned the fund, so December payouts can use up part of your room.

When 0% isn’t really free: the hidden costs

A harvested gain may be taxed at 0% federally, but it still raises your adjusted gross income. That can cost you elsewhere:

  • State income tax. Many states tax capital gains even when the federal rate is 0%.
  • Medicare premiums. Social Security sets income-related Part B and Part D surcharges (IRMAA) using your tax return from two years earlier, so 2026 income generally affects 2028 premiums. For 2027, CMS says surcharges start above $112,000 of MAGI for individuals and $224,000 for joint filers. More in our Medicare Part B premium 2027 guide.
  • Social Security taxation. The IRS test adds half your benefits to all your other income, so a gain can make more of your benefits taxable, which then shrinks your 0% room.
  • Senior deduction phase-out. The $6,000 deduction phases out above $75,000 of MAGI ($150,000 joint). See our senior deduction phase-out explainer.
  • Marketplace health subsidies. HealthCare.gov counts capital gains in the income used for premium tax credits.
  • Loss carryovers. Capital losses carried over from earlier years are netted against this year’s gains, so a harvested gain may use up a carryover instead of resetting basis for free.

The 3.8% net investment income tax only starts above $200,000 of MAGI ($250,000 joint), so it rarely affects people in the 0% bracket.

Tax gain harvesting vs tax loss harvesting

Loss harvesting sells losers to offset gains and up to $3,000 of ordinary income, and it is limited by the wash sale rule. Gain harvesting sells winners to reset basis while the tax rate is 0%. Doing both in the same year usually works against you, because the losses cancel the gains you meant to harvest. If you’re a higher earner, our tax loss harvesting deadline guide is probably the better fit.

UK readers: why the same trick works differently

The UK has no 0% band for gains. Instead, you get a £3,000 annual exempt amount, and gains above it are taxed at 18% or 24%. The UK tax year ends on 5 April, not 31 December.

Selling and immediately rebuying doesn’t reset your cost in the UK. HMRC’s “bed and breakfasting” rule (HS284) matches a sale with shares of the same company bought in the next 30 days. You also pay no tax on gains inside an ISA, which has a £20,000 allowance for 2026 to 2027.

Tax gain harvesting checklist before December 31

  1. Project your full 2026 income, including December dividends and fund distributions.
  2. Work out your 0% room with the stacking steps above.
  3. Pick lots held more than one year with gains, and check none of them are at a loss.
  4. Leave a buffer under the limit in case your estimate is off.
  5. Check the state tax, IRMAA, Social Security and subsidy effects.
  6. Place the sale by December 31 using specific lot identification, then rebuy if you want to keep the position.
  7. Keep your trade confirmations. The sale goes on Form 8949 and Schedule D.

FAQ

Is tax gain harvesting worth it?

It can be if you expect to be in a higher bracket later, because gain you harvest at 0% now won’t be taxed again. If your income will stay low, or you plan to hold the investment for life, the benefit is smaller.

Can I do tax gain harvesting in an IRA or 401(k)?

No. Trades inside retirement accounts don’t create taxable capital gains, so there’s nothing to harvest. It only works in taxable brokerage accounts.

Does a 0% gain still go on my tax return?

Yes. You report the sale on Form 8949 and Schedule D even if no tax is due, and the gain counts in your AGI.

Does tax gain harvesting work with bitcoin?

The IRS treats digital assets as property, so long-term crypto gains use the same 0%, 15% and 20% brackets. Check your exchange’s cost basis records before you sell.

Disclaimer: This article is general information, not financial, investment or tax advice. Tax rules and your own situation can change the result. Check with a qualified tax professional before you sell investments.

Recent Posts

  • Etsy AI Training: Can Sellers Opt Out Before the December 16 Terms?
  • Coinbase Loan Liquidation: What Happens to Your Bitcoin, What You Owe and Taxes
  • Tax Gain Harvesting: Use the 0% Rate Before Dec 31, 2026
  • Package Stolen? What to Do With Amazon, USPS, UPS and FedEx (Step by Step)
  • Craft Fair License: Do You Need One to Sell in 2026?
Subscription form is not available at the moment
  • Altcoin News
  • Bitcoin
  • Blog
  • Core Ecosystem Analysis
  • DeFi
  • Free Crypto Signals
  • Make Money Online
  • Personal Finance & Investing
  • Token Analysis
  • About Us
  • Contact
  • Privacy Policy
  • Disclaimer
©2026 PenyuOnCore | Design: Newspaperly WordPress Theme