Stocks & Investing Basics

Market-on-Close Order: Definition, Purpose & How It Works

Learn what a Market-on-Close (MOC) order is, how closing auctions match trades, and cutoff deadlines. Read the full guide.

S

By StockEmber Team

Updated

In this articleBrowse All Stocks & Investing Basics
Illustration of a market clock approaching market close for order execution

Direct Answer

A Market-on-Close (MOC) order is an un-priced market order submitted to execute at the official exchange closing price set during an end-of-day closing auction. It guarantees trade execution at the close but does not offer price limit protection.

A Market-on-Close (MOC) order is an order to buy or sell a stock at the official exchange closing price set during the final trading auction of the day.

When you submit an order near the end of the trading day, choosing the right execution style determines whether your trade fills at a specific price limit or at the final market closing benchmark. Understanding how closing auctions calculate prices helps long-term investors manage execution timing and control trading costs.

This guide explains how MOC orders function, how exchange cutoff deadlines operate, and how closing auction mechanics affect a multi-year portfolio.

Quick Takeaways

  • A Market-on-Close (MOC) order guarantees execution at or near the official closing price, but it does not guarantee a specific target price.
  • Major stock exchanges match MOC orders through an end-of-day closing auction that balances buy and sell interest to set a single closing price.
  • Exchanges enforce strict cutoff deadlines, typically minutes before market close, after which MOC orders cannot be submitted, modified, or canceled.

What Is a Market-on-Close (MOC) Order?

A Market-on-Close (MOC) order is an un-priced market order submitted to execute as close as possible to the official daily closing price of a stock.

Unlike a standard market order that executes immediately at the prevailing bid or ask price during regular trading hours, an MOC order waits in the exchange order system until the final seconds of the trading session. When the market closing bell sounds, the exchange groups all participating orders into a single closing auction.

Because an MOC order is a type of market order, it prioritizes trade completion over price control. The order guarantees that your trade will execute when the market closes, but it does not let you cap the maximum price you pay or set the minimum price you accept.

Each primary exchange runs its closing auction under its own rulebook, such as NYSE Rule 7.35B and Nasdaq Rule 4754, which the U.S. SEC reviews and approves. Because every MOC order for a given stock clears in the same auction, they all receive the same official closing price.

How a Market-on-Close Order Works: The Closing Auction

MOC orders do not execute through continuous price matching; instead, they clear through a structured end-of-day process known as a closing auction (or closing cross).

Throughout the trading day, brokers route MOC orders directly to the primary exchange where the stock lists. During the final hour of trading, the exchange's electronic system aggregates these orders to calculate potential supply and demand matches.

  1. Order Aggregation: The exchange collects all incoming MOC buy and sell requests alongside limit orders designated for the close.
  2. Imbalance Publications: When buy and sell orders do not fully match, the exchange broadcasts order imbalance information (a public signal showing unmatched trading volume on either side) to market participants.
  3. Price Calculation: Special liquidity providers and automated algorithms step in to supply matching shares. The exchange algorithm calculates the exact price point that clears the maximum volume of shares.
  4. Execution: At market close, all matched MOC orders fill at that single calculated benchmark price.
Flowchart showing how Market-on-Close orders match in an exchange closing auction
Flowchart showing how Market-on-Close orders match in an exchange closing auction

Exchange Cutoff Times and Cancellation Rules

Because closing auctions rely on balanced order books, stock exchanges enforce strict cutoff deadlines for submitting or changing MOC orders.

These deadlines prevent market participants from placing large orders at the last second or pulling orders after seeing imbalance notices, which could cause sharp price moves at the close.

  • New York Stock Exchange (NYSE): The standard cutoff deadline for submitting or canceling MOC orders is 3:50 PM Eastern Time.
  • Nasdaq: New MOC orders are accepted until 3:55 PM ET. However, existing orders cannot be canceled or modified after 3:50 PM ET, per the Nasdaq Closing Cross FAQ.

After these cutoffs pass, exchanges generally reject any request to cancel or modify an MOC order, apart from narrow, exchange-approved exceptions for a legitimate error in the order itself, such as the wrong side, size, or symbol. If you submit an MOC order after the deadline, the exchange will reject the request.

In practice, submitting an MOC order well before the exchange cutoff, around mid-afternoon, can help retail investors avoid broker processing delays and last-minute system rejections.

Market-on-Close vs. Limit-on-Close vs. Stop Loss Orders

Understanding the differences between order types prevents unexpected trade fills during periods of market volatility.

A Limit-on-Close (LOC) order combines close-of-day execution with price protection. An LOC order fills at the official closing price only if that closing price is equal to or better than your specified limit price. If the closing price crosses your limit threshold, the trade does not execute.

