How a Demat account actually works

Updated 16 August 2026 · 12 min read · Written and reviewed by the DematOpen team

The plain answer

A demat account is a record, not a vault. When you buy a share, the exchange matches your order, the clearing corporation becomes the counterparty and settles the trade the next working day, and the depository credits the shares to your demat account. Your account is the ledger entry that proves ownership; the depository holds the ledger.

The word "actually" earns its place in this title because most people imagine money flying to a seller and a certificate flying back. What really happens is a settlement chain that runs through five institutions and finishes on a fixed calendar, with your demat account as the final destination. Understanding the chain once removes most of the mystery behind every statement and contract note you will ever read.

One sentence to carry through the page: the trade is guaranteed the moment it executes, and everything after that is paperwork catching up. The credit you see in the app, the debit on your sell, the DP charge on the statement, all of them are scheduled events in a sequence the exchanges and depositories run daily for crores of trades.

The chain, step by step

  1. You place a buy order in the app
  2. The exchange matches it with a seller
  3. The clearing corporation nets the day’s trades
  4. Your broker pays in the money; the seller’s DP pays in the shares
  5. T+1: the shares credit to your demat account
  6. Your monthly CAS confirms the holding
A delivery buy from order to demat credit, on the T+1 cycle.
  • The order. Your buy order reaches the exchange through your broker's systems in under a second. The exchange's matching engine pairs it with a sell order at the same price. From this instant, the trade is guaranteed.
  • The clearing. After the session, the clearing corporation nets every broker's trades. Instead of thousands of bilateral obligations, each broker owes or is owed a single net amount and a net quantity of shares. The clearing corporation steps between buyer and seller and becomes the counterparty to both.
  • The pay-in. On settlement day, brokers whose clients bought pay the net money to the clearing corporation, and brokers whose clients sold pay in the shares, debiting the sellers' demat accounts against their TPINs. Your TPIN is the authorisation that lets shares leave, and it is checked at exactly this moment.
  • The pay-out. The clearing corporation pays the money to the selling brokers and the shares to the buying brokers, who credit them to the buyers' demat accounts the same day. The money moves from there to your linked bank account, and the DP charge on your sell appears in the same settlement.

Notice who never moves in this chain: you. Every leg is executed by the institutions, on your instruction and with your money or shares, but the physical work is the system's. Your role is to authorise, watch the statements, and check the records.

What T+1 means

India moved equity settlement from T+2 to T+1 in January 2023. T is the trade day; the 1 is one working day. Buy a share on Monday and it credits to your demat account by Tuesday evening; sell on Monday and the money settles into your trading account on Tuesday. Weekends and exchange holidays push settlement forward, which is why a Friday buy credits on Monday.

The same clock runs in reverse for sellers. The share leaves the seller's demat account on settlement day, which is when the DP charge on the sell applies. Nothing about your holdings changes between the trade and the settlement; the trade is guaranteed from the moment it executes, and the settlement is the paperwork catching up.

A faster lane exists as an option. SEBI's circular of 21 March 2024 introduced a beta version of same-day T+0 settlement in addition to T+1, effective 28 March 2024, starting with 25 scrips and a restricted set of brokers. The scheme has since been expanded in phases toward the top 500 stocks by market capitalisation, with T+0 trading between 9:15 am and 1:30 pm and prices kept within a 100 basis point band of the T+1 market. Where your broker offers it, the same chain simply runs its pay-in and pay-out on the trade day itself.

The settlement calendar

Because the clock counts working days, a small table answers most of the questions people ask about when things actually happen:

You tradeWhat settles whenNote
Buy MondayShares credit Tuesday eveningThe standard T+1 cycle
Buy FridayShares credit MondayWeekend is not a working day
Buy Thursday, Friday holidayShares credit MondayHolidays push the date forward
Sell MondayMoney settles TuesdayDP charge applies at the debit
Buy Monday, sell Tuesday (BTST)Sell settles WednesdaySelling before your own credit lands
T+0 trade, where offeredMoney and shares same dayOptional cycle, limited scrips

Two rows deserve attention. The Thursday row explains why a long weekend stretches settlement: the T+1 clock is the exchange's calendar, not yours. The BTST row explains the risky-but-common habit of selling the morning after buying, which the page returns to under settlement failures.

The clearing corporations

ExchangeClearing corporationWhat it settles
NSENCL (NSE Clearing Ltd)Equity, F&O and currency segments on NSE
BSEICCL (Indian Clearing Corporation Ltd)Equity and derivatives on BSE

Each clearing corporation runs a settlement guarantee fund: a pool of capital contributed by members and the exchange, held precisely for the day a broker cannot pay. Margins are collected from brokers in advance, so by the time settlement runs, most of the risk has already been collateralised. This is the machinery that makes "the trade is guaranteed" a legal and financial fact rather than a slogan.

The netting step is what makes the whole thing fast. Instead of settling every pair of trades, the clearing corporation nets each broker's obligations across the day into single amounts. A broker whose clients bought and sold the same stock across thousands of trades hands over one net quantity, not thousands of parcels. Netting is why crores of trades can settle in one evening.

Who guarantees the trade

