Every retail trader learns "square off" as a single idea: close your open position before it settles. On an expiry-day options desk, that one-sentence definition breaks apart into three distinct events that look similar on a trade log but behave nothing alike — who triggers them, when they happen, and what they cost. According to the exchange's own contract rules, only one of the three is actually optional. Confusing the three is where most of the confusion around "square off before expiry" comes from, and per the broker risk-management pages that cover this topic, it's also where traders lose money they didn't need to lose.

We trade NIFTY and SENSEX expiry-day option selling from our own desk, founded in 2006, running our own backtest engine against our own strategies. This piece walks through what "square off" means for an option seller specifically — not the generic equity-intraday version most glossary pages describe — using a same-day timeline, a named real example, and the tax arithmetic that makes "square off anyway" a desk rule even for legs we expect to expire worthless.

Paper trade every timing rule below before any live-capital use. This article is EliteAlgo's own research and backtest framework, shared as analytical software, not investment advice, and not a signal to act on.

Advertisement EliteAlgo advertisement

The Base Definition: What Square Off Actually Means

Square off means closing an open position by executing the opposite trade before it settles through the exchange's normal expiry process. If you sold a NIFTY put, squaring off means buying back that same put. If you bought a call, squaring off means selling it. The position's net exposure returns to zero through your own action, on your own order, at a price you (mostly) chose.

That's the textbook version, and it's correct — as far as it goes. What it leaves out is who is doing the squaring off, and that's the part that matters for an option seller holding a position into expiry afternoon.

Three Different Square-Offs, Three Different Clocks

We've found that readers who already know the generic definition get tripped up here, because the word "square off" gets applied to three mechanically different situations on the same trading day.

1. Voluntary Square-Off — Your Decision, Your Timing

This is the square-off everyone means by default. You decide to exit, whether to book profit on a short strangle that's decayed nicely or to cut a loss before it widens further. Timing is entirely yours. You can square off at 9:20 AM or 3:15 PM, on a limit order or a market order, for any reason you want. Our own desk squares off voluntary exits on a rule, not a feeling — more on that below — but the exchange places no constraint on when or why you do it.

2. Broker-Forced Auto Square-Off — The Broker's Risk System, The Broker's Timing

This one is not your decision at all. When your account's margin falls below what the position requires — including an intraday peak-margin breach that can happen in minutes during a volatile move — the broker's risk management system squares off the position itself, at whatever price is available when it fires, not when you'd have chosen to exit. We've built margin monitoring into our own execution layer specifically because a broker-forced square-off on a short option almost always happens at a worse price than a voluntary exit, since it's triggered by the same volatility spike that's moving the option against you. We cover the mechanics of how margin shortfalls build up in our margin calculator breakdown rather than repeat them here — the short version is that this square-off type is a consequence you want to avoid seeing at all, by sizing and margining correctly in advance.

3. Expiry Settlement — Not a Square-Off, A Different Process Entirely

Here's the distinction most SERP-ranked glossary pages skip entirely: a position that is NOT squared off by you and not auto-squared by the broker doesn't vanish or "square off by default." It settles. For index options like NIFTY and SENSEX, settlement is cash-settled based on the final settlement price computed by the exchange, not a square-off trade at all. No opposite order gets placed on your behalf by anyone. The exchange simply calculates what your open position is worth at expiry and credits or debits your account accordingly. This distinction isn't just semantic — settlement carries its own Securities Transaction Tax treatment, which we break down fully in our STT piece, and it's structurally different from the STT a square-off trade attracts.

Why "Square Off Before Expiry" Is Standard Desk Guidance — Even For Legs Expected to Expire Worthless

If a short option is sitting comfortably out of the money with a few minutes left, letting it expire worthless looks like free money — no brokerage, no action needed, it just goes to zero. We square off anyway, and here's the reasoning behind that rule.

First: ambiguity. A final session can move fast. An option that's been safely OTM all day can find itself near the money in the last 20 minutes if spot drifts, especially with a pin risk setup near a heavy-open-interest strike. Squaring off removes that uncertainty entirely rather than betting that the next 20 minutes behave like the last six hours.

