A wash sale is a specific technical event that occurs when an investor sells a security at a loss and then repurchases that same security—or one the IRS deems “substantially identical”—within a narrow window. Specifically, this window spans 30 days before and 30 days after the sale. Congress established this rule decades ago to curb a specific practice: taxpayers selling assets just to claim a tax deduction while effectively maintaining their investment position. For modern traders and high-net-worth individuals, navigating these waters requires a deep understanding of Section 1091 of the Internal Revenue Code.
Section 1091 is designed to prevent the immediate deduction of capital losses if the seller reinvests in the same security within a 61-day timeframe (the 30 days prior to the sale, the day of the sale itself, and the 30 days following the sale). This prevents what the IRS views as an artificial loss. For example, if you sell shares of a technology stock to lock in a loss for your tax return, but then buy back those same shares 15 days later, the IRS will label this a wash sale. The result? You cannot claim that capital loss on your current year’s tax return.
It is a common misconception that a wash sale means your loss is gone forever. In reality, the disallowed loss is added to the cost basis of the newly repurchased security. This adjustment serves as a deferral mechanism. By increasing the basis of the new shares, the rule eventually reduces your future taxable gains or increases your future deductible losses when you finally exit the position for good.
Imagine you purchased shares of a company for $100 each and sold them for $80, creating a $20 per share loss. If you repurchase them for $75 within the wash sale period, that $20 loss is added to your new purchase price. Your adjusted cost basis becomes $95 per share. While you don't get the tax break today, you have effectively preserved that $20 loss for a future date, which is a critical detail in long-term portfolio management.

Even the most diligent investors can inadvertently trigger a wash sale. Some of the most frequent mistakes we see in our practice include:
Currently, direct holdings of cryptocurrency are not subject to the U.S. wash sale rules because the IRS classifies digital assets as “property” rather than “securities.” This allows for a unique strategy where an investor can sell a digital asset at a loss and repurchase it almost immediately to lock in a tax deduction. This loss can offset other capital gains and up to $3,000 of ordinary income. However, it is vital to note that Crypto ETFs are treated as securities and are strictly subject to wash sale regulations. Furthermore, legislative proposals are frequently introduced to close this crypto loophole, so staying updated on shifting tax policy is essential.
To keep your tax strategy on track, consider mapping out your trades with a focus on the calendar. Maintaining a clear 31-day buffer between a sale at a loss and any subsequent purchase of similar assets is the simplest way to remain compliant. Alternatively, you can maintain market exposure by investing in a different fund within the same sector that is not considered substantially identical. If you are managing a complex portfolio or have questions about how these rules apply to your specific situation, contact our office to schedule a personalized strategy appointment.
Beyond the general rules, sophisticated investors must also consider the 'Spousal and IRA Trap.' The IRS treats you and your spouse as a single unit for wash sale purposes. If you sell a stock at a loss in your personal brokerage account and your spouse purchases that same stock within 30 days in their own account, the loss is disallowed. This rule extends even further to tax-advantaged accounts. One of the most detrimental mistakes an investor can make is selling a security at a loss in a taxable account and then buying it back within an Individual Retirement Account (IRA) or a Roth IRA. While a standard brokerage account allows you to add the disallowed loss to your cost basis, the IRS has ruled that if the repurchase occurs in an IRA, the loss is permanently disallowed. Because you cannot increase your basis in an IRA, that tax benefit is essentially lost forever. This makes cross-account coordination one of the most critical aspects of professional tax planning.
Another technical nuance involves the 'Double-Up' strategy, which is often used by investors who are long-term bulls on a specific company but want to harvest a current-year loss for tax purposes. Rather than selling and waiting 30 days to re-enter the position, an investor might buy an equal number of new shares first, wait at least 31 days to clear the wash sale window, and then sell the original high-basis shares at a loss. This strategy allows the investor to maintain their exposure to the stock throughout the process, though it does require the capital to hold a double position for a month and increases the risk of market volatility.

For professionals with equity-based compensation, the vesting of Restricted Stock Units (RSUs) or the exercise of Employee Stock Options can also trigger these rules. The IRS considers a vest or an exercise to be a 'purchase.' If you sell company stock at a loss and have an RSU vest within the 30-day window, a portion of that loss will likely be disallowed. Because employee stock plans are often managed through different custodians than your personal brokerage accounts, your year-end 1099-B forms may not automatically reflect these wash sales. This gap in reporting places the burden of tracking on you, making it necessary to aggregate trade data from all sources—including your spouse’s accounts and your workplace retirement plans—to ensure your tax return is accurate and that you are not overpaying on your capital gains.
Finally, when dealing with Exchange-Traded Funds (ETFs), the definition of 'substantially identical' becomes even more nuanced. Many investors believe that swapping one S&P 500 ETF for another from a different provider will circumvent the rule. While the IRS has not issued a definitive ruling on this specific swap, many tax professionals advise caution, as both funds track the exact same underlying index. A safer approach for tax-loss harvesting involves moving into a fund that tracks a related but different index, such as moving from a Large Cap Growth fund to a Total Stock Market fund. This allows you to stay invested in the market while ensuring your tax loss stands up to IRS scrutiny. Managing these subtle distinctions is what separates an average investment strategy from one that is truly tax-optimized.
Sign up for our newsletter.