The clearing corporation guarantees every trade executed on its exchange. If a broker fails between trade and settlement, the clearing corporation completes the settlement, uses the defaulting broker's margins and the guarantee fund to cover the gap, and pursues the broker afterwards. Your demat credit does not depend on your broker staying solvent, because the depository holds the record and the clearing corporation holds the guarantee.

The guarantee works in both directions. Buyers get their shares even if the seller defaults, through the auction process described below. Sellers get their money even if the buyer's broker fails, because the clearing corporation has already collected the pay-in. The only party exposed is the one who defaulted, and the penalties land there.

Where the demat account fits

  • Buying: the demat account receives the credit on settlement day, and the holding appears in your portfolio and in the depository's monthly CAS.
  • Holding: the demat account is where dividends credit, where splits and bonus shares appear, and where your nominee instruction lives.
  • Selling: the demat account is debited on settlement day against your TPIN, and the DP charge applies at that debit.
  • Intraday and F&O: these never touch the demat account. They settle in cash in the trading account, which is why they carry no DP charge.

The pattern to remember: the demat account moves only on delivery settlements. Every other event in your investing life, intraday profit, F&O settlement, margin calls, happens in the trading account's cash ledger. If a charge appears on the demat side, it means shares actually left, which is why the DP charge is the one fee you can predict with certainty before you sell.

Your proof: contract note and CAS

Two documents bookend every trade, and between them you can verify the whole chain yourself. The contract note is the broker's confirmation of the execution, delivered the same day, listing the price, the brokerage, STT, stamp duty and the ISIN of what traded. The Consolidated Account Statement (CAS) is the depositories' monthly statement of everything you hold across every demat account linked to your PAN.

The contract note proves what was traded; the CAS proves what is held. The first comes from the trading side, the second from the demat side, and they should agree with each other on quantity and ISIN after settlement. A mismatch between the two is rare and worth raising with the broker immediately, because it is the cheapest way to catch an error before it compounds.

The CAS also carries a second use: it is the independent record produced by NSDL and CDSL themselves. If you ever want confirmation that does not depend on your broker's app, the CAS is the document to open. It lists holdings, balances and corporate actions, and it arrives every month whether you trade or not.

When settlement fails

Settlement fails when a seller cannot deliver the shares: the classic case is a BTST sell where the original buy never settled. The exchange then runs an auction, buying the shares in the open market on the defaulting seller's account, and the price difference between the auction price and the original deal price is charged to the defaulting party. Buyers on the other side receive their shares regardless, on a slightly delayed timeline.

The auction protects the counterparty, not the person who traded without the shares. A seller who defaults also loses access to the settlement system for a period, and repeated defaults escalate. The lesson buried in the mechanics: BTST is legal and common, but it carries this specific, named risk, and the auction penalty is the price when the risk shows up.

A smaller class of failure sits on the money side. If a buyer's broker cannot pay in, the clearing corporation has already collected margins and can fund the settlement from the guarantee pool. The shares due to the buyer are held back until the pay-in completes, which is why exchange timings sometimes show a "shortage" before everything reconciles the same day.

What people usually get wrong

The share lands in my account the second I buy

The trade is immediate; the credit settles the next working day. Between the two, the clearing corporation guarantees your position.

My broker holds my shares

Your shares sit in your BO account with NSDL or CDSL. The broker is the access layer, and the depository's CAS is your independent proof.

Settlement takes three days in India

India moved equities to T+1 in January 2023, with an optional T+0 cycle running since March 2024. T+2 and T+3 references are outdated for equity.

The DP charge is for holding shares

It applies only when shares leave on a sell settlement. Holding is free; the charge is a per-scrip, per-day debit fee on the way out.

Questions people ask

Not as a delivery sell, because the shares settle the next working day. BTST (buy today, sell tomorrow) lets you sell before settlement using the incoming credit, but if the original buy fails to deliver, the exchange runs an auction and the penalty difference is yours. Intraday positions are closed the same day by design, which is a different trade entirely.

The clearing corporation completes the settlement regardless: the trade is guaranteed from execution, and the guarantee fund absorbs the default. Your shares still credit to your demat account, because the record sits with the depository, not with the broker. The guarantee machinery is the same one that protects you if the broker faces an operational outage.

Broker apps show the position as soon as the trade executes, because the clearing corporation guarantees it. The legal credit lands on settlement day, and the monthly CAS from the depository is the record that counts. The difference between the app number and the CAS number is the distance between a guarantee and a completed entry.

No. DP charges apply when shares leave your demat account, which happens on a sell settlement. Buys credit in without any DP charge. The same rule explains why an intraday or F&O trade carries no DP charge at all: the demat account is never touched.

BTST means selling shares tomorrow that you bought today, before the T+1 credit actually lands. The sell side assumes your buy will settle, and if the original seller defaults, the exchange auctions shares at the defaulter's cost and the price difference is charged to them, not to you. The risk sits with the person who traded without settled shares, so BTST users take care to trade only in liquid scrips.

Because the settlement clock counts working days, not calendar days. A Friday trade is T+1, but the next working day is Monday, so that is when the pay-in runs and the shares credit. Exchange holidays push the date the same way, which is why a Thursday buy before a Friday holiday also credits on Monday. The clock is the exchange calendar, not your own.

Where to go next

The chain is the same for every delivery trade you will ever make. The next layer to understand is the depository that sits at the end of it, and the account that receives every credit:

Sources