To close a credit spread, you buy back the option you sold and sell the option you bought in a single combined order, paying a net debit that offsets the credit you originally collected. Whatever is left between the credit received and the debit paid is your profit or loss. You can do this at any point before expiration, or leave the position alone and let the Options Clearing Corporation settle it automatically at expiration.
How the Closing Order Mirrors the Opening Trade
Opening a credit spread involved selling one option and buying another at a different strike, and closing is the exact reverse. You buy to close the option you sold and sell to close the option you bought, packaged as one order. The two legs form a debit spread that cancels out the original credit spread, and the position leaves your account.
For a put credit spread, that means buying back the higher-strike put you sold and selling the lower-strike put you bought. For a call credit spread, you buy back the lower-strike call you sold and sell the higher-strike call you bought. Most platforms let you close from your portfolio view with a single click that auto-populates both legs on the order ticket, so you’re not entering each side by hand.
The profit math is arithmetic. Collect $1.50 in credit when you open, pay $0.60 in debit to close, and you keep $0.90 per share, or $90 per contract. If the trade moved against you and closing costs $2.00, you lost $0.50 per share, or $50 per contract. The most you can lose on the position is capped at the width of the strikes minus the credit received, which is the whole reason for using a spread instead of a naked option.
Setting Up the Closing Order
Every detail on the closing order has to match the position you’re exiting. The strike prices must mirror the opening trade exactly. A wrong strike creates a mismatched position and leaves one leg exposed to unlimited or near-unlimited risk. Verify the expiration date too, because many underlyings offer weekly, monthly, and quarterly chains, and picking the wrong one either fails to fill or accidentally opens a calendar spread you never intended.
Contract count matters. To exit fully, the number of contracts on the closing order has to equal your current position size. Partial closures work but change your remaining risk exposure, so recalculate max loss if you leave some contracts on.
Check the bid-ask spread on the combined position before submitting. The mid-price, halfway between bid and ask, is your starting point. In liquid names with penny-wide spreads, you can usually get filled at or near the mid. In illiquid options where the spread might be $0.50 or wider, you’ll likely need to give up ground toward the natural price to fill at all. That wider spread is a real cost of the trade, and it hits harder on spreads because you’re crossing it on two contracts at once.
A limit order caps the debit you’ll pay and protects you from a bad fill in volatile moments. A market order fills immediately at whatever price is available, which can be meaningfully worse than expected when liquidity is thin. For most credit spread closures, a limit order is the safer choice. Set it at or slightly above the mid-price for a quicker fill, or right at the mid if you’re willing to wait.
Once you submit, a confirmation screen summarizes the legs, the limit price, and the debit amount. Review it before the final click. After the fill, the position drops off your portfolio and the collateral your broker held against the spread is released. Your broker is required to send you a written trade confirmation disclosing the date, time, price, and number of contracts.
When to Close Before Expiration
Most experienced spread traders close well before expiration day, and the reasoning is straightforward: the risk-reward ratio deteriorates as you approach the finish line. If your spread has captured 50% of its maximum profit with three weeks left, you’re sitting on a solid gain. Holding for the remaining 50% keeps you exposed to an adverse move for a shrinking reward. The math gets worse the closer you get, because gamma accelerates and small moves in the underlying create larger swings in the spread’s value.
A common guideline is to close at somewhere between 50% and 75% of max profit. The numbers aren’t magic, but the logic holds: you bank a meaningful portion of the credit, free up capital and margin for the next trade, and shed the tail risks that cluster around expiration week. Traders who rigidly hold every spread to expiration to squeeze the last $10 or $20 tend to give back gains when trades reverse.
Closing losing positions follows the same principle in reverse. If the underlying has moved against you and the spread is worth more than what you collected, decide whether the original thesis still holds. Setting a max loss threshold before you enter (for example, closing if the spread doubles in value) removes emotion from the decision.
What Happens If You Let It Expire
If you take no action, the Options Clearing Corporation handles settlement automatically based on where the underlying closes relative to your strike prices. How that plays out depends on whether you’re trading equity options or index options.
Both Legs Expire Out of the Money
Best case. Both contracts expire worthless, the position disappears, and you keep the full credit you collected. No shares move, no cash is debited, and there’s nothing to do.
Equity and ETF Options
Equity and ETF options settle through actual delivery of shares. If your short option finishes in the money by at least $0.01 at expiration, the OCC will automatically exercise it, which means you get assigned. For a short put, you’re forced to buy 100 shares per contract at the strike. For a short call, you must deliver 100 shares per contract. Your long option can offset the assignment, but you or your broker need to exercise it, which creates a second stock transaction.
This physical settlement process is why many traders prefer to close equity spreads before expiration rather than deal with share assignment, potential margin calls, and gap risk over a weekend.
Index Options
Index options like SPX settle in cash rather than shares. At expiration, the OCC calculates the difference between the settlement value and the strike prices and credits or debits your account accordingly. No stock position results and no directional risk carries into the next week. That cleaner settlement is one reason index credit spreads are popular with traders who want to hold through expiration without assignment headaches.
Assignment Fees
Some brokers charge a fee when you’re assigned on an option. Amounts vary by firm. Others, including Fidelity, charge nothing for exercises and assignments. Check your broker’s fee schedule before deciding to let a spread expire, because even a small per-contract fee can eat into the profit on a position you’re holding to capture the last few cents.
Pin Risk Near the Short Strike
Pin risk is the uncertainty when the underlying closes right at or very near your short strike price at expiration. You genuinely don’t know whether you’ll be assigned until the next business day, because option holders have until 5:30 PM Eastern (4:30 PM Central) on expiration day to submit exercise instructions to the exchanges. After-hours movement can push a borderline option from out of the money to in the money, or vice versa, after you’ve lost the ability to act.
The practical problem is that you might wake up Monday with an unexpected stock position and the margin requirement that comes with it, or you might not. That weekend of uncertainty is avoidable. If the underlying is trading anywhere near your short strike as expiration approaches, closing for a small debit is usually worth the cost.
Early Assignment and Dividend Risk
Early assignment happens when the holder of the option you sold exercises before expiration. For American-style options, which include nearly all equity and ETF options, the holder can do this at any time. Your broker notifies you of the assignment, typically the next business day, and at that point your short leg is gone while your long leg remains open. You’re now holding a stock position that wasn’t part of the plan.
The most common trigger is an upcoming dividend. If you sold a call that’s in the money and the underlying is about to go ex-dividend, the holder has a financial incentive to exercise early and capture the dividend. This tends to happen the day before the ex-dividend date, and the risk is highest when the remaining time value of the option is less than the dividend amount. At that point, exercising is more profitable for the holder than selling the option.
When you’re assigned on the short leg, your long leg is still there as a hedge. For a call credit spread, assignment means you’ve sold 100 shares short, and your long call gives you the right to buy shares at a higher strike to cover. For a put credit spread, assignment means you’ve bought 100 shares, and your long put gives you the right to sell at a lower strike. Either way, you can exercise the long leg or sell the shares and the remaining option separately, depending on which nets more after commissions.
The immediate concern after early assignment is margin. Holding stock requires capital, and depending on the share price and your account size, you may face a margin call. Handle the resulting position quickly to avoid carrying unnecessary risk and margin costs overnight.
Tax Treatment of the Gain or Loss
How the IRS taxes credit spread profits depends on what you traded. Equity options and broad-based index options are treated differently, and the difference is meaningful.
Equity and ETF Spreads
Gains and losses on equity and ETF credit spreads are short-term capital gains or losses regardless of holding period. Even if you opened in January and closed in October, the profit is taxed at your ordinary income rate. This is the standard treatment for most retail options traders.
Broad-Based Index Spreads
Credit spreads on broad-based index options like SPX qualify as Section 1256 contracts, which get a favorable tax split: 60% of the gain or loss is treated as long-term and 40% as short-term, no matter how briefly you held the position. That blended rate can produce meaningful tax savings compared to equity options, particularly at higher income brackets. In practice, the major indexes (S&P 500, Nasdaq-100, Russell 2000) qualify, while sector-specific or single-stock indexes do not.
Wash Sales
If you close a credit spread at a loss and open a substantially identical spread within 30 days before or after the closing date, the IRS disallows the loss on your current-year return. The disallowed amount gets added to the cost basis of the replacement position, which defers the deduction rather than eliminating it. What counts as “substantially identical” with options isn’t precisely defined, but opening a new spread on the same underlying with similar strikes and the same expiration cycle within the 30-day window is likely to trigger it. Changing strikes meaningfully or waiting at least 31 days before re-entering avoids the issue.