Tax gain harvesting in 2026 means selling investments that have gone up in value in a taxable brokerage account so the long-term gain is taxed at 0% federally. It works when your total taxable income, counting the gain itself, stays at or below $49,450 if you're single, $98,900 if you're married filing jointly, or $66,200 if you file as head of household. Your 0% room starts over every January, and anything you don't use is lost. You have until December 31, 2026 to use this year's.
Last updated: October 31, 2026 · By Syed Kaja Moinudeen
- The 2026 0% long-term capital gains limits come from IRS Rev. Proc. 2025-32: taxable income up to $49,450 (single), $98,900 (joint) and $66,200 (head of household).
- The limits apply to taxable income. Add back your deduction to see how much you can actually earn. A single filer under 65 can have about $65,550 of AGI and still pay 0%.
- You can buy the same shares back right away. The wash-sale rule only applies to sales at a loss.
- A gain taxed at 0% still raises your AGI. That can increase your Medicare premiums two years later, cost you ACA subsidies, make more of your Social Security taxable, and shrink the $6,000 senior deduction.
- The shares must have been held more than one year, and the trade must go through in 2026.
What Tax Gain Harvesting Is (and Why the Dec. 31, 2026 Deadline Matters)
Say you bought an index fund for $20,000 years ago and it's now worth $50,000. You have a $30,000 unrealized gain. If you sell during a year when your income is low enough, that gain can be taxed at 0% federally. If you buy the fund right back, your new cost basis is $50,000. When you sell years later, possibly in a higher bracket, you'll owe tax only on growth above $50,000.
Nothing gets tax-deferred here. The gain is simply wiped out while the rate on it is zero. The catch is that each year's 0% room disappears on December 31. If your taxable income this year is $20,000 below the line and you do nothing, that $20,000 of 0% room is gone for good.
The people who benefit most are early retirees living off savings, retirees who haven't started Social Security or required withdrawals, anyone between jobs or on sabbatical, and lower-income investors with old, highly appreciated holdings.
2026 0% Long-Term Capital Gains Thresholds: $49,450 Single, $98,900 Joint, and Head of Household
The IRS published the 2026 figures in Rev. Proc. 2025-32, and the standard deductions appear in the IRS 2026 inflation adjustment release. The last column shows roughly how much adjusted gross income (AGI) a filer under 65 with no other deductions can have and still stay in the 0% bracket.
| Filing status (2026) | 0% rate: taxable income up to | 15% rate: taxable income up to | Standard deduction | Approx. AGI ceiling for 0% (under 65) |
|---|---|---|---|---|
| Single | $49,450 | $545,500 | $16,100 | $65,550 |
| Married filing jointly | $98,900 | $613,700 | $32,200 | $131,100 |
| Head of household | $66,200 | $579,600 | $24,150 | $90,350 |
Married couples filing separately get the same $49,450 0% limit as single filers. Gains above the 15% limit are taxed at 20%. Some higher-income filers also owe the 3.8% net investment income tax, which applies above $200,000 of MAGI for single filers and $250,000 for joint filers. Those thresholds are well above anyone using the 0% bracket.
How to Calculate Your 0% Room: Taxable Income vs. Gross Income (Standard Deduction Added Back)
Many people get this step wrong. The thresholds measure taxable income, which is AGI minus your deductions. They don't measure your paycheck or your gross income. Here's the calculation:
- Estimate your 2026 ordinary income: wages, pension, IRA withdrawals, interest, unemployment benefits, and the taxable part of any Social Security.
- Subtract your deductions. Use the standard deduction or your itemized total. If you're 65 or older, add the extra age-based standard deduction of $2,050 for single filers or $1,650 per spouse for married filers. Also include the $6,000 enhanced senior deduction if you qualify.
- Subtract the result from your 0% threshold. The difference is your 0% room. Qualified dividends and capital gain distributions you've already received use part of it.
Ordinary income always fills the brackets first, and long-term gains are stacked on top of it. If your gain pushes taxable income past the limit, only the part below the limit is taxed at 0%. The rest is taxed at 15%.
3 Worked Examples: How Much Gain You Can Realize Tax-Free in 2026
Example 1: Single retiree, age 66, delaying Social Security
Linda gets a $28,000 pension and takes $8,000 from her IRA, so her AGI before any gains is $36,000. She's waiting until 70 to claim Social Security. Her deductions are the $16,100 standard deduction, plus $2,050 for being 65 or older, plus the $6,000 senior deduction, for a total of $24,150.
- Taxable income before gains: $36,000 − $24,150 = $11,850
- 0% room: $49,450 − $11,850 = $37,600
- MAGI after harvesting: $73,600. That's under the $75,000 point where the senior deduction starts to phase out, so she keeps the full $6,000.
Linda can realize $37,600 of long-term gains and owe $0 in federal tax on them. If she sold $45,000 instead, the extra $7,400 would be taxed at 15% ($1,110). Her MAGI would also cross $75,000, so part of her senior deduction would phase out and even more of the gain would land in the 15% bracket. For more on that deduction, see our guide on how to claim the $6,000 senior deduction on Schedule 1-A.
Example 2: Married early retirees, both 58, on ACA coverage
Mark and Dana live off their brokerage account. They get $12,000 a year in interest and qualified dividends, and their deduction is the $32,200 joint standard deduction.
- Federal 0% limit on gains: $98,900 + $32,200 − $12,000 = $119,100
- ACA limit: their 2026 marketplace coverage is priced using the 2025 poverty guidelines. For a two-person household, that's $15,650 + $5,500 = $21,150, and 400% of that is $84,600.
If they harvested the full $119,100, their household income would be about $131,000. That's far above the 400% line, so they'd lose their premium tax credit completely. Instead, they keep total MAGI under $84,600 by harvesting up to about $72,500. They still owe $0 in federal tax on those gains and they keep the subsidy. The roughly $46,000 of 0% room they leave unused costs them less than the subsidy would.
Example 3: Single, between jobs (sabbatical year)
Jordan, 34, earned $22,000 in wages before leaving a job in April and isn't working the rest of the year.
- Taxable income before gains: $22,000 − $16,100 = $5,900
- 0% room: $49,450 − $5,900 = $43,550
Before selling, Jordan should add any unemployment benefits, severance, or freelance income expected by December, because all of it is taxable. If Jordan buys marketplace insurance, the ACA limit in Example 2 applies too. For one person, 400% of the poverty line is $62,600.
Step-by-Step: How to Harvest Gains in a Taxable Brokerage Account (Lot Selection, Sell and Rebuy, No Wash-Sale Rule)
- Project your full-year income now. Use your year-to-date pay stubs and your brokerage's estimate of year-end fund distributions.
- Pick long-term lots only. A gain is long-term only if you held the asset more than one year. In your brokerage settings, change the cost-basis method to "specific lot" so you choose exactly which shares get sold. With the default first-in, first-out method you might sell lots you didn't intend to.
- Sell enough to fill your room, leaving a cushion. Aim $1,000 to $3,000 below your calculated limit. That covers a surprise dividend or an income estimate that comes in low.
- Buy back right away if you want to keep the position. Under IRS Publication 550, a wash sale is a sale at a loss followed by a repurchase within 30 days. Gains aren't covered, so you can buy the same fund minutes later. Your basis resets to the new purchase price, and the one-year clock for long-term treatment starts over.
- Trade early. Place your sales well before December 31 so the trades go through in 2026 and you have time to fix mistakes.
- Keep records. Save the trade confirmations and a note of your income calculation.
Hidden Costs: IRMAA, the ACA Subsidy Cliff, Social Security Taxation and the $6,000 Senior Deduction
A 0% capital gain still adds to your AGI. Before you sell, check whether any of these income-based rules apply to you.
| Hidden cost | Threshold to watch | Who it hits |
|---|---|---|
| Medicare IRMAA | 2026 premiums: MAGI above $109,000 single / $218,000 joint (based on 2024 returns) | Anyone on Medicare by 2028 |
| ACA subsidy cliff | 400% of poverty line: $62,600 (1 person), $84,600 (2 people) for 2026 coverage | Marketplace enrollees |
| Social Security taxation | Combined income above $25,000 single / $32,000 joint | Retirees receiving benefits |
| $6,000 senior deduction | Phases out above $75,000 MAGI single / $150,000 joint | Age 65+ |
IRMAA two years later. Medicare premiums are based on your tax return from two years earlier. According to the CMS 2026 fact sheet, the standard Part B premium is $202.90. A single person with 2024 MAGI just over $109,000 pays $284.10. Gains you harvest in 2026 will affect your 2028 premiums. The 2028 thresholds haven't been announced yet. Most people in the 0% bracket are well below these levels, but someone harvesting near the joint limit while collecting a pension and Social Security can get close. If your income falls because of a life-changing event, such as retiring, you can ask SSA to lower the surcharge. A voluntary sale of stock doesn't count as one of those events.
The ACA subsidy cliff. The enhanced subsidies expired after 2025, so for 2026 coverage, a household even $1 over 400% of the poverty line gets no premium tax credit. A harvested gain that pushes you over the line could cost you thousands in subsidy to save tax you'd otherwise owe years from now. Our guide to the 2027 ACA subsidy cliff covers next year's numbers.
Social Security taxation. IRS Publication 915 works out "combined income" by adding half your benefits to all your other income, and capital gains count. Once you're above $25,000 (single) or $32,000 (joint), each extra dollar of gain can make more of your benefits taxable, up to 85% of them. That newly taxable Social Security is ordinary income, so it takes up 0% room you were planning to use. If you're collecting benefits, test a few gain amounts in tax software before you sell.
Retirees 70½ and older can make qualified charitable distributions (QCDs) from an IRA. QCDs keep that money out of AGI, which leaves more room for 0% gains. See our post on the 2026 QCD deadline and $111,000 limit.
State income tax. A 0% federal rate doesn't make the gain tax-free at the state level. Many states tax capital gains as ordinary income. Check with your state revenue department before you sell.
Tax Gain Harvesting vs. Tax Loss Harvesting: Which One Fits Your 2026 Situation
Loss harvesting is for high-income years. You sell investments that are down to offset gains, plus up to $3,000 of ordinary income ($1,500 if married filing separately). Gain harvesting is for low-income years. Doing both in the same year usually works against you, because losses offset gains before the 0% rate applies. A $10,000 loss would cancel $10,000 of gain that was going to be taxed at 0% anyway. Capital loss carryovers from earlier years also get used up against gains first. If you have a carryover, figure that into your plan.
Common Mistakes: Short-Term Lots, Overshooting the Bracket, Forgetting State Tax and Year-End Distributions
- Selling short-term lots. Shares held one year or less produce short-term gains, which are taxed as ordinary income. Check the purchase date on every lot.
- Overshooting the bracket. Each dollar over the limit is taxed at 15%, and it can also cost you senior deduction or ACA subsidy.
- Ignoring year-end fund distributions. Mutual funds often pay capital gain distributions in December, and those use up 0% room. Look up each fund's estimate first.
- Forgetting state tax. Covered above.
- Buying back in an IRA by mistake. That's fine for a gain, but the same move with a loss is a wash sale.
How It Shows Up on Your Return: Form 1099-B, Form 8949 and Schedule D
In early 2027, your broker will send you Form 1099-B listing each sale. You report the sales on Form 8949, and the totals carry over to Schedule D. Long-term sales go in Part II. If your broker reported the cost basis to the IRS and nothing needs adjusting, you may be able to skip Form 8949 and enter the totals directly on Schedule D. You still have to report the sales even though you owe $0. The 0% rate is applied when you calculate your tax, not by leaving the sales off your return.
Frequently Asked Questions
Can I rebuy the same stock or fund the same day?
Yes. The wash-sale rule only applies to sales at a loss. You can sell at a gain and buy the same shares back immediately. Your cost basis resets to the new purchase price, and a new one-year holding period begins.
Does tax gain harvesting work in an IRA or 401(k)?
No. Sales inside traditional or Roth retirement accounts don't create taxable gains, so there's nothing to harvest. This strategy only applies to taxable brokerage accounts.
What if I go over the 0% limit?
Only the part of your gain above the limit is taxed, generally at 15%. For example, going $5,000 over the single limit costs about $750 in federal tax. The higher AGI can also reduce income-based benefits such as the senior deduction or ACA subsidies.
Do qualified dividends count toward the 0% room?
Yes. Qualified dividends and mutual fund capital gain distributions are taxed at the same rates as long-term gains, so they use part of your 0% room before any gains you harvest.
Does tax gain harvesting affect IRMAA or the ACA subsidy?
It can. Harvested gains raise your MAGI even when they're taxed at 0%. Medicare uses MAGI from two years earlier to set IRMAA surcharges, and 2026 ACA subsidies end once household income passes 400% of the poverty line.
Can short-term gains be taxed at 0%?
No. Gains on assets held one year or less are taxed at ordinary income rates. Only long-term gains and qualified dividends can be taxed at 0%.
When is the deadline for 2026 tax gain harvesting?
The sale must happen in calendar year 2026, so place your trades well before December 31, 2026. Any 0% room you don't use in 2026 can't be carried into 2027.
Sources
- IRS Rev. Proc. 2025-32 (2026 inflation adjustments)
- IRS: 2026 tax inflation adjustments
- IRS Topic 409: Capital gains and losses
- IRS Publication 550: Investment Income and Expenses
- IRS Instructions for Form 8949
- IRS Publication 915: Social Security benefits
- IRS: Enhanced deduction for seniors
- IRS Topic 559: Net investment income tax
- CMS: 2026 Medicare Parts A & B premiums
- SSA: Request to lower IRMAA
- HHS ASPE: Poverty guidelines
- KFF: 2026 ACA marketplace changes
Disclaimer: This article is educational information, not financial, tax or legal advice. Consult a qualified tax professional about your situation.
0 Comments
Thank you For Reading Our Blog