Skip to main content
capitalgaintaxcalc.com

Tax guide

Wash sale rule: the 30-day ETF window (2026)

Updated 2026-10-12 · Educational only. Not tax advice.

30-day rule on ETFs

If you sell a stock or ETF at a loss and buy the same or a substantially identical security within 30 days before or after the sale, the wash sale rule disallows the loss. The disallowed amount is added to the basis of the replacement shares, so the loss is deferred.

The window is 61 days in total: 30 days before the sale, the sale date, and 30 days after. A near-clone ETF can fall inside that window. Dividend reinvestment and options can too. A Form 1099-B can flag some wash sales across accounts and miss others.

Crypto vs securities

Wash-sale disallowance currently applies more clearly to stocks and securities than to cryptocurrency treated as property. That distinction matters for loss harvesting, but tax law can change. Verify current IRS guidance before relying on crypto-specific harvesting.

The stocks calculator includes an optional wash-sale checkbox so you can see a planning warning. It is not a substitute for tracking replacement purchases across every account.

FAQ

Frequently asked questions

Does a wash sale apply if I buy in my IRA?

Buying a substantially identical security in an IRA shortly after selling at a loss in a taxable account can still raise wash-sale issues. The mechanics are technical, confirm with a CPA.

Are ETFs “substantially identical” to a stock I sold?

A broad index ETF is usually not identical to a single stock. A very similar single-stock substitute or a near-clone ETF can be closer to the line. Facts matter.

Guides