Skip to main content

Are you on the right long-term path? Get a full financial assessment

Get a full financial assessment
← Back to W Definitions

Wash sales

What Is Wash Sales?

Wash sales refer to a transaction in which an investor sells or trades a security at a loss and, within a specific timeframe, repurchases the same or a "substantially identical" security. This rule, central to U.S. tax law, falls under the broader category of investment strategy and aims to prevent taxpayers from artificially generating capital losses to reduce their income tax liability. The Internal Revenue Service (IRS) defines the wash sale period as 30 days before and 30 days after the date of the sale, creating a 61-day window that includes the sale date itself. If a wash sale occurs, the investor cannot claim the loss for tax purposes in the current year.

History and Origin

The concept of wash sales and the associated rule prohibiting the deduction of losses from them emerged to address perceived abuses in tax reporting. Prior to the formal establishment of the wash sale rule, investors could sell a security at a loss simply to claim a tax deduction, then immediately buy back the same security, effectively maintaining their market position while lowering their tax bill. To prevent this practice, Congress enacted the wash sale rule as part of the Revenue Act of 1921. Its primary objective was to ensure that a claimed capital loss represented a genuine economic loss, rather than a mere paper transaction designed solely for tax avoidance. This legislative measure sought to reinforce the integrity of the tax system concerning investment taxable events.

Key Takeaways

  • A wash sale occurs when an investor sells a security at a loss and acquires the same or a "substantially identical" security within 30 days before or after the sale date.
  • The loss incurred from a wash sale is disallowed for current tax purposes by the IRS.
  • The disallowed loss is typically added to the cost basis of the newly acquired, substantially identical security, deferring the tax benefit.
  • The wash sale rule applies across all an investor's accounts, including those at different brokerage firms, and potentially even spousal and IRA accounts.
  • The rule applies to various types of securities, including stocks, bonds, mutual funds, and exchange-traded funds (ETFs).

Formula and Calculation

While there isn't a single "formula" for a wash sale, the core principle involves the adjustment of a security's cost basis when a disallowed loss occurs.

If a wash sale is triggered, the loss from the original sale is not immediately deductible. Instead, that disallowed loss amount is added to the adjusted cost basis of the newly acquired, substantially identical security. This adjustment impacts future capital gains or losses when the new security is eventually sold.

The calculation of the new cost basis is as follows:

New Cost Basis=Purchase Price of New Security+Disallowed Loss\text{New Cost Basis} = \text{Purchase Price of New Security} + \text{Disallowed Loss}

For example, if an investor sells shares for a $100 loss and repurchases substantially identical shares for $1,000, the new cost basis for the repurchased shares becomes $1,100 ($1,000 purchase price + $100 disallowed loss). This higher basis means that any future gain on the new shares will be reduced, or a future loss will be increased, effectively deferring the tax benefit of the original loss until a later, non-wash sale transaction.

Interpreting the Wash Sales

Understanding wash sales is crucial for investors, particularly those engaged in active trading or portfolio rebalancing. The rule's primary interpretation is that any immediate attempt to claim a tax loss while maintaining an economic interest in the same investment will be nullified by the tax authorities. This implies that for a loss to be recognized for tax purposes, there must be a genuine break in the investment's continuity. The "substantially identical" clause is key here; it means that simply buying a different share class or a very similar, but legally distinct, security might still trigger the rule if the IRS deems them economically equivalent11. Therefore, investors must carefully consider the 61-day window around a loss-generating sale to avoid an unintended wash sale. The rule also dictates that the holding period of the original security is added to that of the new security, which can affect whether a future gain or loss is classified as short-term or long-term.

Hypothetical Example

Consider an investor, Sarah, who purchased 100 shares of Company X stocks for $50 per share, totaling $5,000. Due to market fluctuations, the stock price drops, and Sarah sells all 100 shares at $40 per share, incurring a $1,000 realized loss ($5,000 cost - $4,000 proceeds).

Scenario 1: No Wash Sale
If Sarah waits 31 days or more before buying any shares of Company X, or chooses to buy shares of a different, non-substantially identical company, she can claim the $1,000 loss on her taxes.

Scenario 2: Wash Sale Occurs
Suppose Sarah believes Company X's stock will rebound quickly. Two weeks after selling her shares at $40, she repurchases 100 shares of Company X at $42 per share. Because she bought back a substantially identical security within the 61-day wash sale window (specifically, 14 days after the sale), her $1,000 loss from the original sale is disallowed by the IRS. Instead, this $1,000 loss is added to the cost basis of her newly acquired shares. Her new cost basis for the 100 shares is now $5,200 ($4,200 purchase price + $1,000 disallowed loss), making her effective cost per share $52. This adjustment means that the tax benefit of the $1,000 loss is deferred until she sells these new shares in a non-wash sale transaction.

Practical Applications

The wash sale rule has significant practical implications for investors, particularly those employing tax-loss harvesting strategies. While the rule does not prohibit the practice of selling securities at a loss, it restricts the immediate deductibility of such losses if a substantially identical security is reacquired within the defined period. This applies broadly to common investments held in a taxable brokerage account, including stocks, bonds, mutual funds, and exchange-traded funds (ETFs)10.

