EquitiesAmerica.com
Educational content only. This article is for educational purposes only and does not constitute investment advice. Nothing here should be construed as a recommendation to purchase, hold, or dispose of any security. See our full compliance disclaimer.

Market Orders vs Limit Orders: How Stock Orders Work

Understanding how order types affect execution price and certainty

Published 2026-04-19 · Back to Learning Hub

What Is a Market Order?

A market orderis an instruction to buy or sell a security immediately at the best price currently available in the market. When you place a market order, you are telling your brokerage: "Execute this trade right now — price is secondary to speed of execution."

For highly liquid securities — large-cap stocks like those in the S&P 500, for example — a market order placed during regular trading hours typically executes within milliseconds at or very near the last quoted price. The exchange's matching engine pairs the incoming order with the best available counterparty on the opposite side of the book.

The key characteristic of a market order is certainty of execution: as long as the market is open and the security is trading, the order will be filled. What is not guaranteed is the exact price. For liquid stocks in normal conditions, the executed price is typically very close to the quoted price at the moment the order was submitted. For thinly traded securities or in fast-moving markets, the executed price may differ meaningfully from the displayed quote — a phenomenon called slippage, which is covered in detail later in this article.

Market orders are the simplest and most commonly used order type, particularly for retail investors making relatively small purchases of widely traded stocks. They are the default order type at many brokerage platforms. For a deeper look at how different brokerages handle order routing, visit the brokerage fee calculator to compare execution costs.

What Is a Limit Order?

A limit order is an instruction to buy or sell a security at a specified price or better. With a limit order, you set a price threshold that acts as a ceiling (for buy orders) or a floor (for sell orders).

  • A limit buy order at $50 will execute only if shares are available at $50 or below. It will not execute at $50.01 or higher.
  • A limit sell order at $75 will execute only if a buyer is willing to pay $75 or above. It will not execute at $74.99 or lower.

The trade-off with limit orders is certainty of price vs. uncertainty of execution. Because the order only executes at your specified price or better, there is always a possibility the market never reaches your limit price and the order goes unfilled. If a stock is trading at $52 and you place a limit buy at $50, you will only acquire shares if the price falls to $50 or below during the order's active period.

Limit orders are placed in the exchange's limit order book— an electronic queue of all outstanding buy and sell limit orders organized by price level. The order sits in this book, visible to market participants, until either it is filled, canceled, or it expires. The process of matching these orders is managed by the exchange's matching engine.

Limit orders can also result in partial fills — if only some of the requested shares are available at the limit price, the order may be partially executed, with the remainder staying open in the order book.

Market Order vs. Limit Order: Side-by-Side Comparison

The table below summarizes the key differences between market and limit orders across the dimensions most relevant to a retail investor.

FeatureMarket OrderLimit Order
Execution certaintyHigh — executes immediately if market is openNot guaranteed — only fills at limit price or better
Price certaintyNone — price determined by market at time of executionYes — executes at your specified price or better
SpeedNear-instant during regular hoursDepends on when (or whether) price is reached
Slippage riskPresent — especially in volatile or illiquid marketsMinimal — price is bounded by limit
Best used forLiquid large-cap stocks, time-sensitive tradesIlliquid stocks, volatile conditions, precise entry or exit targets
Partial fill possible?Uncommon for liquid stocksYes, if insufficient shares available at limit price
ComplexitySimple — just specify quantity and directionRequires specifying a limit price in addition to quantity

Stop Orders and Stop-Limit Orders

Beyond the basic market and limit orders, two other commonly used order types involve a trigger price called the stop price.

Stop Order (Stop-Loss)

A stop order becomes a market orderonce the security's price reaches or passes through the specified stop price.

  • Example: A stop sell order placed at $45 on a stock currently trading at $52 will become a market sell order if the price falls to $45 or below.
  • Execution is guaranteed once the stop is triggered, but the fill price is not — in a fast-falling market, execution may occur well below the stop price.
  • Commonly used to limit downside on an existing position, which is why this order type is frequently called a stop-loss.

Stop-Limit Order

A stop-limit order becomes a limit order once the stop price is reached, meaning the order will only fill at the limit price or better.

  • Example: A stop-limit sell order with a stop of $45 and a limit of $44 will attempt to sell at $44 or above once $45 is touched.
  • Provides price control but introduces execution risk — if the price gaps below the limit, the order may go unfilled entirely.
  • Appropriate when avoiding a large gap fill is more important than guaranteeing execution.

