Short Sales and the Wash Sale Rule The wash sale rule prevents you from deducting a loss from selling stock if you acquire replacement stock shortly before or after the sale. The rule here is so confusing that even the IRS seems to get mixed up in Publication 550.