What Is a Limit Order?
A limit order is an instruction to buy or sell a security at a specified price or better. For a purchase, the limit is the highest price the investor is willing to pay; for a sale, it is the lowest price the investor is willing to accept. If nobody on the other side of the market will trade at that price or better, the order does not execute: it waits.
Limit orders are one of the two basic ways to trade on a stock exchange, alongside market orders, which trade immediately at whatever price is available. They are used for shares, ETFs, bonds, and listed derivatives.
How a Limit Order Works
When a limit order reaches a trading venue, the matching system compares its price with the best price on the opposite side of the order book. There are two possible outcomes:
- The order is marketable. A buy limit at or above the best ask, or a sell limit at or below the best bid, trades at once against the orders already waiting in the book, at their prices. It keeps trading until it is complete or until the next available price is beyond the limit.
- The order rests. If no opposite order is good enough, or once the tradable part has been used up, the rest of the order is placed in the book at its limit price. It becomes part of the visible bid or ask that other investors see.
Resting limit orders are what create the best bid and best ask, so the bid-ask spread is formed largely by them and by market makers’ quotes. This is why limit orders are said to provide liquidity, while market orders take it.
Price-Time Priority
Most order books rank orders first by price and then by time of entry. A buy order at a higher price comes before one at a lower price, and among orders at the same price, the earliest is filled first. Modifying an order’s price generally sends it to the back of the queue at its new level.
Validity
A limit order stays active only for the period the investor chooses. By default, it is usually a day order, canceled at the close if not filled; good-till-cancelled or good-till-date orders last longer, within limits set by the broker and the venue. An order left open for days carries a hidden risk: news can change a company’s value while the order waits, and it may then be filled at a price that no longer looks attractive.
Limit Orders in Auctions
Many European exchanges open and close the day with an auction, in which orders are collected and then executed together at a single price. A limit order takes part only if the auction price is at its limit or better. As of December 2026, Borsa Italiana’s timetable for Euronext Milan runs the opening auction from 7:30 to 9:00 a.m. and the closing auction from 5:30 to 5:35 p.m. CET. The guide how the stock market works describes each phase of the trading day.
The EU Rule on Unexecuted Client Limit Orders
Under Article 28 of MiFID II (Directive 2014/65/EU), when a client’s limit order on shares traded on a trading venue cannot be executed immediately, the investment firm must make it public at once so that other participants can trade against it, unless the client expressly instructs otherwise. Firms can be allowed to meet this duty by sending the order to a trading venue, and supervisors can waive it for orders that are very large compared with normal market size.
Average Execution Price Formula
A marketable limit order may be filled in several pieces at different prices. The price actually paid is the weighted average of the fills:
where:
- P i: the price of each partial execution, or fill.
- Q i: the number of shares filled at that price.
For a buy limit order, the average can never exceed the limit; for a sell limit order, it can never fall below it.
Example of a Limit Order in the Order Book
Advantages and Disadvantages of Limit Orders
Limit orders trade certainty of execution for certainty of price.
Pros
- Sets the worst price in advance: the investor never pays more, or receives less, than the limit
- Protects against sudden price moves and thin order books
- Can save part of the bid-ask spread when the order rests at a better price than the opposite side
- Can be used in both auctions and continuous trading
Cons
- No guarantee of execution: the market may move away and never come back
- Partial fills can leave a position smaller than planned
- Orders left open for days can be filled after news has changed the outlook
- Requires choosing a price and monitoring the order, which takes more attention than a market order
Limit Order vs. Market Order vs. Stop-Limit Order
| Feature | Limit order | Market order | Stop-limit order |
|---|---|---|---|
| Instruction | Buy at or below, or sell at or above, a set price | Buy or sell now at the best prices available | Becomes a limit order once a trigger price is reached |
| Price | Capped by the limit | Not known in advance | Capped by the limit once triggered |
| Execution | Not guaranteed | Almost certain in a liquid market | Not guaranteed |
| Effect on the order book | Adds liquidity if it rests | Takes liquidity | Inactive until triggered |
| Typical use | Controlling the price, thin markets | Speed in heavily traded securities | Limiting losses without accepting any price |
The guide types of stock orders compares these and other order types, including stop orders and validity instructions, in more detail.