The wash sale rule (IRC §1091) disallows a tax loss when you sell a security at a loss and buy a substantially identical security within 30 days before or after the sale — a 61-day window. The disallowed loss is not forfeited; it increases the cost basis of your replacement shares, deferring the loss until you sell those shares. Understanding wash sales is critical for effective tax-loss harvesting.

Sale at a Loss

$

Replacement Share Purchases (within 61-day window)