Does the Wash Sale Rule Apply to Covered Calls If Your Shares Get Assigned?
The Short Answer: Assignment Usually Avoids the Wash Sale Problem
If your covered call gets assigned and your shares are called away, the wash sale rule almost certainly does not apply to that transaction. The wash sale rule, defined under IRS Section 1091, only triggers when you sell a security at a loss and then buy the same or a substantially identical security within 30 days before or after that sale. When your shares are assigned at a profit — or even at a small loss — the mechanics of assignment change the picture significantly.
That said, covered calls and the wash sale rule can still collide in specific situations. Understanding exactly when and how matters a lot at tax time, especially if you are actively selling calls on the same stock you keep buying back.
What Is the Wash Sale Rule, Exactly?
The IRS wash sale rule (IRC Section 1091) says you cannot claim a capital loss on a stock sale if you buy the same or a substantially identical security within the 30-day window before or after the sale date. The disallowed loss does not disappear — it gets added to the cost basis of the replacement shares — but you cannot use it to offset gains in the current tax year.
FINRA and the SEC both flag wash sales as a common area where retail investors make costly mistakes on their tax returns. The rule applies to stocks, bonds, and options. Yes, options count. The IRS treats an option on a stock as substantially identical to the stock itself in many situations, which is where covered-call traders need to pay attention.
For Canadian investors, the Canada Revenue Agency (CRA) enforces a nearly identical rule called the superficial loss rule under the Income Tax Act. The 30-day window and the substantially identical test work the same way, so Canadian covered-call traders face the same core risks described in this article.
How Assignment Actually Works in a Covered Call
When you sell a covered call, you give the buyer the right to purchase your 100 shares at the strike price before expiration. If the stock closes above the strike at expiration — or if the buyer exercises early — your shares get called away. That is assignment.
At assignment, the IRS treats the transaction as a stock sale. The premium you collected when you sold the call gets added to your sale proceeds. So your total proceeds equal the strike price plus the premium received. Your gain or loss is calculated against your original cost basis in the shares.
Here is a concrete example. Suppose you bought 100 shares of AAPL at $170 per share in January. In March, AAPL is trading at $178. You sell one covered call with a $180 strike expiring in 30 days and collect $2.50 per share ($250 total premium). At expiration, AAPL closes at $183. Your shares get assigned at $180.
Your total proceeds: $180 strike + $2.50 premium = $182.50 per share, or $18,250. Your cost basis: $170 per share, or $17,000. Your capital gain: $1,250.
No loss, no wash sale issue. The wash sale rule simply has nothing to grab onto here.
When Can the Wash Sale Rule Actually Bite a Covered-Call Trader?
The danger zone is not assignment at a gain. The real risk shows up in three specific scenarios.
**Scenario 1: You close the call at a loss and immediately sell the stock at a loss.** If AAPL drops from $178 to $155 and you buy back your $180 call for $0.10 (a small gain on the call), then sell your shares at $155 for a $15-per-share loss, you have a realized stock loss. If you then buy AAPL back within 30 days, the wash sale rule disallows that loss.
**Scenario 2: You sell a call, the stock drops, you let the call expire worthless, sell the stock at a loss, and buy back the stock quickly.** Same result. The wash sale clock starts on the day you sell the stock at a loss. Buying back within 30 days triggers the rule.
**Scenario 3: The call itself is treated as substantially identical to the stock.** The IRS has stated in Revenue Ruling 2008-5 and related guidance that certain options can be treated as substantially identical to the underlying stock. If you sell AAPL shares at a loss and then sell a deep in-the-money covered call on AAPL within 30 days — one with a delta close to 1.00 — the IRS may argue that selling the call is equivalent to buying back the stock. This is a gray area, but it is a real one. The Options Industry Council (OIC) specifically warns traders about this in its tax-related educational materials.
**The key takeaway:** Assignment at a gain is clean. Losses combined with rapid re-entry into the same stock or deep ITM options are where you need to be careful.
A Worked Example Where the Wash Sale Rule Does Apply
Let's walk through a scenario where a covered-call trader accidentally triggers a wash sale.
You own 100 shares of MSFT, purchased at $400 per share. MSFT drops to $365. You decide to cut your losses and sell the shares on October 5, realizing a $3,500 loss. You want to keep participating in any MSFT recovery, so on October 12 — just seven days later — you buy 100 shares of MSFT back at $368.
Result: The $3,500 loss is disallowed under IRS Section 1091. It gets added to the cost basis of your new shares, making your new basis $368 + $35 = $403 per share. You cannot use that $3,500 to offset gains this tax year.
Now add a covered call into the mix. Suppose instead of buying the shares back directly, you sell a deep in-the-money MSFT call with a $350 strike on October 12 while MSFT trades at $368. The IRS could view that deep ITM call as substantially identical to owning the shares, potentially triggering the same wash sale disallowance. The closer the call's delta is to 1.00, the stronger that argument becomes.
The safer move: wait at least 31 days before re-entering MSFT in any form — shares or options — if you want to preserve the tax loss.
Practical Steps to Protect Your Tax Position
You do not need to stop selling covered calls to stay out of wash sale trouble. You just need a few guardrails.
**Track your tax lots carefully.** Most brokers — Fidelity, Schwab, TD Direct (Canada), Interactive Brokers — let you specify which tax lot you are selling. Use this feature. The IRS and CRA both require accurate lot-level reporting.
**Respect the 30-day window after a loss sale.** If you sell shares at a loss, mark your calendar. Do not buy the same stock or sell a deep ITM call on it for 31 days if you want to claim the loss.
**Prefer out-of-the-money calls on stocks you plan to hold.** OTM covered calls with deltas in the 0.20–0.40 range are less likely to be treated as substantially identical to the stock. They also leave more room for the stock to run before assignment.
**Talk to a tax professional before year-end.** The IRS wash sale rules for options are not fully settled law. Revenue Ruling 2008-5 covers IRAs, and the broader application to taxable accounts involves judgment calls. A CPA or tax advisor who understands options can review your specific situation.
**Canadian traders: apply the same logic to the CRA superficial loss rule.** The 30-day window, the substantially identical test, and the cost-basis adjustment all work the same way under Canadian tax law. The CRA's IT-456R bulletin provides additional guidance.
The Bottom Line on Covered Calls and Wash Sales
Assignment at a gain — the most common outcome for disciplined covered-call writers — does not trigger the wash sale rule. You collected premium, your shares were called away at the strike, and you have a clean capital gain. No problem.
The wash sale rule becomes a real concern when you are selling shares at a loss and re-entering the same position quickly, whether through stock repurchase or through deep in-the-money options. The IRS has the authority under Section 1091 to disallow those losses, and the substantially identical standard for options is broad enough to catch traders who think they are being clever.
Keep your records clean, respect the 30-day window after any loss sale, and lean toward OTM strikes when you plan to keep writing calls on a stock you hold long-term. Those three habits will keep the wash sale rule from becoming a year-end surprise.
Does getting assigned on a covered call trigger a wash sale?
Not on its own. Assignment is treated as a stock sale by the IRS, and if you have a gain on that sale, the wash sale rule has nothing to trigger. The rule only applies when you sell at a loss and repurchase the same or substantially identical security within 30 days before or after the sale.
What happens to the premium I collected if my covered call gets assigned?
The IRS adds the premium you collected to your sale proceeds when calculating your gain or loss. So if your strike was $180 and you collected $2.50 in premium, your effective sale price is $182.50 per share. This is reported on your Form 1099-B.
Can selling a covered call count as buying back the stock for wash sale purposes?
Potentially yes, if the call is deep in the money with a delta close to 1.00. The IRS can treat a deep ITM call as substantially identical to the underlying stock. The Options Industry Council warns traders about this risk, and the safest approach is to wait 31 days before selling any call on a stock you just sold at a loss.
Does the wash sale rule apply in a Canadian brokerage account?
Canada has an equivalent rule called the superficial loss rule, enforced by the CRA under the Income Tax Act. The 30-day window and the substantially identical test work the same way as the IRS rule. Canadian covered-call traders should apply the same precautions described for US investors.
How do I report a covered call assignment on my taxes?
Your broker will issue a Form 1099-B (US) or T5008 (Canada) showing the proceeds from the stock sale, which will include the premium. You report the gain or loss on Schedule D (US) using your original cost basis in the shares. Keep records of every option trade so you can reconcile the premium with the correct tax lot.
Does the wash sale rule apply inside an IRA or TFSA?
For US investors, IRS Revenue Ruling 2008-5 specifically states that wash sales can be triggered by transactions inside an IRA, even if the loss occurred in a taxable account. Canadian TFSA accounts have similar superficial loss considerations under CRA rules. Consult a tax professional before using retirement accounts to work around wash sale restrictions.