A stop loss order, by contrast, activates during regular trading hours when a stock hits a predetermined trigger price. Once triggered, it converts into a standard market order to exit a position, regardless of what time of day the price threshold is reached.

Order TypeExecution TimingPrice ControlPrimary Risk
Market-on-Close (MOC)Market CloseNone (Market Order)Unknown final execution price
Limit-on-Close (LOC)Market CloseCapped by Limit PriceOrder may fail to execute
Stop Loss OrderIntraday (When Triggered)None after activationExecution slippage in fast markets

Why MOC Orders Matter for Buy-and-Hold Investors

While short-term day traders use MOC orders to close out open positions before nightfall, long-term investors encounter MOC mechanics mainly through index funds and passive asset allocation.

Large index funds and exchange-traded funds (ETFs) evaluate their performance against official closing benchmarks. To keep tracking error (the gap between a fund's performance and its underlying index) low, fund managers use MOC orders to buy or sell large blocks of shares at the exact daily benchmark price.

For individual investors building a long-term portfolio through investing in stocks, MOC orders offer a practical way to rebalance holdings at official daily prices. However, because MOC orders carry no price limit, orders placed during large closing imbalances can fill noticeably higher or lower than the last traded price, a cost known as slippage.

Over a 10-year holding period, minor execution slippage of even 0.10% on repeated annual rebalancing trades quietly reduces compound portfolio returns. Using limit orders or reviewing closing auction imbalance data helps protect long-horizon capital from unexpected price jumps at the bell.

Common Misconceptions About Market-on-Close Orders

Investors new to order types often misunderstand how MOC orders behave during closing volatility. Keep these realities in mind:

  • Misconception 1: MOC orders guarantee a favorable price. An MOC order guarantees that your trade will fill, but it does not guarantee a good price. If bad news breaks during the final 15 minutes of trading, your sell order will fill at the lower closing auction price without price protection.
  • Misconception 2: You can cancel an MOC order up until 4:00 PM. Exchanges freeze MOC order books minutes before the market closes. Once the exchange cutoff time passes, your order is locked into the closing auction.
  • Misconception 3: MOC orders execute throughout the trading day. MOC orders sit idle in the exchange order book until the final closing cross routine runs at market close.

Conclusion

A Market-on-Close order is a practical tool for trading shares at a stock's official daily closing benchmark price. By pooling buy and sell volume into an end-of-day closing auction, exchanges establish transparent pricing for index funds and retail investors alike.

However, because Market-on-Close orders carry no price limits, they leave investors exposed to end-of-day price fluctuations and strict order cancellation cutoffs. Balancing order execution speed with limit price protection helps buy-and-hold investors build a disciplined, cost-efficient investment approach over time.

When you are ready to select an online trading platform that offers flexible order routing options, our broker reviews provide an objective comparison of account tools and fee structures.

FAQ

5 questions

What is a Market-on-Close (MOC) order?

A Market-on-Close (MOC) order is a market order set to execute at or as close as possible to the official daily closing price of a stock. It participates in the primary exchange's end-of-day closing auction alongside other aggregated buy and sell orders.

What is the cutoff time for a Market-on-Close order?

Stock exchanges set strict cutoff times for submitting or canceling MOC orders to maintain order book balance. For example, the New York Stock Exchange (NYSE) stops accepting and canceling MOC orders at 3:50 PM ET, while Nasdaq accepts new MOC orders until 3:55 PM ET but locks cancellations and changes at 3:50 PM ET.

What is the difference between a Market-on-Close order and a Limit-on-Close order?

A Market-on-Close (MOC) order executes at the closing price regardless of what that price is, guaranteeing execution but not price. A Limit-on-Close (LOC) order only executes at the closing price if that price is equal to or better than a specified limit price threshold.

Can a Market-on-Close order be canceled?

A Market-on-Close order can be canceled or modified only prior to the exchange's cutoff deadline. Once the cutoff time passes (such as 3:50 PM ET on the NYSE), the order is locked into the closing auction and cannot be canceled or changed.

Why do index funds use Market-on-Close orders?

Passive index funds and ETFs use MOC orders to minimize tracking error against their underlying target benchmark. By executing large share balances at the official closing price, fund managers align portfolio returns with official index performance.

Disclaimer

This guide was written with AI assistance and reviewed by the StockEmber editorial team for accuracy. StockEmber provides independent education, not personal financial advice. Investing puts your capital at risk: the value of investments can go down as well as up, you may get back less than you invest, and past performance doesn’t guarantee future results. Some links may support our work at no additional cost to you.

ST
StockEmber Team

Independent research desk

The StockEmber Team is our in-house desk of independent research writers. We test brokerage platforms, read the fine print on fees and custody, and cover ETFs and long-horizon investing for people who plan to hold for decades — not days.