Wash sale rule
A wash sale happens when you sell a security at a loss and then buy the same security, or one the tax code considers "substantially identical" (this can include certain options on the same underlying), within a set window around that sale. The tax rule tied to this is designed to stop people from selling a losing position just to book the loss for tax purposes, while intending to buy right back into the same position.
The mechanics work like this: if the repurchase falls inside the disallowed window, the loss on the original sale is not deductible in that tax year. Instead of vanishing, the disallowed loss gets added to the cost basis of the replacement shares you just bought. That higher basis means a smaller taxable gain (or a bigger deductible loss) whenever you eventually sell those replacement shares for good, so the loss isn't erased, it's deferred and rolled forward.
The part that trips up beginners, especially active or day traders, is that the window runs on both sides of the sale date, not just after it, and it applies per security or substantially identical position across ALL of your accounts, including IRAs, not just the one account where you made the trade. So buying back a stock in a separate brokerage account, or even in a spouse's account in some interpretations, can still trigger the rule. Day traders who repeatedly re-enter the same ticker after a loss, which is a completely normal trading behavior, can end up with wash sale adjustments on nearly every losing trade in a given name.
The practical effect for someone trading frequently is bookkeeping complexity rather than a real economic loss of money, since the disallowed loss is added to basis and can be recovered later. But it does mean your 1099 or trade log may show disallowed losses that look alarming until you understand they're deferred, not gone.
This term depends on a rule or threshold that changes over time, so no specific figure is quoted here. The definition states the wash sale window as 30 days before and after (61 days total) and attributes the rule to the IRS. A human should confirm the exact current window length and the current IRS definition of 'substantially identical security' (including how it treats options) against the current IRS wash sale rule text or IRS Publication 550, since these specifics can be restated or clarified over time and the original entry's numbers should not be assumed correct without checking the current source.
Day traders who repeatedly buy and sell the same ticker can trigger wash sale adjustments on most of their losing trades, which distorts the loss totals shown on broker tax statements and complicates real-time P&L tracking versus taxable P&L.
Suppose on Tuesday you buy 100 shares of LMNO at $34.60, the stock drops on bad earnings, and you sell at $29.32 for a loss of $528. Later that same day you buy 100 shares back at $28.75 and sell an hour later at $29.25 for a $50 profit. Because the repurchase falls inside the disallowed window, the $528 loss is not deductible this year; instead it's added to the cost basis of the shares you bought at $28.75, making your effective basis $33.03 per share for tax purposes on that second trade. Your net economic loss for the day is still $478, but how and when that loss can be claimed on taxes depends on the wash sale adjustment rather than the trade date itself.
Learn it by trading it.
Every term in this glossary shows up daily on our live desk.
Watch a morning, free