Wash-sale rule (IRC Section 1091)
Buying a substantially identical security within 30 days before or after selling at a loss disallows the loss for current-year deduction.
Buying a substantially identical security within 30 days before or after selling at a loss disallows the loss for current-year deduction.
The wash-sale rule under IRC Section 1091 disallows a tax-loss deduction when you purchase the same or substantially identical security within 30 days before or 30 days after selling at a loss. The disallowed loss is added to the basis of the replacement shares, effectively deferring the loss to the eventual sale of the replacement.
The wash-sale window is 61 days total: 30 days before the sale, the sale day, and 30 days after.
The IRS has never published a definitive list. Practitioner consensus:
The wash-sale rule applies across all your accounts — including your IRA. So selling at a loss in taxable and buying the same fund in your IRA still triggers the wash sale. Worse: the disallowed loss doesn't even add to your IRA basis (it just vanishes).
As of current law, the wash-sale rule does NOT apply to cryptocurrency (cryptos are property, not securities). This may change with future legislation.
Wash-sale rule applies between spouses. Sale in your account + purchase in your spouse's account = wash sale.
Modern brokerages and RIA platforms typically flag wash-sale risk before harvest trades. The Vega TLH opportunity finder checks the 30-day window across all known accounts before flagging a position as harvestable.
Vega is an AI-native CPA + RIA firm. Upload your prior return + a few facts, and we'll surface a range-bound Tax Strategy Map of what may apply. Reviewed and ratified by a licensed CPA.
Get started