Skip to content
On this page
  1. Key Takeaways
  2. What It Is
  3. The Intuition
  4. How It Works
  5. Worked Example
  6. Common Mistakes
  7. Frequently Asked Questions
  8. Sources
  9. Disclaimer
← All concepts
Tax & AccountsAdvanced5 min read

Wash Sale Rules in Detail: Triggers Beyond Broker Reports

The wash sale rule in Internal Revenue Code Section 1091 disallows a loss on the sale of stock or securities when the taxpayer buys a substantially identical security within 30 days before or after the sale. The disallowed loss is added to the basis of the replacement shares and deferred, not eliminated.

Key Takeaways

  • The wash sale rule applies mechanically regardless of intent: a DRIP purchase, an automatic recurring buy, or even a spouse's purchase can trigger disallowance with zero planning to harvest.
  • The rule operates at the taxpayer level across all accounts, selling in a taxable brokerage and buying the same security inside an IRA disallows the loss permanently because IRA basis cannot absorb the adjustment.
  • Brokers report wash sales only within the same account and same CUSIP; cross-account, cross-broker, and spousal wash sales must be self-tracked on Form 8949, and brokers' 1099-Bs will not flag them.
  • Deep-in-the-money puts and calls on the sold security can trigger Section 1091 because the derivative represents a contract to acquire substantially identical stock, even if you never own shares in the window.

Key Takeaways

  • The wash sale rule applies mechanically regardless of intent: a DRIP purchase, an automatic recurring buy, or even a spouse's purchase can trigger disallowance with zero planning to harvest.
  • The rule operates at the taxpayer level across all accounts, selling in a taxable brokerage and buying the same security inside an IRA disallows the loss permanently because IRA basis cannot absorb the adjustment.
  • Brokers report wash sales only within the same account and same CUSIP; cross-account, cross-broker, and spousal wash sales must be self-tracked on Form 8949, and brokers' 1099-Bs will not flag them.
  • Deep-in-the-money puts and calls on the sold security can trigger Section 1091 because the derivative represents a contract to acquire substantially identical stock, even if you never own shares in the window.

What It Is

The statute applies to any loss from the sale or other disposition of stock or securities where, within a period beginning 30 days before the sale and ending 30 days after (a 61-day window), the taxpayer has acquired, or entered into a contract or option to acquire, substantially identical stock or securities.

The disallowed loss does not vanish. Under Section 1091(d), it is added to the cost basis of the replacement shares and recovered when those shares are eventually sold outside a new wash sale window. The holding period of the replacement shares is also tacked on to include the holding period of the original loss position.

The Intuition

Without the rule, an investor could sell a stock at a $10,000 loss on Monday, buy it back on Tuesday, claim the loss on the tax return, and still own the position. Section 1091 prevents that "cosmetic" realization. The economic position is unchanged, so Congress decided the tax loss should be deferred until the investor is actually out of the exposure.

The rule is mechanical. Intent does not matter. A dividend reinvestment, an automatic recurring buy, or even a purchase in a different account can trigger disallowance without any effort to harvest.

How It Works

Covered instruments. Section 1091 applies to stock and securities. Treasury Regs. 1.1091-1 treats futures, options, and short sales on substantially identical securities as triggering instruments. Section 1091(f) extends the rule to closing a short sale at a loss if a replacement short is opened in the window.

Substantially identical. The term is not defined in the Code. The IRS and courts generally find:

  • Common stock of the same issuer (same class): substantially identical
  • Preferred stock vs common of the same issuer: usually not, unless convertible and close-to-parity
  • Two index ETFs tracking the same index from different issuers: arguable; the IRS has not issued definitive guidance, and many practitioners treat them as substantially identical when the tracking error is small and the underlying index is identical
  • Two mutual funds with different managers but similar holdings: usually not identical unless the holdings are nearly duplicative

Basis and holding period math.

Disallowed loss     = sale proceeds - basis of shares sold (capped at loss)
New basis of reps.  = purchase cost + disallowed loss
Holding period      = holding period of old shares + holding period of new shares

IRA and Roth IRA traps. Revenue Ruling 2008-5 extended the rule across account types. A loss sale in a taxable brokerage account followed by a purchase of the same security inside an IRA or Roth IRA within 30 days disallows the loss permanently, because basis in IRA shares cannot be increased by a disallowed wash loss.

Spousal and related-party attribution. Purchases by a spouse or a controlled corporation count as the taxpayer's own purchases for Section 1091. Two spouses holding separate brokerage accounts can trigger wash sales on each other without any coordination.

Worked Example

