The term “wash sale” refers to trading activity which breaches tax regulations and results in investors missing out on potential tax savings. This article will break down the concept of a wash sale, explaining what defines it, and what you need to be aware of.
A ‘wash sale’ is an important term related to taxes on trades and investments, and understanding the rules and regulations around it may be beneficial for managing your investment portfolio. This is what you need to know.
Tax treatment differs across jurisdictions.

What Is a Wash Sale?
A wash sale occurs when you sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale. If that happens, you are prevented from claiming the loss for tax purposes immediately.
Understanding wash sale rules is crucial for any investor looking to manage their portfolio effectively. While the concept might seem straightforward, the implications can significantly impact your tax situation and investment strategy.
Definition and Key Characteristics
The key characteristics of a wash sale include the sale of a security at a loss, the repurchase of the same or similar security within the 30-day window, and the disallowance of the loss for immediate tax purposes.
While wash sale rules are most prominently enforced in the United States through the IRS, similar principles apply in other regions such as the UK where the HMRC applies “bed and breakfasting“ rules. These rules were introduced to prevent investors from selling shares at the end of the tax year to realize a loss, then immediately buying them back.
Identifying a Wash Sale: Real-World Examples
Let’s look at some practical examples to better understand wash sales.
- Same stock sold and bought: Imagine you own 100 shares of Microsoft that you purchased for $507 per share. The price drops to $452, and you decide to sell all 100 shares, realizing a $5,500 loss. If you then buy back 100 shares of Microsoft within 30 days, this would constitute a wash sale.
- Same underlying instrument bought and sold: Another example involves ETFs If you sell the Vanguard S&P 500 Index ETF at a loss and immediately purchase the iShares Core S&P 500 Index ETF, this could still be considered a wash sale even though the product is marketed by a different provider, because the securities are “substantially similar”.
Tip: Keep records of all your trades, including dates and amounts, to easily identify potential wash sales in your portfolio.
How Does a Wash Sale Work?
The wash sale rule works by disallowing the immediate tax deduction of losses when you repurchase the same or similar securities within 30 days, instead adding the loss to your cost basis.
Now that we understand what constitutes a wash sale, let’s explore the mechanics of how these transactions work in practice and their implications for your investment strategy.

The 30-Day Window: Before and After the Sale
The 30-day rule is the cornerstone of wash sale regulations. This window extends 30 days before as well as 30 days after the sale date, creating a 61-day period in total where repurchasing the same security would trigger wash sale rules.
If you sell shares on 15 January, the wash sale window would run from 16 December to 14 February. Any purchase of the same or substantially identical securities during this period would result in the loss being disallowed for immediate tax purposes. Instead, the disallowed loss is added to the
These examples are simplified and for illustrative purposes only; actual liability depends on personal circumstances and local laws.
Substantially Identical Securities: Understanding the Scope
Determining what constitutes “substantially identical” securities can be complex. Obviously, shares of the same company are identical, but the rule extends beyond this simple definition.
Securities that track the same index, have the same investment objectives, or provide similar economic exposure might be considered substantially identical.
For instance, ETF funds from different providers which track the price of gold would likely be considered substantially identical. However, selling shares in a technology company and buying shares in a different technology company is a grayer area, as these are distinct securities which may have different risk profiles and fundamentals.

