How does wash sale affect capital gains?
Michael Gray
Updated on March 16, 2026
The IRS’ wash sale rule prevents an investor from purchasing the same securities they sold (or substantially similar ones) within a 30-day period before or after the sale. If you violate the wash sale rule, you won’t be able to write off the capital loss on that security on your taxes that year.
Is there a wash rule for gains?
The Wash-Sale Rule states that, if an investment is sold at a loss and then repurchased within 30 days, the initial loss cannot be claimed for tax purposes. In order to comply with the Wash-Sale Rule, investors must therefore wait at least 31 days before repurchasing the same investment.
How do you get around the wash sale rule?
If you own an individual stock that experienced a loss, you can avoid a wash sale by making an additional purchase of the stock and then waiting 31 days to sell those shares that have a loss.
Is the wash sale rule a capital gain or loss?
That tax provision is called the wash sale rule. Some capital gains tax strategies recommend offsetting gains with losses by planning sales in the same tax year, but wash sales don’t help.
What are the tax consequences of a wash sale?
Tax Consequences from Wash Sales. Wash sales aren’t completely ignored from tax purposes. Although you can’t directly offset capital gains with wash sale losses, you do increase the cost basis of the replacement security, thereby reducing the taxable profit or increasing the capital loss when you later sell it.
What do you need to know about wash sale rules?
Capital loss carryover is the amount of capital losses a person or business can take into future tax years. A wash-sale rule is a regulation that prohibits a taxpayer from claiming a loss on the sale and repurchase of identical stock.
Is there an adjusted holding period for wash sales?
Related statutes and regulations are currently ambiguous with regard to determining adjusted holding period under the wash sale rules.