What is IOC in Share Market?

What is IOC in Share Market?

Introduction

You're watching a stock. The price just dipped to exactly where you wanted to buy. You place the order, but by the time the exchange processes it, the price has already moved. 

This is the exact problem an IOC order solves.

Keep scrolling to know what is IOC order, why investors use it, when to use IOC order, how it’s different from Day order, GTC, or FOK, and what to do in worse case scenario. 

What Is IOC (Immediate or Cancel) Order in the Share Market?

An IOC (Immediate or Cancel) order is a trading instruction that tells the stock exchange to execute this trade right now (fully or partially) and cancel whatever doesn't fill in that instant. The entire process plays out within milliseconds. So, nothing sits in the order book waiting.

For example, let’s assume you want to buy 500 shares of a company at ₹100. If only 200 shares are available at that price right now, the exchange will fill those 200 and cancel the remaining 300 automatically.

You can place an IOC order as either a market order (buy or sell at whatever price is available right now) or a limit order (buy or sell only at a specific price or better). Most traders pair IOC with a limit price for tighter control.

When to Apply IOC Order?

Now that you know What is IOC, the next question comes “When to use IOC order”? 

If you're a long-term investor buying 10 shares of a blue-chip stock, a regular Day order works perfectly fine. IOC starts making sense when

1.Large Quanlity orders

If you're buying or selling a large block (say 5,000 or 10,000 shares), it can signal your intent to other traders. They may front-run your order, pushing the price up before you're fully filled. 

 

Hence, an IOC order grabs whatever's available instantly and removes the rest, reducing your market footprint.

2. Fast-Moving Markets

During earnings announcements, budget days, or RBI policy updates, stock prices can swing sharply within minutes. An IOC order lets you attempt a trade at the current price without risking a fill at a completely different price 20 minutes later.

 

Some traders use IOC for thinly traded stocks to avoid getting stuck with a pending order in a dead order book. But be careful here. 

 

If there aren't enough buyers or sellers, your IOC order may cancel entirely, and you'll need to try again.

IOC vs GTC vs FOK vs Day Order: Which Order Type Should Beginners Use?

Opening the app screen and seeing IOC, GTC, FOK, Day order together is another confusion. Before using any, learn the difference between them:

 

  1. Day Order - Stays active until the market closes at 3:30 PM (on NSE/BSE). If it doesn't fill by then, it cancels automatically.
  2. GTC (Good Till Cancelled) order — Also called GTT (Good Till Triggered) by brokers stays active for days, weeks, or even months until your target price is hit.
  3. FOK (Fill or Kill) order - It demands the full quantity be filled immediately, not a single share less. If even one share can't be matched right now, the entire order is killed. In short, no partial fills allowed.
  4. IOC (Immediate or Cancel) order - It sits between Day and FOK. It executes instantly, allows partial fills, and cancels whatever's left. It's faster than a Day order but more flexible than FOK.

 

Here's a quick reference:

Order TypeHow Long It Lasts?Partial Fill Allowed?Best For
DayUntil market close (3:30 PM)YesMost regular trades
IOCMilliseconds or Zero-durationYesFast execution, volatile stocks
FOKMillisecondsNo — all or nothingInstitutional, block trades
GTC/GTTDays up to 1 yearYesLong-term price targets

How to Place an IOC Order: Step-by-Step Beginner Guide

The process is nearly identical across most Indian trading platforms. Here's how it typically works:

 

Step 1 - Log into your trading app. 

Open your broker's app and log in with your credentials.

Step 2 - Search for the stock. 

Type the company name or ticker symbol in the search bar. 

Step 3 - Tap Buy or Sell. 

Choose the direction of your trade depending on whether you want to enter or exit a position.

Step 4 - Set the order type. 

Select "Limit" if you want to specify a price, or "Market" if you want whatever's available right now.

Step 5 - Change the validity to IOC

This is the step most people miss. Look for a dropdown or toggle labelled "Validity" or "Order Validity." It usually defaults to "Day." Switch it to "IOC."

Step 6 - Quantity & Price

Enter quantity and price, then confirm. Double-check your numbers. Hit the confirm or place order button. The exchange will attempt to fill it instantly.

If the order executes (fully or partially), you'll see the trade in your positions. If it doesn't match, it'll appear in your order book as "Cancelled," and you can decide whether to try again.

What if IOC order fails in Share market?

When an IOC order "fails," it simply means it couldn't find a matching buyer or seller at your specified price in that exact instant. 

Here's what actually happens behind the scenes, and what it means for you.

Scenario 1: No match at all 

You place an IOC limit order to buy 500 shares at ₹100. But nobody is selling at ₹100 right now. The entire order gets cancelled automatically. No shares are bough, nor money is deducted. 

