Skip to content
Ayonna Holmes Aug 20, 2025 11 min read

Wash Sale Rule: What Is It and How Does It Work for Investors

Key Takeaways:

  • Avoid repurchasing identical securities within the 61-day window.
  • Use alternatives like ETFs or mutual funds to maintain market exposure.
  • Report wash sales accurately on your tax filings.

Investing smartly means not just chasing gains but also minimizing tax liabilities. Understanding how the wash sale rule impacts your investment strategy is crucial for optimizing tax outcomes and staying compliant with IRS regulations.

This guide explores the wash sale rule in detail and equips you with strategies to avoid common mistakes, ensuring tax compliance and long-term financial success. We'll cover what constitutes a wash sale, how the 61-day rule works, ways to prevent triggering wash sales, and how they can affect your taxes.

What is a Wash Sale?

The IRS defines a wash sale as occurring when you sell or trade a security at a loss and, within 30 days before or after the sale, purchase the same or substantially identical security. Typically, this rule comes into play during tax-loss harvesting, where investors sell losing stocks to offset capital gains on their income tax return.

A wash sale may include:

  • Selling a stock at a loss and repurchasing it (or a closely related option or ETF) within the 61-day window.
  • Selling shares of a mutual fund and buying shares of another fund that tracks the same index.

The IRS has not defined the term "substantially identical." The lack of clarity leaves room for interpretation; however, the material features should be considered. While identical stocks or securities are clear examples, securities such as options or funds in similar sectors may also apply. Investors must carefully assess their transactions to stay within legal and tax guidelines.

What Securities Are Included in a Wash Sale?

The wash sale rule applies broadly to various types of securities sold at a loss, including:

  • Stocks: Common stocks and, in some cases, preferred stocks are considered substantially identical.
  • Bonds: Subject to wash sale rules, especially if deemed substantially identical.
  • Mutual funds: All mutual funds are subject to the same wash sale regulations.
  • Exchange-traded funds: ETFs are also included under the same wash sale rules.
  • IRA acquisitions: If you sell a security at a loss in a taxable account and acquire the same or substantially identical security in an individual retirement account (IRA) within the wash sale period, the loss is disallowed.

The 61-Day Rule

The wash sale rule revolves around a 61-day window, which includes the 30 days before the sale, the 30 days after, and the date of the sale itself. The wash sale rule is not confined to a calendar year. Any purchase of the same or substantially identical security during this period will result in a wash sale.

Real-World Scenarios:

1. Scenario 1: Sell Stock Y at a loss on January 15, then repurchase identical Stock Y on February 10.

Result: Loss on the January 15 sale is disallowed for tax purposes because the 30-day after period wasn’t met.

2. Scenario 2: Buy shares of a company on March 7, then sell identical shares on April 1.

Result: Even though the purchase occurred before the identical sale, it falls within the 30-day presale window, activating the rule.

3. Scenario 3: Sell shares of Stock X at a loss on December 28 and repurchase on January 10 of the following year.

Result: The loss is disallowed because the repurchase occurred within 30 days of the sale, regardless of the calendar year in which the sale occurred.

Investor Tip:

Pay close attention to your trade dates and plan carefully to avoid triggering a wash sale. Consulting a financial advisor can offer valuable guidance on timing transactions correctly.

How to Avoid Wash Sales

By applying strategic approaches, you can respect wash sale rules while maintaining a market presence.

Choose Alternatives: Replace a stock that was sold with a similar, but not substantially identical, investment, such as an ETF in the same sector. This allows you to align with your preferred asset allocation and long-term investment plan.

Example: Sell Stock A for a tech company at a loss and purchase a technology sector ETF instead of rebuying Stock A within the 61-day window.

Wait It Out: Of course, the simplest strategy would be to abstain from buying a security for at least 31 days after selling.

Avoid Account Swapping: Refrain from selling stock from one account and then repurchasing the same stock in another account within the wash sale period. The wash sale rule applies across all accounts, including IRAs, spouse accounts, and corporate accounts.

Remember that a strategic approach allows you to achieve tax efficiency without sacrificing your investment goals.

Impact on Taxes

When a wash sale is triggered, the IRS disallows the recorded loss for the current tax year. However, the loss is not permanently forfeited. The disallowed loss instead gets added to the replacement security's cost basis, effectively deferring the tax benefit until a future time.

Tax Implications Example:

  • Original Investment in Stock Z: $1,000
  • Sale Price: $700 (resulting in a $300 loss)
  • Repurchase Price (within 30 days): $600
  • Adjustment Cost Basis: $900 ($600 repurchase cost + $300 disallowed loss)

The holding period of the original stock carries over to the repurchased stock. This extended holding period affects whether subsequent gains from future sales are treated as short-term or long-term gains. This distinction impacts the applicable income tax rate, with long-term capital gains typically enjoying more favorable tax rates.

IRS Reporting:

Wash sales must be reported on Form 8949 of your federal tax return. Any disallowed losses should be noted in column (f) ("W") to ensure accurate compliance.

The IRS only requires financial institutions to report gains and losses involving transactions with the exact same CUSIP number. This means you cannot rely solely on institutions to catch all wash sales across accounts.

Self-Monitoring:

  • If you have accounts at multiple financial institutions, you are responsible for tracking wash sales across them.
  • Similarly, you must track wash sales involving substantially identical securities within the same institution or between personal and joint accounts.

Expert Tip:

Managing wash sales can be complex, especially when multiple accounts or institutions are involved. Consolidating your investment accounts with a single brokerage can simplify tracking trades and reduce the risk of inadvertently triggering wash sales.

Consider partnering with a tax professional to ensure accurate tracking, reporting, and peace of mind.

Master the Rules with Strategic Tax Planning

The wash sale rule plays a critical role in tax planning for investors. By understanding how the rule works, you can avoid costly pitfalls and make informed decisions that support both compliance and your financial goals.

Proactive tax planning is essential for minimizing liabilities and maximizing wealth creation. For expert advice and practical solutions, contact an LTax financial advisor today. Our team is here to help you optimize your portfolio, align with regulations, and achieve long-term success.

Frequently Asked Questions

What can I sell without penalty for a wash sale?

You can sell securities that aren’t “substantially identical,” such as ETFs or mutual funds offering similar exposure. These alternatives allow you to stay invested in the same sector without triggering the rule.

How soon can you buy back a stock after selling it?

You can repurchase a stock at any time if you sell it at a gain. However, if you sold it at a loss, you must wait at least 31 days after the sale or avoid buying it 30 days before the sale to avoid triggering the wash sale rule.

How do you get around the wash sale rule?

To avoid the wash sale rule, consider investing in a similar asset within the same sector rather than buying back the exact security. Alternatively, wait out the 61-day window surrounding the sale to repurchase the identical asset.

What happens if I accidentally do a wash sale?

If you unintentionally trigger a wash sale, the IRS disallows the realized loss, adding the disallowed amount to the cost basis of the replacement security and adjusting the holding period accordingly. Report the wash sale on Form 8949 for accurate compliance.

 

LTax-CTA

 

LEGAL OR TAX: The information herein is not legal, such as trust or estate planning, advice, or tax advice. Any such information is provided for illustrative purposes only and must not be relied upon without the benefit of the advice of your lawyer and/or tax professional. Lido specifically disclaims any liability from any reliance on such information. Lido is not a legal service provider or tax professional and does not offer legal or tax advice. Should you desire to obtain tax or legal services or advice, you must enter into your own, ​independent engagement agreement with a licensed attorney or tax professional.