Investors often utilize tax-loss harvesting to offset capital gains and, if losses exceed gains, to deduct up to $3,000 against ordinary income annually, with excess losses carried forward. However, this strategy must be executed carefully to avoid triggering the wash sale rule. For instance, an investor selling a broad-market ETF at a loss might consider purchasing an ETF tracking a different, but correlated, index to avoid the "substantially identical" designation and remain invested in the market without running afoul of the rule9. Financial regulatory bodies like the Financial Industry Regulatory Authority (FINRA) issue investor alerts specifically to highlight the complexities and potential pitfalls of the wash sale rule when engaging in tax-loss harvesting8.

Limitations and Criticisms

While designed to prevent tax avoidance, the wash sale rule can create complexities and unintended consequences for investors. One primary limitation is the ambiguity surrounding what constitutes "substantially identical"7. While clear for individual stocks (e.g., buying back the exact same shares), it becomes less clear for similar mutual funds or ETFs that track similar, but not identical, indices. This lack of precise definition can lead to uncertainty for investors trying to remain compliant while still managing their portfolios effectively.

Another criticism is that the rule can unintentionally penalize investors who might repurchase a security for legitimate, non-tax-motivated reasons within the 61-day window, such as a sudden positive news development or a change in market outlook. The rule also applies across all accounts, including Individual Retirement Accounts (IRAs) and those of a spouse, making compliance more challenging for individuals with multiple investment vehicles6. Disallowed losses on purchases made in an IRA are particularly impactful, as those losses are permanently lost and cannot be added to the cost basis within the tax-advantaged account, representing a complete forfeiture of the tax benefit5. Morningstar, a prominent investment research firm, provides guidance on navigating these complexities, emphasizing the need for investors to track their transactions diligently across all accounts4.

Wash Sales vs. Tax-Loss Harvesting

Wash sales and tax-loss harvesting are closely related but represent opposite outcomes concerning tax efficiency. Tax-loss harvesting is a legitimate investment strategy where an investor intentionally sells a security at a capital loss to offset capital gains and potentially a limited amount of ordinary income. The goal is to reduce current year income tax liability.

A wash sale, conversely, is an event that disallows the tax benefit of a realized loss during tax-loss harvesting. It occurs when an investor, while attempting to harvest a loss, repurchases the same or a "substantially identical" security within 30 days before or after the sale date. Essentially, a wash sale negates the intended tax benefit of tax-loss harvesting by preventing the deduction of the loss in the current tax year. The wash sale rule is not a prohibition on selling at a loss, but rather a set of conditions under which such a loss cannot be immediately recognized for tax purposes. The Internal Revenue Service (IRS) outlines these rules to ensure that harvested losses represent a true and enduring exit from an investment position.

FAQs

Q: What is the 30-day rule for wash sales?

A: The 30-day rule refers to the period surrounding a loss-generating sale. If you buy the same or a "substantially identical" security within 30 days before the sale date, on the sale date itself, or within 30 days after the sale date, any capital losses from that sale are disallowed for tax purposes. This creates a total 61-day window where the wash sale rule applies3.

Q: Does the wash sale rule apply to all investment accounts?

A: Yes, the wash sale rule applies across all your investment accounts, including those held at different brokerage firms, and also to Individual Retirement Accounts (IRAs) and accounts held by your spouse. It is the investor's responsibility to track these transactions across all accounts to ensure compliance2.

Q: Can I still use the loss from a wash sale?

A: If a wash sale occurs, the disallowed realized loss is not permanently lost. Instead, it is added to the cost basis of the newly acquired, substantially identical security. This adjustment defers the tax benefit of the loss until the new security is eventually sold in a transaction that does not trigger another wash sale. For example, if you bought a stock for $100, sold it for $80 (a $20 loss), and then immediately bought it back for $85, your new cost basis would be $105 ($85 + $20). This effectively reduces any future capital gains or increases future capital losses on the new position.

Q: What is considered "substantially identical" for wash sale purposes?

A: The IRS does not provide an exhaustive definition for "substantially identical," leading to some ambiguity. Generally, it refers to a security that is fundamentally the same as the one sold, rather than merely similar. For stocks, this usually means shares of the same company. For mutual funds and exchange-traded funds, it typically means funds tracking the exact same index or having very similar investment objectives and portfolios1. Different companies, even in the same industry, are generally not considered substantially identical. Consulting a tax advisor is often recommended for complex situations.

Q: Is a wash sale illegal?

A: No, a wash sale is not illegal. It is not a prohibited transaction, but rather a transaction for which the associated tax loss is disallowed by the IRS for immediate deduction. The rule simply prevents you from claiming a tax deduction for a loss if you re-establish your position in the same or a very similar investment too quickly.

AI Financial Advisor

Get personalized investment advice

  • AI-powered portfolio analysis
  • Smart rebalancing recommendations
  • Risk assessment & management
  • Tax-efficient strategies

Used by 30,000+ investors