Scenario 2: Partial fill

You want 500 shares at ₹100, and only 200 are available at that price. The exchange fills those 200, and the remaining 300 are cancelled. You now own 200 shares. The funds blocked for the remaining 300 shares are released back to your trading balance immediately.

Scenario 3: Market order IOC with no liquidity 

Suppose you place a market IOC in a thinly traded stock. If the bid-ask spread is very wide or there are no sellers at all, the order may cancel completely, even though you selected "market."

Conclusion: Should You Use IOC Orders?

IOC orders are a sharp tool, but they're not an everyday tool for most retail investors in India. Where IOC genuinely adds value is in situations where speed, precision, and clean order management matter. 

The biggest mistake beginners make with IOC is using it without understanding partial fills. Start with Day orders. 

A Day order gives the market more time to find a match. Alternatively, you can try placing multiple smaller IOC orders across slightly different price levels to improve your chances of getting filled.

Learn how the order book works, understand bid-ask spreads, and then if wished, IOC order could be the next choice.

Frequently Asked Questions

What is the full form of IOC in the share market?

IOC stands for Immediate or Cancel. It's a type of order validity where the trade executes instantly (fully or partially), and any unfilled portion is cancelled automatically by the exchange.

Does an IOC order charge extra brokerage?

No. IOC orders typically carry the same brokerage and transaction charges as any other order type. The only difference is in how long the order stays active — not in what you pay.

What's the difference between IOC and Day order?

A Day order stays active until 3:30 PM (market close on NSE/BSE). An IOC order is active for only milliseconds; it either fills instantly or gets cancelled. Day orders suit most trades, while IOC suits speed-sensitive situations.

Can I place an IOC order after market hours?

IOC orders are designed for live market sessions. You cannot place an IOC order during pre-market or post-market hours on NSE/BSE. For after-hours orders, use AMO (After Market Orders) with Day validity.

What happens to my money if an IOC order fails?

Nothing. If the order isn't filled, the blocked funds are released back to your trading balance immediately. No charges are applied for a cancelled order.

Disclaimer

The information provided in this article is for educational and informational purposes only. Any financial figures, calculations, or projections shared are solely intended to illustrate concepts and should not be construed as investment advice. All scenarios mentioned are hypothetical and are used only for explanatory purposes. The content is based on information obtained from credible and publicly available sources. We do not guarantee the completeness, accuracy, or reliability of the data presented. Any references to the performance of indices, stocks, or financial products are purely illustrative and do not represent actual or future results. Actual investor experience may vary. Investors are advised to carefully read the scheme/product offering information document before making any decisions. Readers are advised to consult with a certified financial advisor before making any investment decisions. Neither the author nor the publishing entity shall be held responsible for any loss or liability arising from the use of this information

Download TradeMobi App

Real-Time Market Data
Advanced Trading Tools
Expert-Backed Research
Google Play
App Store
TradeMobi

Popular on Anand Rathi

Anand Rathi Share and Stock Brokers Ltd.
SEBI Registration No.: INZ000170832 (BSE-949 | NSE-06769 | MSEI-1014 | MCX-56185 | NCDEX-1252), CDSL & NSDL: IN-DP-437-2019. *Research Analyst - INH000000834. PMS: INP000000282 is Registered under "Anand Rathi Advisors Limited" | MBD-INM000010478 is Registered under "Anand Rathi Advisors Limited"| NBFC is Registered under "Anand Rathi Global Finance Limited" Regn. No.: B-13.01682 | Insurance is Registered under "Anand Rathi Insurance Brokers Ltd." License No. 175. Insurance Corporate Agent: CA1048 (This registration shall be valid from 04-Jun-2025 to 03-Jun-2028).

Anand Rathi International Ventures (IFSC) Private Limited.
SEBI Registration No.: INZ000292939 (INDIA INX Member Code: TM - 5064 | NSE IX Member Code: TM -10048, IIBX Member Code: TM – 2011), IIDI DP ID 350071 AND Registration No.: IFSCA/DP/2022-23/007, IFSCA/CMI/Distributor/2023-24/0002. CIN No.: U65999GJ2016PTC094915. For any complaints email at Ifscgrievance@rathi.com. Regulator: International Financial Services Centres Authority (IFSCA)- https://www.ifsca.gov.in/

Disclaimer:

Equity: Investment in securities market are subject to market risks, read all the related documents carefully before investing.

The securities are quoted as an example and not as a recommendation.

