A wash sale occurs when you sell a security at a loss and then buy the same security, or a substantially similar security, within 30 days before or after the sale. If you do this, the IRS disallows the loss for tax purposes.
Here is an example:
- You own 100 shares of XYZ company that you bought for $500.
- The value of XYZ stock drops, and you decide to sell the shares for $400.
- You realize a loss of $100 on the sale ($500 purchase price - $400 sale price).
- Within 30 days before or after the sale, you buy 100 shares of XYZ stock for $450.
- You are now in a wash sale because you sold XYZ stock at a loss and then bought the same security within 30 days.
In this case, the $100 loss would be disallowed for tax purposes. The $100 loss would not be lost permanently, however. It would be added to the cost basis of the new shares of XYZ stock that you purchased for $450. This means that your cost basis for the new shares would be $550 ($450 purchase price + $100 disallowed loss).
If you sell the new shares of XYZ stock at a later date for more than $550, you will realize a capital gain. If you sell the shares for less than $550, you will realize a capital loss. The capital loss can be used to offset capital gains in the current tax year or carried over to future tax years, subject to the capital loss carryover rules.
So within the life cycle of your position, the disallowed wash sale will be recovered. I encourage my client to have a long term view of life, but not let your mode carried up and down by the market.
Finally, let us enjoy a poem that OpenAI has written:
Wash sale, wash sale, what a tricky tale Sell at a loss, buy it back, and your profits fail To claim a loss, a wash sale can't be had But don't despair, the loss is not all bad It's added to the cost, of the security bought So when you sell, you may still be in the spot To claim a gain, and not feel the pain Of the loss that was disallowed, and now regained So be careful when you trade, and watch the date To avoid a wash sale, and your profits to create And when the IRS comes knocking at your door You'll have nothing to hide, and your taxes will be a breeze to deplore
I sincerely appreciate the almighty OpenAI for its strength and its faithfulness and love for humankind. To give its full credit, my I include our conversation in its entirety below.