Second, and the part most sellers skip: the tax math. Per the Income Tax Department's STT schedule, STT on a square-off trade is charged on the transaction value actually executed — typically a few paise per unit on a near-worthless option. STT on exercise or physical/cash settlement at expiry, by contrast, is charged on the full notional value of the position, not the small premium involved. If a short option unexpectedly finishes in the money — even by a single rupee — the STT bill on that settlement can run many multiples of what a square-off trade would have cost. We've seen this catch sellers who assumed a near-worthless leg carried near-zero risk on the tax side; it doesn't, if it settles rather than squares off.

A Same-Day Timeline: When Each Square-Off Type Can Realistically Occur

Take a representative NIFTY expiry Tuesday to see how these three clocks run against each other through a single session.

  • 9:16-9:20 AM: Entry window opens once the first clean two-way quote prints. Never 9:15 — the opening tick is frequently not fillable at the price a simulator shows.
  • 9:30 AM-1:00 PM: Voluntary square-off territory. If the position has already achieved its profit target or a stop-loss level, we exit here on our own timing. This is the overwhelming majority of our own desk's square-offs by count.
  • Any point, if margin is breached: Broker-forced auto square-off can fire at any time a margin shortfall occurs, most commonly during a sharp intraday move that spikes the margin requirement on a short option faster than the account's free margin can absorb. We've watched this happen inside a five-minute window during a sudden VIX spike.
  • 2:00-2:30 PM: Pin-risk watch begins. We check open-interest concentration at the two or three strikes nearest spot every 15 minutes from here, because a strike pin, if one is forming, shows up first in this window.
  • No later than 3:20 PM: Our hard square-off cutoff for any leg still carrying meaningful notional, ahead of the official 3:30 PM close, specifically to avoid both the last-15-minute gamma spike and the settlement STT wrinkle above.
  • 3:30 PM close, if nothing was squared off: Exchange settlement takes over. No square-off trade happens; the position simply settles at the final settlement price, cash-settled for index options.

A Named Example: Voluntary vs. Broker-Forced, Same Account Type

Two short-strangle positions on the same expiry Tuesday, both run on margin accounts of similar size, illustrate the difference cleanly. In the first, a trader holding a NIFTY short strangle sees the position hit its profit target by 11:40 AM and exits on a limit order at a price close to the mid-quote — a clean voluntary square-off, on the trader's own schedule, at a price the trader effectively chose.

In the second, a trader holding a comparable strangle on a thinner margin buffer gets caught by a sharp mid-session move around 12:20 PM. The underlying's quick spike pushes the short call's margin requirement up faster than the account's free margin covers, and the broker's risk system auto-squares the position off within minutes — at the market price available right then, during the same spike that caused the shortfall, not at a price either trader would have picked by choice. The first trader controlled the exit price. The second trader's exit price was dictated entirely by the broker's system reacting to a margin number, at the worst possible moment to be forced out.

Same account type, same expiry session, two completely different square-off experiences — because one was voluntary and one wasn't. Sizing conservatively enough that a mid-session spike can't breach margin is, in our own loss-review sessions, the single biggest lever for avoiding the second scenario entirely.

What the Exchange's Own Rules Say About Settlement

NSE's contract specifications for index derivatives set out cash settlement at expiry as the default mechanism for any index option position not closed beforehand — there's no square-off trade in that process at all, just a settlement price computed from the underlying and applied to every open contract. The SEBI investor-education FAQ on derivatives margining covers the same margin framework that drives a broker's auto square-off trigger — the margin shortfall rules aren't a broker's private policy, they're a regulatory requirement the broker's risk system is enforcing on the exchange's behalf. Reading the margin mechanics at the regulator level, rather than a broker's own simplified help page, is what makes clear why an intraday peak-margin breach can fire so fast: the requirement is computed and checked continuously through the session, not once at the close.

On the tax side, the distinction between square-off STT and settlement STT isn't a broker convention either — it's set out in the Income Tax Department's STT rate schedule, which lists separate rates for a sell-side options trade versus an option exercised or settled at expiry. Per that schedule, the settlement-side rate is applied to the full notional value of the contract, which is exactly why a leg that unexpectedly finishes in the money can carry an STT bill many times larger than the few-paise cost of squaring it off voluntarily.

Position Sizing Changes the Odds of a Forced Square-Off

The broker-forced square-off scenario above didn't happen because the trader was reckless — it happened because the account's free margin buffer was thin relative to the position's size going into a volatile stretch. We size every short strangle against a buffer wide enough to absorb a realistic intraday spike in margin requirement, not just the requirement at the moment of entry, which is the single biggest lever we have against ever seeing a broker-forced exit at all. Our own position-sizing framework, covered in our lot-size and sizing article, treats margin headroom as a sizing input on every single trade, not an afterthought checked only when a margin call notification already shows up.

