ACCACIMAICAEWAATFinancial Market

Wash Sale

AccountingBody Editorial Team

Understand the IRS wash sale rule, how it defers tax losses, and what steps to take to avoid disallowed deductions.

The wash sale rule is a crucial regulation in U.S. tax law that affects investors who sell securities at a loss and repurchase the same or a substantially identical security within a defined time frame. Designed to prevent tax avoidance, this rule is particularly important for anyone engaged in active trading, tax-loss harvesting, or portfolio rebalancing.

This guide outlines the rule in depth, explains its consequences, and dispels common misconceptions with practical examples.

What Is a Wash Sale?

A wash sale occurs when an investor sells a security at a loss and repurchases the same or a substantially identical security within 30 days before or after the sale date. The rule, codified under Section 1091 of the Internal Revenue Code, prevents taxpayers from claiming capital losses on sales that don’t represent a permanent economic loss.

Why the Wash Sale Rule Exists

The Internal Revenue Service (IRS) introduced the wash sale rule to close a tax loophole. Without it, investors could artificially lower their tax liability by selling a security at a loss and immediately buying it back, effectively maintaining the same investment position while deducting the loss.

How the Rule Works

The wash sale window spans 61 calendar days:

  • 30 days beforethe sale
  • The day of the sale
  • 30 days afterthe sale

Any purchase of the same or substantially identical security during this time disqualifies the loss for tax deduction purposes.

Example:

You buy 100 shares of XYZ Corp. at $50 each ($5,000 total). Later, the price drops to $40, and you sell for $4,000—realizing a $1,000 loss.

If you repurchase the same 100 shares within 30 days, this becomes a wash sale. The IRS disallows the $1,000 loss, but adds it to your new cost basis, making it $5,000. If you later sell those shares for $6,000, your taxable gain is only $1,000, not $2,000.

Implications of a Wash Sale

  • Disallowed Losses: The loss from the wash sale is not deductible in the current tax year.
  • Adjusted Cost Basis: The disallowed loss isadded to the cost basisof the new purchase.
  • Deferred Tax Impact: This can reduce future gains butprevents immediate tax benefits.
  • Compound Deferrals: Frequent wash sales can causecumulative delaysin recognizing tax losses.

Common Misconceptions

1. "The rule only applies to purchases after the sale."

False. It also applies to purchases made within 30 days before the sale.

2. "The rule only applies if I buy back the exact same security."

Incorrect. The IRS extends the rule to substantially identical securities, such as:

  • Options or warrants on the same stock
  • ETFs or mutual funds tracking the same index
  • Reacquisitions in different brokerage accounts, including IRAs
3. "I can avoid it by using another account or my spouse’s account."

False. The rule applies across all personal accounts, including:

  • Brokerage and retirement accounts
  • Spousal accounts (if filing jointly)
  • Accounts under your control (e.g., trusts)

Edge Cases and Special Considerations

Wash Sales in IRAs

If you sell a security at a loss in a taxable account and repurchase it in an IRA, the loss is permanently disallowed and cannot be added to the cost basis.

Partial Repurchases

If only part of the sold security is repurchased, the wash sale rule applies proportionately to the number of repurchased shares.

Robo-Advisors and Automatic Rebalancing

Some platforms automatically reinvest or rebalance portfolios. This can accidentally trigger wash sales. Check with your provider for tax-loss harvesting protocols.

Practical Strategies to Avoid Wash Sales

  • Wait 31 days before repurchasing the same security.
  • Use the loss to buy anon-identical but correlated alternative(e.g., a different ETF with similar exposure).
  • Avoid automatic reinvestment of dividends during the wash sale window.
  • Trackall account activity, especially if using multiple brokers or IRAs.

FAQ

Does the wash sale rule apply to commodities or foreign currencies?
No. The rule only applies to securities such as stocks, bonds, mutual funds, and options.

Can I still profit from a wash sale?
Yes. Although the tax loss is deferred, you can still realize a profit if the investment gains value. The loss simply adjusts your future tax liability.

How do I report a wash sale on my tax return?
Your brokerage will generally report wash sales on Form 1099-B. However, ensure all disallowed losses are properly adjusted in Schedule D.

What about tax-loss harvesting strategies?
Harvest losses with care by using alternative investments or spacing your transactions to avoid the 30-day window.

Key Takeaways

  • The wash sale rule prevents taxpayers from claiming losses on securities sold and repurchased within 30 days.
  • Disallowed losses are added to the cost basisof the repurchased security.
  • The rule applies toidentical and substantially identical securities, acrossall personal and IRA accounts.
  • Violations lead todeferred loss recognition, not penalties—but can complicate tax planning.
  • Usealternative securities or timing strategiesto avoid triggering the rule.
A

Written by

AccountingBody Editorial Team