Demat vs Trading Accounts: What Happens After You Click Buy
A demat account holds your shares, a trading account places your orders, and a clearing corporation quietly makes sure both sides get what they were promised. Here is the full journey of a single trade in India.
Most people open their first brokerage account in India and receive two account numbers instead of one: a trading account and a demat account. The app usually hides the difference, so it is easy to think of them as the same thing. They are not. Understanding what each one does, and what happens between the moment you press Buy and the moment shares appear in your holdings, makes the whole system far less mysterious and helps you spot problems early.
The trading account: your doorway to the exchange
A trading account is held with a stockbroker who is a member of an exchange such as NSE or BSE. It is the account through which you place buy and sell orders. When you enter an order in your broker's app, the broker checks that you have enough money or margin, then sends the order to the exchange's electronic order book, where it is matched against orders from other investors.
The trading account does not hold your shares. Think of it as the counter where you place the order, not the locker where you keep what you bought. It is linked to a bank account, so money can flow in when you buy and out when you sell.
The demat account: where your shares actually live
Shares in India are held in electronic, or dematerialised, form. A demat account is the record of the securities you own. These accounts are maintained by two depositories, NSDL and CDSL, through intermediaries called depository participants, or DPs. Most brokers are also DPs, which is why you can open both accounts in one sitting, but legally the two roles are distinct.
Every security in your demat account is identified by an ISIN, a unique code assigned to that particular share, bond, or fund unit. When you look at your holdings statement from the depository, you are seeing the depository's record, which is independent of your broker's app. That independence matters: if your broker's app shows something different from your depository statement, the depository record is the one that reflects legal ownership.
A third account in the background: your bank account
The bank account linked to your trading account is where money comes from and goes back to. When you add funds, you are moving money from the bank to your broker. When you withdraw, it moves back. Keeping track of all three — bank, trading, and demat — is the simplest way to know at any moment where your money and your shares are.
What happens when you place a buy order
Suppose you place an order to buy 20 shares of a company at ₹500 each, a total of ₹10,000 before charges. The journey looks like this:
- Your broker checks that your trading account has at least ₹10,000 plus estimated charges available, then forwards the order to the exchange.
- The exchange's matching engine pairs your buy order with one or more sell orders at a price both sides accept. If your order is a limit order at ₹500, it will only fill at ₹500 or lower.
- Once matched, the trade is final. You receive a contract note from your broker, usually by email, listing the price, quantity, time, and every charge applied.
- The trade then moves to the clearing corporation, which calculates what every broker owes and is owed and makes sure money and shares change hands on the settlement day.
- On settlement, the shares are credited to your demat account through the depository, and the money you paid is passed to the seller's side.
The clearing corporation: the guarantor in the middle
You never deal with the seller directly. Instead, a clearing corporation steps between buyer and seller, a process called novation, and becomes the counterparty to both. For trades on NSE this is NSE Clearing; for BSE it is Indian Clearing Corporation. Because the clearing corporation guarantees settlement, you do not have to worry about whether the specific person who sold to you actually delivers the shares. If a broker fails to meet its obligations, the clearing corporation's risk management framework is designed to step in.
This is one of the least visible but most important parts of the market. It is the reason you can buy from a stranger on a screen with confidence that the shares will arrive.
Reading the settlement cycle: what T+1 means
Settlement cycles are written as T plus a number, where T is the trade date and the number is how many working days later settlement happens. Under a T+1 cycle, for example, a trade executed on a Monday settles on Tuesday, assuming both are trading days. Under a T+2 cycle, the same trade would settle on Wednesday.
SEBI sets the settlement cycle for Indian markets and has shortened it over the years. Because this is a rule that can change, check the current cycle on the exchange or clearing corporation website, or in your broker's help pages, rather than relying on a figure you read once.
Why your shares may look different in the app before settlement
Many investors notice that shares bought today appear in their broker app immediately, sometimes labelled as T1 holdings or unsettled. This is the broker showing you the trade before the depository has completed settlement. You can usually see the position, and in many cases sell it, but the shares are not yet in your demat account. If you check your depository statement on the trade date, you may not see them yet. This is normal and resolves on settlement day.
What happens when you sell
Selling reverses the flow. When you sell shares held in your demat account, they must be delivered out of your account to the clearing corporation. To protect investors from unauthorised sales, the depositories use authorisation mechanisms, such as electronic confirmation through the depository or a pre-approved instruction, before shares can leave your account. The sale proceeds, minus charges, reach your trading account after settlement, and you can then withdraw them to your bank.
Charges you will see on a contract note
A contract note lists more than just brokerage. You will typically see exchange transaction charges, a regulatory fee, stamp duty, a securities transaction tax on equity trades, and GST on certain charges. Demat accounts can also carry annual maintenance charges and a charge each time shares are debited from your account on sale. The exact amounts vary by broker and are revised by authorities over time, so compare the current schedules on your broker's website rather than assuming any one figure.
Simple habits that keep your accounts healthy
- Check the contract note for every trade. It is the official record of what you bought or sold and at what price.
- Review the consolidated account statement from your depository periodically. It shows your holdings across all demat accounts in one place, independent of any broker.
- Keep your mobile number and email updated with your broker and depository so you receive transaction alerts directly.
- Add a nominee to your demat account, so the transfer of holdings is simpler for your family if something happens to you.
- Be wary of anyone asking for your login, OTP, or depository authorisation. No legitimate broker or regulator needs these to help you.
The short version
Your trading account is how you place orders, your demat account is where your securities are recorded, and your bank account is where your money sits before and after. In between, the exchange matches your order, the clearing corporation guarantees the trade, and the depository updates ownership on settlement day. Knowing which piece does what makes it much easier to read your statements, ask your broker the right questions, and notice if something does not add up.
Sources and further reading
This article is general education, not personalised investment, tax, or legal advice, and it doesn't recommend any security. Read how we write and correct content in our editorial policy and the full disclaimer.