Tax Harvesting
Tax Harvesting
Taxes

Harvest losses by Dec. 31, unless your gains would be taxed at 0% anyway

Thousandaire Editorial Team - November 30, 2026

If something in your taxable brokerage account is worth less than you paid for it, you have about a month to turn that paper loss into a deduction for 2026. Selling it before the year ends lets the loss offset gains you’ve already taken, and part of your regular income on top.

That’s the standard year-end advice, and for a lot of investors it’s right. But it skips two things. Harvesting usually postpones tax rather than erasing it, so whether it pays depends on the rate you save now versus the rate you pay later. And one automatic purchase in the wrong account can wipe out the loss for good.

Here’s how to tell whether harvesting is worth it for you this year, with the math.

The rules that set the value of a loss

Three numbers from the IRS do most of the work.

Losses offset gains first, then up to $3,000 of other income. Per IRS Topic 409 on capital gains and losses, when your capital losses exceed your capital gains, you can deduct the excess against other income up to “the lesser of $3,000 ($1,500 if married filing separately)” or your total net loss. Anything left over isn’t lost: “you can carry the loss forward to later years.”

Short-term and long-term gains are taxed differently. The same IRS page explains that an asset held “for more than one year” produces a long-term gain or loss. Held “one year or less,” it’s short-term, and short-term gains are taxed at your regular income rate.

Many long-term gains are taxed at 0%. For 2026, Rev. Proc. 2025-32 sets the top of the 0% long-term capital gains rate at $98,900 of taxable income for married couples filing jointly, $66,200 for heads of household and $49,450 for most other individuals. The 15% rate runs above that, up to $613,700, $579,600 and $545,500.

The 0% line is the one most year-end coverage leaves out.

When harvesting pays: one illustration

The figures below are invented to show how the pieces fit. Use your own.

A single investor whose regular income is taxed at 24% bought an index fund for $30,000. It’s now worth $24,000. Earlier in the year she sold another holding for a $2,000 short-term gain. She has no other gains.

If she sells the fund before Dec. 31 and realizes the $6,000 loss:

Step Amount Tax saved at 24%
Offsets her short-term gain $2,000 $480
Deducted against regular income $3,000 $720
Carried forward to 2027 $1,000 Used later
Total saved on her 2026 return $1,200

She puts the $24,000 into a similar fund that isn’t substantially identical (more on that below), so she stays invested.

Now the catch. Her new basis is $24,000 instead of $30,000. If she eventually sells the new fund for $40,000, her gain is $16,000 instead of $10,000. That extra $6,000 of long-term gain, taxed at 15%, costs her $900 later.

So the trade is $1,200 now, plus a $1,000 carryforward worth roughly $150 to $240 depending on what it offsets, against $900 owed years from now. She comes out ahead for two reasons: she saved at 24% and will repay at 15%, and she gets to keep and invest the difference in the meantime.

Harvesting is most valuable when the loss offsets income taxed at a higher rate than the gain you’ll eventually pay. Short-term gains and the $3,000 against regular income are the best uses. Long-term gains taxed at 15% are a fair use. Long-term gains taxed at 0% are a waste.

When harvesting wastes the loss

Take a different single investor with $40,000 of taxable income in 2026, including a $6,000 long-term gain from a fund she sold in the spring. Her whole income sits below the $49,450 line, so that $6,000 gain is taxed at 0%.

If she harvests a $6,000 loss in December, it offsets the gain first. She saves nothing on that gain, because there was no tax to save. And her replacement holding now carries a lower basis, so she’s set up a bigger taxable gain for the future.

For her, the better move is usually the reverse: leave the loss alone this year, and consider selling and rebuying winners to lock in gains while they’re taxed at 0%. The wash sale rule in 26 U.S.C. § 1091 is about losses, so rebuying right after a gain sale doesn’t trigger it. Run your full-year estimate first, because added gains raise your taxable income and can push part of them above the 0% line.

The 61-day window that can erase a loss

The wash sale rule disallows a loss if you buy substantially identical stock or securities “within a period beginning 30 days before the date of such sale or disposition and ending 30 days after such date.” That’s 61 days in total, counting the day of the sale. The rule also covers having “entered into a contract or option so to acquire” the same securities.

In most cases a disallowed loss isn’t gone. Under § 1091(d), the basis of the new shares becomes the basis of the old ones, “increased or decreased” by the difference in purchase prices, which in practice folds the loss into the new position. The Treasury regulation on wash sales works through examples showing the new shares also pick up the holding period of the ones you sold. And if you buy back fewer shares than you sold, the regulation’s examples disallow the loss only on the matched shares; the rest stays deductible.

Three traps catch people in December:

  1. Your IRA buys the same fund. In Rev. Rul. 2008-5, an investor sold shares at a loss and his IRA bought the same stock the next day. The IRS ruled that the loss “is disallowed under § 1091” and that the investor’s basis in the IRA “is not increased.” That loss is gone for good, not deferred. If an IRA or Roth IRA holds the fund you’re selling, turn off automatic investments into it for the window. The ruling addresses IRAs and Roth IRAs; if your 401(k) buys the same fund every paycheck, ask a tax professional how to handle it.
  2. Dividends reinvest. A reinvested dividend is a purchase. If the fund you sold at a loss pays a December dividend that reinvests in any account you own, including leftover shares in the same account, it buys shares inside the window. Switch reinvestment to cash for the 30 days before and after.
  3. You bought more in early November. The window looks backward too. Shares bought in the 30 days before your sale count.

What “substantially identical” means. Neither the statute nor the regulation defines it. Shares of the same company, or the same fund, clearly count. Switching to a fund that tracks a different index (moving from an S&P 500 fund to a total market fund, for example) is a common approach, but there’s no published IRS bright line for funds. If the two holdings are close substitutes, have a tax professional look at the pair before you trade.

Your next step

  1. Estimate your 2026 taxable income and realized gains. Your brokerage’s realized gain and loss report shows what you’ve already locked in this year, split between short-term and long-term.
  2. Check where your long-term gains fall. If your taxable income is under $98,900 (joint), $66,200 (head of household) or $49,450 (most single filers), some or all of those gains may already be taxed at 0%. Harvesting against them saves nothing.
  3. List positions below cost in taxable accounts only. Losses inside IRAs and 401(k)s generally can’t be deducted.
  4. Pick a replacement that isn’t substantially identical before you sell, so the money isn’t sitting in cash for a month.
  5. Shut off automatic buys and dividend reinvestment in that fund across every account you own, including IRAs, for 30 days on both sides of the sale.
  6. Sell well before Dec. 31. Don’t wait for the last trading day. Ask your broker how it will report the sale date if you’re close to the deadline.

This is general information, not tax advice for your situation. If you have large short-term gains, holdings in several accounts that buy the same fund, or income near the 0% line, have a tax professional review your plan before Dec. 31.

Sources

  1. Internal Revenue Service, Topic no. 409, Capital gains and losses
  2. Internal Revenue Service, Internal Revenue Bulletin 2025-45, Rev. Proc. 2025-32 (2026 inflation adjustments, Section 4.03: maximum capital gains rate amounts)
  3. 26 U.S.C. § 1091, Loss from wash sales of stock or securities (via Cornell Legal Information Institute)
  4. 26 C.F.R. § 1.1091-1, Losses from wash sales of stock or securities (via Cornell Legal Information Institute)
  5. Internal Revenue Service, Rev. Rul. 2008-5, Loss from wash sales of stock or securities (IRA and Roth IRA purchases)

Leave a Comment

Your email address will not be published. Required fields are marked *

Subscribe to our newsletter