Telegram data center (DC): what DC1 to DC5 means
What the data center (DC) of a Telegram account is, why it shows up in the session and files and whether it matters when choosing an account.
The DC (data center) of a Telegram account is the server where that account's data is stored. Telegram runs five data centers, numbered DC1 to DC5, and every account belongs to one of them. Telegram decides which DC an account uses, not the user, and most of the time you never even notice which one yours is.
If you use the account in the app, on your phone or computer, the DC changes nothing: chats, groups, features and Premium work the same on any of them. It shows up in the authorization key and in the session files because it is a technical detail that programs need to connect the account to the right server. This guide explains what the DC is, where it appears in a TG Stock delivery and when it is worth paying attention to.
What a data center is on Telegram
A data center is a group of servers. Telegram spreads accounts across its data centers, and each account has a "home" DC where its main data lives. When the app connects, it talks to that DC.
A few general points that help:
- There are five DCs, identified by the numbers 1 to 5. That is why you see "DC1", "DC4" and so on.
- Users do not choose the DC. Telegram decides, and the number itself says nothing about the quality of the account.
- The app handles it on its own. When you log in with the phone number, Telegram tells the app which DC holds the account, and the app connects there from then on.
- Files can live on other DCs. Sometimes, to download a photo or video, the app briefly connects to another data center. This is automatic too and needs nothing from you.
In short: the DC is part of Telegram's internal structure. It matters to programs, not to the person chatting.
Why the DC appears with the authorization key
When a device or program signs in to an account, Telegram creates a session. Behind that session there is an authorization key (auth key), a long secret value the device uses to prove to the server that it is allowed into the account. That key is created together with a specific data center.
That is why the key alone is not enough: the program also needs to know which DC it belongs to, so it can send the key to the right server. If it tries to connect to the wrong DC, the connection fails.
On the order page, the store shows the authorization key in hexadecimal and the DC in its own field next to it. The two go together: anyone building a session from the key will need both.
Where the DC shows up in your delivery
Each delivered account comes with the phone number, the ready session and a few files. The DC is present in almost all of them, sometimes visibly, sometimes inside the format:
- Authorization key with the DC: shown on the order page, the key in hexadecimal plus the DC number.
- Telethon StringSession: a piece of text that already carries, encoded, the DC, the server address and the key. You do not need to enter the DC separately.
.sessionfile: the Telethon session file stores the DC, server address, port and key. Just point your program to it..jsonfile: contains the phone number, the DC and the 2FA status, for reference and organization.- Telegram Desktop folder (in the
.zip): also stores the DC inside. When you open Telegram Desktop with it, the program already knows where to connect.
To understand each format, the guide on StringSession and .session files goes into detail, and the delivery formats page lists everything that comes with an order (the store pages are in Portuguese).
Does the DC matter when choosing an account?
For normal use in the app, no. An account on DC1 and another on DC5 give you the same experience: the same features, the same limits and the same Premium, when there is one. Speed differences, if any, usually go unnoticed in daily use.
The store shows each account's DC before purchase because some people like to organize accounts by DC, especially those who work with automation. If that is not you, choose based on what really counts: country, price, Premium and the store badges. The guide on how to choose the right Telegram account covers what to look at.
When the DC is worth a look
Bots and automations with Telethon
If you will use the account with a library like Telethon, the StringSession and the .session file already include the DC, so there is usually nothing to configure. The DC only becomes a topic if you build a session from scratch using the authorization key: then you have to provide the right DC together with the key.
Organizing many accounts
People who buy several accounts, for example through a bulk purchase, sometimes like to record each account's DC in a spreadsheet. The .json of each account, which comes in the bulk .zip, makes this easy because it already has the phone number and the DC.
Troubleshooting a connection error
If one of your programs will not connect, check that the key is being used with the right DC. Pairing one account's key with another account's DC is a common mistake when you handle many accounts at once.
Taking care of the key and the files
The DC itself is not a secret. The authorization key, the StringSession and the session files are: anyone holding one of them has access to the account while that session is active. So:
- Keep your order files somewhere safe and do not send them to anyone.
- Do not use the same session in two places at once, for example in a script and on a different computer. Telegram may drop a session that is used in two places.
- Do not terminate the delivered session before you have another one working. The login code arrives inside Telegram, in an open session, and you do not have the SIM card for the number.
- Right after signing in, turn on two-step verification and terminate the old sessions, as explained in how to secure your Telegram account.
The DC and Telegram Desktop
The Telegram Desktop folder in the .zip already has everything the program needs, including the DC. You do not pick or type anything about it: just follow the steps in how to open the account in Telegram Desktop. If you prefer to sign in with the number and code, Telegram itself routes the program to the account's DC.
Common questions
Can I change my account's DC?
It is not something the user controls. Telegram decides each account's DC, and there is no option for it in the app.
Is one DC better than another?
For app users there is no practical difference. The DC number does not indicate quality, age or limits of the account.
Do I need to enter the DC to log in to the app?
No. When you log in with number and code, Telegram takes care of it. With the StringSession, the .session file or the Telegram Desktop folder, the DC is already inside the file.
Why does the order page show the DC separately from the key?
Because the key only works on the data center where it was created. Showing both side by side makes it clear they are used together.