Investing Guide

The wash sale rule: a plain guide for US investors

Understand the basic federal wash sale rule, why timing and replacement purchases matter, and when a tax professional can help.

Globull Research DeskFact-checked by the editors Published Last reviewed 6 min readEditorial policy
The wash sale rule: a plain guide for US investors
Investing Guide

Key takeaway

The federal wash sale rule can defer a tax loss when an investor sells stock or securities at a loss and buys substantially identical stock or securities during the 30 days before or after the sale. In general, the loss is not currently deductible to the extent the rule applies. The disallowed loss is generally added to the basis of the replacement shares, which can affect the gain or loss when those shares are later sold.

In this article
  1. The basic rule
  2. The 61-day window
  3. What substantially identical means
  4. How a disallowed loss is generally treated
  5. Accounts and common complications
  6. Tax-loss harvesting and planning
  7. Records and reporting
  8. A practical checklist
  9. Frequently asked questions

The basic rule

The federal wash sale rule can defer a tax loss when an investor sells stock or securities at a loss and buys substantially identical stock or securities during the 30 days before or after the sale. In general, the loss is not currently deductible to the extent the rule applies. The disallowed loss is generally added to the basis of the replacement shares, which can affect the gain or loss when those shares are later sold.

The rule is intended to prevent a taxpayer from claiming a loss while maintaining substantially the same investment position through a replacement purchase. It is described in Internal Revenue Code section 1091 and related federal tax guidance. Applying it can be more complicated than counting days, particularly with options, multiple accounts, reinvested dividends, and transactions involving a spouse or retirement account.

This is a general educational overview, not tax advice. The right treatment depends on the facts and current law. IRS rules and forms can change, and state tax treatment may differ. Investors with significant, unusual, or unclear transactions should consult a qualified tax professional.

The 61-day window

The wash sale period generally covers 61 days: the sale date, the 30 calendar days before it, and the 30 calendar days after it. A replacement purchase during that window may trigger the rule if the shares or securities are substantially identical. The purchase does not have to occur on the same day as the loss sale.

The date window surprises some investors because a purchase made before the loss sale can matter too. For example, buying additional shares shortly before selling older shares at a loss may result in a wash sale under the rule. Likewise, buying replacement shares soon after the sale may cause the loss to be deferred.

Keep records of trade dates, quantities, basis, and account activity. A simple calendar reminder can help, but the rule is not always resolved by waiting exactly a month. A 30-day period is measured in calendar days, and the relevant transaction dates and securities matter. When in doubt, verify the details rather than relying on a rough rule of thumb.

What substantially identical means

The statute refers to stock or securities that are substantially identical, but not every comparison has a simple answer. Selling shares of one company at a loss and buying the same company's shares in the restricted window is a clear concern. Other cases, such as different securities, options, or funds with overlapping holdings, may require careful analysis.

Two exchange-traded funds tracking similar indexes are not automatically substantially identical simply because they have similar objectives. Conversely, changing a ticker or buying a different share class does not necessarily resolve the issue. The facts and the legal characteristics of the investments can matter, and the IRS has not supplied a universal shortcut for every possible pair of securities.

Avoid assuming that a similar fund is always safe or that any different ticker avoids the rule. If a loss sale and replacement investment are close substitutes, review the product details and seek tax advice when the amount is material. A desire to remain invested does not override the need to consider the rule.

How a disallowed loss is generally treated

For a typical taxable account transaction, a wash sale loss is generally added to the basis of the replacement shares, and the holding period of the sold shares is generally carried over to the replacement shares. This usually defers the loss rather than permanently eliminating it, because the adjusted basis can affect the tax result when the replacement shares are sold.

The mechanics can become more complex when only some of the shares are replaced, when the replacement purchase is smaller than the loss sale, or when lots have different bases. The amount of loss disallowed may be limited to the shares involved in the matching transaction. Accurate lot-level records are important to determine the correct adjustment.

