Illustration titled Tax Loss Harvesting showing a falling investment chart labeled Loss, a money bag, and a tax form with a checkmark.

Tax-Loss Harvesting Explained: Use Losses to Cut Taxes

Tax-loss harvesting is the practice of selling investments at a loss to offset capital gains and lower your tax bill. In plain English, it means turning a bad investment into a useful tax break instead of just gritting your teeth and watching it bleed.

Look, in commercial real estate, I spend a lot of time structuring depreciation and managing basis because ignoring tax mechanics is just leaving money on the table. The same goes for your portfolio: the tax code gives you tools to soften the blow when positions go south, and you are leaving cash with Uncle Sam if you do not use them.

What Is Tax-Loss Harvesting and How Does It Work?
Tax-loss harvesting allows you to take investments that have dropped below what you paid for them and sell them deliberately. When you sell, that paper loss becomes a realized loss. You can then use that realized loss to cancel out capital gains you made elsewhere in your portfolio.

If your losses are larger than your gains, the tax code lets you use the remainder to offset ordinary income up to a limit. Any leftover losses beyond that limit do not disappear—they roll over to the next tax year and every year after that until you use them up.

A Simple Worked Example
Imagine you bought shares of an index fund last year, and due to a market dip, those shares are now worth $4,000 less than you paid for them. At the same time, you sold another stock earlier in the year for a $6,000 capital gain.

Capital Gain: +$6,000

Realized Loss: -$4,000

Net Taxable Gain: $2,000

Instead of paying taxes on the full $6,000 gain, your realized loss drops your taxable gain down to $2,000. If you had no gains at all, you could still use up to $3,000 ($1,500 if married filing separately) of that loss to reduce your ordinary income, like your salary or bank interest.

One honest caveat: a $3,000 loss does not save you $3,000. It saves the tax you would have owed on that $3,000, which is about $450 at a 15% capital gains rate (an illustrative figure), and more if the loss offsets short-term gains or ordinary income. Tax-loss harvesting usually defers taxes rather than erasing them, because the replacement investment has a lower cost basis and a larger gain when you eventually sell.

The Wash-Sale Rule Explained
The IRS is not going to let you sell a stock for a tax write-off and buy it right back five minutes later. That is called a wash sale, and the IRS will disallow the loss.

Under IRS rules, you violate the wash-sale rule if you buy a “substantially identical” investment within 30 days before or 30 days after you sell the losing position. That creates a 61-day window total (the day of the sale, 30 days before, and 30 days afterward). If you trigger a wash sale, you cannot claim the loss on your taxes; instead, that loss gets added to the cost basis of your new purchase.

The rule applies across all of your accounts, including IRAs, and to purchases made by your spouse. Automatic dividend reinvestment can trigger it too, so turn that off for any position you sell at a loss.

If you still want exposure to the asset class without breaking the rule, many investors sell one fund and immediately buy a different, similar fund—like swapping one S&P 500 index fund for a different provider’s S&P 500 fund, or moving from a total stock market fund to an exchange-traded fund tracking a slightly different index.

When Tax-Loss Harvesting Is Not Worth Doing
Not every loss is worth harvesting. Here is when you should skip it:

Retirement Accounts (IRAs and 401ks): You cannot claim capital losses inside tax-advantaged accounts like traditional or Roth IRAs. Everything inside those accounts is shielded from capital gains taxes anyway, meaning losses there give you zero tax benefits.

Tiny Losses: If a brokerage charges transaction fees (though most trades are free now) or if the administrative headache outweighs a $10 tax savings, leave it alone.

High Trading Costs: If you are paying management fees or advisory costs that eat up the tax savings, the math does not work out.

Bad Behavioral Habits: If harvesting losses leads you to panic-sell great long-term holdings just to chase a tax deduction, you are costing yourself more in the long run.

Step-by-Step Checklist for Tax-Loss Harvesting
Step Action What to Watch For
1. Review Accounts Open your taxable brokerage accounts and look for positions currently sitting at a loss. Ignore 401ks, Roth IRAs, and traditional IRAs.
2. Calculate Gains Look at what you have sold for a profit earlier in the year. Match short-term losses against short-term gains first for maximum tax savings.
3. Check Dates Ensure your sale is executed by December 31, 2026. Do not wait until the final hours; brokerage cutoffs matter.
4. Avoid the Wash Sale Wait 31 days or buy a non-identical replacement asset. Turn off automatic dividend reinvestment on that ticker.
Bottom Line
Tax-loss harvesting is a straightforward way to turn investment mistakes into a tax advantage. It will not make a bad asset good, but it will soften the blow by lowering your tax bill. Just keep your eye on the calendar, mind the wash-sale rule across all your accounts, and do not let tax tinkering distract you from a solid long-term strategy.

Frequently Asked Questions
What is the deadline to harvest losses for the tax year?
Your sale must be made on or before December 31, 2026 to count for the 2026 tax year. A sale made on December 31 counts for 2026 even if it settles in January. Check your brokerage’s cutoff times, since orders placed after the market closes run the next trading day.

Can I buy the exact same stock back immediately?
No. If you buy the same stock or a substantially identical security within 30 days before or after the sale, the IRS disallows the loss under the wash-sale rule. You must wait more than 30 days.

What happens if my losses exceed my gains?
If your total capital losses are greater than your capital gains, you can use up to $3,000 ($1,500 if married filing separately) of the excess loss to offset ordinary income. Any remaining balance carries forward to future tax years indefinitely.

Do I need to report harvested losses if I don’t owe taxes?
Yes. Even if your income is low enough that you owe zero capital gains tax, reporting realized losses on your tax return preserves them so they can roll over and offset future gains or ordinary income down the road.

Disclaimer: This article is for general educational and informational purposes only and does not constitute professional tax, legal, or financial advice. Consult a qualified CPA or tax professional regarding your specific financial situation.

Keep reading: Year-End Tax Planning Checklist: 12 Moves Before Dec. 31

And: How to Start Investing with $1,000

Similar Posts