Getting started, costs and tax
What is a wash sale?
The short answer
In the US, a wash sale is a loss on stock you cannot deduct when substantially identical stock is bought within 30 days before or after the sale. The rule looks at the sale and the nearby purchase together. Rules differ by country and change.
How it works
Substantially identical means very similar for this tax rule. IRS guidance says stock of different corporations is ordinarily not substantially identical. A gain is tied to a sale, so this is about a realized loss, not an unrealized price drop. A realized loss means the sale happened, rather than a paper loss on a screen.
One basic case: 80 shares are bought at 62, sold at 60, and substantially identical shares are bought 12 days later. That is a 2 dollar loss per share, and the US wash sale rule blocks the deduction.
This is education, not tax advice. The rule names a 30-day window, and tax rules differ by country and change.
Sources
- IRS: Publication 550, Investment Income and ExpensesIRS
- IRS: Topic no. 409, Capital gains and lossesIRS
- Fidelity: What are capital gains?Fidelity
Checked against these pages on 2026-12-01. Education only, not financial advice. Rules can differ by country and change over time.
Keep learning
Want to try it, with fake money?
The lessons, the practice desk and Pal are free to start. You learn it by doing it, and nothing you do there costs a cent.
Create a free account