A stock can move several dollars while you are deciding whether to click Buy. That is exactly the problem a limit order is built to solve. If you had asked, “What is a limit order in trading?” the short answer is this: it is an order that sets the worst price you will accept. You choose the most you will pay to buy or the least you will take to sell.
That control comes with a trade-off. Your broker will not fill the order just because you entered it. The market must reach your price, and enough shares must be available. For investors who can wait for a target price, that trade-off can be worthwhile. For someone who needs to enter or exit immediately, it can be costly. Here is how limit orders work, where they can help, and where they can surprise you.
Key Takeaways
- A limit order in trading sets the maximum price you will pay to buy or the minimum price you will accept to sell, giving you price control over your transactions.
- Limit orders only execute when the market reaches your specified price or better, meaning execution is not guaranteed, and partial fills can occur.
- Supply and demand in trading represent the buying and selling interest behind price movements, where demand zones mark strong buyer accumulation and supply zones mark aggressive seller pressure.
- Use buy limit orders to target lower entry points below the current price, and sell limit orders to set target sale prices above the current market price.
- Limit orders protect against unfavorable price changes and help maintain discipline by locking in your desired price before emotions or market volatility intervene.
- Be aware that a limit order may remain unfilled if the market never hits your price, and you should carefully choose the order type and duration and review open orders regularly to align with your trading strategy.
- Limit orders are best suited for situations where price control is more important than immediate execution, especially in less liquid or volatile securities.
How a Limit Order Works
A limit order tells your broker to trade only at a stated price or a better price. “Better” has a different meaning depending on whether you buy or sell:
- A buy limit order fills only at your limit price or lower.
- A sell limit order fills only at your limit price or higher.
Suppose a stock trades near $100. You want 50 shares, but you do not want to pay more than $96. You enter a buy limit at $96. If sellers offer shares at $96, $95.80, or less, your order can fill. If the stock stays above $96, nothing happens.
The order does not force the market to give you that price. It waits for a willing buyer or seller. This is the central point behind what a limit order is in trading: it protects your price, not your execution.
Most brokerages send a limit order to an exchange or market maker. The order may join other orders already waiting at the same price. When the market reaches that level, execution usually follows price priority and time priority. Orders at a better price go first: among orders at the same price, earlier orders generally go first.
Buy Limit Orders vs. Sell Limit Orders
A buy limit order sets your maximum purchase price. Investors often place it below the current market price because they want to buy a pullback. If a stock trades at $42 and you set a buy limit at $39, the order waits until shares are offered at $39 or less.
A sell limit order sets your minimum sale price. It often sits above the current market price. If you own a stock at $42 and want to take profit at $48, a sell limit at $48 will fill only at $48 or more.
The words “maximum” and “minimum” prevent a common mistake:
| Order type | Your limit price means | It can fill at |
| Buy limit | The most you will pay | Limit price or lower |
| Sell limit | The least you will accept | Limit price or higher |
You can place a buy limit above the current price or a sell limit below it, but it may execute right away if a matching quote exists. Before you submit, check that you selected the correct side, share quantity, and price. A reversed order can turn a patient plan into an instant trade.
How Limit Orders Are Filled: Bid, Ask, Liquidity, and Partial Executions
The quoted price on your screen usually has two sides. The bid is the highest current price a buyer offers. The ask is the lowest current price a seller requests. The difference is the bid-ask spread.
A buy limit order interacts with available asks. A sell limit order interacts with available bids. For example, if the best ask is $25.10 and you enter a buy limit at $25, your order waits. If sellers later offer shares at $25, it can execute.
Liquidity matters as much as the displayed price. Assume you place an order to buy 1,000 shares at $25. The market may show only 200 shares for sale at that price. You could receive 200 shares first, which is a partial execution, while the remaining 800 shares stay open. The price can then move away before the rest fills.
Thinly traded stocks, some ETFs, options, and extended-hours sessions can have limited liquidity. In those markets, a single order can change the quote, and a displayed price may disappear quickly. A limit price protects you from paying more or receiving less than planned, but it cannot create enough shares or demand to complete your order.
How to Place a Limit Order and Set Its Duration
Most broker order tickets ask for the same basic details. First, choose buy or sell. Next, enter the number of shares, select limit as the order type, and enter your limit price. Review the estimated cost or proceeds before you submit.
You also choose the order’s time in force. Common choices include:
- Day order: The order expires at the end of that trading day if it does not fill.
- Good ’til canceled (GTC): The order remains open until it fills, you cancel it, or the broker’s maximum GTC period ends. Many brokers set their own limit, often 30 to 90 days.
- Immediate-or-cancel (IOC): The market fills any available amount immediately and cancels the rest, if your broker offers it.
Check open orders after stock splits, large price moves, earnings reports, or a change in your investment view. A forgotten GTC order can fill weeks later when you no longer want the position.
Limit Order Examples for Buying and Selling
Buying example: A share trades at $72. You believe $68 offers a better entry point. You place a day order to buy 100 shares at a $68 limit. The order fills only if shares reach $68 or below before the market closes.
Selling example: You own 100 shares trading at $72 and would like to sell at $80. You place a GTC sell limit at $80. If the stock later trades at $80.25 and buyers are available, the order may fill at $80.25, which is better than your minimum.
Benefits and Drawbacks of Using Limit Orders
The main benefit of a limit order is price discipline. You define the price before emotion, headlines, and a fast-moving chart affect your judgment. It can help you buy at a planned entry or sell at a planned target without watching every tick.
Limit orders can also reduce price risk in volatile or less-liquid securities. A market order can receive a worse price than the quote you saw, especially when the bid-ask spread is wide. A limit order sets a clear boundary.
But price control does not guarantee a trade. The market may miss your price by one cent, touch it too briefly for your order to reach the front of the line, or lack enough available shares. You may receive only part of your requested amount.
There is another cost: opportunity cost. You may set a buy limit at $50 while the stock rises from $52 to $70. Or your sell limit at $60 may fill, only for the stock to climb to $75. The order followed your instruction: it simply cannot predict the next move.
Limit orders work best when your target price matters more than immediate execution. They are not a promise of profit or a substitute for position sizing and research.
Limit Orders vs. Market, Stop, and Stop-Limit Orders
Each order type answers a different question: Do you care most about getting filled, controlling price, or acting after a trigger?
| Order type | Main priority | What happens |
| Market order | Speed | Executes at the best available price, but the final price can vary. |
| Limit order | Price control | Executes only at the limit price or better: it may not execute. |
| Stop order | Triggered action | Becomes a market order once the stop price trades. |
| Stop-limit order | Trigger plus price control | Becomes a limit order once the stop price trades. |
A market order suits a liquid stock when you must buy or sell now. It does not set a price ceiling or floor.
A stop order is often used to enter after an upward move or to sell after a decline. For example, a sell stop at $45 becomes a market sell order after the stock trades at or through $45. In a fast drop, the actual fill can be well below $45.
A stop-limit order adds a limit price. You might set a sell stop at $45 and a limit at $44.50. After the trigger, your broker will sell only at $44.50 or higher. That controls price, but a sharp fall can leave you holding the shares with no execution.
What Happens When a Limit Order Is Not Filled
An unfilled limit order simply remains open until its time-in-force rule ends. A day order expires after the session. A GTC order stays active until it fills, expires under broker rules, or you cancel it.
No fill does not mean the order was wrong. Your price may have been reasonable, but the market never reached it. Or the market may have printed your price while other orders ahead of yours used the available shares. This is common when many traders choose obvious round numbers, such as $50 or $100.
Partial fills need attention. If 30 of your intended 100 shares fill, you now hold a smaller position while the other 70 shares remain open. You can leave the remainder in place, cancel it, or change the order. Consider commissions, tax effects, and whether a partial position still fits your plan.
Review an order before you modify it. A change to price or quantity can cause the exchange to treat it as a new order, which may move it behind other orders at the same price. And always cancel an old order before placing a replacement if your broker does not handle that automatically.
Price Gaps, Extended Hours, and Other Timing Risks
Prices do not move one cent at a time. A stock can close at $104 and open at $110 after strong earnings. If you had a sell limit at $105, it could fill at the opening price of $110 or another price above your limit. That is favorable for a seller.
Gaps can also create missed trades. A stock might fall from $104 to $96 overnight while your buy limit sits at $100. In normal conditions, a buy limit can fill at $96 because that is better than your maximum. Yet the rapid move may reflect damaging news, not the bargain you expected. A limit order cannot judge why the price changed.
Extended-hours trading adds special risks. Many brokers accept limit orders during premarket and after-hours sessions, while market and stop orders may have restrictions. Trading volume is often lower, spreads are often wider, and quotes can move sharply after an earnings release or news event. A buy limit can fill during a thin session and then face further losses when regular trading begins.
Check whether your order is valid for regular hours only or includes extended hours. Use a price you understand, and do not assume a chart quote guarantees a fill.
Conclusion
What is a limit order in trading? It is a direct instruction to buy at a chosen price or lower, or sell at a chosen price or higher. That makes it useful when price matters more than speed.
Before you place one, confirm the order side, limit price, share amount, and duration. Then accept the key trade-off: your order may fill partly, fill later, or not fill at all. Used with a clear investing or trading plan, a limit order can keep you from paying or accepting a price you never intended.
Frequently Asked Questions about Limit Orders in Trading
What is a limit order in trading and how does it work?
A limit order is an instruction to buy or sell a stock at a specified price or better. It only executes if the market reaches your set limit price or a more favorable one, giving you control over the price but no guarantee of execution.
How do buy limit orders differ from sell limit orders?
Buy limit orders set the maximum price you’re willing to pay and execute at that price or lower, often placed below current market price. Sell limit orders set the minimum price you’ll accept and execute at that price or higher, typically above market price.
What are the main advantages and drawbacks of using limit orders?
Advantages include price control, price protection from market swings, and convenience by allowing set-it-and-forget-it trades. Drawbacks include the risk of no or partial execution and the possibility of missing better price moves beyond your limit.
How does liquidity affect the execution of limit orders?
Liquidity determines if enough shares are available at your limit price. Limited liquidity can cause partial fills or no fills, since your order can only execute if sufficient shares meet your price, especially in thinly traded stocks or extended-hours sessions.
Can limit orders be used during extended-hours trading?
Yes, most brokers accept limit orders during extended-hours trading, but market and stop orders usually are not allowed. However, lower liquidity and wider spreads in these sessions can increase risks of volatile fills or missed trades.
What happens if a limit order is not filled?
If the market never reaches your limit price, your order remains open until it expires based on your specified duration (day order or good-till-canceled) or until you cancel it. No fill simply means the price conditions weren’t met, not that your order was wrong.