None of the timing rules above are a reason to skip paper trading first. Our paper-trading framework exists specifically so a trader can watch how voluntary exits, margin behaviour, and the 3:20 PM cutoff play out across real sessions before a single rupee of live capital is at risk, because reading about a margin spike and watching one happen to a position you're actually holding are very different experiences.

Weekly vs. Monthly Expiry: Does the Square-Off Logic Change?

The three square-off types don't change between a weekly and a monthly expiry. What changes is how much open interest sits on the strikes near spot going into the final hour. A monthly expiry typically carries more accumulated open interest across a wider range of strikes, which in our experience raises pin-risk odds slightly — more OI near a round strike means a stronger pull toward it. A weekly expiry tends to have thinner, more concentrated open interest near spot, so a pin risk event, when it happens, tends to be sharper but over a narrower strike range. Either way, our 3:20 PM cutoff rule stays fixed. We don't loosen it for a monthly expiry just because the contract had more time value built in originally.

One practical difference is worth naming. A monthly expiry's wider strike liquidity makes a voluntary square-off easier to execute near the price you want, even late in the session. A weekly expiry's thinner far-strike liquidity can widen the bid-ask spread on an out-of-the-money leg right when you most want a clean fill. We treat that spread risk as one more reason to square off earlier, not later, on a weekly contract specifically.

How We Built This View

Our methodology here draws on our own desk's trade logs across multiple expiry cycles. We tagged each exit by which of the three mechanisms closed it — voluntary, broker-forced, or settlement by default. That let us see how often each type actually occurs, and under what market conditions.

In our experience, voluntary square-offs account for the large majority of exits on a desk that sizes and margins conservatively. Broker-forced exits cluster almost entirely around sharp intraday volatility spikes. Settlement-by-default exits are rare on our own book. That's specifically because our 3:20 PM hard cutoff rule exists to make them rare — a deliberate design choice, not a lucky outcome.

Frequently Asked Questions

What does square off mean in options trading?

Square off means closing an open options position by executing the opposite trade — buying back a sold option or selling a bought one — before it settles through the exchange. For an option seller, there are three ways this can happen: voluntarily, on your own timing; forced by the broker's risk system on a margin shortfall; or not at all, in which case the position settles through the exchange's expiry process instead.

What is the difference between square off and expiry settlement?

A square off is a trade you (or your broker, on your behalf during a margin shortfall) execute to close the position before expiry. Settlement is a different process entirely — for index options like NIFTY and SENSEX, it's cash-settled based on the exchange's final settlement price, with no opposite trade placed by anyone. The two also carry different STT treatment, with settlement STT calculated on the full notional value rather than the transaction value of a square-off trade.

Why does a broker auto square off a position?

A broker's risk management system auto-squares off a position when the account's available margin falls below what the position requires, including an intraday peak-margin breach during a volatile move. This happens on the broker's own timing, at whatever price is available when the system fires, which is often a worse price than a voluntary exit would have achieved.

Should you square off before expiry even if the option will likely expire worthless?

Our own desk squares off anyway, for two reasons: it removes the ambiguity of a fast-moving final session turning an OTM option near the money, and it avoids the risk of the much larger notional-value STT that applies if the position unexpectedly settles in the money rather than squaring off at a small transaction value.

What time should you square off options before NIFTY expiry?

Our own hard cutoff is no later than 3:20 PM IST for any leg still carrying meaningful notional, ahead of the 3:30 PM close, specifically to avoid the last-15-minute gamma spike and the settlement-related STT difference described above. This is our own desk rule, not an exchange requirement — paper trade any specific cutoff time before applying it with live capital.

Can you square off an option after market hours?

No. Square-off orders can only be placed and filled during regular market hours, which run until 3:30 PM IST on NIFTY and SENSEX expiry day. Any position not squared off by the close either expires worthless (if out of the money) or settles through the exchange's cash-settlement process (if in the money).

Advertisement EliteAlgo advertisement

Position sizing, margin discipline, and the 3:20 PM cutoff rule described above are EliteAlgo's own research and backtest framework — paper trade all of it before any live-capital use. None of this is investment advice, and EliteAlgo trades proprietary capital only with no SEBI registration or advisory relationship with readers.