Why Do Investors Use Wash Sales?
If an investor triggers a wash sale they have probably done so unintentionally. It might occur when they are trying to harvest tax losses while maintaining their market position, but if the trades are considered a wash sale this defeats the purpose of the attempted tax-loss harvesting.
Understanding why wash sales occur helps investors avoid unintended tax consequences and develop more effective investment strategies.
Tax Implications and Deferring Losses
The primary reason investors might engage in what becomes a wash sale is an attempt at tax-loss harvesting. This involves selling investments at a loss to offset capital gains elsewhere in the portfolio. However, when investors immediately repurchase the same security, they trigger wash sale rules.
When a wash sale occurs, the tax loss isn’t permanently lost—it’s deferred. The disallowed loss is added to the cost basis of the replacement shares, which means you’ll eventually benefit from the loss when you sell those shares (assuming you don’t trigger another wash sale). For example, if you realize a $1,000 loss that’s disallowed due to wash sale rules, and you repurchased the shares for $4,000, your new cost basis becomes $5,000.
These examples are simplified and for illustrative purposes only; actual liability depends on personal circumstances and local laws.
The Wash Sale Rule and its Purpose
The wash sale rule exists to prevent investors from claiming artificial losses while maintaining their investment positions.
Without wash sale rules, investors could potentially sell securities at a loss on 31 December, claim the loss on their tax return, and repurchase the same securities on 1 January. This would allow them to reduce their tax bill without actually changing their investment position or accepting the economic reality of the loss.
Tip: Consider waiting at least 31 days before repurchasing a security you’ve sold at a loss.
Wash Sales and Your Investment Strategy
Evaluating whether wash sales impact your strategy requires understanding your tax situation, investment goals, and the importance of maintaining specific positions in your portfolio.
As we consider the role of wash sales in investment planning, it’s important to weigh both the benefits and drawbacks of different approaches.
Things to Consider
When developing your investment strategy, several factors should influence how you approach potential wash sales.
- Your tax situation: Your current
tax bracket plays a crucial role—higher earners may benefit to a greater extent from avoiding wash sales as the rate of CGT they pay on transactions which fall within scope of CGT may be higher. - Size of gain / loss: The size of your potential losses also matters; small losses might not justify the effort of avoiding wash sale rules.
- Investment time horizon: If you’re a long-term investor, triggering a wash sale might not significantly impact your overall returns, as the deferred loss will eventually be realized. However, if you need to offset gains in the current tax year, avoiding wash sales becomes more critical.
- Frictional costs: Transaction costs should be factored into your decision—multiple trades to avoid wash sales might erode any tax benefits.
Alternatives to Wash Sales
Several strategies can help you avoid wash sales while still maintaining market exposure. One approach is to consider purchasing a similar but not identical security.
If you sell a technology sector ETF at a loss, buying an individual technology stock or a different sector ETF with a degree of technology exposure may represent a transaction which is “significantly different”.
Another alternative is the “doubling up” strategy, which involves buying additional shares of a security you want to sell, wait 31 days, then sell your original shares. This maintains your market position while allowing you to realize the loss.
You could also consider investing through tax-advantaged accounts where wash sale rules might not apply, though other restrictions might exist.
Final thoughts
Understanding wash sale rules can help investors potentially avoid incurring tax liabilities while maintaining their desired market exposure.
Navigating the rules and regulations involves some analysis and continued monitoring of tax terms. But incorporating tax planning into overall portfolio management can be seen as part of developing a comprehensive tax strategy and part of making more effective investment choices.
Visit the eToro Academy to learn more about tax-efficient investing.
FAQ
- How do US wash sale rules compare to UK “bed and breakfast” rules?
-
The UK’s HMRC’s “bed and breakfasting” rules function similarly to US wash sale rules. The same-day rule in the UK matches sales with purchases on the same day, while the 30-day rule matches sales with purchases made within 30 days after the sale. As in the US, these rules prevent investors from claiming losses while maintaining their investment positions.
- How do wash sales interact with tax-advantaged accounts?
-
Wash sale rules don’t always apply within tax-advantaged accounts. However, selling securities in a taxable account and repurchasing them in a tax-advantaged account could still trigger wash sale rules.
- Where can I find more information on how other countries apply wash sale style rules?
-
In the UK, HMRC’s official website provides comprehensive guidance on share matching rules and capital gains tax. You can expand your comparative analysis by consulting the HMRC Capital Gains Manual for detailed information on share identification rules.
- When was the wash sale rule first introduced?
-
The wash sale rule in the US was first introduced in 1921. The rule at that time applied the 30-day rule but related to identical securities. The rule was developed in 1954 when Congress made a significant change to the wash sale rule by adding the “substantially identical” definition bringing more trades into scope for taxation purposes.
- What is the intention of the wash sale rule?
-
The wash sale rule originated from the desire of US tax authorities to prevent investors from reporting artificial losses on trades to reduce their overall tax liability. The rule ensures that any losses are not recognized until the investor has truly exited the position. This prevents taxpayers from claiming a deduction in the current tax year while still essentially remaining invested in the same instrument.
This information is for educational purposes only and should not be taken as investment advice, personal recommendation, or an offer of, or solicitation to, buy or sell any financial instruments.
This material has been prepared without regard to any particular investment objectives or financial situation and has not been prepared in accordance with the legal and regulatory requirements to promote independent research. Not all of the financial instruments and services referred to are offered by eToro and any references to past performance of a financial instrument, index, or a packaged investment product are not, and should not be taken as, a reliable indicator of future results.
eToro makes no representation and assumes no liability as to the accuracy or completeness of the content of this guide. Make sure you understand the risks involved in trading before committing any capital. Never risk more than you are prepared to lose.
This information is for educational purposes only and should not be taken as investment advice, personal recommendation, or an offer of, or solicitation to, buy or sell any financial instruments.
This material has been prepared without regard to any particular investment objectives or financial situation and has not been prepared in accordance with the legal and regulatory requirements to promote independent research. Not all of the financial instruments and services referred to are offered by eToro and any references to past performance of a financial instrument, index, or a packaged investment product are not, and should not be taken as, a reliable indicator of future results.
eToro makes no representation and assumes no liability as to the accuracy or completeness of the content of this guide. Make sure you understand the risks involved in trading before committing any capital. Never risk more than you are prepared to lose.