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.

Date you sold the security at a loss
Date you bought back a substantially identical security
Enter as positive number (e.g. 3500 for a $3,500 loss)
Affects the effective tax value of the disallowed loss
Wash Sale Status
Window Start (30 days before)
Window End (30 days after)
Days Between Trades
Disallowed Loss
Basis Adjustment
Holding Period
Ad Space

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 CountDescriptionWash Sale?
-30 to -1 daysRepurchase BEFORE sale dateYes — violates wash sale rule
0 (sale date)Same-day repurchaseYes — violates wash sale rule
+1 to +30 daysRepurchase AFTER sale dateYes — violates wash sale rule
+31 days or moreRepurchase well after saleNo — 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.