Cost basis after option assignment
Follow written-option premium into share basis, sale proceeds, or a separate option result. Keep tax accounting distinct from a running trading-profit total.
By OptionsKing. Publisher and editorial methods.
What you will learn
By the end of this lesson, you should be able to:
- Calculate initial share basis after put assignment.
- Include exercised-call premium in share-sale proceeds.
- Keep unrelated expired premium separate from stock basis.
These examples concern U.S. federal tax treatment for an individual nondealer in a taxable account. They exclude fees and special elections unless stated. Rules were reviewed on October 22, 2026; use the current IRS guidance and your transaction records when preparing a return.
Follow the contract to its ending
The tax treatment of written premium depends on what happens to that particular option. For ordinary written equity options, an exercised put reduces the basis of the shares purchased. An exercised call increases the amount realized from selling the shares. An expired written option generally produces a separate short-term capital gain.
The useful first step is therefore a transaction map: identify the option, its premium, its ending, and the stock lot involved. Receiving cash and recognizing a separate taxable option gain are not always the same event.
A put assignment creates a stock lot
Suppose you write one standard Harbor $45 put for $1 per share and it is assigned. You pay $4,500 for 100 shares. Subtract the $100 premium from that purchase cost: the lot's initial basis is $4,400, or $44 per share. The example assumes no other basis adjustments.
An earlier, separate Harbor put might have expired for a $50 gain. That $50 remains a separate option result; it does not reduce this lot's tax basis to $4,350. A personal spreadsheet may subtract every premium to show a cumulative economic result, but that number should not be labeled the stock lot's tax basis.
A call assignment changes sale proceeds
Now suppose you sell one covered $55 call on these 100 shares for $2 per share, and it is exercised. The stock sale brings in $5,500 at the strike. Add the $200 call premium: the amount realized is $5,700. Subtract the $4,400 basis to obtain a $1,300 stock gain before other adjustments. Do not report that same $200 again as a separate option gain.
If instead you repurchase a written option, the ordinary option result is premium received less the buyback cost, subject to applicable tax adjustments. A roll contains a close and a new contract; a net credit does not erase the first transaction. Preserve contract identifiers and lot records so your tax preparer can reconcile the outcomes, including any wash-sale or straddle adjustments.
Check your understanding
What determines where written-option premium enters the ordinary tax calculation?
Let's walk through the answer.
Assignment, expiration, and repurchase have different accounting consequences.
Sources
Rules and thresholds above were checked against these documents on October 22, 2026. Exchange and broker rules change. Confirm anything you are about to act on with your own broker.
Keep reading
Do the math on your own trade
Every price in this article is an illustrative worked example, not a quote. Read Taxes for sellers for the rest of the series, and the disclaimer before you act on any of it. Selling options carries real risk of loss, and the loss can be far larger than the premium you collected.