What is a limit order? How it works, with an example
What a limit order promises, what it does not, and how it compares with market, stop and stop-limit orders, with a made-up example you can check by hand. As of 26 Nov 2026.
A limit order is an order to buy or sell a stock at a specific price or better. A buy limit order can only be executed at the limit price or lower, and a sell limit order can only be executed at the limit price or higher, according to the SEC's investor education site. The trade-off is simple: you control the price, but the order is not guaranteed to fill. This page explains how that works, walks through one example with made-up numbers, and compares limit orders with the other common order types.
What a limit order does
When you place an order you tell your broker two things: what to do, and on what terms. A limit order sets the terms as a price. The SEC's investor bulletin gives the plainest example: an investor wants to buy shares of ABC stock for no more than $10, so the investor submits a limit order at $10, and it will only execute if the price of ABC is $10 or lower. The definitions on this page come from the SEC investor bulletin on order types and the Investor.gov limit order entry.
The phrase "or better" matters. A buy limit at $10.00 can fill at $9.80 if a seller shows up at that price, because $9.80 is better for a buyer. A sell limit works the other way round: it fills at your price or higher.
Buy limit and sell limit
| Buy limit | Sell limit | |
|---|---|---|
| You are saying | Pay no more than this | Accept no less than this |
| It can fill at | The limit price or lower | The limit price or higher |
| It will not fill if | The price stays above your limit | The price stays below your limit |
| What you give up | A fill, if the stock runs away | A fill, if the stock keeps falling |
In both cases the order can only be filled if the stock's market price reaches the limit price. The bulletin puts the trade-off in one line: limit orders do not guarantee execution, but they help ensure that an investor does not pay more than a pre-determined price for a stock.
A worked example with made-up numbers
Say a stock is quoted at a bid of $19.95 and an ask of $20.05, and you want 100 shares. This is a made-up example, not a trade idea.
- Market order: it fills straight away at the ask or near it. If the ask is $20.05, 100 shares cost about $2,005.00, and a thin market could fill part of the order a little higher.
- Buy limit at $19.90: your order waits below the bid. It fills only if sellers come down to $19.90 or lower. If the stock drifts up to $20.50 and never trades at $19.90, you own nothing and the order is still sitting there.
- Buy limit at $20.05: it fills straight away against the ask, because the limit equals the ask. You have set a ceiling and paid no more than it.
The same arithmetic shows the cost of waiting. If you miss the fill at $19.90, then chase the stock and pay $20.50, 100 shares cost $45.00 more than the $20.05 you could have paid at the start. A limit order can save money, and it can also cost you the whole move. The width of the gap between bid and ask is covered in the bid-ask spread and slippage.
Limit order versus market order
A market order is an order to buy or sell at the best available price, and the SEC says it will generally be executed immediately. The price is not guaranteed, though. The last-traded price is not necessarily the price a market order gets, because the price it gets often differs from the quote on your screen due to demand for the stock and the liquidity available at that moment.
The bulletin shows how this can go wrong with another made-up example: an investor sends a market order for 1,000 shares of XYZ when the best offer is $3.00, and if other orders execute first, the fill may come at a higher price. A limit order solves that problem. The price is fixed and the fill is not.
Limit orders next to stop and stop-limit orders
A stop order, also called a stop-loss order, is an order to buy or sell once the stock reaches a specified price, known as the stop price. When the stop price is reached, a stop order becomes a market order. The SEC's bulletin warns that the stop price is not the guaranteed execution price. It is a trigger, and the fill can deviate significantly from it.
A stop-limit order combines the two. Once the stop price is reached, it becomes a limit order that executes at the specified price or better. The stop price and the limit price do not have to match. The bulletin's example is a sell stop-limit with a stop price of $3.00 and a limit price of $2.50: it becomes active if prices reach $3.00, but can only be executed at $2.50 or better. The benefit is control over the price. The cost, in the SEC's words, is that a stop-limit order may not be executed if the stock's price moves away from the specified limit price.
| Order | Price guaranteed? | Fill guaranteed? |
|---|---|---|
| Market | No | Yes, generally immediate |
| Limit | Yes, limit price or better | No |
| Stop | No, turns into a market order | Generally yes once triggered |
| Stop-limit | Yes, once triggered | No |
Our lessons order types and the stop-loss cover how we think about each.
How long a limit order stays open
An order can carry timing instructions as well as a price. The SEC bulletin lists the common ones:
- Day: if not executed, it generally cancels at the end of regular trading hours that day and does not carry over to the extended session or the next day.
- Good-til-canceled (GTC): lasts until it is filled in full or you cancel it. The time limit can vary by broker.
- Immediate-or-cancel (IOC): must be executed immediately, and any part that cannot be filled is canceled.
- Fill-or-kill (FOK): must be executed immediately and in full, or the whole order is canceled.
- All-or-none (AON): must be filled in full or not at all, but unlike FOK it stays active until filled or canceled.
- On open and on close: a market or limit order that must execute at the open or the close, with any unfilled balance canceled.
A limit order with a day instruction at a price far from the market will usually expire unfilled. One left open with GTC can fill days later, at a time you may have forgotten about, so read your open orders before you trade.
When a limit order is a poor fit
A limit order is a tool for controlling price, and price is not always what matters. If the priority is to get out of a position quickly, a limit order set below a falling market can sit unfilled while the price keeps dropping. Thin markets make this worse, as our liquidity lesson explains.
You can practise placing each order type with no money at risk in a paper trading account.
Key takeaways
What to remember
- A limit order sets a price: a buy limit fills at the limit or lower, and a sell limit fills at the limit or higher.
- It guarantees the price (or better) but not the fill. The SEC says a limit order can only be filled if the market price reaches the limit price.
- A market order guarantees the fill and not the price, so the two orders solve opposite problems.
- A stop order becomes a market order once triggered. A stop-limit becomes a limit order, so it can also miss its fill.
- Check the time instruction (day, GTC, IOC, FOK) before you send an order.
This page is education, not a recommendation to buy or sell anything, and the examples use made-up numbers. Definitions come from the SEC's investor education pages, which we opened on 26 November 2026. Your broker may offer fewer order types or set its own rules.
More from Titan
Order types | The bid-ask spread and slippage | The stop-loss | What is liquidity | The Foundry
Learn the idea here. Apply it with the desk.
Titan Protect turns lessons like this into a daily practice: daily market research, the full framework, and the tools that put it to work. This lesson is free; the desk is where it compounds.

