A market order is an instruction to buy or sell an asset immediately at the best price currently available. A market buy takes the lowest offers in the market and a market sell hits the highest bids, so the trader gets speed and near-certainty of execution but does not control the exact price. Market orders are the default order type in many retail brokerage and crypto apps, where the "Buy" button usually sends one.
The market order is the counterpart of the limit order, which fixes a worst acceptable price but may not fill. Every market order trades against limit orders already resting in the order book, which makes the person sending it a market taker who removes liquidity and usually pays the higher of an exchange's two fees.
Market order in plain terms
A market order is like walking into a busy market and saying "I will take a kilo of tomatoes at whatever the stall is charging right now." You leave with tomatoes for certain, but if the cheap box has just sold out, you pay the next price on the board without arguing.
When the stall has plenty of stock at one price, that is fine: you pay what you expected. When stock is thin, or prices are changing by the second, the price you actually pay can be noticeably worse than the one you glanced at a moment earlier. That gap is the hidden cost of always choosing speed over price.
How a market order is filled
An exchange's matching engine fills a market buy by taking the best offer first, then the next best, and so on until the full quantity is bought. Suppose the book for a stock shows 200 shares offered at 50.00, 300 at 50.02 and 1,000 at 50.05. A market order to buy 600 shares fills 200 at 50.00, 300 at 50.02 and 100 at 50.05, for an average price of about 50.018. The difference between that average and the 50.00 the trader saw on screen is slippage.
Slippage grows with order size and shrinks with market depth. In a stock or currency pair with deep liquidity, a typical retail market order fills at or very near the quoted price. In a thinly traded small-cap share or a newly listed token, the same order can move the price several per cent. The bid-ask spread is also paid in full: a trader who buys at the offer and sells straight back at the bid loses the spread even if the price has not moved.
Market orders in stock, FX and crypto markets
In US equities, a broker may send a retail market order to an exchange or to a wholesale market maker that internalises it. Brokers have a duty of best execution, and US rules require executed orders to receive a price at least as good as the best displayed national quote at the time, subject to exceptions. Market orders sent before the opening bell join the opening auction, and market-on-close orders join the closing auction, which is how many funds trade at the official open and close prices.
In retail foreign exchange, a market order is filled by the dealer at its current quote, including the FX spread and any markup. Fast markets around central bank decisions or data releases can produce fills well away from the last quote.
On a centralized crypto exchange market orders work like stock market orders but around the clock, including at weekends when books are often thinner. On a decentralized exchange a swap is effectively a market order against a liquidity pool: the price is set by the pool's formula, the user sets a slippage tolerance, and the transaction fails if the price moves beyond it before the trade is confirmed. Pending swaps are visible in the public mempool, which exposes them to front-running and sandwich attacks.
When market orders go wrong
Because a market order accepts any price, it can execute at extreme levels when the book empties. During the US "flash crash" of 6 May 2010, some stocks traded briefly at a penny or at prices far above their normal value as resting bids and offers vanished; exchanges later cancelled trades executed at clearly erroneous prices, but not all affected orders were reversed. Similar episodes have hit crypto exchanges, where a large market sell has swept a thin book and set off chains of stop orders and forced liquidations.
Traders reduce these risks in several ways:
- Marketable limit orders. A limit buy set slightly above the offer fills at once in normal conditions but caps the worst price.
- Order slicing. Large orders are broken into smaller pieces, often by algorithmic trading tools, so each piece takes only part of the book.
- Avoiding thin periods. Market orders placed at the open, in pre-market sessions or during news releases face wider spreads and less depth.
- Checking depth first. A quick look at the order book shows how far a given order size would move the price.
Market orders remain the simplest way to get in or out of a position quickly, and for small orders in liquid markets the cost of that speed is usually a fraction of the spread. The risk lies in using them where liquidity is thin.