2026 & 2027 guide
How Tax-Loss Harvesting Works in 2026 and 2027
Tax-loss harvesting means selling an investment that's worth less than you paid for it, so the loss counts on this year's return. The realized loss cancels out capital gains you've already taken, and if losses exceed gains, part of the excess reduces your other income. You usually reinvest the money right away in something similar, so your market exposure barely changes. The rules come from IRS Topic No. 409 and Publication 550.
The netting order decides what a loss is worth
Schedule D doesn't just subtract total losses from total gains. It nets in a fixed order:
- Short-term losses (and any short-term carryover) offset short-term gains.
- Long-term losses (and any long-term carryover) offset long-term gains.
- If one side ends up with a net loss and the other a net gain, they offset each other, and the result keeps the character of the larger side.
That order matters because short-term gains are taxed at ordinary rates of 10% to 37%, while long-term gains are taxed at 0%, 15%, or 20%. A long-term loss offsets long-term gains first, so in the default example the $12,000 long-term loss saves 15% federal, not 24%. Only a loss that ends up offsetting short-term gains earns your ordinary rate. Most quick calculators multiply the loss by one rate and overstate the savings.
The $3,000 rule and the carryforward
Once all your gains are gone, up to $3,000 of net capital loss ($1,500 if married filing separately) reduces ordinary income, saving tax at your top bracket. The short-term part of the loss is used first. Whatever is left carries forward indefinitely and keeps its character: a short-term carryover offsets next year's short-term gains first. Unused carryovers can't pass to heirs.
The simulator's remaining capacity is the extra loss that would still lower this year's tax: your remaining net gains plus whatever is left of the $3,000 deduction. Beyond that, an extra harvested loss saves nothing until a future year.
The wash-sale rule
If you buy the same or a "substantially identical" security within 30 days before or after the sale (a 61-day window), the loss is disallowed and added to the basis of the new shares. The rule reaches further than most people expect:
- IRAs and Roth IRAs: buying the same fund in a retirement account triggers it, and that loss is lost permanently.
- Your spouse: purchases in a spouse's account count, even if you file separately.
- Automatic purchases: dividend reinvestment and recurring buys within the window can disallow part of the loss.
The usual fix is to swap into a similar but not identical fund, for example an S&P 500 fund into a total-market fund, and switch back after 31 days if you want.
Is it worth it? Deferral vs. real savings
Harvesting usually defers tax rather than eliminating it. Your replacement shares have a lower cost basis, so the gain you avoided today reappears when you sell them. Deferral still has value, because the tax you didn't pay stays invested. The savings become permanent when:
- you hold the replacement shares until death, when heirs receive a stepped-up basis;
- you donate the shares to charity or a donor-advised fund instead of selling;
- you sell later in a lower bracket, such as the 0% long-term bracket in early retirement;
- the loss offsets short-term gains or ordinary income now but the future gain is long-term (rate arbitrage).
Timing and state rules
Losses count in the year of the trade date, so sell by December 31. Most states follow the federal netting and $3,000 deduction, so the simulator applies your state's rates to the same result. Exceptions: New Jersey and Pennsylvania don't let net capital losses reduce other income or carry forward, Washington taxes only long-term gains above its deduction, and Massachusetts taxes short-term gains at 8.5% and long-term at 5%.
Frequently asked questions
How much can tax-loss harvesting save?
It depends on what each harvested dollar offsets. A loss that cancels a short-term gain saves your ordinary income rate (10% to 37%) plus state tax. A loss that cancels a long-term gain saves 0%, 15%, or 20% plus state tax, and up to 3.8% more if you owe the Net Investment Income Tax. After all gains are gone, up to $3,000 of net loss ($1,500 if married filing separately) reduces ordinary income. Anything beyond that saves nothing this year and carries forward.
What is the wash-sale rule?
If you buy the same or a substantially identical security within 30 days before or after selling it at a loss, the IRS disallows the loss for now. The disallowed loss is added to the basis of the replacement shares. The rule also applies to purchases in your IRA or Roth IRA, where the loss can be lost permanently, and to purchases by your spouse. Buying a similar but not substantially identical fund, such as an index fund that tracks a different index, generally avoids it.
How does the capital loss carryover work?
If your capital losses exceed your capital gains, you can deduct up to $3,000 of the net loss against other income ($1,500 if married filing separately). The rest carries forward to future years with no expiration and keeps its short-term or long-term character. Each year the carryover first offsets that year's capital gains, then up to $3,000 of ordinary income. Unused carryovers end at death and cannot pass to heirs.
Does tax-loss harvesting just defer taxes?
Usually, yes. When you reinvest the proceeds, the replacement shares have a lower cost basis, so you will owe more tax when you eventually sell them. The savings become permanent if you hold the shares until death (heirs get a stepped-up basis), donate them to charity, sell them in a lower tax bracket, or use the loss against ordinary income through the $3,000 deduction. Even pure deferral has value because the tax you postpone stays invested.
Does the $3,000 capital loss limit change in 2027?
No. The $3,000 limit ($1,500 if married filing separately) is set by IRC §1211(b) and is not adjusted for inflation, so it is the same in 2026 and 2027. What changes for 2027 is the rate a harvested loss saves: the IRS raised the 0% long-term rate threshold to $51,050 for single filers ($102,100 married filing jointly) and widened the ordinary brackets in Rev. Proc. 2026-35. Pick 2027 in the Tax Year menu to see your savings at 2027 rates.