How Do You Handle an Authentication Code Sent to an Unavailable Phone Number?
What to do when a login code is sent to a SIM you no longer have or cannot reach: quick checks, official recovery routes, scam warnings and how to plan ahead.
11 min readUpdated Nov 19, 2026By XPASS Editorial Team

Sooner or later almost everyone meets this screen: you try to sign in, the service says it has sent a six-digit code to a number ending in two digits you recognise, and the phone that owns that number is somewhere you cannot reach it. The SIM is in a drawer at home, the line has expired, the phone fell into a river, or you simply have no signal. The code is on its way to a place where you cannot read it, and the sign-in page waits.
This article explains how to handle that situation calmly. We look at why the code is not reaching you, what quick checks are worth doing, which official recovery routes exist when the number really is gone, how scammers exploit this moment, and how to set up your accounts so it is much less likely to happen again. It does not offer a trick to skip verification, because a code that cannot be skipped is exactly what protects your account. If you want the background on how codes work first, read what two-factor authentication is.
Why the code cannot reach you
An SMS code is a short text message. The service asks a messaging provider to send it to the phone number stored on the account. That message then travels across your mobile operator's network to the SIM registered for that number. Anything that breaks the chain between the number and a phone in your hand stops you from reading the code. The common causes are:
- The SIM is not in a phone you have. It may be at home, in an old handset, or in a lost or stolen device.
- The phone has no signal or is not allowed to roam. Roaming may be switched off, the plan may not include it, or the network abroad may not carry SMS to your line.
- The number has expired or been cancelled. Prepaid lines can lapse if they are not topped up, and after a while the operator may reassign the number to someone else.
- The phone is switched off, broken or out of battery.
- The number on the account is old. You may have changed numbers years ago and never updated the service, so the code goes to a number that is no longer yours.
- The message was delayed or blocked. Spam filters, a full inbox or a congested network sometimes hold messages back.
Notice what is not on this list: your internet connection and your VPN. A text message does not travel over your Wi-Fi in the normal way, so changing your internet path does not change whether the SMS arrives. That matters later, in the limits section.

