Definition / Meaning of Wash-sale rule
The wash-sale rule is a regulation by the Internal Revenue Service (IRS) that prevents investors from claiming a tax deduction on a security sold at a loss if they repurchase the same or a substantially identical security within 30 days before or after the sale. This rule is designed to stop investors from creating artificial losses to offset capital gains for tax purposes, while quickly re-entering the same position.
How the Wash-Sale Rule Works
When you sell an investment at a loss, you can typically use that loss to reduce your taxable income via tax-loss harvesting. However, if you buy a substantially identical security within the 61-day window (30 days before and 30 days after the sale, plus the day of the sale), the IRS disallows the loss. The disallowed loss is not permanently lost—it is added to the cost basis of the new shares purchased. This means when you eventually sell those shares, your cost basis will be higher, reducing any future gain or increasing a loss.
For example, suppose you sell 100 shares of XYZ stock at a $1,000 loss on December 15. On December 20, you buy back 100 shares of XYZ. The $1,000 loss is disallowed. However, the cost basis of your new shares will be increased by $1,000 (plus any transaction costs). If you later sell those shares at a higher price, the gain will be reduced by this adjusted basis.
Key Aspects of the Wash-Sale Rule
- 61-Day Window: The rule applies to purchases made 30 days before or after the sale (the sale date plus 61 days total).
- Substantially Identical: The rule applies to identical securities (e.g., shares of the same stock) or options and contracts that are substantially identical. It can also apply to bonds or exchange-traded funds (ETFs) if they are deemed substantially identical.
- Disallowed Loss: The loss is deferred, not eliminated. It adjusts the cost basis of the replacement shares.
- Multiple Transactions: If you buy and sell shares in multiple lots, the rule applies to each transaction separately. The IRS may also consider purchases by your spouse or IRA as triggering a wash sale.
Exceptions and Special Cases
The wash-sale rule does not apply to gains. Only losses are disallowed. It also does not apply if you sell at a gain. Additionally, certain types of accounts, such as IRAs, can trigger wash sales if you buy identical securities in those accounts within the window. The rule applies to all types of securities, including stocks, bonds, mutual funds, and options.
Example of a Wash Sale
Let’s say you own 200 shares of ABC Corp at a cost basis of $50 per share. On March 1, you sell all 200 shares at $40 per share, realizing a loss of $2,000. On March 15, you buy 200 shares of ABC Corp at $42 per share. Because you purchased substantially identical shares within the 30-day window, the $2,000 loss is disallowed. Your new cost basis for the 200 shares is $50 per share ($42 purchase price + $8 disallowed loss per share). If you later sell these shares at $55, your gain will be $5 per share ($55 – $50), not $13 ($55 – $42).
Why the Wash-Sale Rule Exists
The rule prevents investors from selling a security at a loss solely for tax benefits while maintaining exposure to that security. Without it, investors could use losses to offset gains and lower their tax bill without changing their investment position.
How to Avoid a Wash Sale
To avoid triggering the rule, wait at least 31 days after a sale before repurchasing the same or a substantially identical security. Alternatively, you can buy a similar but not substantially identical security, such as a different ETF that tracks a similar index or a stock in a related industry. Be aware that the IRS has broad discretion in determining what is “substantially identical.”
Understanding the wash-sale rule is crucial for effective tax-loss harvesting. By planning your trades carefully, you can maximize tax benefits while staying compliant with IRS regulations.