CONVEX
Glossary/Trading Strategies & Order Types/Wash Sale Rule
Trading Strategies & Order Types
2 min readUpdated Apr 16, 2026

Wash Sale Rule

wash salewash sale rule30-day rule

The wash sale rule is a US tax regulation that disallows claiming a capital loss on a security if a substantially identical security is purchased within 30 days before or after the sale.

Current Macro RegimeSTAGFLATIONSTABLE

The macro regime is STAGFLATION STABLE — growth decelerating (GDPNow 1.3%, consumer sentiment 56.6, housing deeply contractionary) while inflation is sticky-to-rising (Cleveland Fed CPI Nowcast 5.28%, PCE Nowcast 4.58%, GSCPI elevated). The bear steepening yield curve (30Y +10bp, 10Y +7bp 1M) with r…

Analysis from Apr 18, 2026

What Is the Wash Sale Rule?

The wash sale rule is a US Internal Revenue Service (IRS) regulation (Section 1091 of the Internal Revenue Code) that prevents taxpayers from claiming a tax deduction on a security sold at a loss if a "substantially identical" security is purchased within 30 days before or after the sale. The rule exists to prevent investors from selling solely to claim a tax loss and then immediately repurchasing the same position.

The 30-day window applies in both directions: you cannot buy the same security 30 days before the sale (in anticipation) or 30 days after. This creates a 61-day total window (30 + 1 + 30) within which the purchase of a substantially identical security triggers the rule.

What "Substantially Identical" Means

The IRS has not provided a precise definition of "substantially identical," which creates some ambiguity. However, the following are generally understood. Buying the same stock or bond is clearly substantially identical. Buying a mutual fund or ETF tracking the same index is likely substantially identical. Buying a mutual fund or ETF tracking a different but similar index (S&P 500 vs. total stock market) is generally considered not substantially identical, though this is a gray area.

Stocks of different companies in the same industry are not substantially identical because they are distinct securities with different characteristics. Options on the same stock may be considered substantially identical in some circumstances.

Impact on Tax-Loss Harvesting

The wash sale rule is the primary constraint on tax-loss harvesting strategies. Investors must navigate the rule carefully to realize tax losses while maintaining their desired portfolio exposure.

Replacement securities must be similar enough to maintain the portfolio's risk and return profile but different enough to avoid the substantially identical designation. The most common approach uses different funds tracking different (but related) indexes.

The wash sale rule applies across all accounts owned by the taxpayer, including IRAs and other retirement accounts. A loss realized in a taxable account can be disallowed if the same security is purchased in an IRA within the 30-day window. This cross-account application catches many investors by surprise. Automated dividend reinvestment in any account holding the same security can also inadvertently trigger wash sales.

Frequently Asked Questions

What triggers a wash sale?
A wash sale is triggered when you sell a security at a loss and then buy the same or a "substantially identical" security within 30 days before or after the sale. The 61-day window (30 days before, the sale day, and 30 days after) is the critical period. Wash sales are triggered by purchases in any account you own, including taxable accounts, IRAs, and even a spouse's accounts in some interpretations. Reinvested dividends can also trigger a wash sale. Options on the same underlying security may also be considered substantially identical. The rule applies to stocks, bonds, mutual funds, ETFs, and options.
What happens if you violate the wash sale rule?
If a wash sale occurs, the disallowed loss is not permanently lost. Instead, it is added to the cost basis of the replacement shares. This means you will eventually recover the loss when you sell the replacement shares (assuming you do not trigger another wash sale at that point). For example, if you sell 100 shares at a $500 loss and repurchase within 30 days, the $500 loss is disallowed but added to your new cost basis, increasing it by $5 per share. Your holding period also carries over. The effect is a deferral of the tax benefit rather than permanent elimination.
How do you avoid wash sales?
To avoid wash sales while maintaining market exposure, replace the sold security with a similar but not substantially identical alternative. Sell an S&P 500 fund and buy a total market fund. Sell one tech stock and buy a different company in the same sector. Wait the full 31 days before repurchasing the same security (though this creates market exposure risk). Some investors use sector ETFs to maintain broad market exposure during the waiting period. Be aware of automatic dividend reinvestment in the sold security and across all accounts, including retirement accounts, which can inadvertently trigger wash sales.

Wash Sale Rule is one of the signals monitored daily in the AI-driven macro analysis on Convex Trading. The platform synthesises data across monetary policy, credit, sentiment, and on-chain metrics to generate actionable trade recommendations. Create a free account to build your own signal layer and see how Wash Sale Rule is influencing current positions.

ShareXRedditLinkedInHN

Macro briefings in your inbox

Daily analysis that explains which glossary signals are firing and why.