Imagine an investor buys a stock for $5,000. The investment falls to $3,800. They sell it, locking in a $1,200 loss, then immediately buy the same stock again because they still believe in the company. Economically, the investor may feel as though they captured a useful tax loss while maintaining the investment. The tax code may disagree.
That is where the wash-sale rule enters.
Why the rule exists
Capital losses can generally be used to offset capital gains.
If losses exceed gains, individuals may generally deduct up to $3,000 of net capital losses against other income in a year, subject to applicable tax rules, with unused losses potentially carried forward.
Without restrictions, investors could theoretically sell a losing position purely to claim the tax benefit and repurchase the same security immediately.
Their economic position would barely change.
The wash-sale rule limits that strategy.
The 30-day rule is actually a 61-day window
A wash sale can occur when an investor sells stock or securities at a loss and purchases substantially identical securities within 30 days before or 30 days after that sale.
This creates a window covering the sale date plus the surrounding 60 days.
People sometimes remember only the 30 days after the transaction and forget about purchases made before the sale.
Automatic investments can make this particularly easy to miss.
Imagine selling shares at a loss on July 20. If a dividend-reinvestment plan automatically purchased additional shares on July 5, the investor may have a wash-sale issue involving at least part of the transaction.
A wash sale usually postpones the loss
A wash sale does not necessarily mean the loss disappears permanently.
In many taxable-account situations, the disallowed loss is added to the tax basis of the replacement shares.
That generally postpones recognition of the loss until those replacement shares are later disposed of in a qualifying transaction.
Suppose someone loses $500 on a sale and buys substantially identical replacement shares for $4,000 during the prohibited period.
The disallowed loss can generally be added to the new basis, producing an adjusted basis of $4,500.
When those replacement shares are eventually sold, that higher basis can affect the taxable gain or loss.
IRAs create a more dangerous situation
The IRS wash-sale rules also cover certain replacement purchases inside an IRA or Roth IRA.
This deserves particular attention because the basis adjustment that usually preserves a disallowed loss in a taxable replacement position does not work the same way for an IRA replacement purchase.
Investors using several accounts should therefore view their trading activity as connected for wash-sale purposes rather than assuming each brokerage account lives in its own tax universe.
What does substantially identical mean?
The phrase is deliberately broader than the exact same ticker symbol.
Buying the same stock again is an obvious example.
Other situations can become more complicated, particularly with securities that provide nearly identical economic exposure.
The tax rules do not provide a simple universal formula that makes every pair of investments easy to classify.
For complicated transactions, professional tax advice may be appropriate.
Tax-loss harvesting still has value
The wash-sale rule does not make tax-loss harvesting useless.
An investor might sell an investment at a loss and remain out of that security long enough to avoid the rule.
Another approach may involve purchasing an investment that provides similar portfolio exposure without being substantially identical, although determining that distinction can require care.
The goal should remain connected to the investment plan.
Taxes matter because they affect after-tax returns.
They should not become the only reason someone buys or sells an asset.
A terrible investment does not become attractive because it generates a tax deduction.
Sources
- Internal Revenue Service, Publication 550: Investment Income and Expenses, wash sales and capital losses.
