When you sell a security at a loss, your first thought is likely how that loss will help offset your capital gains during tax season. However, if you step back into that same position too quickly, you might find yourself entangled in the wash sale rule. Originally established by Congress in the mid-1950s, this rule prevents investors from claiming a tax deduction on a loss while essentially maintaining their investment position. For anyone managing a portfolio or providing financial guidance, mastering these details is a fundamental part of tax-efficient investing.
The technicalities are found within Section 1091 of the Internal Revenue Code. The rule is straightforward: you cannot claim a capital loss if you purchase the same or 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 sell shares of a company at a loss on a Monday and buy them back on Tuesday, the IRS views this as a wash, effectively pausing your ability to claim that tax benefit.
Triggering a wash sale doesn’t mean your loss is gone forever; it is simply deferred. The disallowed loss is added to the cost basis of the new shares you purchased. This adjustment serves a helpful purpose by eventually reducing your future taxable gains or increasing your deductible losses when you finally exit the position for good. For example, if you buy shares at $100, sell them at $80, and then repurchase them at $75 within the 30-day window, your new adjusted cost basis becomes $95. This tracking is essential for accurately reporting your long-term financial health.

Even the most careful investors can stumble into a wash sale. Frequent trading is a primary culprit. If you are constantly adjusting your portfolio or using automated rebalancing tools, the high volume of transactions can easily create overlapping 30-day windows. Another quiet trigger is the Dividend Reinvestment Plan (DRIP). Because these programs automatically buy new shares with your dividends, they can inadvertently create a wash sale if you recently sold that same security at a loss. We often see clients surprised by these small, automated purchases come tax time.
The IRS uses a broad brush when defining “substantially identical.” It isn’t just about buying the exact same ticker symbol. The rule can extend to different share classes, stock options, and even certain derivatives. Selling a stock at a loss and immediately buying call options on that same stock will likely trigger the rule. Similarly, swapping one ETF for another that tracks the exact same index can be risky. If the composition of the two funds is nearly identical, the IRS may disallow the loss.
As of now, direct holdings of digital assets like Bitcoin or Ethereum are treated as property rather than securities. This means the wash sale rules do not currently apply to your crypto wallet. You can sell a digital asset at a loss and buy it back the same day to harvest that tax loss, which can offset other gains and up to $3,000 of your ordinary income. However, keep in mind that crypto ETFs are treated as securities and are subject to the standard wash sale rules. While there are ongoing legislative discussions to close this loophole, you can still utilize this strategy for direct holdings under current law.

You can still harvest tax losses without running afoul of Section 1091. The most effective strategy is simply being mindful of the calendar. By tracking your 61-day window, you can plan your exits and entries to ensure your losses remain deductible. If you need to maintain market exposure, consider “substitution.” This involves selling a security at a loss and buying a different asset that is in the same sector but not “substantially identical.” This keeps your investment strategy on track while securing your tax benefits.
Maintaining detailed records is your best defense against unexpected tax bills. While most brokers will flag wash sales on your 1099-B, they don’t always see trades across different accounts or your spouse's accounts. If you are concerned about how your recent trades might affect your tax liability, we can walk you through it step by step. Contact our office today for a personalized planning session to ensure your investment strategy and tax goals remain perfectly aligned.
The complexity of these regulations becomes even more apparent when you consider trades made across multiple accounts. For instance, the IRS does not view your individual accounts in isolation. If you sell a security at a loss in your standard brokerage account but your spouse purchases a substantially identical security in their separate account, or if you buy it back within your Individual Retirement Account (IRA), the wash sale rule still applies. In fact, buying the replacement shares in an IRA is particularly detrimental because the loss is not just deferred—it is effectively disallowed forever, as you cannot adjust the basis of assets within a tax-advantaged retirement account. This is a common trap for those who manage their own portfolios across various platforms without a centralized tracking system. To avoid these permanent losses, it is vital to treat all household accounts as a single entity when planning tax-related trades.
Many investors focus solely on the period after a sale, but the 30 days prior to the transaction are equally significant. A common scenario involves an investor who anticipates a market rebound and decides to "double up" on a position. If you buy additional shares of a stock you already own and then sell your original high-cost shares at a loss 20 days later, you have triggered a wash sale. The loss on that sale will be disallowed because you acquired replacement shares within the 30-day period preceding the sale. This "pre-wash" scenario is one of the most frequently missed nuances by casual traders. Effectively, the IRS sees that you held the same or a greater number of shares throughout the window, meaning you never truly exited the investment position.
The definition of "substantially identical" extends beyond simple stock-for-stock swaps. For those trading derivatives, selling a stock at a loss and immediately purchasing deep-in-the-money call options for that same stock will likely trigger the rule. The IRS looks at whether the new investment allows you to participate in the same economic ups and downs as the original security. In the world of fixed income, swapping one bond for another from the same issuer with a slightly different maturity date can also be risky. If the interest rate, credit rating, and maturity of the two bonds are nearly identical, the IRS may view them as the same security for wash sale purposes. This requires a high level of scrutiny when rebalancing a bond portfolio or an options-heavy strategy.

When selecting replacement securities to maintain market exposure, the choice of asset is critical for staying compliant. Professional advisors often recommend utilizing "tax-loss harvesting partners." For example, if you sell a large-cap technology ETF at a loss, you might choose to buy a different large-cap technology ETF from a different provider that tracks a slightly different index. While the two funds might have high correlation and similar performance, they are generally not considered substantially identical because they represent different underlying pools of assets and tracking methodologies. This allows you to keep your foot in the door of a specific market sector while still realizing the tax benefits of the loss. However, you must ensure the indices being tracked are not fundamentally the same, as the IRS has the authority to challenge swaps that lack a true change in economic position.
For business owners and high-net-worth individuals, the stakes are even higher as we approach the end of the fiscal year. The "January effect" often leads to investors buying back into favorite positions they sold in December for tax purposes. If that buy-back occurs before 31 days have passed, the tax savings you were counting on for the previous year will be deferred. This is why we emphasize the importance of a strict "cooling off" period during the transition between tax years. By waiting until the 31st day, you ensure that your tax strategy remains intact and your capital losses are fully leveraged to minimize your tax bill. This level of discipline is often the difference between a successful tax-loss harvesting strategy and an unexpected IRS adjustment.
As legislation evolves, particularly regarding digital assets and high-frequency trading, staying ahead of these shifts is vital. While cryptocurrency remains a flexible tool for tax-loss harvesting today, the legal landscape is shifting with frequent proposals in Congress to harmonize these rules across all asset classes. Proactive planning is not just about following current rules, but anticipating how new definitions of "securities" might impact your long-term wealth. Whether you are dealing with complex options strategies, international equities, or the evolving world of digital property, a steady hand and a clear perspective are your best assets. We are here to provide that clarity, helping you navigate the technicalities so you can focus on growing your investments with confidence and peace of mind.
Sign up for our newsletter.