Accounts

Wash Sale Rule: Definition

Educational purposes only. This content does not constitute investment advice. Read our disclaimer

StockCram is not a broker-dealer, investment adviser, or financial institution. All content is for educational and informational purposes only and should not be construed as personalized investment advice. Consult a qualified financial professional before making investment decisions. Past performance does not guarantee future results.

Simple Definition

An IRS rule that blocks you from claiming a tax loss if you buy the same stock back within 30 days.

Why It Matters

Tax-loss harvesting is powerful, but the wash sale rule prevents abuse. You can't sell a stock for a loss, claim the tax deduction, and immediately buy it back. You must wait 31 days - or buy a similar (but not identical) investment. Violate the rule and your loss is disallowed; it gets added to the cost basis of the new shares instead.

Key Points

  • Applies 30 days before AND after the sale (61-day window total)
  • "Substantially identical" includes options on the same stock
  • Workaround: Sell S&P 500 fund, buy total market fund (similar but not identical)

Try the Calculator

Free Calculator

Capital Gains Tax Calculator

Put your knowledge of wash sale rule into practice with our free calculator.

Learn More

Taxes Lesson

Tax-Loss Harvesting

Get a complete explanation with examples, key takeaways, and a quiz to test your knowledge.

Related Terms

Common Questions

An IRS rule that blocks you from claiming a tax loss if you buy the same stock back within 30 days. Tax-loss harvesting is powerful, but the wash sale rule prevents abuse. You can't sell a stock for a loss, claim the tax deduction, and immediately buy it back.

Tax-loss harvesting is powerful, but the wash sale rule prevents abuse. You can't sell a stock for a loss, claim the tax deduction, and immediately buy it back. You must wait 31 days - or buy a similar (but not identical) investment. Violate the rule and your loss is disallowed; it gets added to the cost basis of the new shares instead.

Applies 30 days before AND after the sale (61-day window total)

"Substantially identical" includes options on the same stock

Workaround: Sell S&P 500 fund, buy total market fund (similar but not identical)