
How to Get a Unique Client Code When Opening a Demat Account?
When you open a demat and trading account, there is one identifier that quietly links every trade, holding, and regulatory record to you, known as the unique client code (UCC). A demat account is used to hold your shares and securities in electronic form. While it stores your investments, the UCC ensures your trading activity is correctly identified across exchanges and regulatory systems. You may not notice this code immediately, but it plays a critical role in how brokers, exchanges, and regulators track your market activity. If you are opening a demat account for the first time or switching brokers, understanding the unique client code, its generation process, and where to find it helps you stay compliant and avoid confusion later.
This blog explains the meaning of the unique client code and how it differs from other identifiers like Client ID and BO ID (Beneficial Owner ID).
What is a Unique Client Code (UCC)? Meaning & Importance
A unique client code (UCC) is a distinct identification number assigned to you by a stockbroker when you open a trading account in India. This code is used to uniquely identify you across all your trades, transactions, and regulatory records in the securities market. This alphanumeric identifier represents you on the stock exchange. The code is registered with the exchanges and linked to your PAN and demat account, ensuring that every trade you place is recorded under your name. It does not change with every transaction, nor is it visible during daily trading. Instead, it works in the background, tagging each order, execution, and contract note to you as an individual investor.
Why does the Unique Client Code matter?
The unique client code plays a crucial role in how your trades are recognised and protected within the market system. Every order you place, whether it is equity, derivatives, or any other segment, is tagged with this code before it reaches the exchange. This ensures the trade is undeniably linked to you and not mixed with another client’s activity. The importance of a UCC becomes clearer when you look at it from both a regulator and an investor’s points of view. While it works quietly in the background, it plays a key role in ensuring accuracy, accountability, and trust across the trading system.
From a regulatory perspective
- Enables exchanges and regulators to trace trades accurately during audits, disputes, or investigations
- Prevents trade shifting and misreporting between client accounts
- Reduces the risk of trades being executed under the wrong client’s identity
- Strengthens overall market transparency and compliance
From an investor’s perspective
- Ensures all trades are consistently mapped to one verified identifier
- Keeps contract notes and transaction records clear and traceable
- Helps avoid confusion in case of discrepancies or broker-level errors
- Safeguards your trading identity across all market activities
UCC vs. Client ID vs. BO ID
When you open a demat and trading account, you receive multiple identifiers that often sound similar but serve very different purposes. Understanding how the UCC, Client ID, and BO ID (Beneficial Owner ID) differ enables you to read statements correctly and avoid confusion when dealing with brokers, depositories, or support teams. Here is the table giving a clear picture:
Basis of Comparison | Unique Client Code (UCC) | Client ID | BO ID |
|---|---|---|---|
Who assigns it | Broker | Depository Participant (DP) | Depository |
Primary purpose | Identifies you for trading on stock exchanges | Identifies you within the DP’s records | Identifies you as the beneficial owner of securities |
Where it is used | Trade execution, contract notes, exchange reporting | Demat account identification | Holding and transfer of securities |
Relation to trading | Directly linked to all trades placed | Not used for placing trades | Not used for trading |
Structure | Alphanumeric code | Numeric | Combination of DP ID + Client ID |
Linked to PAN | Yes | Indirectly | Indirectly |
Changes when the broker changes | Yes | Yes | Yes |
Visible to the investor | Sometimes (contract notes, broker records) | Yes (demat account number) | Yes (demat statements) |
Step-by-Step: How to Get Your UCC on m.Stock
When you open a demat and trading account with m.Stock, your UCC is created as part of a structured, regulator-mandated process. You do not apply for it separately. The code is generated automatically once your account is approved. Here are the steps:
Step 1: Complete the account opening and KYC process
You begin by submitting your personal details, PAN, Aadhaar, bank information, and completing KYC verification. This step establishes your identity and ensures compliance with regulatory requirements.
Step 2: Trading account creation by the broker
After your documents are verified, m.Stock creates your trading account. At this stage, your details are validated internally to ensure they match your PAN and KYC records.
Step 3: Generation of your Unique Client Code
Once your trading account is set up, a UCC is generated and assigned to you. This code becomes your permanent trading identifier with m.Stock and is linked to:
- Your PAN
- Your demat account
- Your trading profile
Step 4: Exchange-level registration and mapping
Your UCC is then registered with the stock exchanges, such as NSE and BSE, in line with SEBI guidelines. This mapping ensures that every trade you place is correctly attributed to you at the exchange level.
Step 5: Account activation and confirmation
After successful mapping, your trading account gets activated. Following this, your unique client code will be live and ready to be used in the background for all trading activity.
Where to Find Your UCC After Your Account is Active?
Once your trading account is active, your UCC is generated and remains associated with your profile throughout your relationship with the broker. Although you may not need it for daily trading, knowing where to locate it is useful for records, compliance checks, or support queries.
You can typically find this code in the following places:
- Welcome or account activation email: Brokers usually mention your UCC when confirming that your trading account is live.
- Contract notes: Every contract note issued after a trade includes the unique client code, as it is mandatory for exchange reporting.
- Account profile or dashboard: Many brokers display the code in the account details or profile section of their trading platform.
- Periodic statements: Monthly or quarterly statements sent by the broker often carry your UCC along with other account information.
- Customer support confirmation: If you are unable to locate it yourself, broker support can share your code after completing identity verification.
Keeping a record of your UCC can be helpful when reviewing transaction history, raising queries, or switching brokers in the future.
Can You Have Multiple Unique Client Codes?
Yes, it is possible to have more than one unique client code, but only under specific circumstances. The number of codes you hold depends on how many trading accounts you maintain and with whom. If you have trading accounts with different brokers, each broker will assign you a separate code. This is because the UCC is broker-specific and is created within that broker’s trading system. Even though your PAN remains the same, each broker generates its own identifier for regulatory reporting.
However, with a single broker, you are generally assigned only one code, regardless of how many segments you trade in. Whether you trade in equity, derivatives, commodities, or use facilities like margin trading, your UCC typically remains the same within that broker’s ecosystem. It is also important to note that SEBI requires every code to be mapped to a single PAN. This rule prevents duplication and ensures that trades cannot be split or shifted between different client identities.
Common Misunderstandings About UCC
- Your UCC is not the same as your login ID or username used to access the trading platform.
- You do not need to enter your code manually every time you place a trade, it is applied automatically in the background.
- The unique client code does not change based on how frequently you trade or the volume of trades you place.
- Switching between intraday, delivery, derivatives, or margin trading does not result in a new UCC with the same broker.
- Your code is different from your demat account number, Client ID, or BO ID, even though all are linked to your account.
- Changing your trading password or updating personal details does not affect your UCC.
- Closing your trading account is usually the only way your existing UCC becomes inactive.
- Opening a new trading account with a different broker will result in a new, unique client code, even if your PAN remains the same.
Conclusion
The unique client code is a foundational element of your trading identity, even though it often remains unseen during everyday transactions. It ensures that every trade you place is correctly attributed to you, while also meeting regulatory requirements set by the exchanges and SEBI. Understanding UCC, how it differs from other account identifiers, and where to find it helps you navigate your trading records with clarity. Once assigned, your UCC remains consistent with a broker and quietly safeguards transparency, accountability, and accuracy across your entire trading activity.
FAQ
No, your unique client code is different from your login ID. The login ID helps you access your broker’s platform. The UCC is an internal identifier used by stock exchanges and regulators to record and track all your trading activity accurately through your broker’s systems and exchange reporting.


