Tax-Loss Harvesting Before Year End: When It Pays
| 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 lossTake 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 lossThe 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:
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. 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. 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 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. 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. List positions below cost in taxable accounts only. Losses inside IRAs and 401(k)s generally can't be deducted. Pick a replacement that isn't substantially identical before you sell, so the money isn't sitting in cash for a month. 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. 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 Internal Revenue Service, Topic no. 409, Capital gains and losses Internal Revenue Service, Internal Revenue Bulletin 2025-45, Rev. Proc. 2025-32 (2026 inflation adjustments, Section 4.03: maximum capital gains rate amounts) 26 U.S.C. § 1091, Loss from wash sales of stock or securities (via Cornell Legal Information Institute) 26 C.F.R. § 1.1091-1, Losses from wash sales of stock or securities (via Cornell Legal Information Institute) Internal Revenue Service, Rev. Rul. 2008-5, Loss from wash sales of stock or securities (IRA and Roth IRA purchases) Thousandaire Editorial TeamThe Thousandaire Editorial Team creates practical, evidence-based personal finance content for people building real wealth. We break down investing, retirement, taxes, real estate, and other wealth-building decisions with clear explanations, real numbers, and no hype
Legal Disclaimer:
MENAFN provides the
information “as is” without warranty of any kind. We do not accept any
responsibility or liability for the accuracy, content, images, videos,
licenses, completeness, legality, or reliability of the information
contained in this article. If you have any complaints or copyright issues
related to this article, kindly contact the provider above.

Comments
No comment