Code sent. You look at your phone. No text. A minute later, still nothing. Five minutes in, you have tapped "Resend code" three times, while Telegram has been waiting for you all along in the app on your laptop, where you never signed out.

Many "my code isn't coming" stories start like this. The code arrived; it was just not where anyone looked. The rest start with a real problem: the carrier is not passing texts through, the number is roaming, the attempts have run out. You can tell which is which in ten seconds if you know where to look.

Look at one line of small print under the code box.

5 routes
Where a code can go: another session, SMS, a call, email, Fragment.
1 line
Under the code box. It says where the code went. Read it first.
0 times
How often to tap "Resend" before the timer runs out. Every request uses an attempt.

Start here

What does the line under the box say?

Find the wording closest to yours.

Before anything else

What not to do until you find the code

Warning

How to lock yourself out while waiting for the code

  • Do not tap "Resend" every thirty seconds. Each request uses an attempt. Use up the limit and you cannot sign in until the next day.
  • Do not sign out of Telegram on your other devices. That is most likely where the code is going.
  • Do not reinstall the app "just in case". The limit is counted per number, so reinstalling will not reset it, and the secret chats on that device will be lost.
  • Do not forward the code to anyone. Not to "support", not to a friend, not to a bot. Only you need the code, and only in a sign-in form you opened yourself.

The most common case

If the code went to the Telegram app

If your account is open on at least one device, Telegram sends the code there as a service message rather than by SMS. It is quicker and costs Telegram nothing, so in this case a text is often never sent — while you wait for exactly that.

  1. Think of everywhere Telegram might still be open: a second phone, a tablet, a computer with Telegram Desktop, a web.telegram.org tab.
  2. Open the chat with Telegram there. It is the service account with a blue tick. The code arrives as a separate message warning you not to share it.
  3. If you cannot see the chat, search for "Telegram" and check your archive: if you ever archived the service chat, the code will be there.
  4. Enter the code on the new device. If a password box appears next, that is your cloud password, not another code.

If you have no signed-in devices at all and the screen still mentions the app, wait for the timer to run out. Then tap the link that says something like "Didn't get the code?": Telegram may offer another route, such as SMS.

Phone and carrier

If the code went by SMS

First make sure the right SIM card is waiting for the code, and that a text can reach it at all.

  • The number. Check the country code and every digit on screen. One typo sends the code to a stranger.
  • The SIM. On dual-SIM or eSIM phones, check the right line is switched on and connected. Flight mode should be off.
  • Filters. On an iPhone, texts from unknown senders may land in a separate filter tab. In Google Messages, check "Spam & blocked".
  • Other texts. Ask someone to send you an ordinary text. If it does not arrive either, the problem is with your carrier or SIM.
  • Roaming. Abroad, texts do not always arrive, or arrive late. Ask your carrier whether you can receive texts while roaming.
  • The app. Request the code in the official Telegram app. Third-party clients cannot use SMS by default, so the code may never go out by text through them.

What you see

Likely cause

Who to contact

No texts arrive at all

A problem with the number, SIM or network

Your carrier

Other texts arrive, but not Telegram's

A filter, a delay or a delivery restriction

Wait for the timer, try a call or another route, then Telegram support

Texts stopped arriving suddenly while the phone is with you

Your SIM may have been reissued in someone else's name

Your carrier, immediately

Nothing arrives abroad

Roaming

Your carrier; at home, try another sign-in route

A spoken or numeric code

If Telegram calls you

There are two kinds of call. In one, a robot reads out the code. In the other, the call drops immediately, and the code is the last digits of the number that called you. The screen tells you how many digits to enter.

The call option does not appear for everyone or straight away: it depends on your country and carrier. If the button is not there, the route is not on offer for your number right now, and searching the settings for a workaround will not help.

The login email

If the code went to your email

