What Is a Limit Order? Price Control in Trading
Learn what a limit order is, how buy and sell limits work, how they differ from market orders, and when price control matters in stock trading.
Published August 30, 2026
A limit order is one of the basic order types investors use to buy or sell securities. Unlike a market order, which seeks immediate execution at the best available price, a limit order sets a maximum purchase price or a minimum sale price. That added price control can be useful, but it also introduces a tradeoff: the order may not be filled at all.
What it is
A limit order is an instruction to a broker to buy or sell a security only at a specified price or better. It is commonly used for stocks, exchange-traded funds, closed-end funds, and other exchange-traded securities.
For a buy limit order, the limit price is the highest price the investor is willing to pay. If an investor places a buy limit at $50, the order can execute at $50 or lower, but not above $50.
For a sell limit order, the limit price is the lowest price the investor is willing to accept. If an investor places a sell limit at $60, the order can execute at $60 or higher, but not below $60.
The central feature is price control. A limit order prevents an investor from paying more than intended on a purchase or receiving less than intended on a sale. However, it does not guarantee execution. If the market never reaches the limit price, or if there are not enough shares available at that price, the order may remain unfilled or only partially filled.
Limit orders differ from market orders. A market order prioritizes speed and execution certainty, while a limit order prioritizes price. In highly liquid securities with narrow bid-ask spreads, the difference may be small. In thinly traded securities, fast-moving markets, or volatile periods, the difference can be significant.
How it works
Limit orders interact with the market through the bid and ask system. The bid is the highest price buyers are currently willing to pay. The ask, also called the offer, is the lowest price sellers are currently willing to accept. The gap between them is the bid-ask spread.
A buy limit order at or above the current ask may execute quickly, because it is willing to meet a seller's price. A buy limit order below the current market may rest on the order book until sellers are willing to trade at that lower price.
A sell limit order at or below the current bid may execute quickly, because it is willing to meet a buyer's price. A sell limit order above the current market may wait until buyers are willing to pay that higher price.
Limit orders can also include time-in-force instructions. Common choices include:
- Day order: The order remains active only for the trading day. If it is not filled by the end of regular trading hours, it expires.
- Good-til-canceled order: The order stays active until it is filled, canceled, or reaches the broker's maximum allowed duration.
- Immediate-or-cancel order: The order attempts to fill immediately, and any unfilled portion is canceled.
- Fill-or-kill order: The entire order must fill immediately, or none of it is executed.
Execution can be full or partial. For example, if an investor places a buy limit order for 500 shares at $40, and only 200 shares are available at $40 before the price moves higher, the investor may receive a partial fill of 200 shares while the remaining 300 shares stay open or expire depending on the order terms.
Limit orders also carry queue priority. If many investors have placed orders at the same limit price, exchanges and trading venues generally follow rules that prioritize orders by price and time. Being willing to pay more on a buy order or accept less on a sell order can move an order closer to execution, but it changes the economics of the trade.
A worked example with plausible round numbers
Suppose a stock is quoted at a bid of $49.90 and an ask of $50.10. The last trade was at $50.00, but the last trade is historical; the current executable prices are reflected by the bid and ask.
An investor wants to buy 100 shares but does not want to pay more than $50.00 per share. The investor enters a buy limit order for 100 shares at $50.00.
Because the current ask is $50.10, the order may not execute immediately. It is below the lowest price sellers are currently offering. If sellers later lower their ask to $50.00, or if sell orders come in that can match the buyer at $50.00, the order may fill.
If the order fills completely at $50.00, the share cost is:
100 shares x $50.00 = $5,000
If the market rises instead and the ask moves to $50.50, the order remains unfilled unless the price comes back down to $50.00. The investor avoided paying $50.50, but also did not acquire the shares.
Now consider the sale side. Suppose the same stock later trades around $58.00, with a bid of $57.90 and an ask of $58.10. An investor owns 100 shares and wants to sell, but not below $60.00. The investor enters a sell limit order for 100 shares at $60.00.
The order will not execute at the current bid of $57.90 because that is below the investor's limit. If buyers later bid $60.00 or higher, the order may fill. If it fills at $60.00, the gross proceeds are:
100 shares x $60.00 = $6,000
If the stock never reaches $60.00 before the order expires, no sale occurs. The limit order protected the investor from selling at $57.90, but it did not guarantee an exit.
This example shows the key tradeoff. A limit order can improve control over the execution price, but the investor gives up some certainty that the trade will happen.
Common misconceptions
One common misconception is that a limit order guarantees the limit price. More precisely, it guarantees that the execution price will be no worse than the limit price if the order executes. A buy limit can fill below the limit, and a sell limit can fill above the limit. But there may be no execution at all.
Another misconception is that reaching the limit price always means the full order will be filled. A security can trade at the limit price without an investor's entire order being executed. Other orders may have priority, or there may be insufficient volume at that price.
A third misconception is that limit orders eliminate trading risk. They reduce price-slippage risk, but they can create opportunity risk. If a buy limit is set too low, the investor may miss a rising market. If a sell limit is set too high, the investor may fail to exit before the price declines.
Some investors also confuse limit orders with stop orders. A limit order specifies the worst acceptable execution price. A stop order becomes active only after a trigger price is reached, and depending on the order type, it may then become a market order or a limit order. Stop orders are often associated with risk management or breakout trading, while limit orders are primarily about price control.
Another misunderstanding involves commissions and fees. Many brokers advertise low or zero commissions for listed stocks and ETFs, but trading still can involve bid-ask spreads, regulatory fees on sales, payment for order flow arrangements, or other venue-level costs. The absence of a visible commission does not mean execution quality is irrelevant.
Finally, some investors assume limit orders are always better than market orders. Neither order type is universally superior. Market orders may be reasonable when immediate execution is more important than small price differences, particularly in very liquid securities. Limit orders may be preferable when the acceptable price matters more than speed.
When it matters most
Limit orders matter most when the execution price could vary meaningfully from the last quoted price. This can happen in securities with low trading volume, wide bid-ask spreads, or limited market depth. A thinly traded stock or fund may show a last price that is not a reliable indicator of what an investor can actually buy or sell for at that moment.
They also matter during volatile periods. Prices can move quickly around market openings, market closings, economic releases, earnings announcements, and other events. A market order entered during a fast move can fill at a price noticeably different from the quote seen moments earlier. A limit order can cap that risk, although it may fail to execute.
Limit orders are especially relevant outside regular trading hours. Pre-market and after-hours sessions often have lower liquidity and wider spreads than the regular session. Many brokers require limit orders during extended-hours trading for this reason.
They can also be useful for investors who value disciplined entry and exit prices. For example, an investor may estimate a reasonable purchase price based on valuation, portfolio allocation, or expected return assumptions. A limit order can translate that price discipline into an order instruction. The same applies to selling when an investor has a target price or minimum acceptable exit level.
However, the importance of limit orders depends on context. For a long-term investor buying a broad, highly liquid ETF in a small dollar amount during normal market hours, the difference between a market order and a marketable limit order may be small. For a large order in a less liquid security, order type, order size, and timing can have a much greater effect.
Investors also use variations such as marketable limit orders. A marketable buy limit is set at or above the current ask, while a marketable sell limit is set at or below the current bid. This type of order seeks quick execution but still places a boundary on the worst acceptable price. It can be a middle ground between a pure market order and a patient, nonmarketable limit order.
Key takeaways
- A limit order is an instruction to buy or sell only at a specified price or better.
- A buy limit sets the maximum price the investor is willing to pay; a sell limit sets the minimum price the investor is willing to accept.
- Limit orders provide price control but do not guarantee execution.
- Orders can be partially filled if there is not enough available volume at the limit price.
- Limit orders are often most useful in volatile markets, thinly traded securities, wide-spread markets, and extended-hours trading.
- Market orders prioritize speed, while limit orders prioritize price discipline.