Assume you bought 100 shares of a widely held stock on June 1, 2025 for $50 per share ($5,000 basis). You sell on December 15, 2026 for $30 per share ($3,000), producing a $2,000 loss. Then you buy 100 shares again on December 28, 2026 for $31 per share ($3,100).

Loss realized             = $5,000 - $3,000 = $2,000
Replacement bought within = 13 days after the sale (inside 30-day window)
Wash sale rule            = fully triggered
Loss disallowed           = $2,000 (cannot be deducted in 2026)
New basis of 100 shares   = $3,100 + $2,000 = $5,100
Holding period            = tacks back to June 1, 2025 (long-term)

If you later sell the replacement shares for $6,000 and no new wash sale is triggered, the gain is $6,000 minus $5,100 = $900, and the deferred loss has been recovered through the higher basis.

Common Mistakes

  1. Forgetting automatic reinvestments. DRIPs, payroll-plan purchases, and robo-rebalancers can buy tiny lots inside the 30-day window. Even a $20 DRIP purchase disallows the proportional loss on the larger sold position.
  2. Assuming different accounts break the rule. The 61-day window is measured at the taxpayer level. Selling in a joint brokerage and buying in an individual IRA, Roth IRA, or spouse's account all count. Only the taxpayer changes; the rule does not.
  3. Swapping into a near-identical index ETF without considering substantially identical risk. Rotating from one S&P 500 ETF to another is common and usually accepted, but practitioners disagree at the margin. Swaps between different managers tracking the same narrow proprietary index are riskier than swaps between a broad index and a different broad benchmark.
  4. Overlooking options and short sales. Selling a stock at a loss and writing a deep-in-the-money put (or buying a call) on the same stock within the window can trigger Section 1091 because the derivative is a contract to acquire substantially identical stock.
  5. Relying entirely on broker 1099-B adjustments. Brokers report wash sales only within the same account and the same CUSIP. Cross-account, cross-broker, and spouse-account wash sales must be tracked by the taxpayer on Form 8949.

Frequently Asked Questions

Q: What do the wash sale rules cover in simple terms? They disallow a capital loss when you buy a substantially identical security within 30 days before or after the loss sale. The disallowed loss is not erased, it is added to the basis of the replacement shares. In an IRA, the mechanism breaks and the loss disappears permanently.

Q: How do the detailed wash sale rules affect investment decisions? Active harvesters must monitor all accounts simultaneously, pause DRIP and recurring purchases around planned sales, and treat the 30-day window as a hard perimeter rather than a guideline. A single automatic reinvestment inside the window can partially disallow a carefully planned harvest.

Q: What is a real-world example of a non-obvious wash sale trigger? You sell shares at a $2,000 loss on December 15. You forgot that your DRIP reinvested a $20 dividend in the same stock on December 28. The $20 DRIP purchase is inside the 30-day window and proportionally disallows part of your $2,000 loss.

Q: How can investors avoid unintentional wash sale violations? Turn off DRIP for positions you plan to harvest in the 30 days before and after the planned sale, review all accounts (including spouse accounts and IRAs) for the same security, and set brokerage alerts for any pending recurring purchases tied to harvested positions.

Q: How are wash sale rules different for traders with a Section 475 election? A trader who makes a valid Section 475(f) mark-to-market election is exempt from the wash sale rules on positions covered by the election. Because Section 475 deems all positions sold at year-end and taxes gains and losses as ordinary, the deferral rationale of Section 1091 no longer applies, and the rule is simply turned off for those positions.

Sources

  1. Internal Revenue Service. "Publication 550 (2025), Investment Income and Expenses." https://www.irs.gov/publications/p550
  2. Cornell Legal Information Institute. "26 U.S. Code Section 1091, Loss from wash sales of stock or securities." https://www.law.cornell.edu/uscode/text/26/1091
  3. Internal Revenue Service. "Revenue Ruling 2008-5, Wash sales and IRAs." https://www.irs.gov/pub/irs-drop/rr-08-05.pdf
  4. Electronic Code of Federal Regulations. "Treasury Regulations Section 1.1091-1, Losses from wash sales of stock or securities." https://www.ecfr.gov/current/title-26/chapter-I/subchapter-A/part-1/subject-group-ECFRa3a47c71e5d2d9a/section-1.1091-1

Disclaimer

This article is educational content only and is not financial advice. Nothing here is a recommendation to buy, sell, or hold any security. Consult a licensed advisor before making investment decisions.

The IWP Substack

You understand the concept. Now see it applied.

The Investing With Purpose Substack turns ideas like this into research and risk-managed trade plans on real stocks, updated every week.

Read on Substack (opens in a new tab)

Related concepts