Market-on-close order
Also called MOC
An order to buy or sell as close as possible to the end of regular trading, at or near the closing price, or else be cancelled. A market-on-open order does the same at the start of the session.

On this page· 5 sections
Some orders are tied to a moment, not to a price. A market-on-close order asks for execution as close as possible to the end of regular trading, and if that does not happen, it is cancelled[1].
Its mirror is the market-on-open order, which aims at the beginning of regular trading hours in the same way[1].
How it works
FINRA lists market-on-open and market-on-close orders among the time mandates that market, limit and stop orders can carry[1]. Nasdaq’s definition covers stocks, options and futures[2]. For US stocks, regular trading hours run from 9:30 a.m. to 4 p.m. Eastern Time[1].
The wording on price differs between sources. Nasdaq and FINRA say the order is executed as close as possible to the close[1][2]. The SEC’s bulletin calls an on-close order a market or limit order that must be executed at the closing price, with any balance not executed in the closing trade cancelled[3].
Like any market order, it carries no price guarantee[3]. The price comes from the close, which is not known when the order is entered.
Example
Say you hold 300 shares and send a sell order on close. At 3:55 p.m. the last trade is $40.20. The close prints at $40.05.
- As a market-on-close order, it executes at the closing price: 300 × $40.05 = $12,015.00. At the 3:55 price it would have brought 300 × $40.20 = $12,060.00, which is $45.00 more.
- With a limit-on-close order at $40.10, the $40.05 close is below the limit, so nothing executes and the order is cancelled[3].
- Had the close printed at $40.30, the limit order would execute at that closing price: 300 × $40.30 = $12,090.00.
Watch out
The last price before the close is not the fill price. In step 1 the difference was $45.00, and it can run either way.
The order does not carry over. Whatever is not executed in the closing trade is cancelled, not moved to the next day[3].
Availability differs by broker. The SEC notes that order types and trading instructions vary by brokerage firm, and that some firms offer order types with similar names but important differences[3].
Sources
- RegulatorFINRAOrder TypesChecked November 9, 2026
- ExchangeNasdaqMarket-on-Close (MOC) order DefinitionChecked November 9, 2026
- RegulatorU.S. Securities and Exchange Commission (Investor.gov)Understanding Order Types – Investor BulletinChecked November 9, 2026
