Quick Answer
Tax-loss harvesting (TLH) is the practice of realizing capital losses to offset capital gains and (up to 3,000 dollars per year) ordinary income, with the goal of reducing the current year's tax liability. TLH is governed by IRC Section 1091 (wash-sale rules), IRC Section 1234 (option transaction taxation), and IRS Publication 550 (investment income reporting). For options traders, TLH is more complex than for buy-and-hold investors because options interact with wash-sale rules in non-obvious ways. Closing an option at a loss and re-establishing 'substantially identical' option exposure within 30 days before or after the loss disallows the loss for the current year and adds it to the basis of the replacement position.
The 'substantially identical' standard for options is the central question. Treasury regulations and IRS guidance treat options on the same underlying with the same strike and expiration as substantially identical to each other. Options on the same underlying with materially different strikes or expirations are generally not substantially identical. Options on different underlyings (even tracking the same index, like SPY vs SPX) are generally not substantially identical to each other. The Section 1091 analysis is fact-specific, and the substantially identical standard has been litigated for decades without producing crisp bright-line rules.
NOT investment advice. Mustafa Bilgic is not a registered investment advisor. Educational only. Tax-loss harvesting is legitimate tax planning when done within IRS rules. Aggressive harvesting that crosses into wash-sale territory can disallow losses, complicate basis tracking, and trigger penalties. Always confirm wash-sale analysis with a qualified tax professional, particularly for active options traders with hundreds of trades per year. The IRS provides Pub. 550 and Pub. 564 as primary sources, but neither covers every options-specific scenario.
| Action | Wash-sale risk | Outcome |
|---|---|---|
| Sell option at loss, buy same option within 30 days | High | Loss disallowed; added to replacement basis |
| Sell stock at loss, buy call on same stock within 30 days | High | Loss disallowed (call deemed substantially identical) |
| Sell call at loss, buy different-strike call within 30 days | Low to medium | Generally allowed; fact-specific |
| Sell SPY at loss, buy SPX option within 30 days | Low | Different products; generally not substantially identical |
| Sell call at loss, sell put on same stock within 30 days | Medium | Different option type; analysis required |
IRC Section 1091 Wash-Sale Rules
IRC Section 1091 disallows a loss on the sale of stock or securities if, within a 61-day period (30 days before to 30 days after the sale), the taxpayer acquires substantially identical stock or securities. The disallowed loss is added to the basis of the replacement position, deferring the loss until the replacement is later sold. Section 1091 applies to direct stock-for-stock replacements, stock-for-option replacements, and option-for-option replacements where the options are substantially identical.
The 30-day window applies in both directions. A loss realized on March 15 is subject to wash-sale analysis for transactions between February 13 (30 days before) and April 14 (30 days after). The 61-day window means active options traders who close losing trades and re-enter similar positions can inadvertently trigger wash sales. The wash-sale rule applies across accounts: a loss in a taxable account followed by a purchase in an IRA, spouse's account, or other related account triggers wash-sale treatment. IRS Publication 550 explicitly addresses the cross-account application.
The penalty for a wash-sale violation is loss deferral, not disallowance. The disallowed loss is added to the basis of the replacement position, which means the loss is recovered when the replacement is later sold. However, this can complicate tax planning: a loss that was supposed to offset 2026 gains may instead reduce 2027 or later gains. For taxpayers with year-end 2026 gain offset goals, an inadvertent wash sale can shift the loss recognition to a year when it has less value (e.g., a year with lower marginal rates).
Substantially Identical Securities for Options
The substantially identical standard for options has three main test points: same underlying, same option type (call vs put), and same general economic terms (strike, expiration). Options on the same stock with the same strike and same expiration are clearly substantially identical. Options on the same stock with different strikes or expirations are generally not substantially identical, although IRS guidance suggests that very small differences (e.g., 1-strike apart) may still produce substantially identical economic exposure.
Cross-product comparisons involve more nuance. SPY options and SPX options both track the S&P 500 index, but they are options on different underlying products (SPY ETF vs SPX index). The IRS has not formally ruled that SPY and SPX options are substantially identical, and the prevailing practitioner view is that they are not, due to settlement differences (physical vs cash), tax framework differences (Section 1234 vs Section 1256), and product structure. Similarly, QQQ vs NDX, IWM vs RUT, and DIA vs DJX are generally treated as non-substantially identical pairs by practitioners, though not by formal IRS guidance.
Sector ETF substitution is a common TLH technique that is generally accepted. A loss on XLE (energy ETF) followed by a purchase of VDE (Vanguard energy ETF) is generally not a wash sale because the two ETFs track different indexes and have different holdings, even though both provide energy-sector exposure. A loss on AAPL followed by a purchase of an iPhone-supplier basket ETF is generally not a wash sale. The further apart the two products are in structure, holdings, and economic behavior, the safer the TLH trade. Conservative traders use 31-day waiting periods to avoid wash-sale analysis entirely; aggressive traders use product substitution within the 30-day window.
| Pair | Substantially identical? | Practitioner view |
|---|---|---|
| AAPL stock vs AAPL call | Often yes | Call gives substantially equivalent upside exposure |
| AAPL 200 call vs AAPL 205 call | Generally no | Different strike = different economic exposure |
| SPY vs SPX option | Generally no | Different products, settlement, tax framework |
| XLE vs VDE | Generally no | Different funds, different holdings |
| IVV vs VOO (both S&P 500) | Possibly yes | Both track same index; conservative view |
Wash-Sale Examples for Options Traders
Example 1: Trader closes 10 AAPL 200 calls (Aug 15 expiration) at a 2,000-dollar loss on July 1. On July 10, the trader opens 10 AAPL 200 calls (Aug 22 expiration) for 1,800 dollars. Same underlying, same strike, slightly different expiration. The IRS has not provided crisp guidance on whether 7-day expiration differences constitute substantially identical, but conservative practitioners treat this as a wash sale because the economic exposure is nearly identical. Aggressive practitioners treat it as not substantially identical due to the different expiration. The 2,000-dollar loss may be disallowed and added to the new position's basis (1,800 + 2,000 = 3,800 effective cost basis).
Example 2: Trader closes 5 SPY 500 puts (May 31 expiration) at a 1,000-dollar loss on April 15. On April 20, the trader opens 5 SPY 490 puts (May 31 expiration) for 600 dollars. Same underlying, same expiration, different strike (10 dollars apart). This is generally treated as not substantially identical because the strike difference materially changes economic exposure. The 1,000-dollar loss is allowed for current-year tax purposes. The new position has a clean basis of 600 dollars.
Example 3: Trader closes 100 shares of MSFT at a 5,000-dollar loss on June 1. On June 15, the trader opens 1 MSFT 400 call (LEAPS, Jan 2027 expiration) for 4,000 dollars. The IRS treats long calls as potentially substantially identical to underlying stock, so this is generally a wash sale. The 5,000-dollar loss is disallowed and added to the call's basis (4,000 + 5,000 = 9,000 effective basis). When the call is later closed or exercised, the deferred loss is recovered through the higher basis.
Tax-Efficient Options Trading Strategies
Strategy 1: Use 31-day waiting periods. The simplest TLH approach is to close losing positions, wait 31 days, and re-enter. This avoids all wash-sale analysis. The cost is 31 days of opportunity cost: the trader is out of the market during that period. For systematic strategies with high turnover, this approach significantly reduces realized P&L. For long-term position adjustments, the 31-day cost is usually acceptable.
Strategy 2: Use product substitution within the 30-day window. Close losing AAPL position, immediately open MSFT or NVDA position with similar economic exposure. The two underlyings are not substantially identical, so the wash-sale rule does not apply. The cost is exposure to a different stock during the 30-day window. For sector exposure, ETF substitution (XLE → VDE) provides similar logic. Always confirm the substitute is genuinely not substantially identical with a tax professional.
Strategy 3: Use Section 1256 contracts where possible. Section 1256 contracts (SPX, NDX, RUT) are subject to mandatory year-end mark-to-market under IRC Section 1256(c). This effectively bypasses the wash-sale rule because losses are recognized automatically at year-end fair market value. Trading SPX instead of SPY for similar exposure shifts the tax framework from Section 1234 (with wash-sale risk) to Section 1256 (with mandatory recognition). The 60/40 capital gains treatment is an additional benefit.
Strategy 4: Maintain a tax lot tracking system. For active options traders, manual wash-sale analysis on hundreds of trades per year is impractical. Use broker-provided 1099-B forms and verify with software like TradeLog, GainsKeeper, or TaxAct's options trading module. These tools apply Section 1091 logic across all trades and produce accurate Schedule D and Form 8949 entries. Manual reconciliation is error-prone and frequently produces incorrect tax filings for active traders.
Year-End TLH Workflow
Step 1: As of November 1, run a current-year P&L report from the broker. Identify positions with realized losses and positions with realized gains. Calculate net capital gain or loss for the year. If net loss exceeds 3,000 dollars, additional harvesting is generally not needed (the 3,000 ordinary-income offset is already maximized).
Step 2: Identify open positions with unrealized losses. For each, evaluate whether the position thesis is still valid. If yes, hold; the unrealized loss is not harvested this year. If the thesis has been invalidated, close the position to realize the loss, then either wait 31 days, substitute with a non-substantially-identical product, or accept being out of the underlying for the remainder of the year. The replacement decision depends on the trader's view of the underlying's near-term prospects.
Step 3: After year-end, reconcile broker 1099-B forms with personal trade journal. Check every wash-sale flag and verify the disallowed-loss treatment matches IRS rules. Active options traders frequently discover broker 1099-B errors due to the complexity of Section 1091 application to options. Discrepancies should be resolved with the broker before tax filing. For very active traders (200+ trades per year), professional tax preparation is generally required to ensure accurate Form 8949 entries.
| Date | Action | Goal |
|---|---|---|
| Nov 1 | Run YTD P&L report | Identify net realized gain/loss baseline |
| Nov 15 | Identify open positions with unrealized losses | Plan harvesting candidates |
| Dec 1 | Close losing positions per plan | Realize losses; start 31-day clock if avoiding wash-sale |
| Dec 31 | Year-end mark-to-market for §1256 | Automatic loss recognition for SPX, NDX, RUT |
| Jan 31 | Reconcile broker 1099-B | Verify wash-sale flags and basis adjustments |
| Apr 15 | File Form 8949 + Schedule D | Report capital gains and losses |
Worked Example: AAPL Position TLH
Assume a trader has 100 AAPL shares purchased at 200 in January 2026. By December 1, AAPL is at 175. Unrealized loss: 2,500 dollars. The trader wants to harvest the loss but maintain AAPL exposure. Three approaches: (1) Sell 100 AAPL, wait 31 days, repurchase. Cost: 31 days out of AAPL. If AAPL rallies during the wait, the trader misses the move. (2) Sell 100 AAPL, immediately buy a deep-in-the-money AAPL LEAPS call as a synthetic stock substitute. This is generally treated as substantially identical to AAPL stock, triggering wash-sale and disallowing the loss. Not recommended. (3) Sell 100 AAPL, immediately buy MSFT or NVDA as a tech-sector substitute. The substitute is not substantially identical. The loss is allowed.
Approach 3 is the most tax-efficient if the trader is comfortable with substitute exposure. After 31 days, the trader can sell MSFT/NVDA and repurchase AAPL if desired. Total tax benefit: 2,500 loss times 24-percent marginal rate equals 600 dollars of federal tax savings (assuming 600 of long-term gain offset; actual treatment depends on holding period and capital gain mix). The 31-day exposure-substitution period has its own market risk: MSFT or NVDA may underperform AAPL during the window.
Tax-loss harvesting is most valuable in years with large realized gains. A trader with 50,000 dollars of realized gains who harvests 50,000 of losses produces 0 net capital gains, deferring the entire tax liability. A trader with no realized gains who harvests 3,000 dollars of losses produces 3,000 of ordinary-income offset (about 720 of tax savings at 24-percent marginal). The marginal benefit of TLH scales with gain offset capacity, not with loss size. Traders should not harvest losses below the 3,000-dollar ordinary-income cap unless they have current-year gains to offset.
Common Mistakes
Mistake 1: Triggering wash-sales with rapid re-entry. A trader who closes a losing AAPL call and immediately re-enters a slightly different AAPL call may trigger wash-sale rules without realizing it. Many brokers do not automatically flag option-to-option wash sales on 1099-B forms, leaving the burden of analysis on the taxpayer. Always wait 31 days or use materially different products.
Mistake 2: Ignoring cross-account wash-sales. A loss in a taxable account followed by a purchase in an IRA triggers wash-sale treatment. Worse, the loss is permanently disallowed for IRA-related wash-sales (the basis adjustment occurs in the IRA, where it has no tax effect). High-net-worth traders with multiple accounts should coordinate wash-sale analysis across all accounts including spouse and child accounts under attribution rules.
Mistake 3: Harvesting losses below the 3,000-ordinary-income cap with no offsetting gains. A trader with no realized gains who harvests 1,000 dollars of losses defers the tax benefit to a future year (carry-forward). The 1,000-dollar loss is worth at most 240 dollars at 24-percent marginal rate, but reduces 2027 or later gain offset capacity. Mathematically, harvesting only matters when there are current-year gains to offset or when the 3,000-ordinary-income cap can be fully utilized.
Mistake 4: Missing the 31-day window calculation. The 30-day window is calendar days, not trading days. A loss realized on Friday April 15 has wash-sale exposure through Sunday May 15 inclusive. Some traders mistakenly count only trading days (about 22) and re-enter too early. Always use calendar days for the 30-day calculation.
Mistake 5: Failing to reconcile 1099-B with personal records. Active traders frequently find broker 1099-B errors. Filing a tax return based on an incorrect 1099-B can produce IRS notices, audit risk, or overpayment of tax. Always reconcile the 1099-B against the trade journal before filing.
Source Discipline
This guide cites IRC Sections 1091 (wash sales), 1234 (option transactions), 1256 (broad-based index options), IRS Publication 550 (investment income), IRS Publication 564 (mutual fund distributions, historical), Cboe SPX product specifications, Options Industry Council strategy materials, and FINRA Rule 2360 for options approval. The example numbers are arithmetic constructions from stated assumptions to illustrate TLH mechanics. They are not portfolio results, real fills, or recommendations.
Operated by Mustafa Bilgic, an independent individual operator. NOT a licensed broker, CPA, tax advisor, or registered investment advisor. Calculators and articles are educational, not investment advice. Public ticker examples using AAPL, MSFT, NVDA, KO, JNJ, SPY, SPX, QQQ, NDX, IWM, XLE, VDE, IVV, VOO are educational mechanics only. Wash-sale rules and substantially-identical analysis are fact-specific and have been litigated for decades. Always confirm tax treatment with a qualified CPA or tax attorney before relying on TLH strategies.
Related Internal Guides
- Options Tax Section 1256 Guide: SPX, NDX, 60/40 Treatment, Mark-to-Market, and Form 6781
- Covered Call Tax Implications Guide
- Covered Call vs Dividend Strategy: Taxes, Holding Periods, and Worked KO/JNJ Examples
- Options on ETFs vs Stocks Guide: Liquidity, Slippage, Tax Differences (Section 1256 vs Equity)
- Credit Spread Strategy Guide 2026: Bull Put Spreads, Bear Call Spreads, IV Rank Entry, IRC §1234 Tax
Calculators Mentioned
- Tax Loss Harvesting Calculator
- Covered Call Wash Sale Calculator
- Covered Call Tax Calculator
- Capital Gains Tax Calculator
- Tax Bracket Calculator
- Covered Call Tax Optimization Calculator
Official Sources
- IRS Publication 550: Current IRS publication for investment income, option transactions, capital gains, wash sales, and holding-period issues.
- Cboe Strategy Benchmark Indices: Cboe BuyWrite and PutWrite benchmark index families used as official rules-based options-overlay context.
- OIC Covered Call (Buy/Write): Official OIC covered-call mechanics, maximum gain, maximum loss, breakeven, volatility, and assignment discussion.
- FINRA Rule 2360 Options: FINRA options rule covering account approval, disclosure, supervision, and suitability duties.
- SEC Investor.gov introduction to options: SEC investor education on options mechanics, leverage, and risk.
- Options Industry Council covered call: OIC strategy page for covered-call mechanics, upside cap, downside exposure, and assignment risk.
- Cboe Options Institute glossary: Cboe glossary for listed-options terms used throughout these guides.
- IRS Publication 550: Current IRS publication for investment income, options, wash sales, straddles, and capital-gain topics.
- IRS Publication 564 prior-year PDF: Historical IRS mutual-fund distribution publication; useful for distribution and basis context but not a substitute for current Pub. 550.
- IRS Form 6781: IRS form used for gains and losses from Section 1256 contracts and straddles.
- Cboe SPX options specifications: Cboe product specifications for S&P 500 Index options, including index-option contract context.