Quick checks before you assume the worst
Before you start any recovery process, spend a few minutes ruling out the simple problems. Most are fixed without any special steps.
- Read the masked number carefully. The service usually shows only the last two or three digits. Confirm it is really the number you think it is. If it is an old number, you know the real fix is to change the number on the account, not to wait for the code.
- Check the phone that should receive it. Turn off airplane mode, make sure the SIM is inserted and active, and look at the signal bars. If you are abroad, confirm that data roaming and voice roaming are allowed on that line if your plan needs it.
- Wait a minute, then request one code. Codes can take a little while. Requesting many in a row can trigger rate limits and may cause the service to lock the sign-in for a period, so request once and wait.
- Look in the right place. Some codes arrive in a spam or blocked-messages folder, or in a separate messaging app that your phone uses for texts.
- Try a different delivery option, if the service offers one. Some services can read the code by automated voice call instead of SMS. That helps only if the same number can still receive calls.
- Look for other sign-in methods already set up. The sign-in page often has a link such as "Try another way". You may have an authenticator app, a passkey, a trusted device or backup codes that you forgot about.
If one of these works, sign in and then fix the underlying problem while you are inside the account, which we cover in the preparation section.
If the number is gone: use the official recovery route
When you really cannot receive the code, the correct answer is the service's own account recovery process. It is slower than a code, and that is deliberate. The same process that is a nuisance for you is what stops a stranger from taking over your account.
Recovery processes differ by service, but they tend to follow a similar shape.
- Start from the official page or app. Use the sign-in page you normally use, or type the address yourself. Avoid links from messages or search adverts, because fake recovery pages are common.
- Choose the option that says you no longer have access to the number or the verification method. The wording varies.
- Prove who you are in the ways offered. That might be a recovery email address, answers to account questions, a previously trusted device, or a form that asks for details only the real owner would know. Some services, banks in particular, ask you to visit a branch or contact a verified phone line with identity documents.
- Be patient with waiting periods. Some services deliberately delay changes for a day or several days after a recovery request and notify the old contact details so that a genuine owner can object. This delay is a safety feature.
- Update the number once you are back in. Replace the old number with one you can reach, and add at least one other verification method.
For banks and financial apps, the process is usually stricter. You may need to contact the bank through its official hotline or app, visit a branch, or confirm your identity with documents. If you are abroad, ask the bank which options exist for customers outside the country before you travel, not after you are locked out. Our guide on keeping a Thai number reachable for OTP with an eSIM explains one way to keep a home number alive while using a local data plan.
Do not try to get around the process. Do not look for ways to receive someone else's code, borrow a number to impersonate yours, or ask a friend to read out a code that arrives for your account in a way the service does not allow. If the service says it needs proof, giving it that proof is the way back in.
Scams that target this moment
Being locked out makes people hurry, and scammers know it. Several patterns show up again and again.
- "Support" that contacts you first. A message, call or social media account says it can recover your account or release your funds. Real services rarely reach out first, and they never need you to read them a code.
- Fake recovery sites. An advert or link leads to a page that looks like the real sign-in and collects your password and any code you type. The CISA guidance on recognising and reporting phishing is a good checklist.
- Paid "unlock" services. Anyone who asks for a fee to bypass verification, or who asks you to send an identity document by chat, is not part of the official process.
- Number takeover. If you suddenly lose signal on a number that was working, and you did not change anything, someone may have moved your number to another SIM. Read our guide on SIM-swap fraud and contact your operator at once through an official channel.
- Code relay requests. A person who asks you to read out or forward a code "to verify you" is almost certainly trying to log in as you.
A simple rule covers most of these: a verification code is for you to type into the official app or website, and nobody else should ever need to hear it.
A plain example
Mina is on a three-week trip. She swapped her home SIM for a local data SIM in her phone and put the home SIM in her suitcase. On day four she logs in to her email from a hotel laptop. The service says it has sent a code to the number ending in 42, which is her home SIM.
She reads the masked number, recognises it, and realises the SIM is in the suitcase. She does not request ten codes. She clicks "Try another way" and sees that she added an authenticator app last year. She opens the app on her phone, enters the six-digit code from there, and gets in. Once inside, she adds her local number as a second recovery number, generates a fresh set of backup codes, and saves them in a password manager. Her whole problem took five minutes because she had a second method.
Now imagine the same story without the authenticator app. Mina would need the service's recovery process. She would use the official page, answer the questions, and wait the stated delay. It would be annoying, but she would still get her account back without anyone else seeing her code.
What to do when the phone is lost or the number is cancelled
Two cases need extra care.
The phone is lost or stolen. The first priority is not the code, it is containing the damage. Lock or wipe the phone using its find-my-phone feature, ask your operator to suspend the SIM and issue a replacement, and change the passwords of important accounts from a safe device. Then use backup codes or another trusted device to sign in. Remember that whoever holds the phone may also hold the codes, so contact banks through official channels quickly. Our article on two-factor authentication while travelling has a fuller lost-phone plan.
The number was cancelled or reassigned. Operators can release an unused number after a period, and it may later belong to someone else. If you still own the number, ask the operator whether it can be restored, and top up or reactivate it only through them. If it is gone, start the service's recovery process and change the number on the account. Until you do, treat any code that arrives at that number as risky, because the new owner could also try to use it to reach accounts linked to it. Some services let you remove an old number only after you prove who you are, so do this early rather than late.

