What it means
An option writer sells a contract and receives a premium while taking on an obligation if assigned, and that obligation remains until the position is closed, expires, or is otherwise settled. A buy-to-close order repurchases a matching option contract against the short position, and once the relevant short contracts are closed, future assignment risk on those contracts ends.
The match matters: underlying security, option type, strike, expiration, and quantity must align with the short position being closed. Purchasing a different option may form a spread or hedge but does not automatically erase the original obligation.
The broker's order ticket should show the correct closing designation and remaining position after execution. Suppose a trader sells one call for a $4 premium per share and later buys it to close for $1.
The gross option result is a $3-per-share gain, or $300 for a typical 100-share equity contract, before commissions and other costs. If the call instead costs $7 to repurchase, the gross option result is a $3-per-share loss.
Closing before expiration can be useful when much of the premium has already decayed and the remaining credit is small relative to ongoing assignment or market risk. A trader may pay a modest amount to remove the exposure.
The decision should compare the buyback cost with remaining possible gain, loss, and operational obligations, not just with the original premium. OCC's options education material says buying back short contracts removes assignment risk on positions closed during that trading day's hours, but advises first checking whether assignment has already occurred, since an assignment recorded before closing changes the position and obligations.
A submitted order that has not filled is not a closed position, so verify the actual fill and broker account state. A partial buy to close reduces the short contract count without eliminating all exposure: if a trader sold five puts and buys back three, two short puts remain, and their margin and potential assignment obligations still apply.
Position screens should be checked by expiration and strike, not merely by the option's underlying name. Buy to close is a transaction label, not a recommendation to time the market, because a trader can close for profit, cut a loss, reduce account margin, avoid unwanted delivery, or change a view.
The appropriate trigger follows the portfolio's risk plan, so record the opening premium, closing cost, contract multiplier, fees, and any prior assignment.
In practice
Real-world examples.
Example
A trader sold a put for $2.50 and buys it to close for $0.50. For a 100-share contract the gross option gain is $200 before fees, and the short put obligation ends after the fill.
Example
A covered-call writer wants to keep the shares before a possible assignment. She buys the matching short call back and checks that the order filled, rather than trusting the submitted ticket.
Example
An investor buys back two of four short call contracts. Only half the position is closed; two contracts remain exposed to stock moves and assignment.
Formula
Calculation
Gross short-option result per share = opening premium received minus premium paid to buy to close. Multiply by the contract multiplier and matched quantity, then subtract commissions and applicable costs. For a $4 opening credit and $1 closing debit on one 100-share contract, gross gain is ($4 - $1) x 100 = $300. An earlier assignment or other legs requires a broader position calculation.
A partial close works the same way on the quantity filled. Suppose a trader sold five puts at $2.00 and buys back three at $0.50: the gross gain is ($2.00 - $0.50) x 100 x 3 = $450, and two contracts remain short with their original $2.00 premium still at risk.Case study
Seen in the real world.
Fictional example: Portfolio manager Imani sold five cash-secured puts to earn premium while considering a share purchase. After company news increased the stock's volatility, the puts rose sharply in price and no longer fit the fund's risk budget. Imani entered a buy-to-close order for all five contracts at a limit she could justify. Only three filled initially.
She checked the account, saw two remained short, and adjusted the order rather than announcing the whole position closed. Suppose, hypothetically, that she had sold the puts at $2.00 and the three filled at $5.00. The realised loss on those contracts would be ($5.00 - $2.00) x 100 x 3 = $900, with two contracts still short. Her report recorded both figures separately.
Watch out
Common mistakes.
- Buying an option with a different strike or expiration and assuming the original short contract has been closed.
- Treating a submitted or partially filled closing order as proof that all assignment risk has ended.
- Counting the opening premium as profit without subtracting the buyback price, fees, and effects of other strategy legs.
Questions
People also ask.
What does buy to close do?
It purchases contracts against an existing short option of the same series, reducing or ending that short position when filled.
Can it be done at a loss?
Yes. If the closing premium exceeds what was received at opening, the option leg has a gross loss before costs.
Does buying to close prevent assignment?
It removes future assignment exposure on a short position that has been closed, but check whether assignment already occurred and whether the closing order filled.
From the founder's library

Take it further with the book.
Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.
25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.
View the book and save 25%