In this article
Your account is registered to a phone number, and by default a code sent to that number is the whole of the front door. Anyone who can receive that code can sign in as you and, because of everything Step 001 described, read your entire history from their own device.
Two-step verification adds a second thing they would also need: a password that is not on your phone, not on your SIM, and not recoverable by anyone at Telegram. It takes two minutes to set up, and it is the most consequential two minutes in this curriculum.
What you will be able to do after this step
- check_circle Turn on two-step verification with a recovery route that actually works.
- check_circle Explain why an app passcode and a cloud password protect different things.
- check_circle Say exactly what happens if you forget the password — before it matters.
- check_circle Read the device list and end a session you do not recognise.
sim_card Why the phone number is the weak part
A phone number feels permanent and private. It is neither. Numbers are reassigned when people stop paying for them, and they can be moved to a different SIM by somebody who convinces a carrier that they are you — a well-worn attack with a name, SIM swapping, that requires no technical skill at all.
On any service where a code to that number is sufficient to sign in, taking the number is taking the account. That is not specific to Telegram; it is the reason every serious service now offers a second factor.
What makes it sharper here is the cloud history. On a messenger that stores conversations on the handset, an attacker with your number gets a fresh empty account with your name on it. On Telegram they get everything you have ever sent, on their own device, immediately. The upside from Step 001 and this risk are the same property viewed from two sides.
Two-step verification closes it. With it on, the code is still required and is still not enough: the login also asks for a password that never travels through your carrier and that nothing in your phone can reveal.
The two locks people confuse
They are both called a passcode in conversation. They defend against completely different events, and you want both.
lock_clock The app passcode
cloud_done The cloud password
They cover each other's gap. The cloud password is the one to set today; the app passcode is the one to set on any device that is not exclusively yours.
password Setting it up so that it survives you forgetting it
The switch is in Settings, under Privacy and Security, named two-step verification. The setup asks three things, and each of them has a right answer that is not obvious.
- The password itself Treat it as a password you will need once a year, not one you will type daily — because that is what it is. That makes a memorable phrase better than a clever short string, and it makes a password manager the sensible place for it. Do not reuse a password you already use elsewhere.
- The hint This is shown to anyone who reaches the password prompt, including the person you are defending against. A hint like your dog's name hands them a starting point. Use an oblique reference that means something only to you, or leave it blank.
- The recovery email Optional, and the single most important field on the screen. Without it, forgetting the password has no remedy at all. Use an address you will still control in five years, and confirm the message actually arrives — an unconfirmed address is the same as none.
- Write down where you put it Not the password: the location. Six months later the failure is almost never a forgotten password; it is not remembering which manager, note, or drawer it went into.
You have a passcode on the Telegram app on your phone. Someone takes over your phone number. What can they read?
The app passcode is a lock on one installation. An attacker with your number never goes near your phone — they install Telegram on theirs, receive the code, and the servers hand them the full history, exactly as they would for you. This is the specific scenario two-step verification exists to stop, and nothing on your handset substitutes for it.
You turn on two-step verification today. What happens to the laptop you were already signed in on last week?
Two-step verification is a gate on the way in, not a sweep of who is already inside. Existing sessions are untouched, which is convenient and also the reason the device list matters: if you are turning this on because something felt wrong, turn it on and terminate the sessions you do not recognise. One without the other leaves the door you were worried about still open.
You forget the cloud password and never confirmed a recovery email. What can Telegram support do?
The remaining option is to reset the account, which starts a waiting period and then wipes it: the number becomes usable for a fresh account and the old history is gone. That is a deliberate design — a support desk that could restore access to your chats would be a support desk an attacker could persuade. It is also exactly why the recovery email field deserves a moment's thought rather than a skip.
task_alt
devices The device list, and the habit worth forming
Settings, then Devices, lists every session currently signed in to your account: the application, roughly where it connected from, and when it was last active. This is the other half of account security, and it answers a question no password can — who is inside right now.
Read it once today. Most people find something: a browser from a trip two years ago, a laptop they no longer own, a tablet they gave to a relative. Terminating a session costs nothing if you are wrong, because a device you actually use simply asks you to sign in again.
The screen also has a setting worth changing while you are there: automatically ending sessions that have been inactive for a period. Set it to something short enough to matter. It is the only part of this that maintains itself.
And if a phone is lost or stolen, this is the first thing to do — before contacting a carrier, before anything else. Terminating that session cuts off access immediately, whoever is holding the device. Step 028 goes through the screen in detail, including what the entries actually tell you and what they do not.
help Common questions at this stage
Will I have to type the password every time I open Telegram?
No. It is asked only when a new device signs in to your account, which for most people is a few times a year. That is why it can be long and why storing it in a password manager is sensible — the daily friction is zero. If you want something asked more often, that is the app passcode, and it is a separate setting with a different job.
Where does the login code arrive once I have other devices signed in?
In Telegram itself, as a message in the official service chat on a device you are already signed in on, rather than by text message. That is deliberate: a code delivered inside the app is out of reach of anyone who has only taken your phone number. If you have no other session, it falls back to a text message. Either way, the rule from the note above is the same — that code is for you and nobody else.
Can I use an authenticator app or a hardware key instead?
The cloud password is Telegram's second factor and there is no substitute for it. Newer sign-in methods have been appearing — on devices that support them, you may be offered a way to authorise a login with the device's own biometrics instead of typing a code. Those change how you prove it is you at the door; they do not replace the password, and the advice here is unchanged: set it, give it a recovery email, and keep both.
I changed my mind. Can I turn it off?
Yes, from the same screen, using the current password. It is worth being honest about why you would: the usual reason is the fear of being locked out, and the correct fix for that is a confirmed recovery email and a password manager, not removing the lock. Turning it off returns your account to the state where a phone number is the only thing standing between a stranger and your history.
Does two-step verification encrypt my messages?
No, and the distinction matters. It controls who may sign in to your account; it is not an encryption key for your cloud history. Ordinary chats are encrypted between your device and Telegram's servers and stored there, which is what makes them available on every device. End-to-end encryption between two devices, with nothing readable on the server, is Secret Chats — a different feature with a different trade, covered in Step 025.
What should I do right now if I think somebody is already in my account?
In this order, from any device you still control. Open Settings, then Devices, and terminate all other sessions — this cuts off access immediately. Then set or change the cloud password, and confirm a recovery email. Then check Settings for anything that was altered while they were there: a changed username, a new recovery address, unfamiliar chats. Step 028 covers the forensic side, but the first two actions are the ones that stop the bleeding and they take under a minute.
At a glance
- 1Turn it on
Settings › Privacy and Security › Two-Step Verification, with a recovery email.
- 2Two different locks
A passcode locks this device; the cloud password guards every new login.
- 3If you forget it
Without a recovery email, the only reset waits seven days.
Updated