Tax-Loss Harvesting Before December 31: How to Lock In Losses Without Tripping the Wash-Sale Rule

2026-11-12 · 5 min read · tax-loss harvesting

Sell losing positions by December 31 to offset this year's gains or bank losses for a future business sale, without tripping the wash-sale rule.

Start with a quick check of your own accounts

Open your taxable brokerage account and count the positions now worth less than you paid. If you find even one, you may be looking at a tax opportunity with a hard deadline. Sell by December 31 and that loss could lower this year's tax bill. Any part you can't use yet can carry forward toward a future sale.

Most investors let those red numbers sit. The loss is real, but on paper it does nothing for you. We think of it as the difference between a paper loss and a banked loss. A paper loss is something you are holding. A banked loss is something you are using. Tax-loss harvesting moves a loss from the first column to the second, and the wash-sale rule is the main thing that can undo it.

How tax-loss harvesting works, in plain English

Your cost basis is what you paid for an investment. When you sell below that amount, the difference is a capital loss. IRS rules let you use capital losses to offset capital gains, so the loss reduces the gains you pay tax on.

Here is an example with the working shown. A dentist who owns her practice sold a fund earlier this year for a $40,000 gain. Another fund in her taxable account is now worth $25,000 less than she paid. If she sells it before December 31, her net gain drops from $40,000 to $15,000. Assume, for illustration, that her gains would be taxed at 20%. Removing $25,000 of gain lowers her tax by about $5,000 ($25,000 x 20%). Her actual rate depends on her income and how long she held each investment, which is why we run the numbers on her real return.

If your losses are larger than your gains, the tax code lets you use a limited amount each year against ordinary income, like wages or practice profit. Whatever is left carries forward to future years. Those carryforward losses stay available until you use them.

The wash-sale rule, and where people trip it

The wash-sale rule stops you from selling an investment for the tax loss and buying it straight back. If you buy the same or a substantially identical investment inside the wash-sale window, the loss is disallowed for now. The window runs on both sides of the sale date, so a purchase shortly before the sale counts as well as one shortly after.

In most cases a disallowed loss is postponed, not lost. It gets added to the cost basis of the new shares, and you recover it when you eventually sell those. There are three common exceptions that cause real damage.

First, buying it back in your IRA. If the replacement purchase happens inside an IRA, the loss can be wiped out for good, because the basis adjustment has nowhere to go. Second, your spouse's accounts. The rule looks at the household, so a purchase your spouse makes can trigger it too. Third, dividend reinvestment. If the fund you just sold at a loss still pays dividends into another account set to reinvest, that small automatic purchase can disallow part of your loss. Turn reinvestment off on any position you plan to harvest, in every account.

"Substantially identical" is not defined with a bright line. Selling a fund and buying back the same fund clearly counts. Two funds that track the exact same index from different providers sit in a gray area. A fund that follows a different index is generally on safer ground. If you want to stay invested, check the replacement with us before you place the trade.

Decide on the investment first, the deduction second

A tax loss should never be the only reason to sell. If you still believe in a holding and have no good substitute, a deduction is a thin reason to give up your position. Harvesting works best when the loss lines up with a decision you would make anyway, or when you can move into something similar that keeps your plan intact.

Know your gains for the year before you harvest. The value of a loss depends entirely on what it offsets. Gains can come from places you might not expect, like year-end mutual fund distributions or the sale of a rental property. Short-term and long-term gains are also taxed differently, and losses are matched against them in a specific order. A harvest that looks smart in isolation may do less than you think once the full picture is on the table.

Banking losses for the sale ahead

If you plan to sell your practice or business in the next five to ten years, unused losses deserve more attention than they usually get. Carryforward losses can offset capital gains from that future sale, to the extent the sale produces capital gains. That sale may be the largest tax event of your life, so losses banked now could make a meaningful difference later.

That only works if the losses are tracked carefully and carried correctly from one return to the next. Keep your trade confirmations and year-end statements. We handle the tracking on your return each year so nothing quietly drops off.

Profit is what you sell. Wealth is what you keep. Every year before December 31, our team reviews the whole household's accounts, including IRAs and your spouse's accounts, so the losses you harvest count now or are banked for the sale ahead. This article is education, not individualized advice, and the right move depends on your full situation.

Key takeaways

  • Sell losing positions by December 31 for the loss to count on this year's return.
  • Losses offset capital gains first, then a limited amount of ordinary income each year, with the rest carried forward.
  • The wash-sale rule covers every account in the household, including IRAs and your spouse's accounts, and a repurchase inside an IRA can erase the loss for good.
  • Turn off dividend reinvestment on any fund you plan to sell at a loss.
  • Carryforward losses can offset capital gains from a future business sale, so track them carefully.

Before December 31, let our team review every account in your household, map your gains for the year, and check any replacement investment against the wash-sale rule. Book a year-end planning conversation with Eiduk Tax & Wealth. Pay Less. Keep More. Build Wealth.

Read this article at Eiduk Tax & Wealth