Both stop and stop-limit orders are available at most major US brokerages. The choice between them involves a trade-off: the stop order prioritizes getting out of a position; the stop-limit order prioritizes the exit price. Neither guarantees the outcome the investor is hoping for in all market conditions.

Other Order Types: GTC, Day, IOC, and FOK

In addition to specifying a price and quantity, investors can attach time-in-force (TIF) instructions to their orders. These instructions tell the brokerage how long to keep the order active.

Day Order

The default at most brokerages. A day order is active only for the current trading session. If it is not filled by the market close (4:00 PM Eastern Time), it is automatically canceled. Day orders do not carry over to the next trading day or to after-hours sessions.

Good Till Canceled (GTC)

A GTC order remains active across multiple trading sessions until it is either filled or manually canceled by the investor. Most brokerages impose a maximum duration of 60 to 90 calendar days on GTC orders, after which the order automatically expires. GTC orders are useful when targeting a specific price that may take days or weeks to be reached.

Immediate or Cancel (IOC)

An IOC order instructs the broker to execute as much of the order as possible immediately, then cancel any unfilled portion. If 300 shares are ordered but only 100 are available at the limit price at that instant, 100 shares are purchased and the remaining 200 are canceled. IOC orders are used primarily by institutional traders who need rapid partial execution without leaving a standing order in the market.

Fill or Kill (FOK)

An FOK order must be filled in its entirety immediately or canceled entirely — there is no partial fill. If the full quantity cannot be executed at the specified price right away, the entire order is canceled. FOK orders are rare in retail investing contexts but are used in certain algorithmic and institutional trading strategies where receiving a partial fill would be undesirable.

For most individual investors transacting in standard quantities of liquid equities, the distinction between IOC and FOK is largely academic. Day and GTC time-in-force instructions are the ones most commonly encountered in retail brokerage interfaces. For a glossary of additional trading terms, see the financial glossary.

When Each Order Type Is Appropriate

The appropriate order type depends on the security being traded, the prevailing market conditions, and the investor's priorities. The following is a general educational overview — it is not a recommendation or trading strategy.

Market orders tend to be used when:

  • The security is highly liquid (e.g., a major index ETF or large-cap stock with millions of shares trading daily)
  • Speed of execution is the primary concern and the investor is largely indifferent to a few cents of price variation
  • The order size is small relative to the security's average daily volume
  • The investor is transacting during regular market hours when spreads are narrow

Limit orders tend to be used when:

  • The security is thinly traded or has a wide bid-ask spread, making slippage on a market order potentially significant
  • The investor has a specific target entry or exit price in mind and is willing to wait for the market to reach that level
  • Volatility is elevated and the investor wants price certainty over execution certainty
  • Transacting in extended hours sessions where market orders are often not permitted

Stop and stop-limit orders tend to be used when:

  • An investor wants to automate an exit from a position if the price falls to a defined threshold
  • A buy stop is used to enter a position once a security rises above a certain price (a breakout-based entry in some trading frameworks)
  • The investor cannot monitor the market in real time and wants a standing protective order in place

How Orders Execute: Matching Engine Basics

When you submit an order through your brokerage, it does not necessarily go directly to a stock exchange. Your brokerage may route the order to a number of venues: a national exchange such as NYSE or NASDAQ, an alternative trading system (ATS), a dark pool, or a market maker through a practice known as payment for order flow (PFOF). The specifics of order routing vary by brokerage and are disclosed in their order routing reports (Rule 606 reports).

Once the order reaches an exchange, it is processed by the matching engine — software that continuously matches incoming buy orders with incoming sell orders. Exchanges use a price-time priority algorithm: among all orders at the same price level, the one that arrived first is filled first.

The order book is the live, continuously updated record of all outstanding limit orders at every price level. The highest-priced buy order is called the best bid, and the lowest-priced sell order is called the best ask (or best offer). Together, these form the national best bid and offer (NBBO), which brokerages in the US are required to execute retail orders at or better than under Regulation NMS (National Market System).

When a market order arrives, the matching engine fills it against the best available limit orders on the opposite side. If a market buy order arrives for 1,000 shares, the engine works through the sell-side limit orders starting at the best ask, consuming liquidity at successive price levels until the order is fully filled. This is why large market orders in thinly traded stocks can result in significant price impact — there simply are not enough shares at or near the best ask to fill the entire order at a single price.

Slippage Explained

Slippage is the difference between the expected price of a trade and the actual price at which it executes. It is most commonly associated with market orders, though it can also occur with stop orders when the triggered execution happens at a different price than the stop level.

