Independent investing education · No ads · No affiliate links · Not financial advice

Markets & EconomyExplainerBeginner

Market orders vs limit orders

The order type you choose decides what you control: whether the trade happens, or the price it happens at. Here is how the four basic orders work.

Screens showing stock prices and an index chart at an exchange
Photo: “Tokyo Stock Exchange” by Dick Thomas Johnson, CC BY 2.0, via source (edited: cropped/recolored).

Quick answer

A market order buys or sells right away and is expected to execute, but the price is not guaranteed. A limit order sets the worst price you will accept — the limit price or better — but it is not guaranteed to execute [1] [2].

Key points

  • Market order: speed and execution, but no control over the exact price.
  • Limit order: control over price, but the trade may never happen.
  • A stop order turns into a market order once the stop price is reached, so the fill can be far from the stop.
  • A stop-limit order turns into a limit order, so it may not fill at all if the price moves away.
  • Day orders expire at the end of the trading day; good-til-canceled orders stay open longer, subject to your broker's limits.

#What is a market order?

Investor.gov, the SEC's investor education site, says: "A market order is an order to buy or sell a security immediately. This type of order guarantees that the order will be executed, but does not guarantee the execution price" [1]. In practice a market buy usually fills near the current ask (the lowest price sellers are offering) and a market sell near the current bid (the highest price buyers are offering). The gap between them is the bid-ask spread.

The SEC's bulletin on order types adds an important warning: the price at which a market order executes is not guaranteed, and the last-traded price you saw is not necessarily the price you will get, especially for large orders or when few shares are available [2].

Worked example

Why a market order can cost more than the last price

A stock last traded at $50.00. The best offer to sell is $50.05, but only 60 shares are available there; the next offer is $50.20. You place a market order to buy 100 shares.

What 100 shares would cost at the last price (100 × $50.00)
$5,000.00
If all 100 filled at the ask (100 × $50.05)
$5,005.00
Actual fill: 60 × $50.05 + 40 × $50.20
$5,011.00
Average price paid ($5,011 ÷ 100)
$50.11
Extra paid vs the last price
$11.00

The order executed, as market orders are expected to — but at an average of $50.11, not the $50.00 on screen. In thinly traded stocks or fast markets, the gap can be much larger.

Hypothetical quotes; calculated in Python before any commissions.

#What is a limit order?

Investor.gov: "A limit order is an order to buy or sell a security at a specific price or better. A buy limit order can only be executed at the limit price or lower, and a sell limit order can only be executed at the limit price or higher" [1]. Its own example: if you want a stock but will not pay more than $10, you can place a buy limit order at $10, which executes only if the price is $10 or less [1].

The trade-off is that "A limit order is not guaranteed to execute" [2]. If you place a buy limit at $49.50 on a stock trading at $50.00 and the price never falls that far, you buy nothing. If it does fill, 100 shares would cost $4,950 — $50 less than 100 shares at $50.00 — but only if the market comes to you.

Market order vs limit order

Market order

  • Executes right away in normal conditions
  • Price not guaranteed
  • Fills near the current ask (buy) or bid (sell)
  • Risky in fast or thinly traded markets

Limit order

  • Executes only at your price or better
  • Execution not guaranteed
  • Can sit unfilled for the day or longer
  • Useful when price matters more than speed

#How do stop and stop-limit orders work?

A stop order, also called a stop-loss order, is "an order to buy or sell a stock once the price of the stock reaches the specified price, known as the stop price. When the stop price is reached, a stop order becomes a market order" [1]. A sell stop is placed below the current price, typically to limit a loss on shares you own [1].

The SEC warns that "The stop price is not the guaranteed execution price for a stop order," and that a short-term, intraday price move can trigger it [3]. FINRA adds that in fast markets you "could receive less—and potentially significantly less" than your stop price [4].

A stop-limit order combines the two: once the stop price is reached, it becomes a limit order that executes only at the limit price or better. The catch, in the SEC's words: as with all limit orders, "a stop-limit order may not be executed if the stock's price moves away from the specified limit price" [3].

Worked example

A price gap: stop vs stop-limit

You own 100 shares bought at $50. You set a protective sell order with a stop at $45. Overnight, bad news arrives and the stock opens at $42. In version 1 it is a plain stop order; in version 2 it is a stop-limit with a $44.50 limit.

