Selling at a Loss in December 2026: a Purchase as Late as January 31 Can Still Undo It, and an IRA Purchase Destroys It

The wash sale window reaches 30 days past the sale, into 2027. A $10,000 loss saves a single filer up to $4,080 in federal tax when it cancels a gain; 2.4 reinvested shares disallow $120 of it, an automatic monthly buy $1,000, and the same shares bought by your IRA all of it for good. Dates for December sales, a table by income, and why buying first no longer works for a 2026 loss.

Published December 4, 2026

Selling a losing investment before December 31 puts the loss on your 2026 return: for exchange-traded securities the trade date counts, even when the money arrives in January (Publication 550). But the wash sale rule looks 30 days in each direction from the sale, so the loss is not safe when the year ends. The figures below come from the wash sale calculator and the capital gains and loss carryover calculator. The examples use 200 shares bought at $100 and sold at $50, a $10,000 short-term or long-term loss as each table says. Nothing here says whether to sell.

The short version. A December 31 sale is not clear of the rule until January 31, 2027. For a single filer a $10,000 loss that cancels a gain saves up to $4,080 in 2026 federal tax. A purchase of the same shares inside the window disallows a matching share of it (2.4 reinvested shares out of 200: $120), and if the buyer is your IRA the disallowed amount is never deducted.

The window crosses New Year

Count 30 days back and 30 days forward from the sale date (26 U.S.C. 1091(a)). A purchase on or before the date in the second column, or on or after the date in the third, is outside the window.

Last clear purchase date before and first clear date after each December 2026 sale date
Sale at a lossEarlier purchases are clear up toLater purchases are clear from
December 4, 2026November 3, 2026January 4, 2027
December 11, 2026November 10, 2026January 11, 2027
December 18, 2026November 17, 2026January 18, 2027
December 31, 2026November 30, 2026January 31, 2027

These are calendar dates; the market is not open on all of them. The rule also catches a contract or option to buy, a fully taxable trade into the same security, a spouse's purchase and a purchase by a corporation you control (Publication 550).

Buying first no longer helps for a 2026 loss

One way people try to stay invested is to buy the new shares first and sell the old ones later. The sale then has to be more than 30 days after the purchase. For a purchase made on December 4, 2026, the first sale date that is clear of it is January 4, 2027, which is a 2027 loss. Selling the old lot sooner is a wash sale: the regulation's first example is a purchase on December 15 followed by a sale of an older lot on January 3, and no loss is allowed (26 CFR 1.1091-1(h)). Selling part of the single purchase you just made is different: by itself that is not a wash sale (Revenue Ruling 56-602, as the calculator page explains).

What is at stake: a $10,000 loss, by income

Federal tax saved on the 2026 return by a single filer taking the standard deduction. “Income” is wages and other ordinary income before the deduction. The first two columns assume you also have a $10,000 gain of that kind for the loss to cancel; the last assumes no gains, so only $3,000 can be deducted this year and $7,000 carries over (26 U.S.C. 1211(b), 1212(b)).

Tax saved by a $10,000 short-term loss, by income and what it is set against, single filer, 2026
IncomeAgainst a short-term gainAgainst a long-term gainNo gains: this year
$40,000$1,200$0$360
$60,000$1,550$667.50$360
$100,000$2,200$1,500$660
$150,000$2,400$1,500$720
$215,000$3,350$1,880$720
$300,000$3,880$1,880$1,050
$700,000$4,080$2,380$1,110

The $0 in the first row is real: with $40,000 of income that long-term gain would have been taxed at 0% anyway, so cancelling it saves nothing this year. The 3.8% tax on investment income is included where it applies. State tax is not.

Three purchases that undo it

Each case starts with the 200 shares sold on December 15, 2026.

  • A reinvested dividend. 2.4 shares bought on December 22 replace 2.4 of the 200 sold, so $120 of the $10,000 is disallowed and $9,880 is still deductible. The rule scales with the number of shares; it does not void the whole sale.
  • An automatic monthly buy. 10 shares on November 30 and 10 on December 31 are both inside the window (it opens on November 15): $1,000 is disallowed. A purchase made before the sale counts as much as one made after.
  • The same shares in an IRA or Roth IRA. 200 shares bought by the IRA on January 14, 2027 disallow all $10,000, and the IRA's basis does not rise (Revenue Ruling 2008-5). At $100,000 of income, that gives up the $2,200 the loss would have saved against a short-term gain, permanently.

Outside an IRA the loss is postponed, not destroyed

If you buy the 200 shares back in your own taxable account on January 14, 2027 at $52, the $10,000 is disallowed for 2026 and added to the new shares: they cost $10,400 and their basis is $20,400. The time you held the old shares is added to the new ones (26 U.S.C. 1223(3)), so they count as held since March 5, 2025. What you lose is the timing: the 2026 return gets nothing, and the deduction returns only when the new shares are sold without another wash sale.

What the rule does not settle

“Substantially identical” is decided on all the facts. Publication 550 says the stock of another corporation ordinarily is not, and it says nothing about two funds that follow the same index, so this guide does not either. Brokers report the wash sales they can see (box 1g of Form 1099-B); purchases at another firm, in your spouse's account or in an IRA are yours to add on Form 8949, with code W and the disallowed amount in column (g).

Sources

This guide is general information, not tax, legal, or financial advice. Figures are estimates, and rules and rates change — check the sources cited above for the current details, and consider a qualified professional for your own situation.