When Your Covered Call Gets Assigned: A Complete Guide

Getting assigned on a covered call is a normal part of selling options — not a disaster. When assignment happens, your shares are sold at the strike price and you keep all the premium you collected. For many trades, assignment is actually the best outcome. Here's exactly what happens and how to handle it.
What Happens When You Get Assigned
When the stock price is above your call's strike at expiration (or the buyer exercises early), your broker automatically sells your 100 shares at the strike price. The mechanics:
- Your 100 shares are sold at the strike price.
- Cash from the sale appears in your account (strike × 100).
- The option disappears from your positions.
- You keep the premium you originally collected — it's already yours.
Calculating Your P&L on Assignment
Your total profit on an assigned covered call is:
Total P&L = (Strike − Cost Basis) × 100 + Total Premium Collected
Example: You bought AAPL at $180, sold the $190 call for $3.00. Assigned at $190.
- Stock gain: ($190 − $180) × 100 = $1,000
- Premium: $3.00 × 100 = $300
- Total profit: $1,300
If you rolled the position multiple times before assignment, you need to include ALL premiums collected across the entire roll chain. This is where tracking in a spreadsheet starts to fail — and where a ledger-based tracker shines.
When Assignment Is a Good Thing
- When the strike is above your cost basis. You profit on the stock AND keep the premium. Best case scenario.
- When you want to exit the position. Assignment is a free sell order at a price you pre-selected.
- When you're running the wheel.Assignment on a covered call means you're back to cash and ready to sell puts again. It's the natural cycle of the wheel strategy.
When Assignment Hurts
- When the strike is below your cost basis. You sell at a loss. This can happen if you sold a call after the stock dropped significantly. Always check your cost basis before selling calls at low strikes.
- When the stock keeps running.If AAPL goes to $210 after you're assigned at $190, you missed $20/share of upside. This is the opportunity cost, not a loss — but it stings.
- Tax impact. Assignment triggers a taxable event. In a taxable account, short-term vs. long-term capital gains rules apply based on how long you held the shares.
How to Handle Assignment in Your Tracker
When assignment occurs, your tracking system needs to: (1) close the option trade as "assigned," (2) remove the shares from your position, (3) recalculate your cost basis accounting for all collected premiums, and (4) record the realized P&L.
CoverEdgehas a dedicated assignment confirmation workflow that handles all of this automatically. When you confirm an assignment, the system creates the appropriate ledger entries, recalculates your position's cost basis via the recalc_position_basisfunction, and records the realized trade with accurate P&L.
Avoiding Unwanted Assignment
- Roll before expiration. If the stock is near your strike and you want to keep your shares, roll the call to a later date and/or higher strike.
- Use wider buffers. Selling calls with 5–8% buffer gives you more room before assignment becomes likely.
- Watch ex-dividend dates. Deep ITM calls have higher early assignment risk just before ex-dividend dates as arbitrageurs exercise to capture the dividend.
FAQ
Can I get assigned before expiration?
Yes — American-style options (which most stock options are) can be exercised at any time. Early assignment is most common when the call is deep in-the-money, especially near ex-dividend dates.
Do I lose money if my covered call gets assigned?
Only if the strike price is below your cost basis. If the strike is above your cost basis, assignment is profitable. You always keep the premium regardless.
Track your covered call income with CoverEdge
AI-powered research, assignment-aware roll recommendations, and ledger-grade P&L tracking. Free to start.