
A market order trades right away at the best available price but does not guarantee it. A limit order guarantees your price but may not fill. How to tell the two apart and when each fits.
A market order and a limit order are the two basic ways to buy or sell a stock, and the difference comes down to a single trade off. A market order tells your broker to trade right away at the best price available, so it almost always fills but the exact price is not guaranteed. A limit order sets the price you are willing to accept, so it protects your price but may not fill at all.
How a market order works
A market order is an instruction to buy or sell immediately at the best price currently available in the market. In a normal, actively traded stock it fills in a fraction of a second at a price very close to the one on your screen. The Securities and Exchange Commission, in its investor education materials, notes that this kind of order will generally be executed right away, but that the price you get is not locked in.
The risk is what the SEC calls a fast moving market. If prices are jumping, a market order to buy 1,000 shares could fill part of the order at one price and the rest higher, because it simply takes whatever is available until the order is complete. That gap between the price you expected and the price you got is known as slippage.
How a limit order works
A limit order sets a boundary. A buy limit order says you will pay no more than a set price, and a sell limit order says you will accept no less than a set price. The SEC's guidance puts it plainly: a limit order helps make sure an investor does not pay more than a predetermined price for a stock, but it does not guarantee that the trade happens.
That is the catch. If the stock never reaches your limit, the order sits unfilled, and you can miss the trade entirely while watching the price move away from you. A limit order can be set to last only for the trading day, or to stay open until you cancel it, often called good til canceled.

The trade off: speed vs price
The whole choice reduces to this. A market order prioritizes certainty of execution over certainty of price. A limit order prioritizes certainty of price over certainty of execution. You cannot have both at once, and which one matters more depends on the stock and the moment.
Our explainer on liquidity is the key idea underneath. In a liquid stock, one with heavy trading and a narrow gap between the best buy and sell prices, a market order is cheap because slippage is tiny. In an illiquid stock, that gap, the bid ask spread, is wide, and a market order can cost you real money on the fill.
When each one fits
A market order fits when you value getting the trade done over squeezing the price, and when the stock is liquid enough that the fill will be close to the quote. Buying a large, heavily traded company or a broad index fund during regular hours is a common case.
A limit order fits when price control matters more than speed. That includes thinly traded stocks, volatile names, trading outside regular market hours when spreads widen, or any time you have a specific price in mind and are willing to risk not filling. None of this is a recommendation to trade; it is how the two tools behave so you can pick the one that matches what you are trying to do.
A worked example
Say a stock last traded at $63 and you are willing to own it, but not above $60. A market order would buy it now at about $63, give or take. A limit order to buy at $60 would wait, and would only fill if the price fell to $60 or below. If the stock keeps rising, the market order got you in while the limit order never filled. If it falls to $60, the limit order buys at your price while the market order would have had you pay more. Same stock, opposite outcomes, driven entirely by the order type.
Partial fills and trading hours
Two practical details catch people out. The first is partial fills. A large order of either type can execute in pieces at more than one price if there are not enough shares available at a single price, so a 1,000 share order might come back as several smaller trades. Some brokers let you attach an all or none condition to avoid that. The second is trading hours. Outside regular market hours, in the pre market and after hours sessions, trading is thinner and the gap between the buy and sell price is usually wider, which makes a market order riskier and a limit order the safer default. Knowing both helps explain why a trade sometimes does not behave the way you expected.
What to watch
Three habits help. First, think about the spread before you trade; a wide gap between the bid and the ask is a signal to consider a limit order. Second, be careful with market orders at the open and close and in thin, fast conditions, where slippage is largest. Third, know that other order types, such as stop orders and stop limit orders, are built from these same two ideas, and the SEC warns that a plain stop order becomes a market order once triggered, so its fill price is not guaranteed either. Start with the market versus limit choice and the rest follows.
Frequently asked questions
What is the difference between a market order and a limit order?
A market order trades immediately at the best available price, so it almost always fills but the exact price is not guaranteed. A limit order sets the maximum you will pay or the minimum you will accept, so it guarantees your price but may not fill if the market never reaches it. The choice is speed versus price control.
Is a market order or a limit order better?
Neither is better in general; they suit different situations. A market order fits liquid stocks where the fill will be close to the quote and you want certainty of execution. A limit order fits thin or volatile stocks, wide spreads, or when you have a firm price in mind and can accept the risk of not filling.
What is slippage on a market order?
Slippage is the difference between the price you expected and the price your market order actually filled at. It happens because a market order takes whatever is available until it completes, so in a fast moving or thinly traded stock part of the order can fill at a worse price than the quote you saw.
Can a limit order go unfilled?
Yes. A limit order only executes at your limit price or better. If the stock never reaches that price, the order sits open and may expire at the end of the day or stay until you cancel it, and you can miss the trade entirely while the price moves away.
What is a stop order?
A stop order becomes active only when a stock reaches a set stop price, then turns into a market order. Because it becomes a market order, the SEC warns its fill price is not guaranteed and can differ sharply from the stop price in a fast market. A stop limit order instead turns into a limit order when triggered.
Sources
What each one is, and whose it is.
- 1
Types of Orders, US Securities and Exchange Commission, Investor.gov (January 1, 2026)
DocumentationIndependent of the vendor - 2
Investor Bulletin: Stop, Stop-Limit, and Trailing Stop Orders, US Securities and Exchange Commission, Investor.gov (January 1, 2026)
DocumentationIndependent of the vendor - 3
Limit order vs. market order: What's the difference?, Bankrate (January 1, 2026)
Press reportIndependent of the vendor