60 days. If you sold stock you must wait 60 days to buy the same stock you sold the other day, this way you avoid the wash sale. In case you buy back the same stock before the 60 days rule. Your loss will not go through as a tax write-off, in the case of a profit, this rule will not apply by any means.