What Is a Wash Sale and What Triggers It
A wash sale occurs when you sell a security at a loss and then buy the same or substantially identical security within 30 days before or after the sale IRS Publication 550. The Internal Revenue Service disallows the loss deduction to prevent taxpayers from claiming a tax benefit while maintaining a similar position in the same asset. The trigger is the timing and substance of the repurchase, not the investor's intent, and the rule applies across taxable brokerage accounts and certain retirement accounts when the same contract or security is involved.
The wash sale rule is enforced automatically by brokerages that track cost basis and flag transactions that match the 30-day window Forbes Advisor Wash Sale Rules. If a disallowed loss is detected, the cost basis of the new shares is adjusted to include the amount of the lost deduction, which defers the loss rather than eliminating it permanently. Common triggers include buying shares of the same stock, acquiring a call option on the same underlying, or purchasing shares in a different ticker that the IRS considers substantially identical, such as shares of the same company in different classes.
How Wash Sale Triggers Affect Cost Basis and Tax Reporting
When a wash sale is triggered, the disallowed loss is added to the cost basis of the replacement shares, which lowers the future gain or increases the future loss when those shares are eventually sold SEC Investor.gov Wash Sale. The holding period of the original shares is tacked onto the new shares, which can affect whether the eventual gain or loss qualifies for long-term capital gains treatment. Brokers report wash sale adjustments on Form 1099-B and in tax documents, but investors are ultimately responsible for tracking adjustments that span multiple lots and accounts.
For investors using tax loss harvesting strategies, a wash sale trigger can turn a planned deduction into a deferred loss that reduces future taxable income instead of current-year income Forbes Wash Sale Guide. The impact is most pronounced when the replacement shares are sold at a smaller loss or a gain, because the adjusted basis changes the character and size of the eventual tax outcome. Automated tax tools and brokerage dashboards now surface wash sale warnings in real time, helping investors avoid unintended basis adjustments during volatile market periods.
Practical Examples of Wash Sale Triggers and How to Avoid Them
Common Scenarios That Trigger a Wash Sale
A typical trigger is selling 100 shares of a stock at a loss and then buying 100 shares of the same stock 25 days later, which falls inside the 30-day window and disallows the loss IRS Publication 550. Another trigger occurs when an investor sells a mutual fund at a loss and buys a different fund with nearly identical holdings, because the IRS treats such funds as substantially identical securities in many cases. Options trades can also trigger the rule when a covered call or put is opened on the same underlying within the 30-day period before or after a loss sale.
Steps to Prevent Unintended Wash Sales
Investors can avoid wash sale triggers by waiting at least 31 days before repurchasing the same security or substantially identical securities, which moves the transaction outside the IRS lookback and forward window SEC Investor.gov Wash Sale. Using different but correlated assets, such as an ETF that