Smart tax-loss harvesting is a cornerstone of effective wealth management, yet one specific regulation often catches even seasoned investors off guard: the wash sale rule. Defined by Section 1091 of the Internal Revenue Code, a wash sale occurs when an individual sells a security at a capital loss but acquires the same or a 'substantially identical' asset within a 61-day timeframe. This window encompasses the 30 days prior to the sale and the 30 days following it. Dating back to the mid-1950s, Congress implemented these regulations to deter the creation of artificial losses, ensuring that taxpayers cannot claim a deduction while effectively maintaining their economic position in a specific security. For professional traders and individual investors alike, a deep understanding of these nuances is vital to preserving the tax benefits of your portfolio.
When you trigger a wash sale, the IRS does not permanently eliminate your loss. Instead, the deduction is deferred. The disallowed loss is added to the cost basis of the newly purchased shares, essentially 'suspending' the tax benefit until you finally exit the position without violating the 61-day window. This adjustment ensures that your eventual tax liability reflects the true economic performance of the investment. For example, if you purchased shares of XYZ Corp at $100, sold them at $80 to realize a $20 loss, and then bought them back at $75 within the restricted period, you cannot claim that $20 loss on your current return. Instead, your new cost basis becomes $95 per share ($75 purchase price plus the $20 deferred loss). This increased basis will eventually reduce your capital gains or increase your deductible loss when the position is sold for good.

Many investors inadvertently trigger these rules through routine portfolio management. High-frequency traders are particularly susceptible; the sheer volume of transactions increases the risk of overlapping a sale and a repurchase within that narrow 61-day window. Automated rebalancing tools, while efficient for maintaining asset allocation, often operate without regard for the wash sale timeline, leading to unexpected tax consequences at year-end.
Another frequent culprit is the Dividend Reinvestment Plan (DRIP). Because these programs automatically purchase additional shares, a reinvested dividend can technically count as a repurchase. If you sell a stock at a loss and a dividend is reinvested within 30 days, you may have unintentionally triggered a wash sale on a portion of those shares. Similarly, the IRS interpretation of 'substantially identical' securities is notoriously broad. It extends beyond the exact same ticker symbol to include different share classes, options, and even convertible bonds that can be exchanged for the underlying stock. For instance, selling a common stock at a loss and immediately buying a deep-in-the-money call option on that same stock can be viewed as a wash sale.
Mutual funds and Exchange-Traded Funds (ETFs) present their own set of challenges. While swapping one S&P 500 ETF for another from a different provider might seem like a safe way to maintain market exposure, the IRS may deem them substantially identical if they track the same index with near-identical weightings. This ambiguity makes careful selection of alternative assets essential during tax-loss harvesting. Furthermore, the rush for year-end tax optimization often leads to hasty decisions. Investors seeking to offset gains before December 31st must be mindful of their activity well into January to avoid negating their realized losses through a premature repurchase.

Under current law, direct holdings of digital assets like Bitcoin and Ethereum are classified as property rather than securities by the IRS. Consequently, the wash sale rules under Section 1091 do not currently apply to these assets. This allows crypto investors to sell a token at a loss and immediately repurchase it—sometimes within minutes—to lock in a tax loss that can offset other capital gains and up to $3,000 of ordinary income. However, this 'loophole' does not apply to crypto-linked securities. Exchange-traded funds that hold digital assets are treated as traditional securities and remain fully subject to wash sale regulations.
Investors should also prepare for a shifting regulatory landscape. Multiple legislative proposals have aimed to harmonize the treatment of digital assets with traditional securities. While it remains uncertain when such changes might take effect, the window for these strategies may be closing. Maintaining rigorous records is the only way to ensure compliance across all asset classes, as brokerage statements (Form 1099-B) may not always capture the full scope of wash sales across multiple accounts or different platforms.

To navigate these rules successfully, consider a more structured approach to your trading calendar. Tracking your 61-day window through specialized software or professional oversight can prevent the accidental nullification of valuable tax deductions. If you wish to maintain exposure to a specific sector while harvesting a loss, look for 'similar but not identical' assets—such as moving from a specialized tech fund to a broader growth fund. These subtle shifts can keep your investment strategy on track while satisfying IRS requirements. For personalized guidance on how these rules impact your specific holdings, contact our office to schedule a strategy session. We can help you map out your transactions to ensure your tax planning remains as robust as your investment portfolio.
One of the most dangerous traps involves individual retirement accounts (IRAs). If you sell a security at a loss in a standard taxable brokerage account and then purchase a substantially identical security in your IRA or Roth IRA within the 30-day window, the IRS has ruled that the loss is permanently disallowed. Unlike the standard cost-basis adjustment in taxable accounts, you cannot increase the basis within an IRA. This effectively eliminates the tax benefit entirely rather than just deferring it. This distinction makes it imperative for investors to coordinate their trading activity across all accounts, including those designated for retirement.
The reach of Section 1091 also extends to household entities. The IRS considers a wash sale to have occurred if your spouse or a corporation you control purchases the replacement security within the prohibited timeframe. For couples who manage their finances independently or use different brokerage firms, this requires a higher level of communication. Even if your personal 1099-B does not show a wash sale because the repurchase happened in your spouse’s account, you are still legally obligated to report the disallowed loss correctly on your tax return. Failure to do so can result in an underpayment of tax and subsequent interest or penalties if the return is later audited.
When looking at ETFs, the definition of substantially identical often hinges on the underlying index. If you sell an ETF that tracks the S&P 500 and buy another that tracks the exact same index, the risk of a wash sale trigger is extremely high. However, if you sell a large-cap growth ETF and purchase a total market ETF, the exposure is similar but the underlying components and index methodology differ enough that it typically satisfies the IRS requirements. This strategy, often called tax-loss swapping, allows you to remain in the market while technically complying with the letter of the law. Selecting an alternative asset that is correlated but not identical is the most effective way to harvest losses without exiting a preferred sector.
It is also important to understand that your brokerage firm is only required to track wash sales for the exact same identification number within a single account. If you sell a stock at a loss at one brokerage and buy it back at another, your tax forms from the first firm will show the loss as deductible. It is your responsibility, or the responsibility of your tax advisor, to identify these cross-account transactions and adjust your tax filings accordingly. This is where professional-grade record-keeping becomes a necessity rather than a luxury. By maintaining a centralized log of all transactions across every platform, you can avoid the phantom losses that often lead to IRS inquiries and potential penalties during an audit. This level of diligence ensures that your tax-loss harvesting efforts result in actual savings rather than future liabilities.
Sign up for our newsletter.