Do not assume that a broker's tax form will capture every relevant transaction. A brokerage statement may report wash sale adjustments for transactions in the same account, but transactions across accounts or institutions may not be fully visible to one broker. Taxpayers remain responsible for accurate reporting.

Accounts and common complications

The wash sale rule can involve purchases made in accounts other than the account where the loss was realized. A purchase in a spouse's account or another brokerage account may require attention. Individual circumstances and ownership details matter, so investors should not assume that keeping trades at separate firms avoids the rule.

A replacement purchase in an IRA or other tax-advantaged account can raise a serious issue. IRS guidance indicates that when a loss sale in a taxable account is followed by a substantially identical acquisition in an IRA or Roth IRA, the loss may be disallowed without the usual basis adjustment that could later recover it. This treatment can make the tax consequence less favorable. Consult a tax professional about the specific transaction.

Automatic dividend reinvestment and recurring investment plans can create an unexpected purchase during the wash sale window. Options and other derivatives can also produce complicated results. Investors who use these features may wish to check scheduled transactions before realizing a loss and keep clear records of any changes.

Tax-loss harvesting and planning

Tax-loss harvesting generally means realizing an investment loss in a taxable account to offset capital gains or, subject to federal limits and rules, other income. The wash sale rule is one constraint on that strategy. A sale at a loss does not create a usable deduction if a disqualifying replacement purchase occurs within the relevant period.

Investors sometimes consider buying a different investment to maintain market exposure while avoiding a substantially identical replacement. The choice should be based on the applicable tax rules and the investor's objectives, not merely on a similar name or a different ticker. A substitute may perform differently, carry different risks, and change the portfolio's exposure.

Tax planning should not drive an investment decision in isolation. Selling and replacing an investment can create trading costs, change risk, and affect future returns. Consider the likely tax benefit alongside the full economic consequences, and confirm how federal and state rules apply to your situation.

Records and reporting

Keep trade confirmations, account statements, records of reinvested dividends, and details of any replacement purchases. Note the security, number of shares, date, price, commissions if applicable, and account. Retain records long enough to support the basis reported when replacement shares are eventually sold.

Broker reporting can be useful, but it may be limited to transactions visible within that institution and account. A consolidated personal record can help identify activity across multiple brokers, retirement accounts, and household accounts. Make sure any adjustment is reflected consistently in your tax records.

For federal income tax reporting, follow the current IRS instructions for the applicable forms and schedules, including the instructions for Form 8949 when relevant. Do not rely on an old article or a prior year's form without checking current guidance. If a transaction is complex, professional advice can reduce the risk of an incorrect filing.

A practical checklist

Before realizing a loss, identify purchases of the same or potentially substantially identical securities during the prior 30 days. Check taxable and tax-advantaged accounts that may be relevant, and consider scheduled dividend reinvestments or automatic purchases. If you cannot determine whether a transaction is covered, pause and ask a tax professional.

After the loss sale, track the following 30 days for replacement purchases. Keep lot-level records and review brokerage tax documents, but do not assume those documents include every household or cross-account transaction. When an adjustment is needed, document how the replacement basis was determined.

Remember that the rule concerns tax treatment, not whether a trade is economically sensible. Avoid making rushed trades solely to capture a tax loss. A thoughtful process considers investment goals, portfolio risk, tax costs, recordkeeping, and the current federal rules.

Frequently asked questions

Editorial standards and sources

Globull articles are general education for US investors. Every decode is checked against public filings, company releases and exchange data, and every track record uses the price on the teaser date. Prices can be delayed and facts change, so verify important decisions with the original filing or a qualified professional.

Tags

Investing GuidewashsaleruleplainUS stocks

Share this article

Post on XLinkedIn

Written and reviewed by the Globull Research Desk

We decode newsletter teasers, check every clue against public filings and track picks over 30, 90 and 365 days. We are not paid by the publishers we cover.

Continue on Globull

Educational content for US investors, not investment advice. Prices may be delayed. Read our disclaimer.

Back to all articles