A stop-limit order is an instruction to place a limit order automatically once the market trades at or through a specified stop price, so that the trade can only execute at your chosen limit price or better.
How it works
Every stop-limit order has two prices, set in advance:
- Stop price (trigger): the level that activates the order. Until the market reaches it, the order sits dormant and nothing is sent to the order book.
- Limit price: the worst price you will accept once the order is active. A sell order will not execute below it; a buy order will not execute above it.
Once the trigger is hit, the order becomes a standard limit order. It then joins the order book and fills only if buyers (for a sell) or sellers (for a buy) are available at your limit or better. Anything not filled stays open until it is cancelled or expires, depending on the order's duration, such as a day order or a good-till-cancelled order.
For a sell stop-limit, the limit is normally set at or below the stop. For a buy stop-limit, the limit is normally set at or above the stop. The gap between the two is the window in which the order can execute.
Exact behaviour, including how the trigger is measured (last traded price, bid, or ask) and whether the order works outside regular hours, differs between brokers and exchanges. Check the order rules of your own platform.
Worked example
Suppose you own shares in a company trading at a hypothetical $50 (or ₹5,000 in a market quoted in rupees; the logic is identical). You want protection if the price falls, but you do not want to sell at a very low price in a sudden dip.
You place a sell stop-limit order:
- Stop price: $45
- Limit price: $44
Scenario A: orderly decline. The price drifts down and trades at $45. The order activates as a sell limit at $44. Buyers are available between $45 and $44, so it fills, perhaps around $44.80. You exit within your range.
Scenario B: gap down. Bad news arrives overnight and the shares open at $40. The stop is triggered, but the market is already below your $44 limit. Nobody is willing to pay $44, so the order sits unfilled. If the price keeps falling, you still own the shares and the loss is larger than you planned.
Scenario C: partial fill. The price touches $45, only part of your quantity can be sold at $44 or better, and the market then moves lower. You may hold a remainder.
These outcomes show the central trade-off: the limit protects you from a poor price, but it can also prevent you from exiting at all.
Stop-limit versus plain stop-loss
| Feature | Stop-limit order | Stop-loss order (market-type) |
|---|---|---|
| After trigger becomes | Limit order | Market order |
| Price control | Yes, within the limit | No |
| Certainty of execution | Not guaranteed | High, if there is liquidity |
| Main risk | No fill or partial fill | Slippage |
A stop-loss order of the market type prioritises getting out, accepting whatever price is available. A stop-limit prioritises the price. Neither is better in all conditions; they solve different problems. Some venues offer stop-loss orders that are themselves limit-based, so terminology varies.
Why it matters to investors
Stop-limit orders let investors define both when they want to act and the price they will tolerate. This can be useful for avoiding a forced sale at an unusually poor price when the bid-ask spread widens briefly.
The cost is that the protection can fail precisely when it is most needed. In thinly traded stocks, around news events, or during a trading halt or circuit breaker, prices can jump past the limit. Low market depth increases this risk.
What to watch out for
- Setting the limit too close to the stop. A very narrow gap leaves little room to fill when prices move quickly.
- Assuming it is a guarantee. A stop-limit does not cap your loss; it only caps your execution price.
- Ignoring order duration. A day order may expire before the price reaches your trigger or before it fills.
- Triggering on noise. Stops placed very near the current price can activate on normal short-term volatility.
- Forgetting overnight gaps. Prices can open far from the previous close, bypassing both prices.
Related concepts
A stop-limit order builds on the limit order and the stop-loss order. A trailing stop order moves the trigger as the price rises, and a bracket order combines an entry with both a profit target and a protective exit.
This entry is educational and does not recommend any trade or product.