Tax Planning

Wash Sale Rule

Tax rule that disallows loss deductions if you repurchase the same or substantially identical security within 30 days.

Also known as: wash sale rule, irs wash sale rule

What You Need to Know

The wash sale rule (IRC § 1091) prevents you from claiming a tax loss if you repurchase the same (or substantially identical) security within 30 days before or after the sale.

How It Works: If you sell Stock XYZ at a loss and buy it back within 30 days, the IRS disallows the loss deduction. The disallowed loss is added to the cost basis of the repurchased shares.

Example:

  • Sell 100 shares at $5,000 loss on Dec 15
  • Rebuy 100 shares on Dec 20
  • Loss is disallowed; $5,000 is added to new cost basis

61-Day Window: The rule covers 30 days before AND 30 days after the sale (61 total days).

Cryptocurrency Exception (For Now): 🚨 IMPORTANT: As of 2024, the wash sale rule does NOT apply to cryptocurrency. You can sell Bitcoin at a loss and immediately rebuy it for tax-loss harvesting.

However, pending legislation may change this. Tax Foundation and industry groups are tracking potential wash sale rule expansion to digital assets.

Strategies to Avoid (for stocks):

  • Wait 31+ days to repurchase
  • Buy a similar (not identical) security (e.g., sell VOO, buy VTI)
  • Spouse can't buy the security either (applies to your household)

Penalty: None directly, but you lose the immediate tax deduction and must carry the basis adjustment forward.

Sources & References

This information is sourced from authoritative government and academic institutions:

  • irs.gov

    https://www.irs.gov/publications/p550#en_US_2022_publink100010601