Wash Sale Rule
An IRS rule disallowing the recognition of a capital loss when substantially identical securities are repurchased within 30 days before or after the loss-generating sale.
Detailed Explanation
The wash sale rule under IRC Section 1091 prevents taxpayers from harvesting a tax loss while effectively keeping the same investment position. The rule applies to any sale of stock or securities at a loss when substantially identical securities are bought within a 61-day window: 30 days before the sale, the day of the sale, or 30 days after. When triggered, the realized loss is disallowed for the current year, but it is not lost forever: the disallowed amount is added to the cost basis of the replacement shares and the holding period of the original lot is tacked onto the replacement, preserving long-term character on a future sale. The rule applies across all of a taxpayer's accounts, including a spouse's accounts and entities the taxpayer controls. Importantly, a wash sale that occurs because the replacement shares were purchased in an IRA permanently eliminates the loss because basis cannot be added to a tax-advantaged account (Rev. Rul. 2008-5). The rule also reaches options, contracts to acquire substantially identical securities, and short sales. Cryptocurrency is not subject to Section 1091 under current law because crypto is classified as property rather than a security, though Congress has repeatedly proposed extending wash sale rules to digital assets in pending legislation.
Key Points
- 61-day window: 30 days before plus the sale day plus 30 days after.
- Disallowed loss is added to basis of replacement shares and holding period tacks on (Rev. Rul. 2008-5 carve-out: loss is permanently lost when replacement is bought inside an IRA).
- Applies across all accounts including spouse's and controlled entity accounts.
- Substantially identical includes the same stock, options to buy it, and contracts for delivery; different ETFs tracking the same index are typically NOT substantially identical.
- Crypto is currently exempt because it is property, not a security; bond-fund and mutual-fund swaps that change index families generally avoid the rule.
Practical Example
You sell 100 shares of XYZ on December 18 at a $5,000 loss, then buy 100 shares of XYZ back on December 28. The $5,000 loss is disallowed for the year. Your basis in the new 100 shares is the purchase price plus $5,000, and the holding period from the original lot is added. If you waited until at least January 18 to repurchase, the loss would be deductible in the current year.
Related TS CPA Service
Year-round, proactive tax planning that puts more money back in your pocket, not the IRS's.
Learn about Tax Planning & StrategyRelated Terms
Tax-Loss Harvesting
A strategy of selling investments at a loss to offset capital gains and up to $3,000 of ordinary income annually.
Capital Gain
The profit realized from the sale of a capital asset such as stock, real estate, or cryptocurrency, taxed at preferential rates if held longer than one year.
Form 8949 (Sales and Other Dispositions of Capital Assets)
The IRS form used to report each individual sale or disposition of a capital asset, with totals flowing to Schedule D.
Tax Basis
The amount of investment in an asset for tax purposes, used to determine gain or loss when the asset is sold or otherwise disposed of.
Have a Question About Wash Sale Rule?
Get a free, no-obligation answer from a licensed CPA. We respond the same day.
Free Consultation