Slippage happens for two main reasons. The first is the bid-ask spread: when a market buy order is placed, it executes at the ask price, which is always slightly higher than the mid-price. For a stock with a $0.01 spread, this slippage is negligible. For a stock with a $0.50 spread, it is more meaningful.

The second source of slippage is market impact: large orders consume multiple price levels in the order book. If a stock has 500 shares offered at $50.00, 500 at $50.05, and 500 at $50.10, a market buy order for 1,500 shares will be filled at three different prices — an average fill price above $50.00. The investor wanted to acquire 1,500 shares at roughly $50 but ends up paying slightly more because the order exhausted liquidity at the first price level.

Slippage is most significant in:

  • Thinly traded small-cap or micro-cap stocks with low daily volume
  • Fast-moving markets during periods of high volatility, such as immediately following major economic announcements
  • Pre-market and after-hours sessions when fewer participants are active
  • Large orders relative to average daily volume

For investors transacting in standard lot sizes of liquid large-cap stocks, slippage is typically measured in fractions of a cent per share and is largely inconsequential. Understanding how stocks are structured and traded provides helpful context for understanding why slippage varies across securities.

After-Hours Order Considerations

The standard US equity trading session runs from 9:30 AM to 4:00 PM Eastern Time. Outside these hours, many brokerages offer access to extended trading through pre-market sessions (typically 4:00 AM to 9:30 AM) and after-hours sessions (typically 4:00 PM to 8:00 PM). These extended sessions are operated through electronic communication networks (ECNs).

Several important differences apply to extended-hours trading:

  • Order type restrictions: Most brokerages only accept limit orders during extended hours. Market orders are generally not available, as the lower liquidity makes a guaranteed price critical.
  • Wider spreads: The bid-ask spread is typically much wider during extended hours due to reduced participation by institutional and retail traders.
  • Greater volatility: Individual news events — earnings releases, analyst upgrades or downgrades, major corporate announcements — can cause outsized price moves in extended sessions because there are fewer counterparties to absorb the order flow.
  • Day orders do not carry over: A day order placed during regular hours expires at the close and does not become active in the after-hours session. Extended-hours orders must typically be placed separately as extended-hours session orders.
  • GTC orders and extended hours: GTC orders at many brokerages apply only to regular-hours sessions by default, not extended-hours sessions, though this varies by platform.

Investors considering trading in extended sessions should familiarize themselves with their specific brokerage's rules on order types, session hours, and any additional fee structures that may apply. Checking the brokerage fee calculator and reviewing each platform's published order routing practices is a reasonable starting point for understanding the mechanics involved.

Frequently Asked Questions

What happens if my limit order is never filled?

If the market price never reaches your specified limit price during the order's duration, the order expires unfilled. A day order expires at the close of the trading session. A GTC (Good Till Canceled) order remains open until either filled or manually canceled, subject to the brokerage's maximum duration policy (commonly 60 to 90 days). No transaction occurs and no fees are charged for an unfilled order at most brokerages.

Is a market order always executed immediately?

A market order is designed to execute as quickly as possible at the best available price. During regular trading hours in liquid stocks, execution typically occurs in milliseconds. However, execution speed and price are not guaranteed. In fast-moving markets or with thinly traded securities, there may be a brief delay, and the execution price may differ from the last quoted price due to slippage. During pre-market and after-hours sessions, liquidity is reduced and delays are more common.

What is the difference between a stop order and a stop-limit order?

A stop order (also called a stop-loss order) becomes a market order once the stop price is triggered, meaning it will execute at whatever price is currently available in the market. A stop-limit order becomes a limit order once the stop price is triggered, meaning it will only execute at the specified limit price or better. The stop-limit order provides price control but carries the risk of non-execution if the market moves quickly past the limit price without a fill.

Can I place orders outside of regular market hours?

Many US brokerages allow pre-market and after-hours trading through electronic communication networks (ECNs). However, brokerages typically restrict order types during extended hours — most only accept limit orders, not market orders, during these sessions. Liquidity is significantly lower outside regular hours, bid-ask spreads are wider, and price volatility can be higher, particularly around earnings announcements or major news events. Day orders placed during regular hours do not automatically carry over to extended sessions.

What does partial fill mean and when does it happen?

A partial fill occurs when only a portion of an order is executed rather than the full quantity requested. This can happen when the available shares at a given price are fewer than the number ordered. For example, if a limit buy order is placed for 500 shares at $50, but only 200 shares are available at that price at that moment, the order may be filled for 200 shares, leaving 300 shares as an open order. Partial fills are more common with large orders, thinly traded securities, and limit orders placed at prices away from the current market.

Related Resources