Wash Sale Rule — Complete Guide for Investors
The wash sale rule (§ 1091) disallows a loss deduction when you sell a security at a loss and buy a substantially identical security within 30 days before or after the sale. The disallowed loss is added to the basis of the replacement security. This guide covers: what the wash sale rule is, how it works, the 30-day window, and strategies to avoid wash sales.
Technical Overview and Statutory Authority
The wash sale rule, codified under Internal Revenue Code (IRC) § 1091, is a critical anti-abuse provision designed to prevent taxpayers from claiming "artificial" losses on the sale of securities while maintaining their economic position in those securities. Under § 1091(a), a loss from the sale or other disposition of shares of stock or securities is disallowed if, within a period beginning 30 days before the date of such sale or disposition and ending 30 days after such date (the "61-day window"), the taxpayer has acquired (by purchase or by an exchange upon which the entire amount of gain or loss was recognized by law), or has entered into a contract or option so to acquire, substantially identical stock or securities.
Key Definitions and Scope
- Substantially Identical Securities: While the IRC does not explicitly define "substantially identical," Treasury Regulation § 1.1233-1(d)(1) provides guidance, often cited in wash sale contexts. Generally, stocks or securities of one corporation are not substantially identical to those of another. However, in certain situations (e.g., reorganization), they may be. Bonds of the same issuer with different interest rates or maturity dates are typically not substantially identical unless the differences are illusory.
- The 61-Day Window: The window includes the day of the sale, the 30 days preceding it, and the 30 days following it. This is a strict calendar-day count, not business days.
- Basis Adjustment (§ 1091(d)): The disallowed loss is not permanently lost; rather, it is deferred. The basis of the newly acquired (replacement) security is increased by the amount of the disallowed loss. This ensures that the loss is eventually recognized when the replacement security is sold in a non-wash sale transaction.
- Holding Period (§ 1223(3)): The holding period of the replacement security includes the holding period of the security sold at a loss. This is crucial for determining long-term vs. short-term capital gain status upon the eventual sale of the replacement security.
2026 Figures and Thresholds
For the 2026 tax year, practitioners must ensure all calculations align with the following verified figures. These figures are critical for overall tax planning and determining the impact of capital loss limitations.
| Provision | 2026 Value |
|---|---|
| IRC Section | § 1091 |
| Wash Sale Window | 61 Days (30 before, 30 after, plus sale date) |
| Standard Deduction (MFJ) | $30,000 |
| Standard Deduction (Single) | $15,000 |
| SS Wage Base | $176,100 |
| Bonus Depreciation | 60% |
| QBI Deduction | 23% |
| 401(k) Elective Deferral Limit | $23,500 |
| IRA Contribution Limit | $7,000 |
Detailed Implementation Guide
Implementing a tax-loss harvesting strategy while navigating the wash sale rule requires precision. Practitioners should follow this step-by-step protocol to ensure compliance and maximize client benefits.
Review the client's portfolio for securities currently trading below their cost basis. Prioritize short-term losses, as these can offset highly-taxed short-term gains or up to $3,000 of ordinary income.
Before selling, check the client's trade history for the previous 30 days. If the client purchased the same or substantially identical security within this period, a sale today will trigger a wash sale for those specific shares.
Sell the security to "lock in" the capital loss. Ensure the sale is a "bona fide" disposition where the taxpayer relinquishes all control and economic interest.
The client must not repurchase the same or substantially identical security for at least 31 days after the sale. This includes direct purchases, purchases in IRAs, and reinvested dividends (DRIPs).
To maintain market exposure without triggering § 1091, the client can purchase a security that is highly correlated but not "substantially identical." For example, selling an S&P 500 ETF and buying a Total Stock Market ETF is typically safe.
Real Numbers Example: The "Tech Growth" Scenario
Consider a client, "Investor A," who is Single and has a 2026 AGI of $250,000. This example illustrates the financial impact of a wash sale trigger.
- Initial Position: 1,000 shares of "TechCorp" purchased on Feb 1, 2026, for $100,000 ($100/share).
- Market Drop: On Nov 1, 2026, TechCorp is trading at $60/share.
- The Sale: Investor A sells all 1,000 shares on Nov 1, 2026, for $60,000, realizing a $40,000 loss.
- The Wash Sale Trigger: On Nov 15, 2026 (14 days later), Investor A repurchases 1,000 shares of TechCorp for $65,000.
Tax Impact Analysis:
- Loss Disallowance: The $40,000 loss is disallowed under § 1091 because the repurchase occurred within the 30-day window.
- Basis Adjustment: The basis of the new shares is $65,000 (purchase price) + $40,000 (disallowed loss) = $105,000.
- Holding Period: The holding period for the new shares begins on Feb 1, 2026 (the original purchase date).
- 2026 Tax Return: Investor A cannot use the $40,000 loss to offset other gains or the $3,000 ordinary income limit. If they had waited until Dec 2, 2026, to repurchase, the $40,000 loss would have been fully deductible in 2026.
Advanced Practitioner Strategies: Breaking the Wash Sale Chain
For high-net-worth clients and active traders, the wash sale rule can be a significant hurdle to effective tax-loss harvesting. Practitioners should consider these advanced strategies to "break the chain" and realize losses without violating § 1091.
If a client believes a stock currently at a loss will rebound, they can "double up" by purchasing an equal number of shares, waiting 31 days, and then selling the original high-basis shares. This allows the client to maintain their position while legally harvesting the loss. However, this requires the client to have sufficient capital and a willingness to double their risk exposure for 31 days.
The simplest way to avoid a wash sale is to sell the security and stay out of the market for that specific ticker for 31 days. During this "holiday," the client can hold cash or invest in a non-substantially identical proxy. For example, if a client sells Apple (AAPL) at a loss, they could invest in a Technology Sector ETF (like XLK) for 31 days to maintain exposure to the tech sector without triggering § 1091.
For clients who qualify as "traders in securities" under IRS rules, making a Section 475(f) election can be transformative. This election allows traders to treat all gains and losses as ordinary rather than capital. Crucially, § 1091 does not apply to securities held by a trader who has made this election. All positions are "marked to market" at year-end, and losses are fully deductible against ordinary income without the $3,000 limitation.
Interaction with Other IRC Provisions
The wash sale rule does not operate in a vacuum. Its interaction with other parts of the tax code can create complex planning scenarios.
- Section 267: Related Party Losses: While § 1091 focuses on the timing of repurchases, § 267 focuses on the identity of the purchaser. If a client sells a security at a loss to a "related person" (as defined in § 267(b)), the loss is disallowed regardless of whether a replacement security is purchased. Unlike § 1091, § 267 does not allow for a basis adjustment to the seller; instead, the purchaser may be able to use the disallowed loss to offset future gains.
- Section 1259: Constructive Sales: Practitioners must be careful not to trigger a "constructive sale" under § 1259 while trying to navigate § 1091. A constructive sale occurs when a taxpayer eliminates the risk of loss and opportunity for gain on an appreciated financial position (e.g., by entering into a "short sale against the box"). While § 1091 deals with losses, § 1259 deals with gains, and both require careful timing.
- Section 1092: Straddles: If a client holds "offsetting positions" (e.g., a stock and a put option), the straddle rules of § 1092 may apply. These rules can defer losses even if the wash sale rule does not. The straddle rules are generally more restrictive and take precedence over § 1091 in many cases.
State Applicability and Specific Considerations
Most states conform to the federal treatment of wash sales, but nuances exist, particularly in states with "static" conformity dates. Practitioners must verify state-specific codes annually.
| State | Conformity Status | Practitioner Note |
|---|---|---|
| California | Static Conformity | Generally conforms to IRC § 1091, but always verify the current "conformity to" date in the CA Revenue and Taxation Code (RTC). |
| New York | Rolling Conformity | Automatically adopts federal changes to § 1091. |
| New Jersey | Rolling Conformity | Follows federal wash sale rules for Gross Income Tax purposes. |
| Pennsylvania | Non-Conformity (Partial) | PA personal income tax rules on "substantially identical" can occasionally differ from federal interpretations; check PIT Guide. |
| Texas/Florida | No Income Tax | Wash sale rules are irrelevant for state income tax purposes as these states do not tax personal income. |
Common Mistakes and Audit Triggers
The IRS uses automated matching (CP2000 notices) to identify wash sales that brokers report on Form 1099-B. Practitioners should be aware of these common pitfalls:
- The IRA Trap: Selling in a taxable account and buying in an IRA. Per Rev. Rul. 2008-5, the loss is disallowed, and because an IRA has no "basis" in the traditional sense, the loss is effectively lost forever, not just deferred.
- Dividend Reinvestment (DRIPs): A small dividend reinvestment within 30 days of a large loss sale can trigger a partial wash sale.
- Spousal Trades: The IRS treats a spouse's purchase as a purchase by the taxpayer for § 1091 purposes.
- Options and Futures: Selling a stock at a loss and buying a "deep-in-the-money" call option on the same stock is a wash sale.
Audit Triggers
- Discrepancies between Form 1099-B (Column 1g) and Form 8949.
- Large losses claimed in December followed by similar-sized purchases in January.
- High-frequency trading volume without a corresponding "Mark-to-Market" election under § 475(f).
Audit Defense and Documentation
When an IRS auditor identifies a potential wash sale, the burden of proof is on the taxpayer to show that the rule was not violated or that the basis adjustment was calculated correctly.
Practitioners should maintain a "Wash Sale Defense File" for high-volume clients, including: Trade Confirmations for the 61-day window, Brokerage Statements showing all accounts (including IRAs and spousal accounts), a Basis Reconciliation spreadsheet, and a Substantially Identical Analysis memo for proxy trades.
If a client receives a CP2000 notice regarding wash sales, the practitioner should: Verify the Broker's Data (brokers sometimes miscalculate wash sales across different accounts), Check for Section 475(f) Status, and Submit a Corrected Form 8949 with a detailed explanation to the IRS.
The Future of Wash Sales: Legislative Outlook
The tax landscape is constantly evolving. Practitioners should be aware of proposed changes that could significantly impact the wash sale rule.
- Expansion to Digital Assets (OBBBA): The Optimized Business Benefit and Budget Act (OBBBA) and other recent legislative proposals have sought to close the "crypto loophole" by explicitly adding "digital assets" to the list of property subject to § 1091. If passed, this would eliminate the ability to harvest crypto losses and immediately repurchase the same coins.
- Changes to the 30-Day Window: Some policy advocates have proposed extending the wash sale window to 60 or 90 days to further discourage short-term tax-motivated trading. While not currently in the law, this is a topic of ongoing debate in Washington.
Client Conversation Script: Explaining the Wash Sale
Practitioner: "I noticed you sold your position in [Security] last month to capture a tax loss. That was a smart move, but I see you bought it back just two weeks later. Unfortunately, this triggered what the IRS calls a 'Wash Sale' under Section 1091."
Client: "Does that mean I lose the deduction?"
Practitioner: "Not permanently, but you can't claim it on this year's return. The $10,000 loss you 'realized' is now added to the cost of your new shares. You'll get the tax benefit later when you sell these new shares, provided you don't trigger the rule again. In the future, if we want to harvest a loss but keep your market exposure, we should wait at least 31 days before buying back, or buy a similar—but not identical—investment instead."
Summary of Key Court Cases and Revenue Rulings
To provide practitioner-grade depth, practitioners should be familiar with the following authorities:
- Hanlin v. Commissioner (1939): A foundational case defining "substantially identical" in the context of municipal bonds.
- Revenue Ruling 56-406: Clarifies that a stock warrant is generally "substantially identical" to the underlying stock.
- Revenue Ruling 58-211: Discusses the application of wash sale rules to United States Treasury bonds.
- Revenue Ruling 2008-5: The definitive ruling stating that a loss on the sale of stock is disallowed if the taxpayer's IRA or Roth IRA purchases substantially identical stock within the 61-day window.
References
[1] Internal Revenue Code Section 1091(a).
[2] Treasury Regulation Section 1.1233-1(d)(1).
[3] Internal Revenue Code Section 1091(d).
[4] Internal Revenue Code Section 1223(3).
[5] Revenue Ruling 2008-5, 2008-1 C.B. 271.
Implement this strategy for any client in under 3 minutes with Kam Code
Kam Code generates a complete implementation plan, client-ready summary, and all required documentation templates. Stop building these from scratch for every client.
Frequently Asked Questions
Ready to Reduce Your Tax Burden?
Our tax advisors specialize in helping professionals and business owners implement these strategies. Book a free strategy call to see how much you could save.
Book A Strategy Call With A Tax AdvisorClients Searching for Tax Help Are on Uncle Kam. Join the Marketplace and Grow Your Firm.
Uncle Kam is a marketplace connecting business owners with tax professionals who can implement this strategy and save them thousands. Join and let us handle client acquisition.