Why Is Telegram Not Sending Login Codes and How Can Users Fix It?
By Telegram Official Team

Telegram Not Sending Login Codes: A Symptom, Not a Diagnosis
"Telegram not sending login codes" is a symptom, not a diagnosis, and it can originate in at least four unrelated layers: the delivery channel Telegram chose, the phone number itself, the mobile carrier's SMS path, and the client you are typing into. Treating it as a single bug is exactly why so many people tap the same resend button for an hour and end up locked out for a day. The productive approach is to identify which layer failed before changing anything else, because the remedies for each layer actively conflict. Retrying a request when the real problem is flood control makes the lockout longer; sitting still and waiting when the real problem is a mistyped country code wastes time for nothing.
What follows traces the pipeline in the order Telegram actually uses it, then offers a short triage table, a five-minute sequence that covers the majority of real cases, and an explicit set of boundary conditions for when the sensible answer is to stop fiddling and pick a different recovery path. Nothing here depends on unofficial tools. Every statement about the interface is written so you can verify it inside your own client, because Telegram ships noticeably different builds to Android, iOS, desktop and web, and menu labels are translated differently in each locale. Where a conclusion rests on patterns rather than published documentation, it is framed as an empirical observation that you can test on your own devices.
Tip: Before you read further, note the exact timestamp of your last attempt and the exact wording of any error message. Six-digit codes are short-lived, and support conversations or your own later debugging both become far easier when you can say "at 14:20 I requested a code and got this text" rather than "it doesn't work."
How a Telegram Login Code Is Actually Delivered
A login code is not a password. It is a short-lived numeric token generated server-side and pushed toward you through whichever channel Telegram believes is most likely to reach you. There are three channels in normal use, and the priority between them is the single most misunderstood part of the whole system. Getting that priority straight explains most of what people describe as "Telegram not sending codes," so the next three subsections take the channels in the order the server actually tries them.
Channel one: in-app delivery to an existing session
If you are still logged in on any device — an old phone in a drawer, a desktop client, a browser tab — Telegram typically delivers the code as a message inside Telegram rather than as an SMS. The message arrives from the official service account named Telegram, which carries the blue verified badge. This is deliberate: the platform assumes that an authenticated session is a stronger proof of identity than a SIM card, and it also saves the cost of sending an SMS.
This one behaviour explains a large share of "no SMS" reports. A person buys a new phone, installs Telegram, types their number, and waits. No SMS arrives, because no SMS was ever sent — the code is sitting in a chat on the old device they have already wiped, sold, or simply stopped looking at. The observable test is quick: pick up any device where the account is still signed in, open the chat list, and search for the service account Telegram. If a recent message containing digits is there, the pipeline worked perfectly and the problem is only that you were looking at the wrong screen.
Channel two: SMS to the registered number
When no active session exists — a fresh install, a factory reset, or after you have signed out everywhere — Telegram falls back to SMS. The message usually contains the code plus a short warning not to share it. Delivery time varies widely by carrier and country, from a couple of seconds to a minute or more. Sender IDs also vary: sometimes the message arrives from an alphanumeric sender name, sometimes from a short code, and sometimes from an ordinary-looking number. That variance matters later, because carrier spam filters treat those sender types differently, and a filter that quietly drops one of them is indistinguishable from a failure on Telegram's side.
Channel three: automated voice call
The login screen normally offers an alternative when the SMS has not arrived within a reasonable window — typically a link or button that requests the code by phone call instead. The call is automated and reads the digits aloud; it is not a human operator, and hanging up and calling back will not reach anyone. This channel exists precisely because SMS delivery is the least reliable link in the chain. In practice it is the single most effective fallback for users whose carrier is silently blocking the SMS path, and it is often overlooked because people assume the only options are "wait" or "resend."
What the login code is not
Three boundaries are worth stating plainly, because confusing them sends people down completely wrong repair paths. First, the login code is not your Two-Step Verification password. Two-Step Verification, when enabled, asks for the code first and then for a password you chose. If your code arrives but the app then rejects your password, you do not have a delivery problem at all; you have a credential recovery problem, and the Login Email recovery option described later is the relevant tool.
Second, the code is not the Login Email. The email address you may add under account security is a recovery channel, not a replacement for the numeric token in the normal flow. Third, the code is not something any human being on Telegram's side will ever ask you for. Anyone who requests your code — in a group, in a direct message, in a comment thread, or by phone — is attempting account theft, regardless of how official their profile looks. Codes also expire quickly, so an old message sitting in your chat history may simply be stale rather than the answer to your current attempt.
Warning: Never forward a login code to anyone, including someone claiming to be a moderator, a support agent, or a friend who says they accidentally sent a code to your number. Possession of the code is possession of the account. Telegram's own interface displays this warning in the SMS body for exactly this reason.
Version and Platform Differences That Change the Fix
The core logic of code delivery is server-side and therefore identical everywhere, but the repair paths are not. The button that requests a voice call, the location of the linked-device screen, and the availability of QR sign-in all differ between Android, iOS, desktop and web clients. Community reports and empirical observation suggest that QR-based sign-in has become the most reliable way to move an account to a new device when an old session still exists, precisely because it bypasses the SMS path entirely.
Android: shortest reachable paths
On Android, the code request screen is the first thing you see after entering your number. If the SMS has not arrived, look for a secondary link on that same screen rather than navigating away — the fallback options live in place, and leaving the screen resets nothing but costs you time. To generate a QR code for a different device, the path is Settings → Devices → Link Desktop Device. To review or terminate sessions, the same Settings → Devices screen lists every active login with platform and last-active time.
Android also has the messiest SMS environment of the four platforms, and this is where most carrier-level failures surface. Google Messages may be handling RCS conversations, a third-party SMS app may have replaced the default, and carrier-side spam filtering may be diverting messages to a junk folder inside the messaging app rather than the system tray. When a user says "the SMS never came," searching the messaging app's spam or blocked folder is a two-minute check that resolves a surprising number of cases. Autofill also behaves differently across Android versions and launchers; if the code arrives but is not auto-populated, that is a convenience issue, not a delivery failure — type the digits manually.
iOS: shortest reachable paths
On iOS the same screens exist with slightly different placement: Settings → Devices → Link Desktop Device for the QR code, and Settings → Devices for session management. iOS handles unknown senders more aggressively than Android. If Filter Unknown Senders is enabled in the Messages settings, a message from an unfamiliar sender ID may be routed into a separate list rather than the main inbox, which produces exactly the symptom of "no SMS" even though the message was delivered. Checking the filtered list is the first iOS-specific step worth taking, and it takes seconds.
Dual-SIM and eSIM setups add another failure mode. If the Telegram account is registered to a number on SIM two but the phone's default SMS line is SIM one, the message still arrives, but the notification and the conversation both live under the second line, which many people never open. Apple's Messages app does label the line, so this is verifiable rather than speculative: open Messages, look at the line indicator, and confirm which number received the message.
Desktop and web: a different recovery geometry
Desktop clients and Telegram Web cannot receive SMS at all — there is no SIM card involved. Their sign-in flow is QR-based: the desktop window displays a QR code, and you scan it from a phone that is already logged in. This means a desktop login failure is almost never a delivery problem. If the QR code does not work, the cause is usually that the phone session itself has expired, or that the two devices are on networks that prevent the handshake. Retrying after confirming the phone session is healthy resolves most of these cases; the fallback is to enter the phone number on the desktop client and approve using an in-app code delivered to the phone.
Version drift and unofficial clients
Using the latest version as of this writing is a reasonable default, because older builds occasionally lag behind in how they present fallback options — a client that predates a given interface change may not show the voice-call link where you expect it. Check your installed version from the settings screen rather than assuming. Third-party and unofficial clients are a separate category entirely: they are not supported, their behaviour during login cannot be verified against official documentation, and using them carries a real risk of account restriction. If login problems began after installing an unofficial client, uninstall it and repeat the flow in an official build before concluding anything about your number.
Symptom Triage: Match Your Case Before You Act
Most users lose time because they apply the fix for the wrong failure. The table below maps observable symptoms to the most probable layer and the single most useful first action. It is a triage aid, not a diagnostic certainty — treat the first action as a test whose result narrows the field, and move to the next row only when the previous test comes back negative.
| Symptom | Most probable layer | First action | How to confirm |
|---|---|---|---|
| No SMS, but you still have Telegram on another device | In-app delivery channel selected | Open the other device and find the Telegram service chat | A recent message with digits exists |
| No SMS, no other logged-in device | Carrier or SMS path | Use the voice-call fallback on the same screen | Automated call reads a valid code |
| "Too many attempts" style message | Rate limiting | Stop requesting; wait it out | Error persists until the cooldown expires |
| Code arrives but is rejected as invalid | Stale or mistyped code | Request a fresh code and enter it immediately | The newest code is accepted |
| Code accepted, then a password is demanded and fails | Two-Step Verification | Use the Login Email recovery path | Recovery email flow succeeds |
| Number is rejected outright before any code is sent | Number type or format | Confirm country code and whether it is a virtual number | A different, physical number proceeds normally |
Two rows in that table deserve emphasis because they are where people do the most damage. The rate-limiting row is discussed in detail below — the essential point is that the correct response is inaction. The virtual-number row is discussed in the SMS section, because a number that cannot reliably receive SMS in the first place makes the entire delivery discussion moot.
The Five-Minute Sequence: Do This Before Anything Else
The following sequence is ordered by the ratio of cases resolved to time spent. It deliberately avoids the two most common mistakes: requesting codes repeatedly, and reinstalling the app before checking whether an existing session already received the code.
- Check other logged-in devices first. Open Telegram on any tablet, desktop, or browser session and search for the service account named Telegram. If a code is there, use it and stop.
- Verify the number you typed. Country code errors are extremely common when travelling, when using a work phone, or when typing from memory. Compare the number against your carrier's own app or your phone's settings screen rather than against your recollection.
- Wait the full delivery window before resending. SMS can take upward of a minute in congested networks. Resending inside that window is what pushes accounts into rate limiting.
- Search your messaging app's filtered or spam folder. On iOS this is the unknown-sender list; on Android it may be a spam folder inside the messaging app itself.
- Use the voice-call fallback. This is the highest-yield single action for genuine SMS failures and it lives on the login screen itself.
- Reboot the phone and toggle airplane mode. This forces a re-registration with the network and clears some transient SMS delivery states — empirical observation suggests it helps occasionally, at essentially zero cost.
- If all of the above fail, wait rather than retry. Multiple failed attempts can produce a cooldown that lasts hours. The absence of a button labelled "stop" does not mean continuing is free.
Notice what is not on that list: reinstalling the app, clearing app data, and factory-resetting the phone. Reinstalling Telegram does not change how the server chooses a delivery channel, and it destroys any chance the in-app code was already waiting for you. Clearing app data on a device that still holds a valid session logs you out of that session, which removes your easiest recovery route. These actions feel productive and are frequently counterproductive, which is why they belong at the end of the process rather than the beginning.
When the Code Is Being Delivered In-App Instead of by SMS
This scenario deserves its own section because it produces the purest form of false alarm. Picture a concrete case: a user upgrades from an old Android phone to a new one, moves the SIM card across, and installs Telegram on the new device. The old phone is still powered on and still signed in, sitting in a drawer. The user requests a code, waits several minutes, sees nothing, and concludes that Telegram is broken. In reality the code was delivered within seconds as a Telegram message to the old handset, where it remains unread.
The verification is mechanical. Take any device where the account is currently signed in, open the app, and locate the chat with the official Telegram service account. Login codes appear there alongside other service notifications. If you find a recent one, enter it on the new device. If the old device is genuinely gone — sold, broken, or wiped — you cannot use this route, and you should move directly to the SMS or voice-call channel with the understanding that the SMS will now actually be sent, because no active session remains.
There is a subtler variant worth knowing. A session can remain listed as active even when you no longer physically have the device, if the device was never explicitly signed out. In that state, Telegram may continue preferring in-app delivery, and the code goes to a machine you cannot reach. The fix is to terminate the stale session from a device you do control: Settings → Devices, select the entry, and end it. Once no sessions remain, the next code request falls through to SMS by design.
Tip: If you are handing a phone down, selling it, or sending it for repair, sign out of Telegram from the app before you part with it. That single step converts a future lockout risk into an ordinary SMS login.
SMS-Side Failures: Number, Carrier, SIM, and Device
When no active session exists and no SMS arrives, the failure has moved downstream into the mobile network. This is the layer with the widest variety of causes and the least control available to you, which is why the voice-call fallback is so valuable — it sidesteps the entire SMS infrastructure. The subsections below work through the individual causes, from the number itself outward to the handset.
Number type: physical versus virtual
Virtual and VoIP numbers — those issued by internet telephony providers rather than a mobile carrier — are widely reported as unreliable for Telegram registration, and empirical observation across user communities suggests they are frequently rejected or simply never receive the message. The precise policy is not something this article can state authoritatively, so treat it as a testable hypothesis rather than a rule: if a virtual number produces no code and no voice call, try a physical SIM from a mainstream carrier and compare. If the physical number works immediately, the number type was the variable.
Country code and formatting
The login field expects the number with its international country code, and the client usually shows a country selector that determines the prefix. Two errors recur: leaving a leading zero in front of the national number, and selecting the correct country but pasting a number saved in local format. Both produce a request that goes nowhere useful. If you are unsure, enter the number exactly as your carrier displays it in their own app, and let the country selector supply the prefix rather than typing it manually.
Carrier filtering, sender IDs, and roaming
Carriers apply spam and fraud filtering to inbound SMS, and messages from unfamiliar alphanumeric sender IDs are common casualties. Nothing in the Telegram client can detect this, because the message never reaches the device. Two conditions make it more likely: a recently issued SIM with no message history, and roaming on a foreign network, where inbound international SMS is sometimes blocked or delayed by the visited network's policy. If you are travelling and the SMS will not arrive, the voice call often still connects — another reason to try it early.
Dual SIM, eSIM and RCS interactions
Dual-SIM devices deliver SMS to the line that received it, and users frequently check only the default line. eSIM adds a wrinkle during activation: until the profile is fully provisioned, inbound SMS may fail silently. Separately, if your messaging app has upgraded a conversation to a richer chat protocol, the fallback to plain SMS for a new sender can behave unexpectedly — this is an empirical observation about device environments rather than a documented Telegram behaviour, so verify by looking at the raw message list rather than at any conversation that already exists.
A reproducible test for the SMS path
To isolate whether your number can receive SMS from unfamiliar international senders at all, send yourself a message from a second number or ask a contact abroad to text you. If ordinary international SMS arrives but Telegram's does not, the problem is most likely sender-ID filtering at your carrier, and the voice call is the appropriate workaround. If nothing international arrives, the issue is broader than Telegram and belongs with your carrier's support channel. Either result is useful, because it tells you which half of the pipeline to stop investigating.
Rate Limits, Cooldowns, and the Cost of Retrying
Telegram applies rate limiting to code requests, and the error text varies by client and language but typically reads along the lines of "too many attempts, please try again later." The mechanism exists to prevent exactly the behaviour that frustrated users adopt: a tight loop of request, wait ten seconds, request again. Once the cooldown engages, further requests extend it rather than resetting it.
The correct response is unintuitive and simple: stop. Close the app, put the phone down, and come back after a meaningful interval — hours, not minutes. Empirical observation suggests that cooldowns on fresh accounts and on numbers that have been requested repeatedly tend to be longer than on established accounts, though the exact durations are not published and should not be assumed. If you need access urgently, the voice-call channel is sometimes still available while SMS requests are throttled, but this is not guaranteed and is worth testing rather than relying on.
Warning: Repeatedly requesting codes on a number you do not own is a well-known harassment and account-takeover vector. If you receive unexpected login codes for your own number, do not ignore them — someone has your number and is trying to sign in. Change your Two-Step Verification password and review Settings → Devices immediately.
Security Settings That Interact With Login
Several account settings change what happens after the code is accepted, and understanding them prevents a whole class of misdiagnosis in which users blame delivery for what is actually an access-control prompt. The four settings below are the ones most likely to appear in a failed login, and each of them changes the meaning of the symptom you are seeing.
Two-Step Verification adds a password on top of the code. With it enabled, a successful login looks like: enter number, receive and enter code, then enter your password. If you have forgotten the password, the code path is working fine and the blocker is elsewhere. Recovery runs through the Login Email you configured, if any — which is the strongest practical argument for setting one up before you need it.
Login Email is found under Settings → Privacy and Security → Login Email in current clients, though the exact placement and availability can differ by platform and build, so confirm it in your own app. Its purpose is to give you a recovery route that does not depend on the SIM card. For anyone who travels, changes numbers, or uses a number they do not fully control, this is the single highest-value setting in the entire privacy menu.
Devices (historically labelled Active Sessions) lists every signed-in client. This screen is both a security tool and a diagnostic: it tells you whether an in-app code is likely to be delivered somewhere, and it lets you terminate sessions you no longer control. Reviewing it after any login trouble is a good habit, and reviewing it after any suspected compromise is mandatory.
Passcode is a local lock on the app itself, unrelated to server-side login. If the app demands a passcode before showing anything, that is a device-level lock, not a Telegram delivery problem. Finally, some recent builds expose passkey-based sign-in on supported platforms. Availability varies, so the honest instruction is to check whether your client offers it under the privacy and security settings before relying on it as a recovery path.
Migration Scenarios: Moving an Account Between Devices
Most login trouble occurs during a device change, so it is worth walking through the migration geometry explicitly. The deciding question is always the same: does a working session exist somewhere that you can physically reach? The four scenarios below cover the answers to that question in the order of least to most difficulty.
Old device still works: use QR, not SMS
On the old phone, open Settings → Devices → Link Desktop Device. This produces a QR code. On the new device, choose the QR sign-in option if it is offered in the initial flow, or install a desktop client and scan the code with the phone's camera. The account transfers without any SMS being involved, which removes every carrier-dependent failure mode at once. For anyone with reliable access to the old device, this is the method to prefer.
Old device is gone: expect SMS, prepare for the call
With no reachable session, SMS becomes the primary channel and the voice call becomes your backup. Before you start, confirm the SIM is active, that you can receive ordinary SMS on it, and that you know the number's exact international format. Then request the code once, wait the full window, and if nothing arrives, switch to the call option rather than requesting a second SMS.
The same number on a new SIM
Replacing a SIM while keeping the number is a common case: the account still exists server-side, the number is unchanged, and the client on the old device may still hold a session that is now unreachable. Terminate the stale session if you can reach any other device, then log in normally. If you cannot reach any session, the flow is identical to the previous scenario.
When nothing works: the account deletion clock
Telegram accounts can be configured to self-delete after a period of inactivity, controlled from Settings → Privacy and Security → Delete my account if away for…. This is relevant because an account that has already self-deleted cannot be recovered by any login method; a new registration on the same number starts from scratch with no history. If you are locked out and the inactivity period is close to expiring, the urgency of resolving it is genuinely higher than it looks.
Compatibility Table: Platform, Channel, and What to Expect
The table below summarises the practical capabilities of each client type. Treat "typical" entries as things to confirm in your own build rather than universal guarantees, since interfaces change between releases.
| Platform | Can receive SMS directly | Can receive in-app code | QR sign-in typical | Voice-call fallback |
|---|---|---|---|---|
| Android | Yes | Yes | Yes (generate) | Yes |
| iOS | Yes | Yes | Yes (generate) | Yes |
| Desktop (Windows/macOS/Linux) | No | Yes, if a phone session exists | Yes (scan) | Not applicable |
| Web client | No | Yes, if a phone session exists | Yes (scan) | Not applicable |
The takeaway from that table is structural rather than per-row: desktop and web clients are downstream of the phone, so their login problems almost always trace back to the state of the phone session. Diagnosing a desktop failure by examining your carrier is a category error.
Prevention: Making the Next Login Boring
Everything above is recovery. Prevention is cheaper, and it consists of a short list of decisions made while you still have access.
- Keep one trusted session alive. A desktop client or an old phone kept signed in gives you an in-app code route when the SIM fails. Sign out of devices you no longer use, but do not sign out of all of them.
- Set a Login Email. It converts a SIM-dependent recovery into a credential-independent one.
- Record your Two-Step Verification password in a password manager. Memory is not a storage medium.
- Review Settings → Devices periodically. Stale sessions both leak access and confuse code delivery.
- Prefer a physical SIM for your primary number. Virtual numbers are the least predictable foundation for an account you care about.
- Never request codes in rapid succession. Patience is the cheapest protection against cooldowns.
There is a trade-off hiding in the first item. Keeping a session alive on an old device is convenient for recovery but expands the attack surface if that device is lost or stolen. The reasonable compromise is to keep one secondary session on a device you physically control and secure, rather than leaving sessions scattered across every machine you have ever used.
Applicable and Non-Applicable Scenarios
This troubleshooting framework fits a specific class of situations and fits others poorly. Being explicit about the boundary saves time.
It applies when you control the phone number, you have or had a legitimate account, the failure is a delivery or access-control issue, and you can act on the device side — checking other sessions, checking spam folders, trying the voice call. These are the cases where the sequence above resolves the problem in minutes.
It does not apply when the number itself is no longer under your control — a disconnected line, a number reassigned to someone else, an account registered by a former employee on a company SIM that has since been returned. No amount of delivery troubleshooting helps there, because the code is being delivered correctly to someone else, or to nobody. Nor does it apply to accounts that have already self-deleted, or to accounts registered through unofficial clients whose state cannot be verified against official behaviour. In those cases the realistic options are account recovery through other configured channels, or accepting the loss and creating a new account on a number you control.
A middle case deserves mention: shared or organizational numbers, where several people need access. The technically clean answer is separate accounts per person with a shared group or channel, not a shared login on one account — because shared credentials make every future login problem harder to resolve and make session auditing meaningless.
Verification and Observation Methods
If you want to confirm the conclusions in this article against your own environment rather than taking them on faith, the following checks are reproducible and require nothing beyond your devices.
- Test the in-app channel hypothesis. Sign in on a second device, then request a code from a third. Expected observable result: the numeric message appears in the Telegram service chat on the second device, and no SMS arrives.
- Test the SMS channel. Sign out of every session, then request a code. Expected observable result: an SMS arrives on the registered number, since no session remains to prefer.
- Test the voice-call fallback. With no sessions active, request a code and use the call option on the same screen. Expected observable result: an automated call reads digits that are accepted on the login screen.
- Test your carrier's international SMS path. Have a contact abroad send you an ordinary text. Expected observable result: the message arrives; if it does not, the delivery failure is upstream of Telegram.
- Test rate limiting carefully — once. Request codes twice within a short window and note whether a cooldown message appears. Do not repeat this test; the point is to recognise the message, not to provoke a long cooldown.
Record the outcome of each test with a timestamp. Users who do this consistently end up with a clear picture of which channel works for their number, which is far more useful than a vague sense that Telegram is "unreliable."
Risk Control: What Not to Do
The failure mode that turns a fifteen-minute inconvenience into a permanent loss is almost always the same: outsourcing the problem to someone who claims they can solve it. Services that advertise "Telegram account recovery" in exchange for payment, third-party bots that ask for your number and code, and individuals who offer to "approve" your login are, in the overwhelming majority of cases, harvesting credentials. There is no legitimate mechanism by which a third party can retrieve a login code for you, and Telegram does not grant such capability to outsiders.
The same logic applies to unofficial client builds. Beyond the login issues they can introduce, they are a poor foundation for an account you rely on, and their presence itself can be a reason for account restrictions. Keep to official clients obtained from recognized stores or the vendor's own distribution channels.
A final control worth applying: if you ever receive login codes you did not request, act on it. That is not a delivery bug — it is someone else attempting to sign in with your number. Change your Two-Step Verification password, review and terminate unknown sessions under Settings → Devices, and confirm your Login Email is one only you can access. Expectation management matters here too: after a suspected compromise, the recovery steps above still apply, but the priority shifts from convenience to containment.
Frequently Asked Questions
Why does Telegram send the code inside the app instead of by SMS?
If you are still signed in on any other device, Telegram typically delivers the login code as a message from its official service account rather than as an SMS. You can confirm this by opening Telegram on that other device and looking for the service chat named Telegram. If the code is there, no SMS was ever sent, and there is nothing wrong with your phone number or carrier. Signing out of the stale session is what makes the next request fall back to SMS.
What should I do if the SMS never arrives and I have no other signed-in device?
Use the alternative option on the login screen to receive the code by automated voice call. It bypasses the SMS path entirely, which is where most carrier-level failures occur. Before that, confirm the number is entered with the correct international country code, check your messaging app's filtered or spam folder, and wait a full delivery window before requesting again so you do not trigger a rate limit.
Does reinstalling Telegram help when codes are not arriving?
Usually not, and it can make things worse. The delivery channel is chosen server-side, so reinstalling does not change it, and reinstalling or clearing app data destroys any existing session that could have received the code in-app. It also signs you out of a device that was serving as your recovery route. Reinstall only after you have ruled out the other causes.
The code arrives but Telegram then asks for a password. Is that a delivery problem?
No. That prompt is Two-Step Verification, an additional password you set yourself. Delivery has worked correctly; the blocker is credential recovery. If you have configured a Login Email under your privacy and security settings, that is the recovery route to use. This is the strongest practical reason to set a Login Email before you need one.
Why do I sometimes see a message about too many attempts?
Telegram rate-limits code requests to prevent abuse. Repeatedly resending inside the delivery window is the usual trigger. The correct response is to stop requesting and wait for the cooldown to expire; continuing to retry tends to extend the wait rather than shorten it. Exact cooldown durations are not published and should not be assumed.
The Short Version, and What to Do Next
The reason "Telegram not sending login codes" feels like a mystery is that one visible symptom covers at least four distinct failures. In the great majority of cases the explanation is unglamorous: a session still exists somewhere, so Telegram sent the code in-app and never touched SMS. The second most common explanation is that the SMS itself was filtered or delayed at the carrier, and the fastest way around that is the automated voice call that has been sitting on the login screen the whole time. Only after both of those are excluded does it make sense to think about number types, formatting errors, or cooldowns.
If you are reading this while locked out, the next three actions in order are: check every device where you might still be signed in, then try the voice-call option once, then stop requesting for a few hours if you have already made several attempts. Those three steps resolve the majority of cases without any further investigation.
If you are reading this while still logged in, the priorities are different and much cheaper: keep one trusted session alive, set a Login Email, note your Two-Step Verification password somewhere durable, and review your device list occasionally. Ten minutes of preparation now removes almost every scenario described in this article. But later, if you do find yourself locked out, the disciplined sequence matters more than speed — because the one thing that reliably turns a short inconvenience into a long one is a user who keeps pressing the same button while the cooldown quietly counts upward.