Does the Wash Sale Rule Apply to Covered Calls If Your Shares Get Assigned?
The Short Answer: Assignment Itself Does Not Trigger a Wash Sale
When your covered call gets assigned and your shares are called away, the wash sale rule does not automatically apply to that transaction. The wash sale rule, defined under IRS Section 1091, only kicks in if you sell a security at a loss and then buy back a substantially identical security within 30 days before or after that sale. If your shares are called away at a gain — or even at a loss — and you do not repurchase the same stock within that 61-day window, you have no wash sale problem.
However, the situation gets more complicated in two specific scenarios: when you sell shares at a loss through assignment and then buy back the same stock quickly, or when you write a new covered call on a replacement position too soon after a loss. Those are the cases that trip up retail traders every year, and they are worth understanding in detail before tax season arrives.
What the Wash Sale Rule Actually Says
The IRS wash sale rule, outlined in IRS Publication 550, disallows a capital loss deduction when you sell a security at a loss and buy a 'substantially identical' security within 30 days before or after the sale. That window is 61 days total — 30 days before the loss sale, the day of the sale, and 30 days after. The disallowed loss does not disappear forever; it gets added to the cost basis of the replacement shares, deferring the tax benefit until you eventually sell those shares without triggering another wash sale.
For covered call traders, the IRS and FINRA both recognize that options on the same underlying stock can count as substantially identical securities in certain contexts. This is the part most retail traders miss. Writing a new call or buying back into the stock after an assigned loss can restart the wash sale clock in ways that feel counterintuitive.
Worked Example: AAPL Assignment at a Loss
Let us walk through a concrete scenario. Suppose you bought 100 shares of AAPL at $195 per share in early January. You then sold a covered call with a $190 strike expiring in February, collecting $3.50 per share ($350 total premium). The stock dropped to $182 and your call expired worthless — good so far. You then sold your shares at $182 to cut your losses, realizing a loss of $13 per share ($1,300 total), partially offset by the $350 premium you kept, for a net economic loss of $950.
Now here is where the wash sale rule enters. If you turn around and buy 100 shares of AAPL again within 30 days — say, on day 15 because you still like the stock — the IRS disallows your $1,300 capital loss. That loss gets added to the cost basis of your new shares, pushing your new cost basis from $182 up to $195. You have not lost the tax benefit permanently, but you cannot claim it this year.
If instead you wait 31 or more days before buying AAPL back, the wash sale rule does not apply and you can claim the full $1,300 loss in the current tax year. The $350 premium income is still taxed as a short-term capital gain in the year you received it, regardless of what happens with the shares, according to IRS Publication 550 guidance on option premium treatment.
Can Writing a New Covered Call Trigger a Wash Sale?
This is the question most traders do not think to ask. The IRS has ruled that options can be considered substantially identical to the underlying stock in some circumstances. According to IRS Publication 550, if you sell stock at a loss and then acquire an option to buy substantially identical stock within the 61-day window, the wash sale rule can apply.
In practical terms for covered call writers: if you sold AAPL at a loss and then immediately bought new AAPL shares and sold a deep in-the-money covered call on them — one so deep that it essentially locks in a purchase price close to the original shares — the IRS could view that option position as substantially identical to simply owning the stock. Shallow out-of-the-money calls are generally not considered substantially identical to the stock itself, but the IRS has not drawn a bright line, and tax professionals often advise caution.
The Options Industry Council (OIC) notes in its tax-related educational materials that option transactions can interact with the wash sale rule in complex ways, and recommends consulting a qualified tax advisor for positions that involve losses and rapid re-entry into the same security.
The Canadian Angle: How CRA Handles This
Canadian investors selling covered calls on TSX or US-listed stocks face a similar but distinct set of rules. The Canada Revenue Agency (CRA) does not use the term 'wash sale,' but it does have superficial loss rules under the Income Tax Act, specifically Section 54 and the related provisions in IT-Bulletin IT-387R2. A superficial loss occurs when you sell a security at a loss and you or an affiliated person buys the same or identical security within 30 days before or after the sale, and you still hold it at the end of that period.
For Canadian covered call traders, the mechanics are similar to the US rules: sell shares at a loss, wait at least 30 days before buying back in, and you can claim the loss. Buy back sooner and the loss is denied and added to the adjusted cost base of the new shares. CRA guidance on options is less detailed than IRS Publication 550, so Canadian traders with complex covered call losses should work with a tax professional familiar with CRA's superficial loss provisions.
Risks to Know Before You Trade Around a Loss
The wash sale rule creates real risks for covered call traders who try to harvest tax losses while staying invested. Here are the main ones to keep in mind.
First, the 61-day window is easy to violate accidentally. If you have an automatic dividend reinvestment plan (DRIP) active on a stock you just sold at a loss, those reinvested dividends could buy shares within the 30-day window and trigger a wash sale — a point FINRA has highlighted in investor education materials.
Second, wash sales across accounts count. If you sell AAPL at a loss in your taxable brokerage account and your spouse buys AAPL in their account within 30 days, the IRS considers that a wash sale. The same applies to your IRA. Selling at a loss in a taxable account and buying back in a traditional or Roth IRA within 30 days triggers a wash sale, and in that case the loss is permanently disallowed — not just deferred — because the IRA's cost basis cannot be adjusted the same way a taxable account's can.
Third, brokers are required by SEC rules to track and report wash sales on Form 1099-B, but they only track wash sales within the same account. Cross-account wash sales are your responsibility to identify and report correctly.
Fourth, if you are writing covered calls in a tax-deferred account like a traditional IRA or a Canadian RRSP, wash sale and superficial loss rules generally do not apply to those accounts directly — but the interplay with your taxable accounts still matters as described above.
Practical Steps to Stay Clean at Tax Time
Avoiding wash sale problems as a covered call trader comes down to a few straightforward habits.
Track your 61-day windows in a spreadsheet or your broker's tax lot tool every time you close a losing stock position. Mark the date 31 days out and do not buy back the same stock or write deep in-the-money calls on it before that date.
If you want to stay invested in a sector after selling a losing position, consider buying a similar but not identical ETF or a competitor stock for the 30-day period. For example, if you sold AAPL at a loss, you could hold a broad technology ETF during the waiting period. The IRS has not ruled that broad sector ETFs are substantially identical to individual stocks, though this area continues to evolve.
Keep records of every covered call premium you receive, every assignment, and every share purchase. IRS Publication 550 is the primary reference document for how options interact with capital gains rules, and it is worth reading the relevant sections before filing. When in doubt, a CPA or enrolled agent who specializes in options taxation is worth the fee — a disallowed loss on a large position can easily cost more than a professional consultation.
Does getting assigned on a covered call count as a wash sale?
Assignment by itself does not trigger a wash sale. The wash sale rule only applies if you sell shares at a loss and repurchase substantially identical shares or options within 30 days before or after that sale. If your shares are called away at a gain, the wash sale rule is not relevant at all.
What happens to the covered call premium if my shares are sold at a loss?
The premium you collected when you sold the covered call is treated separately from the stock loss. According to IRS Publication 550, the premium is generally added to the proceeds from the sale of your shares, which reduces your realized loss. You report the combined result as a capital gain or loss on your tax return.
Can I sell my stock at a loss and immediately write a covered call on new shares?
Buying new shares and writing a covered call within 30 days of a loss sale can trigger a wash sale on the stock purchase. If the new covered call is deep in the money, the IRS may also consider it substantially identical to owning the stock, which adds another layer of risk. Out-of-the-money calls are less likely to be treated as substantially identical, but the IRS has not set a clear threshold.
Does the wash sale rule apply in a Roth IRA or RRSP?
Wash sale rules do not apply to transactions inside a Roth IRA or Canadian RRSP on their own. However, if you sell a stock at a loss in a taxable account and buy the same stock inside an IRA within 30 days, the IRS treats that as a wash sale and the loss is permanently disallowed, not just deferred, because the IRA cannot receive an adjusted cost basis.
How does Canada's superficial loss rule differ from the US wash sale rule?
Canada's superficial loss rule under the Income Tax Act works similarly to the US wash sale rule: sell at a loss and repurchase within 30 days before or after, and the loss is denied and added to your adjusted cost base. The CRA does not use the term 'wash sale,' and its published guidance on options is less detailed than IRS Publication 550, so Canadian traders with complex situations should consult a tax professional familiar with CRA rules.
Will my broker automatically flag wash sales from my covered call trades?
Brokers are required by SEC rules to report wash sales on Form 1099-B, but they only track wash sales within a single account. If you trigger a wash sale across two different brokerage accounts or between a taxable account and an IRA, your broker will not catch it and you are responsible for reporting it correctly on your tax return.