A wash sale is a specific tax scenario that occurs when an investor offloads a security at a loss, only to repurchase that same security—or one the IRS deems “substantially identical”—within a 61-day window surrounding the sale. This timeframe includes the 30 days prior to the sale and the 30 days following it. The wash sale rule, established by Congress in the mid-1950s, was designed to prevent taxpayers from manufacturing artificial losses for tax deductions while essentially maintaining their market position. For modern traders and their financial advisors, mastering these nuances is essential to effective tax-loss harvesting.
The technical framework for these transactions is found in Section 1091 of the Internal Revenue Code. Its goal is straightforward: to disallow capital loss deductions if the seller reacquires the security too quickly. By enforcing this 61-day window, the IRS ensures that investors cannot claim a tax benefit without truly exiting their investment. For example, if you sell shares of a major tech company to capture a loss but buy those same shares back two weeks later, the IRS will categorize the transaction as a wash sale, effectively stripping away your ability to claim that loss on your current tax return.
Triggering a wash sale does not mean the tax benefit is gone forever; rather, it is deferred. The disallowed loss is added to the cost basis of the newly purchased shares. This adjustment serves two functions: it pushes the recognition of the loss into the future and reduces any potential taxable gains when you eventually sell the new position. Imagine an investor who buys shares of a utility company for $100 and sells them for $80, realizing a $20 loss per share. If they repurchase the shares for $75 within the wash sale period, that $20 loss is tacked onto the new price, resulting in an adjusted cost basis of $95 per share. This recalculation is a vital component of accurate portfolio accounting.

Even seasoned investors can inadvertently fall into the wash sale trap. Some of the most frequent errors include:
The complexity increases when dealing with broader market instruments. Swapping one ETF for another that tracks the exact same index may also be viewed as a wash sale if the underlying holdings and objectives are nearly indistinguishable.

Currently, direct holdings of cryptocurrency occupy a unique space in tax law. Because the IRS classifies digital assets as property rather than securities, the wash sale rules under Section 1091 do not technically apply. This allows crypto investors to sell at a loss and buy back immediately to harvest the tax benefit, which can offset other gains and up to $3,000 of ordinary income. However, it is vital to remember that Crypto ETFs (Exchange Traded Funds) are treated as securities and are fully subject to wash sale restrictions. While this “loophole” for direct digital assets exists today, legislative proposals are frequently introduced to close it. Investors should remain prepared for these rules to align with traditional securities in the near future.
To avoid these tax headaches, transparency and timing are your best tools. By keeping a strict 61-day calendar for all significant sales, you can ensure your tax-loss harvesting remains effective. Many investors choose to maintain market exposure by purchasing a similar, but not identical, security—such as switching from one sector-specific fund to another with a different underlying index. For personalized guidance on how these rules impact your specific portfolio and to ensure your tax planning is on track, please contact our office to schedule a strategy session.
While the IRS provides general guidelines on the wash sale rule, the term “substantially identical” remains one of the more ambiguous areas of tax law, often requiring a “facts and circumstances” determination. In general, securities from different corporations are not considered substantially identical. However, in a reorganization, the securities of the predecessor and successor corporations may be. Similarly, common stock and preferred stock of the same corporation are usually not substantially identical, unless the preferred stock is convertible into common stock without any restriction and has the same voting rights and dividend features. This level of technical detail is why many investors inadvertently trigger the rule when trading options or warrants that are tied to the underlying stock they just sold. If you sell a stock at a loss and immediately buy a call option on that same stock, you have effectively maintained your market position, and the IRS will likely disallow the loss. This principle extends to “in-the-money” put options as well, making it vital to review all derivative positions before harvesting losses.
One of the most punitive aspects of the wash sale rule involves transactions between different types of accounts. Under Revenue Ruling 2008-5, the IRS clarified that if an individual sells stock at a loss in a taxable brokerage account and, within the 30-day window, purchases substantially identical stock in an Individual Retirement Account (IRA) or a Roth IRA, the wash sale rule applies. The consequences here are significantly more severe than a standard wash sale. In a taxable-to-taxable wash sale, the loss is simply added to the basis of the new stock, eventually providing a tax benefit. However, when the repurchase occurs in an IRA, the loss is permanently disallowed. Because IRAs do not have a “basis” in the traditional sense that affects your tax return upon a sale, that capital loss essentially evaporates, providing no future tax mitigation. This makes it imperative for investors to coordinate their trading activity across all personal and retirement accounts.

For investors who truly believe in a security’s long-term potential but want to capture a current-year tax loss, the “double-up” strategy offers a compliant path. Instead of selling and then buying back, the investor buys an additional equal amount of the security, waits at least 31 days, and then sells the original lot. This ensures that the 61-day window is respected, and the loss on the original shares can be legally harvested. This strategy does require the investor to have enough liquidity to hold a double position for a month and involves the risk of increased exposure to market volatility during that period. Alternatively, many advisors suggest moving into a “proxy” security—for instance, selling an individual energy stock and buying a broad energy sector ETF. This allows the investor to maintain industry exposure without violating the “substantially identical” standard, as the ETF contains a basket of many different companies.
Modern investment landscapes often involve multiple brokerage platforms, which complicates wash sale tracking significantly. While Section 6045 requires brokers to report wash sales, they are only required to do so for identical CUSIP numbers within the same account. If you trade the same security across a margin account, a cash account, and a spouse's account, the burden of consolidation falls entirely on the taxpayer. The IRS views a husband and wife as a single economic unit for the purposes of Section 1091; therefore, if one spouse sells at a loss and the other buys the same stock in a separate account, the loss is disallowed. Utilizing specialized portfolio tracking software or working with a firm that employs robust data aggregation tools is the only way to ensure full compliance and avoid discrepancies during the “Super Bowl” of the tax year—the January following a heavy December of tax-loss harvesting.
For individuals who qualify as “traders in securities” rather than mere investors, there is an advanced option known as the Section 475(f) mark-to-market election. Those who make this election are generally exempt from the wash sale rule altogether. Under mark-to-market accounting, all securities held at the end of the year are treated as if they were sold for their fair market value on the last business day. Gains and losses are treated as ordinary income or loss rather than capital gains. While this eliminates the wash sale headache, it is a complex election that must be made early in the tax year and is typically reserved for those whose primary income is derived from active daily trading. Understanding whether you qualify for this status requires a deep dive into your trading frequency, intent, and daily activity levels. Managing these layers of complexity is what turns a standard portfolio into a tax-efficient wealth-building engine.
Sign up for our newsletter.