What is the difference between a market order and a limit order?
A market order executes immediately at the best available price; a limit order executes only at your specified price or better. The market order prioritizes certainty of execution: you will get filled, but the price may differ from what you saw on screen. The limit order prioritizes certainty of price: you will never pay more (or receive less) than your limit, but the order may never fill. Every other order type is a variation on this trade-off.
For heavily traded stocks in calm markets, the difference is often pennies. For thinly traded stocks, volatile moments, or large orders, the difference can be substantial. Understanding both is not optional knowledge for anyone placing trades; it is the vocabulary of the transaction itself. This lesson is educational and does not recommend any trading strategy.
Market orders: fill me now
A market order tells your broker to buy or sell immediately at the best price currently available. For a buy, that means lifting the lowest ask; for a sell, hitting the highest bid. In liquid stocks during normal hours, the fill arrives in a fraction of a second at essentially the quoted price, and the order fills completely. Simplicity is the appeal: one click, done, no decisions about price levels.
The cost of that simplicity is price uncertainty. The quote you saw is a snapshot; by the time your order reaches the market, the best price may have moved, especially in fast markets or around news. Worse, a large market order can walk the book: if you want 5,000 shares and only 1,000 are offered at the best ask, your order takes those, then the next 1,000 at the next price level, and so on, with your average fill drifting away from the quote. Market makers and high-frequency traders earn their living in exactly these gaps.
Market orders also behave badly outside normal conditions. In the first minutes after the open, during trading halts, or amid panic selling, spreads widen and quotes flicker; a market order placed then can fill at a price that looks absurd minutes later. Professionals treat market orders as a tool for small, liquid, urgent trades, and reach for limits everywhere else.
Limit orders: my price or better
A limit order sets the worst price you will accept: the maximum you will pay when buying, the minimum you will accept when selling. A buy limit at $50 fills at $50 or lower; a sell limit at $50 fills at $50 or higher. If the market never reaches your price, the order sits open, and may expire unfilled. You have traded execution certainty for price certainty.
Limit orders can also improve your price beyond the limit. If you place a buy limit at $50 while the ask is $49.80, your order is marketable and fills immediately at $49.80 or better; the limit acts as a ceiling, not a fixed price. Many experienced traders use marketable limit orders as their default: set the limit slightly beyond the current quote, get near-instant execution, and keep a hard cap against freak moves. It is the market order's speed with a seatbelt.
Partial fills are the normal wrinkle. If your 1,000-share limit order finds only 400 shares at your price, those 400 fill and the remaining 600 stay working. Most brokers let you choose whether partial fills are acceptable or the order must fill completely or not at all. For ordinary investors, accepting partial fills is fine; the remainder usually fills as liquidity arrives, or you reassess.
Slippage: the gap between expected and actual price
Slippage is the difference between the price you expected when you placed the order and the price you actually received. It has two parents: movement and size. Movement slippage happens when the market ticks between your click and your fill; in a stock drifting a few cents a minute, this is trivial, but during earnings-driven volatility it can be meaningful. Size slippage happens when your order is big relative to available liquidity and consumes multiple price levels.
As an illustration, imagine a stock quoted at $50.00 bid and $50.05 ask. A 100-share market buy fills near $50.05; slippage is about a nickel a share. A 50,000-share market buy might take the $50.05 shares, then $50.10, then $50.25, averaging well above the quote. The same order as a limit at $50.10 would fill only what is available at or below that price and leave the rest working. The illustration is hypothetical, but the mechanics are exactly how real order books work. The gap between the $50.00 bid and the $50.05 ask in that illustration is the spread, and bid-ask spread explained walks through what that spread costs on every round trip and how to read a quote before you choose an order type.
Two habits control slippage. First, prefer limit orders whenever the spread is wide or the stock is thinly traded; the bid-ask spread itself is a visible, guaranteed cost of crossing it. Second, avoid trading in the most chaotic minutes: the open, the close, and the seconds after major news, when quotes are least reliable. Patience is a legitimate execution strategy.
Time in force: how long your order works
Every order carries a lifespan instruction called time in force. A day order lives until the market close and then expires if unfilled; it suits orders tied to today's information. A GTC order, good-til-canceled, keeps working day after day until it fills or you cancel it, though brokers typically cap GTC at 60 to 90 days. GTC is the natural partner of the patient limit order: set your price, walk away, let the market come to you.
Two related variants appear on most order tickets. Fill-or-kill demands immediate complete execution or instant cancellation, no partial fills, no waiting. Immediate-or-cancel is similar but accepts partial fills, canceling whatever does not fill at once. Both are tools for traders who need to know right now whether liquidity exists at their price. Beginners rarely need either, but recognizing them prevents confusion when reading about other traders' tactics.
One caution about GTC orders: markets move while you are not watching. A GTC buy limit set weeks ago can fill during a flash crash at a price that made sense then but not now, or a GTC sell can trigger on a brief spike you would rather have ridden. Review resting GTC orders periodically, especially around earnings and major news, and cancel the ones whose logic has expired.
Choosing between them
The decision rule is short. Use a market order when execution matters more than price: small size, highly liquid stock, calm market, and you need the fill now. Use a limit order everywhere else: any time the spread is wide, the stock is thinly traded, the market is volatile, the order is large, or you simply have a price in mind that reflects your homework. When in doubt, the marketable limit order splits the difference.
Three related order types complete the toolkit. A stop order triggers a market order when the price hits your stop, the classic stop-loss; it limits losses but guarantees nothing about the fill price in a crash. A stop-limit order triggers a limit order instead, adding price protection at the risk of no fill at all. A trailing stop follows the price at a set distance, locking in gains as a stock rises. Each is a combination of the two primitives this lesson covers, which is why the primitives come first.
None of this is strategy advice. Order types are plumbing: they determine how your decisions execute, not which decisions to make. The research that should precede any order, understanding the business and the valuation, is covered in the stock research guide. Good plumbing cannot save a bad decision, but bad plumbing can ruin a good one.
Questions about order types
Will a market order always fill?
During market hours, a market order for a liquid stock almost always fills immediately and completely. Fills can fail or be delayed in extreme volatility, trading halts, or very illiquid securities, but for normal stocks in normal conditions, execution is effectively guaranteed at an uncertain price.
Will a limit order always fill?
No. A limit order only fills if the market reaches your price. Set the limit too ambitiously and the order sits unfilled or expires. Price certainty comes at the cost of execution certainty: that is the fundamental trade-off between the two order types.
What is slippage?
Slippage is the difference between the price you expected and the price you actually got. It happens when the market moves between order entry and execution, or when a large order eats through several price levels. Market orders are exposed to slippage; limit orders are protected from it by definition.
What does day versus GTC mean?
Day means the order expires at the market close if unfilled; GTC, good-til-canceled, keeps the order working until it fills or you cancel it, subject to broker limits, often 60 to 90 days. GTC suits patient limit orders; day suits orders tied to today's news.
What is a stop order?
A stop order becomes a market order once the stock hits your stop price, and is used to limit losses or protect gains. A stop-limit order becomes a limit order instead, adding price protection but risking no fill in a fast crash. Stops trigger on price; they do not guarantee the execution price.
Can I use limit orders for ETFs and options too?
Yes, and you generally should. Limit orders work for stocks, ETFs, and options. They matter most where spreads are wide or liquidity is thin: small-cap stocks, niche ETFs, and options contracts, where a market order can fill at a surprisingly bad price.
StockEyes provides informational research organization and transparent calculations, not personalized investment advice, valuation conclusions, trade instructions, or predictions. Order examples here are hypothetical illustrations of standard market mechanics. Consult a qualified professional for advice about your own situation.