HomeGlossary › Limit Order

Limit Order

A limit order is an instruction to buy or sell a security only at a specified price or better. A buy limit order executes at the limit price or lower. A sell limit order executes at the limit price or higher. Unlike a market order, a limit order guarantees price but not execution — if the market never reaches your price, the order won’t fill.

How a Limit Order Works

When you place a limit order, you’re setting a boundary. For a buy, you’re saying: “I’ll pay up to $X, but not a penny more.” For a sell: “I want at least $X, but not a penny less.” Your order sits on the order book at your specified price until it’s either filled, canceled, or expires.

If the current ask is $50.05 and you place a buy limit at $49.80, your order won’t fill immediately. It will wait in the queue. If the price drops to $49.80 or below, your order executes — potentially at a price even better than your limit. If the price never reaches $49.80, the order stays unfilled.

Order TypeYou SetFills WhenYou Get
Buy limitMaximum price you’ll payMarket price ≤ your limitYour limit price or lower (better)
Sell limitMinimum price you’ll acceptMarket price ≥ your limitYour limit price or higher (better)

Limit Order Example

A stock is currently trading at $100. You want to buy it, but you think $95 is a better entry. Here’s how the scenario plays out:

ScenarioStock Price MovementYour Buy Limit at $95
Stock drops to $95$100 → $95Fills at $95 or better — you bought the dip
Stock drops to $92$100 → $92Fills at $95 as it passes through (or at $92 if it gaps down)
Stock rises to $110$100 → $110Never fills — you miss the rally entirely
Stock drops to $95.10$100 → $95.10Doesn’t fill — came close but never hit your exact limit

That last scenario is the frustration of limit orders. Precision gives you control but can cause you to miss trades by fractions of a percent. This is the fundamental trade-off: price control versus execution certainty.

When to Use a Limit Order

Illiquid or wide-spread securities. When the bid-ask spread is wide — common in small-caps, penny stocks, and thinly traded ETFs — a limit order prevents you from getting filled at an unfavorable price. This is the scenario where limit orders add the most value.

Volatile markets. When the VIX is elevated and prices are whipping around, a limit order caps your worst-case execution price. During the 2010 flash crash, investors with limit orders were protected from absurd fills that hit market order users.

Targeting a specific entry point. If your analysis says a stock is worth buying at $45 but not at $50, a limit order enforces that discipline automatically. You set it, and the market either comes to your price or it doesn’t — no emotional decision-making required.

Large orders. If your order is large relative to the stock’s daily volume, a market order will “walk the book” — filling at progressively worse prices. A limit order caps the maximum price you’ll pay, even if it means only partially filling.

Time-in-Force Options

When you place a limit order, you also specify how long it should remain active. The common options:

Time-in-ForceDurationBest For
Day orderCancels at market close if unfilledMost standard trades — the default at most brokers
GTC (Good ‘Til Canceled)Remains active until filled or manually canceled (typically 30–90 days max)Setting a target buy price you’re willing to wait for
IOC (Immediate or Cancel)Fills whatever it can instantly, cancels the restLarge orders where partial fills are acceptable
FOK (Fill or Kill)Fills the entire order immediately or cancels completelyAll-or-nothing trades where partial fills aren’t useful
Extended hoursActive during pre-market and/or after-hours sessionsReacting to earnings or news outside regular hours
GTC Pitfall
A GTC limit order you set weeks ago can fill when you’ve forgotten about it — potentially after the thesis has changed. If you use GTC orders, review them regularly and cancel any that no longer reflect your current view.

Partial Fills

Limit orders can fill partially. If you place a buy limit for 1,000 shares at $50.00 and only 400 shares are available at that price, you’ll get 400 shares filled and the remaining 600 will stay on the book waiting. This is common with larger orders in less liquid stocks.

Partial fills can be inconvenient if you need the full position, and depending on your broker, each partial fill may count as a separate transaction for record-keeping purposes. FOK orders avoid this issue but at the cost of potentially getting no fill at all.

Limit Order vs. Market Order

FactorLimit OrderMarket Order
Price controlFull — you set the maximum/minimum priceNone — you accept the best available price
Execution certaintyNot guaranteed — may never fillVirtually guaranteed during market hours
Slippage riskEliminatedPresent, especially in illiquid or volatile conditions
Opportunity costHigher — you may miss a trade waiting for your priceLower — you get in or out immediately
ComplexitySlightly more — requires choosing a price and time-in-forceSimplest possible order

Neither order type is universally better. The right choice depends on liquidity, your urgency, and position size. Many traders use a practical hybrid: a marketable limit order — a limit set at or very near the current ask (for buys) or bid (for sells). This fills almost as fast as a market order but provides a price ceiling that protects against extreme slippage.

Limit Orders and Stop-Losses

A limit order and a stop-loss order serve different purposes but are often confused:

A limit order sets the price at which you want to trade. It’s proactive — you’re targeting an entry or exit level.

A stop-loss sets the price at which you need to trade to cap your losses. It’s defensive — it triggers only when the market moves against you.

A stop-limit order combines both: a stop price that activates the order and a limit price that caps how far beyond the stop it will execute. This prevents the worst-case scenario of a stop-loss filling at an extremely poor price during a gap down — but it also means the order may not fill at all if the price blows through your limit.

Hidden Risk of Limit Orders
Limit orders can create a false sense of discipline. Setting a buy limit 10% below the current price feels prudent, but if the stock drops 10%, it might be falling for a reason — deteriorating fundamentals, bad earnings, or a broader selloff. A limit order automates the execution, but it doesn’t automate the analysis. Always reassess the thesis if your limit fills after a significant decline.

Key Takeaways

  • A limit order guarantees your price but not your fill — the trade only executes at your specified price or better.
  • Buy limits set a maximum purchase price; sell limits set a minimum sale price.
  • Limit orders are essential for illiquid securities, volatile markets, and larger position sizes.
  • Time-in-force settings (day, GTC, IOC, FOK) control how long the order stays active.
  • A marketable limit order — set near the current market price — combines the speed of a market order with slippage protection.

Frequently Asked Questions

Can a limit order fill at a better price than I set?

Yes. A buy limit at $50 can fill at $49.50 if the price drops below your limit before the order reaches the front of the queue. This is called price improvement, and it’s one of the advantages of limit orders — you set the worst-case price, but you can do better.

Why didn’t my limit order fill even though the price hit my limit?

Likely a queue priority issue. Limit orders at the same price fill in the order they were received (price-time priority). If many orders are ahead of yours at $50.00 and only a few shares trade at that price, the orders placed first fill first. Your order may also not fill if the price only briefly touched your limit without sufficient volume at that level.

Do limit orders work during after-hours trading?

Yes — in fact, most brokers require limit orders during pre-market and after-hours sessions. Market orders are typically not accepted outside regular hours because liquidity is much thinner and spreads are wider.

Is there a fee difference between limit and market orders?

At most major retail brokers, no. Commission-free trading applies equally to both order types. The cost difference comes from execution quality (slippage), not broker fees.

Should I always use limit orders instead of market orders?

Not necessarily. For highly liquid, large-cap stocks with tight spreads, a market order is perfectly fine and simpler. The benefit of limit orders scales with illiquidity and volatility — the less liquid or more volatile the security, the more important price control becomes.