Tax-Loss Harvesting: How to Turn Investment Losses Into Tax Savings
QUICK ANSWER
What is tax-loss harvesting? Tax-loss harvesting is selling an investment in a taxable account at a loss. You then use that loss to offset capital gains and up to $3,000 of ordinary income. Usually, you reinvest in a similar holding.
- Losses offset gains first, then up to $3,000 of income a year. The rest carries forward.
- The wash-sale rule blocks the loss if you rebuy within 30 days.
- In Tennessee and New Hampshire, the savings are federal only.
- Sales must be completed by December 31, 2026, to count this year.
Tax-loss harvesting is one of the few year-end moves that can turn a disappointing investment into something useful. The idea is simple. You sell an investment that’s lost value, then use that loss to reduce the taxes you owe on gains or income.
It may seem like an odd topic in a year when stocks are near record highs. Still, not everything in a portfolio moves together. In fact, rising interest rates have pushed many bond funds below what investors paid for them. Meanwhile, a few once-popular stocks have lagged the market. Those losses can still be put to work, as long as you act before December 31.
What Is Tax-Loss Harvesting?
Tax-loss harvesting means selling an investment in a taxable account for less than you paid. That sale “realizes” the loss, so you can use it on your tax return. Then you typically reinvest the money in something similar. That way, your portfolio stays on track.
For example, say you own a bond fund that’s down $15,000. You also sold a stock earlier this year for a $15,000 gain. If you sell the bond fund and buy a comparable one, the loss can offset the gain. As a result, you may owe no federal tax on that gain at all. For a married couple in the 15% bracket who also owes the 3.8% net investment income tax, that’s about $2,820 in federal tax saved.
Keep in mind that harvesting only works in taxable brokerage accounts. Losses inside an IRA, 401(k), or Roth IRA don’t count for tax purposes.
How Losses Offset Gains and Income
The IRS applies capital losses in a set order. First, short-term losses offset short-term gains. Likewise, long-term losses offset long-term gains. Then any remaining loss can offset the other type.
If your losses are larger than your gains, you can also deduct up to $3,000 a year against ordinary income. That limit is $1,500 if you’re married filing separately. Any loss left over carries forward to future years, with no expiration date during your lifetime.
That carryforward is valuable. For instance, a large loss harvested this year could offset gains from selling a business, a rental property, or concentrated stock later on.
There’s one important exception. Unused loss carryforwards end at death. A surviving spouse can use them only on the final joint return. That’s one more reason to plan ahead, along with the widow’s penalty that can follow the loss of a spouse.
Why Tax-Loss Harvesting Still Matters in a Strong Market
Many investors assume there’s nothing to harvest in a good year. However, that’s rarely true for a diversified portfolio.
Bonds are the clearest example this year. When interest rates rise, the prices of existing bonds fall. So bond funds bought in recent years may show losses, even though they’re still doing their job. Harvesting those losses lets you swap into a similar fund at today’s higher yields.
Also, gains are piling up elsewhere. Mutual funds often pay capital gain distributions in November and December. Rebalancing a portfolio after a strong run can create gains too. Tax-loss harvesting helps offset both, so more of your return stays invested.
The Wash-Sale Rule: The Trap to Avoid
The biggest risk in tax-loss harvesting is the wash-sale rule. If you buy the same or a “substantially identical” investment within 30 days before or after the sale, the IRS disallows the loss for now.
The rule reaches further than many people expect:
- Your spouse’s accounts: a purchase by your spouse can trigger a wash sale.
- Your IRA: buying the same fund in your IRA can trigger it too. In that case, the loss is lost for good.
- Automatic reinvestment: dividends reinvested within the 61-day window can trigger a partial wash sale.
To stay invested without breaking the rule, investors often swap into a similar fund that tracks a different index. Alternatively, they wait 31 days and buy back the original. Either way, it helps to turn off automatic dividend reinvestment first.
How Tax-Loss Harvesting Works, Step by Step
Here’s the process we follow when reviewing a taxable account before year-end:
- Review your taxable accounts. Look for positions trading below what you paid, known as your cost basis.
- Total up this year’s gains. Include sales you’ve already made and expected mutual fund distributions.
- Pick the losses that matter. Focus on positions where the tax savings outweigh any trading costs.
- Choose a replacement. Select a similar, but not substantially identical, investment so you stay invested.
- Check every account for wash sales. That includes your spouse’s accounts, your IRAs, and automatic dividend reinvestment.
- Place the trades by December 31. Then keep the records for your CPA, including any loss you’ll carry forward.
Tax-Loss Harvesting in Tennessee and New Hampshire
Here’s a detail many online guides miss. In both of our markets, tax-loss harvesting saves federal tax only.
Tennessee has no state income tax, so capital gains aren’t taxed at the state level. New Hampshire has never taxed capital gains. Plus, its Interest and Dividends Tax was repealed starting in 2025, as our New Hampshire Tax-Free Investing Guide explains.
That changes the math slightly. A harvested loss saves you the federal capital gains rate of 15% or 20%, plus the 3.8% net investment income tax for higher earners. But it won’t save state tax, as it would in California or Massachusetts.
Here are the 2026 federal long-term capital gains rates, based on taxable income:
| Rate | Single | Married filing jointly |
| 0% | Up to $49,450 | Up to $98,900 |
| 15% | $49,451 to $545,500 | $98,901 to $613,700 |
| 20% | Over $545,500 | Over $613,700 |
Source: IRS Rev. Proc. 2025-32. Short-term gains are taxed at ordinary income rates. The 3.8% net investment income tax applies above $200,000 of modified AGI (single) or $250,000 (joint).
For families relocating, timing can matter. If you’re moving here from a high-tax state, it may pay to realize gains after you become a resident. You may also want to harvest losses before you move. Our Moving to Tennessee Financial Planning Guide covers residency timing in more detail.
When Tax-Loss Harvesting Doesn’t Make Sense
Tax-loss harvesting is a tool, not a goal. In some cases, it does little or even backfires.
If you’re in the 0% capital gains bracket. For 2026, long-term gains are taxed at 0% for taxable income up to $49,450 (single) or $98,900 (married filing jointly). In that case, harvesting gains may be smarter than harvesting losses. Selling winners at 0% resets their cost basis higher.
If you plan to give the investment away. Donating appreciated shares to charity avoids the gain entirely. On the other hand, you should sell losing positions and donate the cash instead. Our charitable giving page explains how this fits a giving plan.
If you’re likely to leave the investment to heirs. Assets passed at death generally receive a step-up in basis. As a result, the built-in gain often disappears anyway.
If the trade changes your strategy. A tax benefit is never a reason to hold the wrong investment. So any replacement should still fit your investment strategy.
Pairing Harvested Losses With Other Year-End Moves
Harvesting works best when it’s coordinated with the rest of your tax picture. For example, harvested losses can help offset the income from a Roth conversion. They can also keep your income below a Medicare IRMAA threshold for retirees.
Some investors take the idea further with direct indexing. Instead of owning a fund, they own the individual stocks in an index. That creates more chances to harvest losses throughout the year, not just in December.
For the full list of moves to make before the year ends, see our Year-End Tax Planning Checklist. And for ongoing strategy, our tax planning team works with your CPA all year long.
Tax-loss harvesting rewards planning, not last-minute selling. That’s why Robert J. Walczak, CFP®, AIF®, reviews taxable accounts with clients each fall. He looks for losses worth harvesting and gains worth managing. He also coordinates the trades with your CPA, so everything lines up on your return.


