Market-on-Close Order (MOC)
A market-on-close order buys or sells at the official closing price set in the exchange's closing auction. Index funds use them heavily, which is why the close is often the busiest moment of the day.
A market-on-close (MOC) order says: fill me at whatever the official closing price turns out to be. It does not trade during the day. Instead it waits for the exchange’s closing auction, where all on-close orders meet the regular order book at one price. On Nasdaq that auction is the Closing Cross, which sets the official closing price for every Nasdaq-listed stock.1 This entry covers the cutoff times, the imbalance data that traders watch, and the risks of giving up price control.
- Category
- Order Types
- Reading time
- 6 min
- Also called
- Market on close, MOC order, On-close order
- Updated
The MOC order in plain words
A normal market order fills right away at the best available price. An MOC order instead joins the closing auction and fills at the single closing price. Funds that track an index or value their holdings at the close use it so their trades match the price their benchmark uses. See Index Fund.
There are deadlines. On the NYSE, MOC orders can be entered, changed or cancelled until 3:50 p.m. Eastern; after that they cannot be cancelled, and new ones are allowed only to offset a published imbalance.2 On Nasdaq, MOC orders must arrive before 3:55 p.m., and on-close orders can be changed or cancelled only before 3:50 p.m.3
How an MOC order is filled, step by step
Enter before the cutoff
Send the order to the listing exchange’s closing auction before its deadline.2
Orders build up
On-close buy and sell orders collect in the closing book during the afternoon.
Imbalance is published
From 3:50 p.m. Nasdaq publishes paired shares, imbalance size and side, and a reference price, every 10 seconds until 3:55 p.m. and every second after that.3
The auction runs at 4:00 p.m.
The on-close book and the continuous book are matched into one closing price.3
Fill at the official close
MOC orders execute at that price, which becomes the official closing price.3
Worked examples
Example 1 — An index fund buys at the close
Matches benchmarkHypothetical: an index fund must buy 50,000 shares on the day of an index change. It sends an MOC order; the official close is $42.10.
| Fill price | $42.10 (official close) |
| Cost | 50,000 × $42.10 = $2,105,000 |
The fund pays exactly the closing price the index uses, so its tracking error from this trade is close to zero. See Rebalancing.
Example 2 — Reading an imbalance
Buy-side imbalanceHypothetical: at 3:50 p.m. the closing book holds 300,000 shares of MOC buys and 120,000 shares of MOC sells.
| Paired shares | 120,000 |
| Imbalance | 300,000 − 120,000 = 180,000 |
| Imbalance side | Buy |
A large buy imbalance invites sellers to step in and can push the closing price up. See Order Book Imbalance.
Example 3 — MOC vs. limit-on-close
Certainty vs. priceHypothetical: two traders want to buy 1,000 shares at the close. One uses an MOC order, the other a limit-on-close (LOC) order at $41.90. The close is $42.10.
| MOC order | Filled at $42.10 |
| MOC cost | 1,000 × $42.10 = $42,100 |
| LOC at $41.90 | Not filled: $42.10 > $41.90 |
The MOC order is filled but takes any price; the LOC order protects the price but may not fill at all. See Limit Order.
MOC vs. other closing-auction orders
| Aspect | Price control | Typical use |
|---|---|---|
| Market-on-close (MOC) | None: fills at the close | Index funds, benchmark trades |
| Limit-on-close (LOC) | Fills only at limit or better | Closing trades with a price cap |
| Offset / imbalance-only | Limit; only offsets imbalance | Liquidity providers |
Why traders use MOC orders
Index tracking
Funds benchmarked to closing prices trade at the close to match their index. See Index Fund.
Index changes
When stocks enter or leave an index, the resulting trades are often executed at the close. See Index Inclusion and Rebalancing.
Benchmark execution
Some orders are judged against the closing price rather than VWAP.
Large size with low impact
The auction gathers lots of liquidity at one moment, which can reduce Market Impact for big orders.
Advantages and disadvantages
Advantages
- Fills at the official closing price used for funds and indices.
- Taps the deep liquidity gathered in the closing auction.
- One price for all participants, no chasing the book.
- Simple to use for benchmark-driven trades.
Disadvantages
- No price limit: a large imbalance can move the close against you.
- Cannot be cancelled after the cutoff on major US exchanges.
- Fill is not guaranteed; Nasdaq says it does not guarantee MOC executions.3
- Cutoff times and rules differ between exchanges.
Going deeper
Read as far as you need. Each level builds on the one before it.
Why the close is so busy
Beginner
Many funds value their portfolios at the closing price, so trading at that price removes tracking risk. That concentrates a lot of orders into the final auction.
How the closing price is chosen
Intermediate
Offsetting imbalances
Advanced
After the NYSE cutoff, new MOC and LOC orders are accepted only on the opposite side of a significant imbalance.2 Closing offset orders on the NYSE and imbalance-only orders on Nasdaq execute only against an imbalance and never add to it.23 This is how liquidity providers absorb the one-sided flow from index funds. See Opening and Closing Auctions.
Common mistakes
Missing the cutoff
Nasdaq does not accept MOC orders entered after its 3:55 p.m. cutoff.3
Assuming you can cancel late
After 3:50 p.m. on the NYSE, MOC orders cannot be modified or cancelled.2
Using MOC in thin stocks
In illiquid names a one-sided close can print far from the last trade. A limit-on-close order caps the price.
Ignoring imbalance data
The published imbalance tells you which side is crowded before the auction runs.
Check your understanding
Test yourself before moving on. Each answer comes with an explanation.
Key points to remember
- An MOC order fills at the official closing price from the closing auction.
- It has no price limit, so imbalances can move the fill price.
- NYSE and Nasdaq set firm entry and cancel cutoffs before 4:00 p.m.
- Exchanges publish imbalance data in the final minutes.
- Index funds are big MOC users, which makes the close a high-volume moment.
Frequently asked questions
Can I use an MOC order with a retail broker?
Is an MOC order guaranteed to fill?
What happens if a stock has no closing auction?
Further learning
- Opening and Closing Auctions
How exchange auctions set the open and close.
- Market Order
The immediate-execution version.
- Limit Order
Adding price control to an order.
- Index Fund
The biggest users of MOC orders.
Sources
This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.
- Nasdaq. Nasdaq Closing Cross (opens in a new tab) Checked .
- NYSE. NYSE Opening and Closing Auctions (fact sheet) (opens in a new tab) Checked .
- Nasdaq. Opening and Closing Cross FAQs (opens in a new tab) Checked .
Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.