When market volatility hits, savvy investors often look for silver linings in the form of tax-loss harvesting. However, a misstep with the IRS wash sale rule can quickly turn a strategic tax move into a disallowed deduction. A wash sale occurs when an investor sells a security at a loss and, within a specific timeframe, repurchases the same or a “substantially identical” security. First introduced by Congress in the mid-1950s, this rule was designed to prevent taxpayers from claiming a loss for tax purposes while maintaining their economic position in a particular asset. For high-net-worth traders and diligent investors alike, navigating these complexities is essential for effective portfolio management.
The regulatory framework for wash sales is found in Section 1091 of the Internal Revenue Code. The rule establishes a 61-day window—specifically 30 days before and 30 days after the date of the sale. If you purchase the same or substantially identical securities within this period, the IRS disallows the loss on your current tax return. This mechanism ensures that tax benefits are reserved for true divestments rather than temporary maneuvers to lower taxable income.
For example, if you sell 100 shares of a tech stock to realize a loss but repurchase those same shares 15 days later, the transaction is flagged. The loss you intended to use to offset other capital gains is deferred, preventing an immediate reduction in your tax liability.
Triggering a wash sale doesn’t mean your loss is gone forever; it simply changes its form. The disallowed loss is added to the cost basis of the new, repurchased security. This adjustment is a double-edged sword: while it prevents an immediate tax break, it increases the basis of the new shares, which can eventually reduce your taxable gain (or increase your deductible loss) when you finally exit the position for good.
Imagine an investor buys shares of a manufacturing firm at $100, sells them for $80 (a $20 loss), and then buys them back at $75 within the 30-day window. That $20 loss is tacked onto the $75 purchase price, making the new adjusted cost basis $95 per share. Tracking these adjustments accurately is vital to ensuring you don’t pay more in taxes than necessary down the line.

Even the most careful investors can inadvertently trigger a wash sale. Frequent trading is the most common culprit. For those who active-manage their portfolios or utilize automated rebalancing, the high volume of transactions increases the risk of overlapping buy and sell orders within the 61-day window. Without constant vigilance, these automated strategies can quietly erode your tax-harvesting efforts.
Automatic reinvestment programs are another frequent source of error. Many investors set their accounts to automatically buy more shares whenever a dividend is paid. If a dividend is reinvested within 30 days of a loss-generating sale, the IRS views that small purchase as a wash sale. This is particularly frustrating during the “Super Bowl” of tax planning at year-end, where a tiny automated purchase can nullify a significant planned deduction.
The IRS uses the term “substantially identical” to broaden the scope of the rule. This doesn’t just apply to the exact same ticker symbol. It can include different share classes, stock options, and derivatives. For instance, selling a stock at a loss and immediately buying call options on that same stock could trigger a wash sale. The lack of a rigid definition means that ETFs tracking the same index or sector could potentially be scrutinized, though many practitioners look for subtle differences in fund composition to maintain market exposure.

Currently, direct holdings of cryptocurrency occupy a unique space in tax law. Because the IRS classifies digital assets like Bitcoin and Ethereum as “property” rather than “securities,” they are not currently subject to the Section 1091 wash sale rules. This allows crypto investors to sell at a bottom and immediately rebuy, locking in a loss to offset capital gains or up to $3,000 of ordinary income without waiting 30 days.