Mutual Funds: Mutual Fund investments are subject to market risks, read all scheme related documents carefully before Investing. AMFI-Registered Mutual Fund Distributor: ARN-4478 (Initial Registration 4th Feb, 2003 & Valid From 2nd April, 2025 - 1st April, 2028) : Anand Rathi Share and Stock Brokers Ltd. | ARN-111569: Anand Rathi Wealth Limited | ARN-100284: AR Digital Wealth Private Limited.

IPO: Opening of account will not guarantee allotment of shares in IPO. Investors are requested to do their own due diligence before investing in any IPO.

*Third Party products: All third-party products like PMS, Mutual Funds, Fixed Income Products, IBS, Bonds, AIFs are not Exchange traded product and "ARSSBL" is just acting as distributor. All disputes with respect to the distribution activity, would not have access to Exchange investor redressal forum or Arbitration mechanism.

MTF: MTF is subject to the provisions of SEBI Cir. CIR/MRD/DP/54/2017 dt June 13, 2017 & terms and conditions mentioned in rights and obligations statement issued by the ARSSBL

Investment Baskets: Baskets are not Exchange traded product, all disputes with respect to this activity, would not have access to Exchange investor redressal forum or Arbitration mechanism.

Research Analyst: The views expressed in this website accurately reflect the personal views of the analyst(s) about the subject securities or issuers and no part of the compensation of the research analyst(s) was, is, or will be directly or indirectly related to the specific recommendations or views expressed by the research analyst(s). The advertisment are bound by stringent internal regulations and also legal and statutory requirements of the Securities and Exchange Board of India (hereinafter "SEBI").

Certification: Registration granted by SEBI and certification from NISM is in no way a guarantee of performance of the intermediary or provides any assurance of returns to investors.

*Award Winning Research: Anand Rathi Share and Stock Brokers Limited (Research Analyst) was awarded as "Best Equity Advisor" at World BFSI Congress & Awards 2022

*Client Data: Client data shown on this website is as on 31st March 2025

Trading View: Anand Rathi has partnered with TradingView for its charting technology. A global platform offering heatmaps, STOCK SCREENERS and market data.

By submitting this form, I hereby provide my explicit consent to be contacted by Anand Rathi Group and its associate companies via phone call, SMS, email, or WhatsApp for information related to products and services, even if I am registered on DND.

Attention Investors:

  • For all communication related to vulnerability reporting, security alerts, or any other suspicious activity related to cyber security, contact priyanksheth@rathi.com/+91-22-62811514"
  • For any complaints email at grievance@rathi.com, For DP related queries/complaints email at dp@rathi.com
  • For any Mutual Fund-related complaints, please email customersupport@rathi.com.
  • For further escalation, you may contact mf@rathi.com.
  • Filing of complaints on SCORES – Easy & quick a. Register on SCORES portal b. Mandatory details for filing complaints on SCORES: I. Name, PAN, Address, Mobile Number, Email ID c. Benefits: I. Effective communication ii. Speedy redressal of the grievances.
  • Stock Brokers can accept securities as margin from clients only by way of pledge in the depository system w.e.f. September 1, 2020.
  • Update your mobile number & email Id with your stock broker/depository participant and receive OTP directly from depository on your email id and/or mobile number to create pledge.
  • Pay 20% upfront margin of the transaction value to trade in cash market segment.
  • Investors may please refer to the Exchange's Frequently Asked Questions (FAQs) issued vide circular reference NSE/INSP/45191 dated July 31, 2020 and NSE/INSP/45534 and BSE vide notice no. 20200731-7 dated July 31, 2020 and 20200831-45 dated August 31, 2020 dated August 31, 2020 and other guidelines issued from time to time in this regard
  • Check your Securities /MF/ Bonds in the consolidated account statement issued by NSDL/CDSL every month.
Prevent Unauthorized Transactions in your demat account → Update your Mobile Number with your Depository Participant. Receive alerts on your Registered Mobile for all debit and other important transactions in your demat account directly from CDSL.No need to issue cheques by investors while subscribing to IPO. Just write the bank account number and sign in the application form to authorise your bank to make payment in case of allotment. No worries for refund as the money remains in investor's account.KYC is one time exercise while dealing in securities markets - once KYC is done through a SEBI registered intermediary (broker, DP, Mutual Fund etc.), you need not undergo the same process again when you approach another intermediary.Prevent Unauthorized Transactions in your demat account → Update your Mobile Number with your Depository Participant. Receive alerts on your Registered Mobile for all debit and other important transactions in your demat account directly from CDSL.No need to issue cheques by investors while subscribing to IPO. Just write the bank account number and sign in the application form to authorise your bank to make payment in case of allotment. No worries for refund as the money remains in investor's account.KYC is one time exercise while dealing in securities markets - once KYC is done through a SEBI registered intermediary (broker, DP, Mutual Fund etc.), you need not undergo the same process again when you approach another intermediary.