# Limit Orders

> A limit order trades only at your price or better. Learn how buy and sell limits work, why they may not fill, queue priority and how to set a smart limit price.

Source: https://learn.tradelabsai.com/orders/limit-orders/  
Track: Orders and Execution · Level: Beginner · Updated: 2026-10-03  
Publisher: TradeLabs AI (https://tradelabsai.com). Education, not financial advice.  
Cite as: TradeLabs Learn, "Limit Orders", https://learn.tradelabsai.com/orders/limit-orders/

A limit order is an instruction to buy or sell **only at a price you choose, or better**. A buy limit sets the most you will pay. A sell limit sets the least you will accept. In exchange for that control, you give up certainty: if the market never reaches your price, your order simply waits and may never fill.

## How a limit order works

- A **buy limit at $49.50** fills at $49.50 or lower. It never pays more.
- A **sell limit at $52.00** fills at $52.00 or higher. It never accepts less.

When you place a limit order away from the current price, it joins the [[the-order-book-and-market-depth|order book]] and waits. You become a **maker**: your order adds liquidity that other traders can trade against. When a seller arrives willing to sell at $49.50, your buy fills.

*Figure: The order waits below the market. It fills only if the price comes down to it.*

## If your limit is already better than the market

If you place a buy limit **above** the current ask, the market is already offering a better price than your limit, so the order fills immediately at the ask (or better) up to your limit. This is called a **marketable limit order**. It is the safest way to trade immediately, because it acts like a [[market-orders|market order]] but refuses to fill beyond the price you set.

**Example: A marketable limit**
Quote: bid $49.98, ask $50.02. You send a buy limit at $50.05 for 300 shares. If 300 or more shares are offered at $50.02, you fill at $50.02. If only 100 are offered there and the next level is $50.09, you get 100 shares and the other 200 wait at $50.05 instead of chasing to $50.09.

## Why limit orders do not always fill

A limit order can fail to fill even when the price touches your level:

1. **The price never reaches it.** The most common case. The stock you wanted at $49.50 bottoms at $49.52 and runs to $55.
2. **The queue.** Orders at the same price are usually filled in the order they arrived, first in first out. If 5,000 shares were waiting at $49.50 before yours and only 2,000 trade there, your order does not fill. See [Fill Probability and Queue Position](https://learn.tradelabsai.com/orders/queue-position/).
3. **Partial fills.** You might get 120 of your 500 shares before the price moves away.
4. **Time in force ran out.** A day order is cancelled at the close. See [Time in Force: Day, GTC and GTD Orders](https://learn.tradelabsai.com/orders/time-in-force/).

**Note: The cost of missing**
A missed fill has a cost too, even if it never shows on a statement. If you saved 3 cents by waiting but missed a move of $5 several times a year, waiting was expensive. Good traders track missed trades in their [Trading Journal](https://learn.tradelabsai.com/start-here/trading-journal/).

## Choosing your limit price

Where you place the limit depends on what you want from the trade:

| Goal | Where to place a buy limit | Fill chance | Price |
|---|---|---|---|
| Get in now with protection | At or slightly above the ask | Very high | Close to the ask |
| Save the spread | At the bid, or one tick above it | Medium | Better by part of the spread |
| Buy a pullback | At a [[support-and-resistance|support]] level below the price | Low to medium | Much better, if it fills |

For selling, mirror the table: at or below the bid to exit now, at the ask to save the spread, at resistance above to take profit.

**Tip: Join or improve the bid**
If the market is bid $49.98 and offered at $50.02, a buy limit at $49.99 puts you first in line at a new best bid. Any seller who wants out quickly will hit your order before the others. This is how patient traders recover part of the [Bid-Ask Spread](https://learn.tradelabsai.com/markets/bid-ask-spread/).

## Limit orders for exits

Limit orders are not only for entries. A **sell limit above the market** is the standard way to take profit at a target. Placed together with a stop loss, they form a [[bracket-orders|bracket]] that defines the whole trade in advance. Profit targets work best as limit orders, because you never need to chase a price you are happy to receive.

A limit order is **not** a good stop loss, though. A sell limit below the current price would fill immediately. Protection against a fall needs a [[stop-orders|stop order]] or a [[stop-limit-orders|stop-limit order]].

## Hidden costs and benefits

- **Maker rebates.** Many exchanges pay a small rebate to orders that add liquidity and charge a fee to orders that take it. Your broker may or may not pass this on.
- **Adverse selection.** Your limit order tends to fill most often when the market is moving through your price, which is exactly when the price may keep going against you. A buy limit that fills during a sharp drop often keeps losing for a while.
- **No slippage.** By definition, a limit order cannot fill worse than your price, which removes the risk of [Slippage](https://learn.tradelabsai.com/markets/slippage/).

## Common mistakes

- **Setting limits too far away** and then chasing the price with a market order after missing it.
- **Leaving GTC orders forgotten** in the book for weeks.
- **Placing limits at round numbers** like $50.00, where large queues form. A price of $50.03 can fill when $50.00 does not.
- **Using limit orders where speed matters most**, such as exiting a trade that has clearly failed.

## Key takeaways

- A limit order guarantees your price or better, not a fill.
- Marketable limits give you speed with protection; resting limits save the spread or buy pullbacks.
- Queue position and partial fills decide whether you trade at your price.
- Use limits for entries and targets, and stops for protection.

Compare both order types side by side in [Market vs Limit Orders](https://learn.tradelabsai.com/orders/market-vs-limit-orders/), or see how limits combine with triggers in [Stop-Limit Orders](https://learn.tradelabsai.com/orders/stop-limit-orders/).

## Frequently asked questions

### Why did my limit order not fill when the price touched it?

Orders at the same price are usually filled in the order they arrived. If many shares were already waiting at your price and only some traded there before the price moved away, your order stayed unfilled.

### How long does a limit order last?

It depends on the time in force you choose. A day order expires at the end of the session. A good till cancelled order stays until it fills or you cancel it, subject to your broker's maximum.

### Is a limit order better than a market order?

Neither is better in every case. A limit order controls your price but may not fill. A market order fills but does not control the price. Limits suit entries and targets; market orders suit urgent exits in liquid markets.

## Sources

- U.S. Securities and Exchange Commission, [Limit order](https://www.investor.gov/introduction-investing/investing-basics/glossary/limit-order)
- Wikipedia, [Limit order](https://en.wikipedia.org/wiki/Limit_order)

## Continue learning

- Next lesson: [Market vs Limit Orders](https://learn.tradelabsai.com/orders/market-vs-limit-orders/)
- Previous lesson: [Market Orders](https://learn.tradelabsai.com/orders/market-orders/)
- Related: [Market Orders](https://learn.tradelabsai.com/orders/market-orders/): A market order buys or sells immediately at the best available price. Learn how it fills, what slippage costs and when a market order is the wrong choice.
- Related: [Market vs Limit Orders](https://learn.tradelabsai.com/orders/market-vs-limit-orders/): Market orders fill now at an uncertain price; limit orders fix the price but may not fill. Compare costs, risks and the right situations for each order type.
- Related: [Stop-Limit Orders](https://learn.tradelabsai.com/orders/stop-limit-orders/): A stop-limit order becomes a limit order when its stop price trades. Learn how to set the stop and limit, when it protects you and when it can fail to fill.
- Related: [Time in Force: Day, GTC and GTD Orders](https://learn.tradelabsai.com/orders/time-in-force/): Time in force sets how long an order stays active. Learn day orders, good till cancelled, good till date and extended hours settings, with examples and pitfalls.
- Related: [Bid-Ask Spread](https://learn.tradelabsai.com/markets/bid-ask-spread/): The bid-ask spread is the gap between the best price to buy and the best price to sell. Learn how to read it, what it costs you and how to pay less of it.
- Related: [Fill Probability and Queue Position](https://learn.tradelabsai.com/orders/queue-position/): Your place in the order queue decides whether a limit order fills. Learn how queues work, how to estimate fill probability and why fills can be a warning sign.
