What Is a Demat Account, and Who Legally Owns the Shares?

Zerodha, Groww, Upstox, whichever you use: your broker opens your account, gives you the app and sends your orders to the exchange. But the shares you own don’t sit with your broker. They are held electronically at a depository, CDSL or NSDL, in an account in your name: your demat account.

A demat (dematerialised) account holds shares in electronic form, the way a bank account holds money. India has two depositories, CDSL and NSDL. They do the same job: which one holds your account depends on your broker, and as an investor you won’t notice a difference.

Your broker is usually also your depository participant, the counter through which that demat account is opened and operated. The account itself, and the record that the shares are yours, lives at the depository.

Legally, there are two kinds of owner. The depository is the registered owner, but only so the shares can be transferred electronically; it gets no votes or other rights from them. You are the beneficial owner: the dividends, the votes, bonus shares and the right to sell are all yours, and the depository’s own records name you.

Your broker is the shop window. The depository is the locker. And the locker is in your name.

What Happens to Your Shares If Your Broker Shuts Down?

Because the shares are recorded at the depository in your name, a broker shutting down doesn’t make them disappear. Fully paid shares in your demat account stay yours, and can be moved to an account with another depository participant.

Two things are different, and worth knowing:

  • Pledged shares: shares you pledge for margin, or buy through a margin trading facility (MTF), stay in your demat account, but the depository records a pledge in your broker’s favour. If you don’t meet the margin call or repay the MTF loan, the broker can invoke the pledge and sell them.
  • Money sitting in your trading account is held by the broker, not the depository. That’s a separate question from your shares.

How to Check Your Shares: the CAS Statement

You don’t have to take your broker’s app at its word. The depository reports to you directly: a Consolidated Account Statement (CAS) from CDSL or NSDL each month you trade, and alerts when shares leave your account. The CAS is a snapshot, not a live view. If it disagrees with the app, first check for trades that haven’t settled: shares you bought yesterday show in the app before they reach your demat. For settled holdings, the depository’s record is the one that counts.

Why It’s Built This Way

This is a deliberate piece of system design. The company that takes your orders is kept apart from the company that holds your assets. A broker can have an outage, a bad quarter or close down entirely, and the record of what you own sits somewhere else, untouched.

I’ve seen the same idea in market data. An order book is built up from a stream of messages: a new order, a change, a cancel. If messages are missed or processed out of order, the local book can become incorrect. We could rebuild it from a valid starting snapshot and replay every subsequent message in sequence. The book was only a local copy; the exchange’s feed was the source of truth.

Your broker’s app is the local copy; the depository is the source of truth.

Engineers will recognise the pattern: keep the system of record separate from the systems that act on it, so a failure in one is far less likely to corrupt the other. Markets learned it the hard way, and it’s just as good a rule for payment platforms and ledgers as it is for shares.

The US does this differently: there, shares are usually held in your broker’s name. See Who Holds Your Shares: India vs the US.

How the order gets to the exchange in the first place is in the previous post: What Happens When You Tap Buy on a Stock App?

This article explains how the systems work. It is not financial or investment advice, and limits and rules change: check the current ones with SEBI, your broker or the exchange.