One of the most confusing aspects of the wash-sale rule is the term "substantially identical." While the IRS is very clear that buying the same stock (e.g., selling Apple and buying Apple) triggers the rule, they are notoriously vague about what else qualifies . There are no "clear guidelines" or exhaustive lists provided by the IRS; instead, they determine compliance on a case-by-case basis, which places the burden of caution on the investor .
The Core Definition
A security is considered substantially identical if it is essentially the same investment in terms of its economic reality. This goes beyond just the ticker symbol. It includes contracts or options to buy the security, as well as different classes of stock in the same company if they trade similarly .
Stocks and Their Derivatives
If you sell 100 shares of a company at a loss and, within 30 days, buy a "call option" (a contract giving you the right to buy the stock), you have triggered a wash sale . This is because the option gives you the same upward price exposure as the stock you just sold. The IRS views this as a "contract to acquire" the security, which is explicitly forbidden during the 61-day window .
The ETF and Mutual Fund Dilemma
For fund investors, the "substantially identical" rule is particularly tricky.
- Same Index, Different Provider: If you sell a Vanguard S&P 500 ETF (VOO) at a loss and immediately buy a State Street S&P 500 ETF (SPY), is that a wash sale? Both track the exact same 500 companies. While there has been no definitive IRS ruling on this specific scenario, many tax professionals suggest it could be viewed as a wash sale because the underlying assets are identical .
- Different Indices: Selling an S&P 500 fund and buying a "Total Stock Market" fund is generally considered safe. While they have overlapping holdings, the Total Stock Market fund includes thousands of small and mid-cap companies that the S&P 500 does not. They are not "substantially identical" .
The "Industry Swap" Strategy
A popular way to avoid the wash-sale rule while maintaining market exposure is the "Industry Swap." If you sell an individual stock at a loss, you can immediately buy an ETF that focuses on that stock's industry .
Example: The Pharmaceutical Swap
Imagine you own shares of Pfizer and the price drops. You want to harvest the loss but believe the pharmaceutical sector is about to rebound.
- The Sale: Sell Pfizer at a loss.
- The Replacement: Immediately buy an ETF like the iShares Dow Jones U.S. Pharmaceuticals ETF (IHE) .
- The Result: Because the ETF holds dozens of different companies (Merck, Johnson & Johnson, etc.), it is not "substantially identical" to Pfizer alone . You get to keep your tax loss and stay invested in the sector.
Comparing Security Types for Compliance
The following table illustrates common scenarios and whether they likely trigger the wash-sale rule:
| Action | Replacement | Wash Sale? | Reason |
|---|---|---|---|
| Sell Apple Stock | Buy Apple Stock | Yes | Identical security . |
| Sell Apple Stock | Buy Apple Call Option | Yes | Contract to acquire . |
| Sell Pfizer Stock | Buy Merck Stock | No | Different companies in same industry . |
| Sell S&P 500 ETF | Buy S&P 500 Mutual Fund | Likely | Same underlying holdings . |
| Sell Tech ETF | Buy Software ETF | No | Different indices/holdings . |
| Sell Stock | Buy Industry ETF | No | ETF is diversified; stock is not . |
The Role of "Economic Substance"
When evaluating if two securities are substantially identical, tax professionals often look at the "correlation" and "underlying value." For example, a mutual fund and an ETF tracking the same index might have different fees, different trading hours, and different structures (one is priced once a day, the other trades like a stock) . Some argue these differences are enough to make them "not identical," but the IRS has the final say .
Reinvested Dividends: The Silent Trigger
One of the most common ways beginners accidentally violate the "substantially identical" rule is through Dividend Reinvestment Plans (DRIPs). If you sell a stock at a loss on July 10th, and that same stock pays a dividend on July 20th which is automatically used to buy more shares, you have purchased "identical" shares within the 30-day window . Even if the reinvestment is only for $5 worth of stock, it will disallow the loss on the portion of the sale that matches those new shares .
Practical Tips for Avoiding the "Identical" Trap
- Wait 31 Days: The only 100% safe way to buy the same security is to wait until the 31st day after your sale .
- Use Broad ETFs: If you sell a specific stock, replace it with a broad sector ETF to maintain exposure without triggering the rule .
- Turn Off DRIPs: If you plan to harvest a loss, disable automatic dividend reinvestment for that security for at least 30 days before and after the sale .
- Consult a Pro: Because the IRS hasn't defined "substantially identical" for ETFs from different companies, a tax advisor is your best resource for aggressive strategies .
Summary of Identification
The "substantially identical" rule is designed to be a catch-all. While it clearly bans repurchasing the same ticker, its reach extends to options, different share classes, and potentially even very similar funds. By understanding the "Industry Swap" and being mindful of automatic reinvestments, beginners can successfully harvest losses without running afoul of IRS definitions.

Comments