Harvesting losses on overwritten stock
Tax-loss harvesting means deliberately selling a position at a loss to realize a capital loss that can offset capital gains and, within limits, a slice of ordinary income. When the position is stock you have been writing covered calls against, harvesting is entirely possible — you sell the depreciated shares and close the call — but it sits on top of the wash-sale rule, which governs when that loss is actually deductible.
The key idea is that the loss comes from the stock, and the wash-sale rule asks whether you reacquired a substantially identical position around the sale. The open or closed covered call interacts with this in two ways: it must be unwound to fully exit the position, and rolling a losing call can itself create a wash sale. Understanding both keeps the harvested loss intact.
The wash-sale rule in plain terms
As Schwab and Fidelity both summarize, the rule exists to stop investors from booking a tax loss while effectively staying in the same position. The practical test for a covered-call writer is 'substantially identical' — the same stock clearly qualifies, and a near-identical option (same underlying, similar strike and expiration) can too. Different companies and broad ETFs generally do not.
- Source: IRC §1091 — disallows a loss when a substantially identical security is reacquired around the sale
- Window: 30 days before, the day of, and 30 days after the loss sale (61 days total)
- Trigger: buying the same stock — or a substantially identical option — within that window
- Consequence: the loss is disallowed now and added to the replacement's cost basis
- Deferral, not denial: you recover the benefit when you sell the replacement in a clean transaction
The rolling-at-a-loss trap
The row most covered-call writers miss is the third: rolling a losing call. When you buy back a short call at a loss and immediately sell a substantially identical one (same underlying, similar strike and date) within 30 days, that loss can be disallowed as a wash sale and rolled into the new call's basis. It is one of the most common ways an active roller accidentally defers a loss they meant to deduct.
| Action | Wash sale? | Why |
|---|---|---|
| Sell depreciated stock, do nothing for 31 days | No | No substantially identical reacquisition |
| Sell stock at a loss, rebuy same stock in 10 days | Yes | Substantially identical stock reacquired |
| Buy back a losing call, sell a near-identical new call ≤30 days | Can be yes | Substantially identical option reacquired at a loss |
| Write a covered call (no stock loss realized) | No | Writing a call is not acquiring a loss position |
| Harvest loss, replace with different-company stock or sector ETF | No | Replacement not substantially identical |
Two compliant ways to harvest and stay invested
If you want the loss and want to keep market exposure, you have two clean paths. The first is to wait: sell the position, stay out for 31 days, then re-establish it. This guarantees the loss is allowed but leaves you exposed to whatever the market does during the gap — a real risk if the stock rebounds. The second is to replace the position immediately with a security that is not substantially identical: a different company in the same industry, or a broad sector or index ETF instead of the single name. This keeps you invested and keeps the loss deductible.
For covered-call writers specifically, the cleanest approach is often to close the entire position (shares and call), harvest the loss, and re-establish a new covered call on a not-substantially-identical underlying — preserving the income strategy and the deduction at once. Just avoid re-writing a near-identical call on the same name within the window.
The IRA escape hatch
Everything above applies only to taxable accounts. Inside an IRA there are no deductible capital losses and no wash-sale tracking, because the account itself does not produce taxable gains or losses — so there is nothing to harvest and no wash-sale rule to trip. This cuts both ways: you cannot harvest IRA losses to offset taxable gains, but you also gain complete freedom to roll losing covered calls without any wash-sale bookkeeping.
Plan accordingly. Hold positions where you expect to harvest losses in taxable accounts, and place high-turnover covered-call writing in an IRA where the wash-sale headache disappears. Use the capital-gains tax calculator below to estimate the value of a harvested loss against your gains, and the covered-call calculator to plan a not-substantially-identical replacement that keeps both your income strategy and your deduction intact. Wash-sale tracking can be intricate, so confirm specifics with a tax professional.
Related Internal Guides
- Options Tax-Loss Harvesting and the Wash-Sale Rule 2026
- Rolling Covered Calls When and How 2026
- How Are Covered Calls Taxed IRS 2026
- Covered Calls in a Roth IRA Rules 2026
Calculators Mentioned
- Covered Call Calculator
- Cash Secured Put Calculator
- Iron Condor Calculator
- Margin Calculator
- Capital Gains Tax Calculator
Official Sources
- IRC §1091 — Loss From Wash Sales of Stock or Securities: Statutory wash-sale rule that can disallow a loss when a substantially identical position is reacquired within 30 days before or after the sale.
- IRS Publication 550 — Investment Income and Expenses: IRS guidance on dividends, capital gains/losses, holding periods, wash sales, and the qualified-covered-call rules that govern option-writing taxation.
- Charles Schwab — Wash-Sale Rule: How It Works: Schwab primer on the wash-sale rule, the 30-day window, and how disallowed losses are added to the replacement position's basis.
- Fidelity — Wash-Sale Rules: Avoid This Tax Pitfall: Fidelity explainer on the wash-sale rule prohibiting a loss when a substantially identical investment is bought 30 days before or after the sale.
- IRS Form 8949 / Schedule D Instructions: Reporting form for sales and dispositions of capital assets, including assigned covered-call stock and closed option positions, with wash-sale adjustment codes.
- OIC — Rolling an Option Position: Options Industry Council guidance on rolling short calls up/out, the net-credit requirement, and when rolling adds risk.