A market order buys or sells right away at the best available price, so it almost always fills but the price is not guaranteed. A limit order sets the worst price you will accept, so you control the price but the trade may never happen. Market orders suit liquid stocks in calm markets; limit orders suit everything else.
You are on your brokerage app's trade screen, you have typed in a ticker and a number of shares, and now it wants an "order type." Market or limit. The default is often market, and most of the time that works fine. The times it does not work fine are the ones that cost money: a thinly traded stock, a fast-moving open, or a large order. Here is what each choice actually does.
What is a market order?
A market order is an instruction to trade immediately at whatever price is available. The SEC's Investor Bulletin on order types says a market order will generally execute immediately, but the price is not guaranteed, and the last-traded price "is not necessarily the price at which a market order will be executed."
That gap exists because a quote moves while your order travels, and because other orders may be ahead of yours. A buy market order fills at or near the ask (the lowest price a seller will take). A sell market order fills at or near the bid.
What is a limit order?
A limit order is an instruction to trade only at a specific price or better. A buy limit can execute only at your limit price or lower, and a sell limit only at your limit price or higher. The SEC's example: an investor who wants ABC stock for no more than $10 enters a buy limit at $10, and the order executes only if ABC trades at $10 or lower.
The trade-off is execution. Investor.gov states plainly that a limit order is not guaranteed to execute. If the stock never reaches your price, nothing happens, and if it touches your price briefly you may get only part of your shares.
Market order vs limit order: side-by-side
The core difference is what you are guaranteed: a market order guarantees the trade, a limit order guarantees the price.
| Market order | Limit order | |
|---|---|---|
| What you control | Speed | Price |
| Will it fill? | Almost always, if the market is open | Only if the price reaches your limit |
| Price you get | Best available, can differ from the quote | Your limit or better |
| Partial fills | Possible on large orders, at different prices | Possible if only some shares trade at your price |
| Main risk | Paying more (or receiving less) than you expected | Missing the trade entirely |
| Typical use | Liquid stocks and ETFs, small orders, calm markets | Thin trading, volatile moments, large orders, specific entry prices |
How much can a market order cost you? A worked example
Slippage is the difference between the price you saw and the price you got. The SEC bulletin gives this case: an investor places a market order for 1,000 shares of XYZ when the best offer is $3.00. The order could fill 500 shares at $3.00 and the other 500 at a higher price, because there were not enough shares offered at $3.00.
Put numbers on it. Suppose the second 500 shares fill at $3.06:
- 500 x $3.00 = $1,500
- 500 x $3.06 = $1,530
- Total: $3,030, versus the $3,000 you expected
That is $30, or 1% more than the quote, on a $3,000 trade. A buy limit at $3.00 would have prevented it, at the cost of possibly leaving 500 shares unbought. On a heavily traded large-cap stock with a penny-wide spread, the same order would likely fill at or very near the quote, which is why market orders are usually fine there.
When does a limit order make more sense?
Use a limit order whenever the price you pay matters more than getting filled this minute.
Thinly traded stocks and small companies
Low volume means a wide gap between bid and ask, and few shares at each price. A market order can walk up the order book. Our guide to liquidity risk explains why thin markets move prices.
The open, the close and news events
Prices can jump at the opening bell and around earnings or headlines. Periods of high volatility, the kind the VIX tries to measure, are when quotes go stale fastest.
Large orders relative to normal volume
The bigger your order compared with the shares on offer, the more likely a market order fills at several prices.
Extended-hours trading
Many brokers accept only limit orders before and after regular hours, because volume is lower and spreads are wider. Check your broker's rules.
How long does a limit order stay open?
It depends on the time-in-force you choose. Investor.gov says that unless you specify otherwise, orders are "Day" orders that generally cancel at the end of regular trading hours and do not carry into extended hours or the next day.
Day
Expires at the close if not filled. The default at most brokers.
Good-til-canceled (GTC)
Stays open until it fills or you cancel it, subject to a time limit your broker sets. Easy to forget about, so review open GTC orders regularly.
Fill-or-kill and all-or-none
Fill-or-kill must fill completely and immediately or it is canceled. All-or-none must fill completely but can wait. Both prevent partial fills.
What about stop and stop-limit orders?
A stop order becomes a market order once a trigger price is reached, so it inherits the market order's price risk; a stop-limit becomes a limit order instead, so it may not fill. Investor.gov warns that a stop's execution price "can deviate significantly" from the stop price in fast markets. Neither order type removes the risk of loss.
A quick checklist before you press buy
- Is the stock heavily traded, with a bid-ask spread of a cent or two? A market order is usually reasonable.
- Is the spread wide, or volume low? Use a limit.
- Is the market just opening, or is news breaking? Use a limit or wait.
- Is your order large compared with typical volume? Use a limit, possibly in pieces.
- Did you pick a time-in-force on purpose?
If you are just getting set up, our guide to opening a brokerage account covers the account side.
Frequently asked questions
Is a limit order better than a market order?
Neither is better in every case. A limit order protects your price but may not fill; a market order fills but can execute at a worse price than the quote. The right choice depends on the stock's liquidity and how much the exact price matters to you.
Can a limit order fill at a better price than my limit?
Yes. A buy limit can execute at your limit or lower, and a sell limit at your limit or higher, according to the SEC. If the market price is already better than your limit when the order arrives, you get the better price.
Why did my limit order not fill when the stock hit my price?
Touching a price does not guarantee a fill. Other orders at the same price may be ahead of yours, and only a few shares may have traded there. Some brokers also handle odd lots and extended-hours orders differently.
Do market orders cost more in commissions?
At most U.S. brokers, commissions on online stock trades are now the same for both order types, and many charge none. The hidden cost of a market order is slippage, not the commission. Check your broker's fee schedule.
Related: What is a brokerage account? · What is liquidity risk? · What is the VIX? · What is a stop-loss order?
Want exact figures for your situation? Try our free investment calculator and days between dates calculator to check the math before you decide.
