A wash sale is a transaction where an investor sells a security at a loss and then repurchases it again within 30 days. The IRS does not allow you to take the loss on the sale of the security in a wash sale. Rather, the cost basis for the security is updated to reflect the loss incurred.