Plan ahead so it does not happen again
The best time to fix this is before you travel or change numbers. A short checklist:
| Preparation step | Why it helps |
|---|---|
| Add an authenticator app or passkey to important accounts | Works without receiving an SMS, often without mobile signal |
| Save backup codes in a password manager or a locked place | Gives you a one-time way in if the phone is lost |
| Update the recovery number and recovery email | Means the service reaches something you control |
| Keep the home SIM active, or ask your operator about roaming | Keeps SMS possible where you are going |
| Keep a second trusted device signed in at home or with a family member you trust | Gives a way to approve a sign-in prompt |
| Check bank and wallet OTP options before you leave | Banks often have stricter rules for customers abroad |
| Move your messaging app with a plan | Plan the move of chat apps before you swap SIMs |
Passkeys deserve a mention. A passkey signs you in with your device unlock, such as a fingerprint or face, and does not depend on receiving a text. They are tied to your account at the service and your device, so you still need a plan if the device is lost. The FIDO Alliance explains passkeys and our article on what passkeys are covers how they work in practice. Not every service offers them yet, and some banks still depend on SMS, so check what each one supports.
Also be careful with the idea that more methods always mean more safety. The aim is two or three reliable ways in that you control, not a long list that you forget. Review them when you change phones, change numbers or return from a trip.
Limits: what a VPN does and does not do here
A VPN encrypts the connection between your device and the VPN provider and changes the address that websites see. That can help when you use hotel or cafe Wi-Fi. But it is easy to expect too much from it in this situation.
- A VPN cannot deliver an SMS. The text travels on the mobile network between the service, your operator and your SIM. Connecting or disconnecting a VPN changes nothing about that.
- A VPN does not prove who you are. Recovery depends on identity checks, trusted devices and recovery details, none of which a VPN supplies.
- A VPN should not be used to dodge a service's rules. If a service flags a login from an unfamiliar place, the right response is to complete its verification honestly, not to disguise where you are.
- A VPN can sometimes add friction. A login that suddenly appears from a different country may trigger more checks. If a service keeps challenging you, try signing in from your normal connection once you have another way to verify.
Where a VPN does help is on shared networks: when you type a password or a recovery detail into a page on public Wi-Fi, an encrypted connection reduces what others on that network can observe. The NIST guidance on digital identity explains why SMS is considered a weaker second factor than some alternatives, which is another reason to add a second method.
A short action plan
If you are locked out right now, work through this in order.
- Stop requesting codes after the first or second attempt.
- Confirm the masked number and check the phone, SIM and signal.
- Click the "Try another way" or equivalent link and look for an authenticator app, passkey, backup codes or trusted device.
- If none work, start the service's official recovery process from the official page or app.
- If it is a bank or wallet, contact it through its official hotline or app and ask what it needs for a customer abroad.
- Ignore anyone who contacts you offering to fix it, and never read out a code.
- When you are back in, update the number, add a second method and save backup codes.
Summary
A code sent to a number you cannot reach is a sign that your account is doing its job, but it should not be a dead end. Check the simple causes first, look for another method you have already set up, and use the service's official recovery process when the number is truly gone. Avoid anyone who offers a shortcut, because those offers are the scams. Keep in mind that a VPN does not carry text messages, so it cannot fix this; its value is on shared Wi-Fi. If you would like an encrypted connection for those hotel and cafe networks on your next trip, you can look at the options on the XPASS pricing page.
Frequently asked questions
What can I do if a login code is sent to a phone number I cannot reach?
First confirm why the number is unreachable: no signal, roaming switched off, a SIM left at home, an expired line or a lost phone. Then look for another sign-in method the service already offers, such as an authenticator app, a passkey or backup codes. If none exist, use the service's official account recovery process and be ready to prove who you are.
Can a VPN make the code arrive?
No. An SMS code travels over the mobile network between the service, your operator and your SIM. A VPN works on your internet connection and has no part in delivering text messages to your number.
Should I pay someone or use a website that offers to receive my code?
No. Services that offer to receive codes on your behalf, or people who say they can unlock the account for a fee, are a common scam pattern. A code is meant to reach only you, and recovery should go through the service's own official process.
What if my old number was cancelled or given to someone else?
Do not keep requesting codes. Contact your operator to ask whether the number can be restored, and start the service's official recovery process to change the number on the account. Treat any messages that arrive for that number with care, because it may belong to someone else now.
How can I avoid this problem on my next trip?
Before you leave, add a second method such as an authenticator app or passkey, save backup codes somewhere safe, update recovery numbers and email addresses, and check with your operator that SMS can reach you where you are going.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

VPN Security
Two-Factor Authentication While Travelling
How to keep two-factor authentication working abroad: the strengths and weak points of each method, keeping your Thai number reachable for bank OTP, backup codes, SIM-swap risk and the real role of a VPN.
11 min read

Privacy Guides
SIM Swap Fraud: What It Is, Warning Signs and How to Protect Your Number
How SIM swapping works, why criminals want your phone number, the early warning signs, and the practical steps that protect you: carrier PINs, authenticator apps, passkeys and fast action.
10 min read

Troubleshooting
Account Locked After Logging In From Abroad
A login from a new country can trigger extra checks or a temporary lock on bank, email, social and shopping accounts. Here is why it may happen, how to recover safely, and how to prepare before you travel.
10 min read