To maximize your tax efficiency without running afoul of the IRS, consider these proactive steps:
Our office specializes in helping investors navigate these technical hurdles to ensure your tax planning is both aggressive and compliant. Contact us today to schedule a personalized strategizing appointment and review your year-to-date trading activity.
One of the most punitive aspects of Section 1091 involves transactions between taxable accounts and tax-advantaged retirement accounts, such as an IRA or Roth IRA. Under Revenue Ruling 2008-5, the IRS established that if an investor sells a security at a loss in a taxable account and repurchases the same security within an IRA within the 61-day window, the loss is disallowed. However, unlike a standard wash sale between two taxable accounts, this loss is not added to the basis of the shares in the IRA. Because retirement accounts do not track cost basis for tax deduction purposes in the same way, the loss is effectively gone forever. This “permanent” loss is a common pitfall for those who attempt to maintain their market position by shifting assets into a tax-sheltered vehicle while trying to harvest a tax benefit on their personal return.
The reach of the wash sale rule extends beyond the individual investor’s personal social security number. The IRS explicitly includes transactions made by a spouse or a corporation controlled by the taxpayer. If a husband sells a stock at a loss and the wife buys the same stock in her separate brokerage account within 30 days, the wash sale rule applies if they file a joint tax return. This related-party rule prevents families from “gaming” the system by maintaining the family’s overall economic interest in a security while claiming a technical loss. For business owners and those with complex family office structures, this requires a centralized view of all trading activity across every entity to ensure compliance.
While much of the focus on wash sales is on the disallowed loss, there is a technical silver lining regarding the holding period. When a wash sale is triggered and the loss is deferred into the basis of the new security, the holding period of the original security is “tacked on” to the new one. This means that the time you held the first set of shares counts toward the one-year requirement for long-term capital gains treatment on the second set. For investors hovering near the line between short-term and long-term tax rates, this carryover can be a significant factor in timing their final exit from a position. Proper documentation of these overlapping timelines is essential, as it ensures you are taxed at the favorable long-term rate once the position is eventually liquidated for good.
Determining what constitutes a “substantially identical” security remains one of the most debated topics in tax planning. While the IRS has provided clear guidance that a stock and its options are substantially identical, the comparison between different Exchange Traded Funds (ETFs) is more nuanced. Many advisors suggest that swapping an ETF that tracks the S&P 500 for an ETF that tracks the Russell 1000 provides enough variance in the underlying index to avoid a wash sale, even if the performance correlation is high. However, swapping two different funds from two different providers that both track the exact same index is far riskier. For investors seeking to maintain specific sector exposure—such as keeping a footprint in semiconductors or renewable energy—identifying funds with different weighting methodologies or slightly different benchmark indices is a standard strategy to keep the tax-loss harvest intact.
It is a common misconception that your brokerage’s Form 1099-B will catch every wash sale. While brokers are required to report wash sales, they are generally only required to do so for transactions involving the same CUSIP (the unique identifier for a security) within the same account. If you sell a stock at a loss in an account at one firm and buy it back in an account at another firm, or if you trade a stock and a substantially identical option, your broker likely will not flag the wash sale. This places the burden of proof and the responsibility for accurate reporting squarely on the taxpayer. Relying solely on automated reports can lead to significant underreporting of disallowed losses, which may trigger audits or IRS notices during the already stressful tax season.
To successfully harvest a loss, most advisors recommend a “31-day rule.” This involves staying out of the security for at least 31 full days before rebuying to ensure the window is completely closed. During this time, the capital can be held in cash or moved into a highly correlated but not identical asset to minimize the “opportunity cost” of being out of the market. For high-net-worth individuals, this often involves a “doubling up” strategy where they buy an additional block of the security, wait 31 days, and then sell the original block with the higher basis. This allows them to maintain their full position throughout the process while still realizing the tax loss, provided they have the liquidity to hold the double position for the required month.
As your financial life grows more complex with multiple accounts, diverse asset classes, and sophisticated trading strategies, the margin for error with the IRS narrows. Managing these wash sale rules requires more than just reactive bookkeeping; it demands a proactive, integrated approach to tax and investment management. Our firm provides the technical expertise needed to monitor these transactions across your entire portfolio, ensuring that your tax-loss harvesting strategies deliver the maximum benefit without any unwanted surprises from the IRS. Reach out to our team to review your current holdings and ensure your year-end moves are optimized for your long-term financial goals.
Each month, we will send you a roundup of our latest blog content covering the tax and accounting tips & insights you need to know.
We care about the protection of your data.