People who sign in to Telegram often may be asked to link an email address for login codes, and sometimes Telegram will not continue without one. After that, codes can go there instead of by SMS.

  • Look at the masked address on screen and search that inbox, including spam.
  • It is not the password recovery email. Telegram has two separate addresses: one for login codes, one for resetting the cloud password. They may be the same, but they do not have to be.
  • No access to the inbox? First try to recover it through your email provider. The sign-in screen may also offer to reset the login email. That reset can take time: the screen shows how long.

An anonymous number

If your number starts with +888

Collectible +888 numbers cannot receive texts. Telegram shows the code on fragment.com to whoever connects the wallet that holds the number.

Open the link from the official app, check the address really is fragment.com, and connect the wallet that owns the number. Without access to that wallet you cannot get the code: restore the wallet with its recovery phrase first. Details are in "A +888 Telegram number".

The limit

"Too many attempts"

Every number has a daily limit on sign-in attempts. Telegram's developer documentation gives five as an example and notes that the number may change. Use them up and Telegram refuses until the next day.

The limit belongs to the number, not the device. Another phone, another app or a reinstall will not help, and extra attempts only make the wait longer. The best thing to do is wait for the next day, and meanwhile find a signed-in device or ask your carrier why texts are not getting through.

Paid sign-in

In some countries texts are expensive for Telegram to send, and the official app may offer Premium as a way to continue signing in. Telegram's documentation describes this, so it is not a scam in itself.

The genuine request appears only inside a sign-in you started yourself in the official app, and you pay through the App Store or Google Play. A transfer to a "support agent's" card, a payment to a bot or to a crypto address is always fraud. What to check before paying, and what to do after a charge, is in "Telegram asks you to pay to sign in".

How it looks

Example: new phone, old one in a drawer

Example

Worked example

You bought a new phone and enter your number. The screen says the code was sent to Telegram. Your old phone is in a drawer, but you never wiped it. You switch it on, open Telegram, find the chat with Telegram, and there is the code. You enter it on the new phone. If two-step verification is on, you enter your cloud password.

Result: the new phone is in the account and your cloud chats are there. Secret chats from the old phone do not move across: they live only on that device.

Check an existing Telegram session, then the login method offered by the app; respect its retry timer.
Read the diagram from left to right. Check an existing Telegram session, then the login method offered by the app; respect its retry timer.

Support

If nothing worked

If no route has worked and your carrier confirms texts are getting through, write to support using the form at telegram.org/support. The more precise the request, the better the chance it is understood first time.

Template

Support request template

Number: +__ ___ ___ ____ (country, carrier)
Device and official Telegram app version: ___
What the line under the code box says: ___
When the last attempts were (date, time, time zone): ___
Do other texts arrive: yes / no
Is the account open on another device: yes / no

There is no fixed reply time. If you have no access to the number at all, the problem is no longer the code but recovering access: read "How to get back into your Telegram account".

For next time

So you never need the code again

The best code is one you never have to wait for. Ten minutes of setup will spare you all this next time you change phones.

Questions

Why did the code go to my email instead of SMS?

If you sign in often and linked a login email, codes may go there. Look in the inbox whose masked address the screen shows.

Why does the code go to Telegram when I cannot get into it?

Because your account is open on another device, and the code goes there as a service message. If there is no such device, wait for the timer and choose another route.

How long do I wait after "Too many attempts"?

Until the next day. The limit is counted per number, so changing device or app does not get round it.

Can I get the code on a different number?

No. The code goes to the account's number or to your other sign-in routes. You can only change the number from inside the account.

Why is there no "Call me" button?

Calls are not available in every country or with every carrier. If the button is missing, that route is not on offer for your number right now.

I got a code even though I was not signing in. What is it?

Someone typed your number into a sign-in form. Do not give the code to anyone, and turn on two-step verification if you have not already. More in "Telegram account hacked".


A Telegram code is almost never lost. It goes wherever Telegram thinks sensible — your other session, your email, a text or a call — and says so plainly under the code box.

Read that line, wait for the timer and do not waste attempts. And next time, make sure you do not need a code at all.