Wash Sale Violation Window Checker
Enter your sell date, repurchase date, and realized loss to instantly see if IRS wash sale rules apply — plus the disallowed loss amount and cost basis adjustment.
What Is the Wash Sale Rule?
The wash sale rule (IRC §1091, explained in IRS Publication 550) prevents investors from claiming a tax loss on a security sold at a loss if a "substantially identical" security is purchased within 30 days before or after the sale. The window is 61 days total: 30 days before the sale, the sale date itself, and 30 days after. If you trade within this window, the loss is "disallowed" for that tax year — it is not permanently gone, but deferred via a cost basis increase on the replacement shares.
The rule was designed to prevent investors from selling an asset purely for the tax loss while maintaining economic exposure to that asset. For example, selling 100 shares of Apple at a $5,000 loss on December 20 and repurchasing the same 100 shares on January 5 triggers a wash sale — the $5,000 loss is disallowed and added to the basis of the January shares. Source: IRS Publication 550, Chapter 4. Last updated: May 2026.
How the 61-Day Window Works
| Day Count | Description | Wash Sale? |
|---|---|---|
| -30 to -1 days | Repurchase BEFORE sale date | Yes — violates wash sale rule |
| 0 (sale date) | Same-day repurchase | Yes — violates wash sale rule |
| +1 to +30 days | Repurchase AFTER sale date | Yes — violates wash sale rule |
| +31 days or more | Repurchase well after sale | No — loss is fully deductible |
Disallowed Loss and Basis Adjustment
When a wash sale occurs, the disallowed loss amount is added to the cost basis of the repurchased shares. This means when you eventually sell the replacement shares (without triggering another wash sale), your adjusted basis reduces the taxable gain or increases the deductible loss. The disallowed loss is not lost permanently — it is deferred. However, if the replacement shares are in a tax-advantaged account (IRA, 401k), the basis adjustment cannot be applied, so the loss is permanently forfeited. Always repurchase in the same account type where you took the loss to preserve the basis adjustment. Consult a qualified tax professional for your specific situation.