Wash sale rules restrict an investor from deducting the loss on a security if repurchased within 30 days.Day traders may buy and sell the same stock frequently which can result in a wash sale.A wash sale is the act of selling a security at a loss and then buying the same security again shortly after.