A wash sale occurs when an investor offloads a security at a loss only to buy back that same asset, or one that is “substantially identical,” within a specific 61-day timeframe. This window spans 30 days before the sale and 30 days after. Established by Congress in the 1950s, the wash sale rule was designed to prevent taxpayers from "gaming" the system—claiming a tax deduction for a loss while effectively maintaining their investment position. For modern investors and tax professionals, mastering these nuances is essential for effective portfolio management.
Embedded within Section 1091 of the Internal Revenue Code, the wash sale rule serves as a barrier against artificial loss harvesting. If you sell a security for less than you paid and purchase a replacement within the 61-day window, the IRS disallows the immediate deduction of that capital loss. This applies whether you buy the replacement shares before or after the loss-generating sale. For example, if you sell 100 shares of a tech stock at a loss and buy them back 15 days later, the IRS views this as a continuous investment, effectively nullifying the tax benefit of the sale.
Triggering a wash sale doesn't mean your capital loss vanishes forever. Instead, the disallowed loss is added to the cost basis of the new security you purchased. This adjustment accomplishes two things: it defers the loss until you eventually sell the new holding without triggering another wash sale, and it increases the cost basis, which can reduce your future taxable gains or increase your eventual deductible loss.

Imagine you buy shares of XYZ Corp for $100 and sell them for $80, realizing a $20 loss. If you repurchase them for $75 within 30 days, that $20 loss is added to your new $75 purchase price. Your adjusted cost basis becomes $95 per share. This shifting of the basis is a critical component of tax-smart investing, as it ensures you eventually get credit for the loss, just not during the initial tax year you intended.
Many investors inadvertently trigger these rules, often due to the complexity of modern trading platforms and automated systems. Some of the most frequent mistakes include:
High-Frequency Trading Volume: Active traders who move in and out of positions quickly are at the highest risk. When you are adjusting a portfolio daily, it is incredibly easy for transactions to overlap within the 61-day window. Automated rebalancing tools can also create wash sales if they aren't specifically programmed to avoid them.
Dividend Reinvestment Plans (DRIPs): These are the silent triggers of wash sales. Because DRIPs automatically buy shares using your dividends, a purchase could occur just days after you sold a larger block of the same stock at a loss. If you are harvesting losses, you must be careful to disable automatic reinvestments during that period.
The "Substantially Identical" Grey Area: The IRS uses a broad definition for what constitutes a replacement security. It isn't just about buying the exact same ticker symbol. Selling a stock and buying call options, convertible bonds, or even different share classes of the same company can trigger a wash sale. This ambiguity requires careful scrutiny of any asset that moves in tandem with the one you sold.

Year-End Tax Loss Harvesting: In the rush to lower tax liabilities before December 31st, many investors sell losing positions. However, if they repurchase those same assets in early January, they may inadvertently invalidate the very tax deduction they were trying to create for the prior year.
ETF and Mutual Fund Confusion: Swapping one S&P 500 ETF for another very similar S&P 500 ETF might seem like a safe way to maintain market exposure, but if the funds are too similar in composition or track the same underlying index, the IRS could potentially view them as substantially identical.
Inadequate Record-Keeping: While brokers track wash sales within a single account on Form 1099-B, they typically do not track them across multiple accounts or different brokerages. If you sell at a loss in your individual account and buy back in your IRA, the broker won't flag it, but the IRS still considers it a wash sale.
Currently, cryptocurrency is not subject to the U.S. wash sale rules because the IRS classifies digital currency as property rather than a security. This provides a unique opportunity for tax-loss harvesting. Investors can sell Bitcoin or Ethereum at a loss and buy it back immediately to lock in that tax benefit. These losses can offset other capital gains and up to $3,000 of ordinary income each year, with any excess carrying forward indefinitely.
However, Crypto ETFs are a different story. Because these are exchange-traded funds, they are classified as securities and are fully subject to wash sale regulations. While the "loophole" for direct holdings remains open for now, legislative proposals often target this area. It is vital to stay informed on changing tax policies that may close this gap in the future.

To mitigate the impact of disallowed losses, consider these proactive steps:
Vigilant Timing: Maintain a strict calendar of your trades. Knowing exactly when your 30-day windows open and close is the only way to ensure your losses remain deductible.
Strategic Replacement: If you want to stay in a specific sector, consider buying a security that is related but not substantially identical. For instance, selling an individual tech stock and buying a broad sector ETF can keep you invested in the industry's growth without violating the rule.
Detailed Transaction Reviews: Regularly review your trade history across all accounts, including retirement and spouse accounts, to identify potential overlaps before they complicate your tax return.
Proper tax planning requires a forward-looking approach to every trade you make. If you have questions about how your recent transactions might impact your upcoming tax filing, contact our office today to schedule a personalized strategy session. We can help you navigate these complexities and ensure your portfolio is as tax-efficient as possible.
Additionally, investors must remain vigilant regarding the role of related parties in these transactions. The IRS broadens the scope of the wash sale rule to include not just the primary taxpayer, but also their spouse and any corporations or entities they control. This means that if you realize a loss on a stock in your personal account, but your spouse purchases the same security in their own account within the 30-day window, the wash sale rule is still triggered. This prevents households from shifting assets between members to harvest losses while maintaining the family's overall market exposure.
Furthermore, the definition of substantially identical can extend to the purchase of call options or other derivatives. If you sell a stock at a loss and immediately buy deep-in-the-money call options on that same stock, the IRS will likely view this as a wash sale. Another critical area of concern involves the purchase of the same security in a tax-advantaged account, such as an IRA or Roth IRA. If you sell a security at a loss in a taxable account and buy it back within your retirement account within the 61-day window, the loss is not just deferred—it is permanently disallowed. Unlike a standard wash sale where the loss is added to the basis of the new purchase, an IRA purchase does not allow for basis adjustments, meaning the tax benefit is forfeited entirely. This level of complexity is why many sophisticated investors utilize tax-aware software or work closely with professionals to screen their activity across all accounts, ensuring that every realized loss remains fully deductible against their gains.
Sign up for our newsletter.