Investing/Aug 28, 2026

Mastering the Wash-Sale Rule for Tax Loss Harvesting

Tax-loss harvesting can significantly reduce your annual tax liability, but failing to navigate the IRS wash-sale rule can void your deductions and complicate your cost basis for years.

By Editorial Team · 4 min read
Understanding the 61-day window is critical for maintaining tax efficiency without losing market exposure.

Tax-loss harvesting is one of the few 'free lunches' in the investing world. By selling a security that has declined in value, you can realize a capital loss to offset capital gains realized elsewhere in your portfolio. If your losses exceed your gains, the IRS allows you to use up to $3,000 of that excess loss to offset your ordinary income, with any remaining balance rolling over into future years. However, the IRS is well aware of this maneuver and implemented the wash-sale rule to prevent investors from claiming a tax benefit without actually changing their economic position.

The wash-sale rule, defined under Section 1091 of the Internal Revenue Code, dictates that a loss cannot be claimed for tax purposes if you purchase a 'substantially identical' security within a 61-day window. This window includes the 30 days before the sale, the day of the sale itself, and the 30 days following the sale. If you trigger a wash sale, the loss is not gone forever, but it is disallowed for the current tax year. Instead, the loss is added to the cost basis of the new shares you purchased, effectively deferring the tax benefit until you sell the replacement position.

The 61-Day Danger Zone and Replacement Assets

Many investors mistakenly believe the wash-sale rule only applies to the 30 days after a sale. In reality, the 30-day 'look-back' period is just as critical. If you buy shares of a stock on November 1st and then sell an older, underwater lot of that same stock on November 15th to capture a loss, you have triggered a wash sale. To maintain market exposure while avoiding this trap, sophisticated investors often swap one asset for another that is highly correlated but not 'substantially identical.' For example, an investor might sell the Vanguard S&P 500 ETF (VOO) and immediately purchase the iShares Core S&P 500 ETF (IVV). While these funds track the same index, the IRS has historically not classified different ETFs from different providers as substantially identical.

The most expensive mistake an investor can make is triggering a wash sale across accounts. The IRS views your taxable brokerage account and your IRA as a single entity for this rule; selling a stock for a loss in your individual account and rebuying it in your Roth IRA within 30 days permanently destroys the tax loss because the IRA has no cost basis to adjust.Marcus Thorne — Senior Tax Strategist at Blackwood Capital

Strategic Execution for Maximum Tax Alpha

To execute a clean harvest, you must monitor your portfolio for 'tax lots' rather than just the total position. Modern brokerages like Fidelity and Charles Schwab allow you to select specific shares to sell, known as the 'Specific Identification' method. This allows you to cherry-pick the shares with the highest cost basis, maximizing the realized loss. Once the sale is executed, the capital is typically moved into a 'proxy' asset to ensure the investor doesn't miss a market recovery during the 30-day waiting period. This proxy should be in the same sector or asset class but must have a different underlying structure or index to satisfy a potential audit.

  • Identify high-cost basis lots that are currently trading at a minimum 10-15% loss to ensure the tax benefit outweighs transaction costs.
  • Check all linked accounts, including a spouse's brokerage or your own IRAs, for any purchases of the same security within the last 30 days.
  • Sell the identified shares and immediately move the proceeds into a correlated but distinct replacement security to maintain market beta.
  • Set a calendar reminder for 31 days post-sale to evaluate whether to move back into the original security or keep the replacement.
  • Ensure your brokerage's 1099-B accurately reflects the loss, keeping manual records of any disallowed losses that must be added to a new cost basis.

The concept of 'Tax Alpha'—the additional return generated through tax efficiency—can add between 0.5% and 1.5% to an investor's annual net performance over long horizons. For a $1 million portfolio, that represents a significant sum that would otherwise be lost to the Treasury. However, the complexity of the wash-sale rule requires a disciplined approach. Automated platforms like Wealthfront and Betterment have built their businesses on automating this process, but for the self-directed investor, the burden of tracking the 61-day window and avoiding 'substantially identical' traps remains a manual, high-stakes task.

Ultimately, the wash-sale rule is not a barrier to tax-loss harvesting, but a guardrail. By understanding the timing requirements and the nuances of asset selection, you can effectively lower your tax bill while keeping your investment strategy fully intact. As year-end approaches, reviewing your portfolio for these opportunities is a fundamental step in professional-grade wealth management.

Tax StrategyPortfolio ManagementIRS Compliance