To avoid the wash sale rule when trading options, stay out of substantially identical positions for at least 31 days after taking a loss, shift to options on a different underlying asset, trade Section 1256 broad-based index options that are exempt from the rule, or elect mark-to-market tax treatment under Section 475(f) if you qualify as a trader. Internal Revenue Code Section 1091 disallows a loss deduction when you sell a security at a loss and acquire a substantially identical one within 30 days before or after the sale, and the statute explicitly covers contracts and options, not just stock.1Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities
What Counts as a Wash Sale on Options
Section 1091’s definition of “stock or securities” pulls in contracts or options to acquire or sell stock or securities, and the rule applies whether the contract settles in shares or in cash.1Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities Three trade patterns commonly trigger it:
- You sell shares at a loss and buy a call on the same stock within 30 days. The statute specifically reaches entering into “a contract or option so to acquire” substantially identical stock.
- You close a losing option and buy the same option again (same underlying, same strike, same expiration, same type) within 30 days.
- You sell an option at a loss and buy the underlying stock within 30 days. Because the statute treats options as securities, the crossover works in either direction.
The IRS has never published a bright-line test for when two options are substantially identical. Options sharing the same underlying, type, strike, and expiration clearly qualify. Options with meaningfully different strikes or expirations generally do not, because those differences shift the position’s risk profile, time value, and economic exposure. The higher-risk area is deep-in-the-money calls: a call struck far below the current stock price moves almost dollar-for-dollar with the shares, so the IRS is more likely to treat it as a substitute for owning the stock than it would an out-of-the-money call with a distant expiration.
The 61-Day Window You Have to Clear
The wash sale window is 61 calendar days: 30 days before the loss sale, the day of the sale, and 30 days after.1Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The look-back half catches traders who assume they only need to wait after selling. If you bought a substantially identical option in the 30 days before the loss sale, that earlier purchase already disqualifies the deduction. To claim the loss cleanly, you need no substantially identical position acquired anywhere in that 61-day window.
Wait It Out: The 31-Day Gap
The simplest avoidance method is the plainest one. After selling at a loss, stay out of substantially identical positions for at least 31 days. That clears the forward half of the window, and if you also had no matching purchase in the 30 days before, the loss is fully deductible.
The waiting strategy is easy to describe and hard to execute if you want to keep market exposure. During those 31 days you carry directional risk on whatever you replace the position with, or no exposure at all. Traders who need to stay in a name typically pair the wait with one of the substitution strategies below.
Change the Underlying Asset
The cleanest way to keep market exposure while harvesting an options loss is to trade a different underlying. Selling a losing call on one semiconductor stock and buying a call on a broad semiconductor ETF, or on a different company in the sector, keeps you positioned without triggering the rule, because the two underlyings are separate securities.
ETF substitutions require some judgment about overlap. The IRS has not issued formal guidance on ETF-to-ETF wash sales. The general principle drawn from discontinued IRS Publication 564 is that shares of one fund are not ordinarily considered substantially identical to shares of another. Two funds tracking the same index with nearly identical holdings would be hard to defend as different. Funds tracking different indices, or using different weighting or selection methods, are on firmer ground. A guideline some advisors use: if two funds share more than roughly 70% of their holdings and track the same index, treat them as potentially identical.
Trade Section 1256 Index Options
Broad-based index options, such as those on the S&P 500 (SPX) or Nasdaq 100 (NDX), qualify as Section 1256 contracts when they are nonequity options based on a broad-based index rather than individual stocks.2Office of the Law Revision Counsel. 26 USC 1256 – Section 1256 Contracts Marked to Market The IRS instructions for Form 6781 state directly that the wash sale rules do not apply to Section 1256 contracts under mark-to-market treatment.3Internal Revenue Service. Gains and Losses From Section 1256 Contracts and Straddles
These contracts are marked to market at year-end, meaning every open position is treated as if sold at fair market value on the last business day of December. Gains and losses receive a blended rate: 60% long-term and 40% short-term, regardless of holding period.2Office of the Law Revision Counsel. 26 USC 1256 – Section 1256 Contracts Marked to Market For active traders, the combination of wash sale exemption and the 60/40 split makes index options substantially easier to manage at tax time.
One important boundary: equity options on individual stocks or narrow-based indices are excluded from Section 1256 treatment. Options on Apple or Tesla are equity options, and the standard wash sale rules apply in full.
Elect Mark-to-Market Under Section 475(f)
The most comprehensive way to eliminate wash sale concerns is the Section 475(f) mark-to-market election. Under this election, all securities held in your trading business are treated as sold at fair market value on the last business day of the year, and the resulting gains and losses are ordinary rather than capital.4Office of the Law Revision Counsel. 26 USC 475 – Mark to Market Accounting Method for Dealers in Securities The IRS confirms that wash sale rules do not apply to traders using the mark-to-market method.5Internal Revenue Service. Topic No. 429 – Traders in Securities
Not everyone qualifies. You must be a trader in securities, meaning the IRS treats your activity as a business rather than an investment. There are no numerical thresholds; the IRS looks at several factors:5Internal Revenue Service. Topic No. 429 – Traders in Securities
- Short holding periods, typically days or weeks rather than months.
- High trade frequency and meaningful dollar volume across the year.
- Trading pursued to produce income for a livelihood, not to build a retirement portfolio.
- Substantial daily time devoted to researching, executing, and monitoring trades.
The election must be filed by the due date, without extensions, of the return for the year before the election takes effect. For a 2026 election, that means filing the statement with your 2025 return by April 15, 2026. Once made, the election applies to that year and all later years unless you obtain IRS consent to revoke it.4Office of the Law Revision Counsel. 26 USC 475 – Mark to Market Accounting Method for Dealers in Securities
The trade-off is real. All gains become ordinary income taxed at your marginal rate, and you lose the ability to carry forward capital losses. For traders whose wash sales create tracking nightmares, the simplification and loss-deduction benefits often outweigh the rate disadvantage. For traders with mostly winning years, the higher rate on gains can cost more than the wash sale headaches were worth. Run the numbers on your actual results before committing.
Watch Rolling Positions
Rolling an option, closing one leg and opening a new one at a different strike or expiration, is one of the most common ways traders accidentally trigger a wash sale. If the closed leg is a loss, the question is whether the new leg is substantially identical.
Rolling to a meaningfully different strike or expiration generally avoids the identical designation. Rolling from a $50 January call to a $50 February call on the same stock, changing only the expiration by a month, sits in a grayer area than rolling from a $50 call to a $70 call. The safer the rolls are the ones where the new position’s risk and reward look genuinely different from the old one. Closing a losing option and immediately reopening the exact same contract, or rolling one deep-in-the-money call into another at a nearby strike, almost certainly triggers the rule because the economic exposure never really changed.
The IRA Trap
This is the most expensive wash sale mistake options traders make. If you sell a security at a loss in a taxable brokerage account and cause an IRA or Roth IRA to buy a substantially identical security within 30 days, the loss is disallowed under Section 1091, and the disallowed amount cannot be added to the IRA’s cost basis.6Internal Revenue Service. Revenue Ruling 2008-5 – Losses From Wash Sales of Stock or Securities
In a normal wash sale between two taxable accounts, the disallowed loss shifts to the replacement’s basis, so you recover it when you eventually sell. IRAs don’t have a basis that affects your taxable gains, so the loss simply vanishes. Revenue Ruling 2008-5 confirmed this outcome directly: a taxpayer sold stock at a loss and then caused an IRA to buy substantially identical stock the next day, and the loss was permanently disallowed.6Internal Revenue Service. Revenue Ruling 2008-5 – Losses From Wash Sales of Stock or Securities
If you trade the same names in both a taxable account and a retirement account, track the timing carefully. A routine IRA contribution invested into a position you recently sold at a loss can silently destroy the deduction with no way to recover it later.
Year-End Timing
The calendar year interacts awkwardly with the 61-day window. To deduct a loss in the current tax year, the trade must settle by December 31. But closing a losing position in late December is only half the work. If you repurchase a substantially identical option in early January, that purchase reaches back into the 30-day window and disqualifies the December loss, pushing the deduction into the next year.
A loss realized on December 15 means staying out of substantially identical positions until at least January 15 to keep the deduction in the current year. The new tax year does not reset the 30-day forward window. Plan your final harvesting trades early enough in December that the 31-day waiting period expires before you want to re-enter.
Settlement timing matters too. Stock transactions typically settle one business day after the trade date (T+1). If December 31 falls on a weekend, the last trade date that settles in the current year may be the preceding Thursday or Friday. Finish year-end harvesting trades well before the final days of December to avoid settlement surprises.
Cross-Account and Spousal Purchases
The rule applies regardless of which account holds the replacement purchase. Buying the replacement in a different brokerage, a joint account, or an IRA still triggers the wash sale if the positions are substantially identical.
Whether a spouse’s purchase triggers the rule is unsettled. Courts have historically treated Section 1091 as applying to a single taxpayer, so a purchase by a spouse in a separately controlled account may not technically trigger the rule. That defense depends on the spouse genuinely controlling their own account and executing independently. If the selling spouse directed the purchase, or if the couple files jointly and the IRS views the transactions as coordinated, the deduction is at risk. Practical advice: if you and your spouse trade the same securities, coordinate your tax-loss harvesting rather than betting on the ambiguity.
What Happens If a Wash Sale Occurs Anyway
Between two taxable accounts, a wash sale defers the loss rather than erasing it. The disallowed loss is added to the cost basis of the replacement security.1Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities Sell a call at a $2,000 loss, then buy a substantially identical call within 30 days for $5,000, and the new basis is $7,000. When you eventually close the replacement, the higher basis reduces your gain or increases your deductible loss.
Deferral has costs. It moves the tax benefit into a future year when your bracket may differ, and it stacks basis adjustments across every subsequent trade. Traders churning positions on one underlying can end up with chained adjustments that are genuinely hard to unwind at tax time.
Brokers report wash sale adjustments on Form 1099-B, but only when the sale and the replacement purchase occur in the same account and involve covered securities with the same CUSIP.7Internal Revenue Service. Instructions for Form 1099-B Two different option contracts on the same underlying usually have different CUSIPs, cross-account trades are never matched, and IRA purchases that trigger a wash sale in a taxable account will not appear on any 1099-B. When your broker misses one, you make the adjustment on Form 8949, reporting the disallowed loss as a positive number in column (g) with adjustment code “W.”8Internal Revenue Service. Instructions for Form 8949 Failing to report known wash sales can result in an accuracy-related penalty of 20% of the underpayment.9Internal Revenue Service. Accuracy-Related Penalty