Market order: buy or sell now at the best available price

Published 2 weeks ago on August 23, 2026

Contents

A market order is an instruction to buy or sell immediately at the best price available. You are asking for speed, not a specific price. The order matches against the current quotes and whatever depth is in the order book.

Because the market can move while you are being filled, the final price is not guaranteed. You may pay more than you expected when buying or receive less when selling. That difference is slippage.

What happens when you place a market order

Your broker or exchange routes the order to a venue. The matching engine pairs your order with the resting orders on the other side. If you buy, you lift the best offer first, then the next, and so on until your size is filled. If you sell, you hit the best bid first. This is why the market order “walks the book” when it is larger than the top level.

Two components shape your execution:

  • The spread. This is the gap between the best bid and best offer. Buying with a market order means crossing that gap. Selling does too.
  • Depth. This is how many shares or contracts are available at each price. Thin depth means your order steps through multiple levels, changing your average price.

Simple example. Suppose the order book shows 100 shares offered at 100.10, 300 at 100.12 and 600 at 100.15. You send a market order to buy 500. You will likely trade 100 at 100.10 and 300 at 100.12, then 100 at 100.15. Your average fill sits somewhere between 100.12 and 100.13. The larger you go, the more levels you may consume.

On very liquid names, a small market order can fill in one print close to the last traded price. In less liquid names or during bursts of activity, the outcome can be quite different.

When traders use market orders and when they avoid them

Market orders make sense when immediacy matters more than exact price. Common situations include:

  • Closing a risk quickly after unexpected news.
  • Executing small sizes in highly liquid instruments where spreads are tight and depth is strong.
  • Getting into or out of a position when you are comfortable with the prevailing price range.

They are used more cautiously when conditions increase price uncertainty:

  • Illiquid shares or tokens with wide spreads and shallow depth.
  • Pre‑market, post‑market or thin overnight sessions where participation is light.
  • At the opening and closing auctions, where the cross price is set by supply and demand imbalances and can differ from the last trade.
  • During volatility bursts when prices gap and order books update rapidly.

Some traders prefer a limit order in these conditions to place a ceiling on the price they will pay or a floor on the price they will accept.

Slippage, spreads and liquidity: what drives your fill

The outcome of a market order is shaped by three things that move together:

  • Spread. A wider spread is an immediate cost. Cross it and you have paid it.
  • Depth. Sparse quantity at the top of book means you will trade the next levels too. Your average price drifts as you climb the ladder.
  • Speed. In fast markets, quotes change between the moment you send the order and when it executes. That can increase slippage.

You can gauge these from live market data. On-screen depth is only what is displayed. Hidden orders and conditional orders can add or remove liquidity at the last second. Liquidity also depends on who is quoting. Continuous interest from professional liquidity providers helps. When they step back, gaps appear and slippage grows. See our entry on liquidity for the broader picture.

Remember that commissions, exchange fees and taxes are separate from slippage. They add to total cost but do not change the execution mechanics described here. Fee structures vary by broker and venue.

Partial fills, size and time‑in‑force

Market orders are commonly filled in pieces. Each execution prints at the price available at that moment. Your statement will show a blended average price across those fills.

Very large market orders attract attention. Other participants may adjust quotes as they sense size, especially in thin markets. This is one reason traders often slice big orders or use algorithms rather than send a single market sweep.

Time‑in‑force instructions govern how long an order can work. With market orders, brokers typically offer at least Day and Immediate‑or‑Cancel. Fill‑or‑Kill may be available but is less common, and All‑or‑None conditions are usually not supported for true market orders. Exact options and behaviour vary by provider.

Some exchanges and brokers apply price collars to market orders. If the next available price is far away from the prevailing reference, the system may reject or pause the order to prevent extreme prints. This is most visible during volatility controls such as limit up or limit down bands on certain venues.

Opening, closing and after‑hours quirks

If you submit a standard market order while the market is closed, platforms often queue it for the opening auction or the first continuous print. In an opening auction, your order participates in a single uncrossing trade based on all interest collected before the open. The auction price may land far from the previous close if there is an imbalance.

Near the close, some venues support market‑on‑close instructions that aim at the closing auction price. After hours, liquidity tends to be patchy. A small market order can move price more than you expect. Exact routing and auction mechanics differ by exchange and broker.

Marketable limit orders: speed with a safety net

A marketable limit order is a limit priced to cross the spread right now. For example, if the best offer is 100.10, you might place a buy limit at 100.12 or 100.15. It should fill immediately like a market order, but it sets a worst‑case price. If the book vanishes or the price jumps beyond your limit, it simply will not execute rather than filling at a far worse level.

Traders use this approach to cap slippage while keeping good odds of execution. The trade‑off is the risk of missing the fill entirely if the market moves away in the split second after you send it.

Stops that turn into market orders

A stop‑loss set as a stop‑market becomes a market order once the stop price is touched or traded through. The idea is to guarantee an exit if price breaks a level. The risk is the same as any market order. In a gap down, a sell stop can fill lower than expected. In a gap up, a buy stop can fill higher. Some traders prefer stop‑limits to control the worst price, accepting the chance of not getting out in a fast move.

The way stops trigger and route can differ by broker and venue, especially across stocks, futures, FX and crypto. Check the specific rules where you trade, and remember that conditions and protections can change over time.

Back to Stocks Glossary