Loss you planned for: 100 × ($50 − $45)
$500
Version 1 — stop becomes a market order, fills near $42: 100 × ($50 − $42)
$800 loss
Extra loss beyond the stop: 100 × ($45 − $42)
$300
Version 2 — stop-limit becomes a limit at $44.50; price is $42
No sale; you still hold all 100 shares

The stop order sold, but $3 a share below the stop. The stop-limit protected the price but did not sell at all, so you are still exposed if the stock keeps falling.

Hypothetical prices; calculated in Python. Real fills depend on the quotes available when the order triggers.

The four basic order types [1]
Order typeWhat it doesExecution guaranteed?Price guaranteed?
MarketBuys or sells immediatelyExpected in normal marketsNo
LimitBuys at the limit or lower; sells at the limit or higherNoYes — limit price or better
Stop (stop-loss)Becomes a market order once the stop price is reachedOnce triggered, handled like a market orderNo — can fill well past the stop
Stop-limitBecomes a limit order once the stop price is reachedNo — may never fillYes — limit price or better

#How long does an order stay open?

Orders also have a time setting. Day orders are the default: they are good only during the trading day they are entered and are canceled at the end of regular trading hours [2]. A good-til-canceled (GTC) order lasts until it executes in full or is canceled, although brokerage firms set their own time limits [2]. Check your broker's rules before relying on a GTC order.

#Which order type fits which situation?

There is no single right answer, and this page does not recommend any trade. The table and examples show the trade-off: a market order chooses certainty of execution; a limit order chooses certainty of price. Stop and stop-limit orders add a trigger but keep the same trade-off. Price swings make the differences bigger — see market volatility explained — and so does liquidity, meaning how easily shares change hands without moving the price.

Before you click "buy" or "sell"

  1. Check the bid, the ask and the spread

    A wide spread means a market order will cost more than the last price suggests.

  2. Decide what matters more: speed or price

    If price matters more, a limit order sets your boundary. If getting the trade done matters more, a market order prioritizes execution.

  3. Set the time in force

    Choose a day order or GTC, and know your broker's limits on how long a GTC order lasts.

  4. Re-read the order ticket

    Confirm buy or sell, the number of shares, the order type and any price before you submit.

Common beginner mistakes

  1. Assuming the last price is your price

    The SEC warns that the last-traded price is not necessarily the price a market order will get [2].

  2. Assuming a stop sets a hard floor

    A stop becomes a market order. After a gap or a fast drop, it can fill well below the stop price.

  3. Forgetting about open GTC orders

    An old limit or stop order can fill weeks later when you have forgotten it. Review open orders regularly.

  4. Setting a stop too close to the current price

    Short-term swings can trigger a stop and sell your shares just before the price recovers.

What's the bottom line?

Every order type trades one kind of certainty for another. Market orders favor execution, limit orders favor price, and stop or stop-limit orders add a trigger that can still disappoint in a fast market. Knowing which risk you are accepting matters more than the button you press. Before your first trade, check that your broker is registered and read how the stock market works.

Frequently asked questions

Is a market order or a limit order better for beginners?

Neither is better in every case. A market order focuses on getting the trade done; a limit order focuses on the price. In thinly traded stocks, market orders can fill at surprising prices, which is one reason some investors use limit orders there.

Why didn't my limit order fill?

Because the market never reached your limit price, or not enough shares traded there. A limit order is not guaranteed to execute.

Can a stop order protect me from all losses?

No. Once triggered it becomes a market order, and in a gap or fast market it can execute well below the stop price.

What happens to my day order after the market closes?

A day order that has not filled is canceled at the end of regular trading hours. You need to enter a new order the next day if you still want to trade.

Sources

Grade A = primary source (regulator, government agency, official rulebook or the index provider's own documents). Numbers in brackets in the text point here.

  1. U.S. SEC — Investor.gov. Types of Orders (2026). Accessed 2026-10-03.A
  2. U.S. SEC — Investor.gov. Investor Bulletin: Understanding Order Types (2026). Accessed 2026-10-03.A
  3. U.S. SEC — Investor.gov. Investor Bulletin: Stop, Stop-Limit, and Trailing Stop Orders (2026). Accessed 2026-10-03.A
  4. FINRA. Stop Orders: Factors to Consider During Volatile Markets (2026). Accessed 2026-10-03.A

This page is general education, not personal financial, tax or legal advice. Figures in worked examples are hypothetical and calculated before taxes and fees unless stated. Rules and limits change; check the linked primary sources for the current version. How we check every page.