You've got a new phone. You open X, type your username and password, and it asks for a code. Your phone stays silent.
You wait. You tap resend. The little timer ticks down, and nothing shows up.
If that's you right now, take a breath. In most cases there's a way in, and it's often not the SMS at all. Let's go through what X's own help pages say, and then the fixes in the order we'd try them.
Why X asks for a code
X can ask for a code in a few situations: when you log in with two-factor authentication turned on, when your account gets locked or limited, or when you reset a password. The code usually goes by text message, but X's help pages describe other routes too, and those are the ones that save you when SMS fails.
Which situation are you in?
Your situation | Where to look first |
|---|---|
Logging in with two-factor authentication, but no SMS | Fixes 1 to 7 below |
Account locked, X asks you to verify | The "Locked account" section |
Lost access to your phone or email | Fix 8 and the "Locked account" section |
Resetting a password | Fixes 1, 2, 3, and 7 |
8 fixes, in the order we'd try them
1. Check the number on your account. This is the most common cause. X's help page says that if you recently changed your phone number or mobile carrier, you need to update your settings. If the account still has your old number, the code is going somewhere you can't see it. Also double-check the country code on whatever number is shown on screen.
2. Wait a few minutes, and don't mash resend. X's page for locked accounts says it may take a few minutes for the code to be delivered. Asking for a new one again and again just adds noise. Request it once, then wait.
3. Look for the "send it to my phone" link. If you're stuck on the login screen at x.com, X's help page says you can click the link that reads "Request a code sent to your phone via SMS." Look for it on the code screen.
4. Use a backup code. When you turned on two-factor authentication, X gave you a backup code to use if you lose your phone or change your number. If you saved it, this is the time to use it. Once you're in, update your phone number in your settings.
5. Try the login code generator, or a QR code. X's help page says that if you're logged in on the X app for iOS or Android, you can generate a login code right in the app. In the app, tap Account, then Security, then Login code generator. You can also use a QR code through x.com, and the help page lists the steps. This is the route most people forget.
6. If you're a Verizon customer, log out and back in. X's help page has a specific note for this. If you're a new or existing Verizon customer and you're not getting text messages with your code, try logging out and logging back in. You should then receive the code by SMS.
7. Check the basics on your phone. These aren't X-specific, but they fix a lot of cases:
Ask a friend to text you, to confirm your phone can receive SMS.
Check your spam, blocked, and filtered messages.
Turn airplane mode on and off, and restart your phone.
Make sure your SIM has signal and your plan can receive texts, especially if you're roaming.
Some carriers filter the short-code numbers that services use for codes, so ask your carrier if you suspect that.
8. Contact support. If you've lost your phone and have no backup code, no logged-in device, and no other route, contact X support through the help center. Explain what's happening and give your username. It's slower, but it's the right door.
If your account is locked
A locked account is a different flow. X's help page for locked and limited accounts says you log in, look for the message that your account has been locked, and select Start. You then enter a phone number, and X says it will associate that number with your account. X will send a text message or call you with a verification code, and it may take a few minutes to arrive. You can also check your email for a code from X.
Two more things X's page makes clear:
If you've lost access to both the email and the phone number on the account, you'll need to contact support, and in some cases the only option is to create a new account.
If your account appears to have repeatedly broken X's rules, you may not be offered phone verification at all.
So if you don't see the phone option, that may be why, and no number or trick will change it.
A safety rule that matters
Never share a login code with anyone. If a message, a DM, or a "support agent" asks for your code, it's a scam. The code exists to prove you control the account. Anyone who has it can get in.
How to avoid this next time
Save your backup codes somewhere safe, like a password manager.
Keep your phone number and email up to date in your account settings.
Set up an alternative second step if X offers it in your Security settings, like an authentication app or a security key, so you aren't relying only on text messages.
Stay logged in on one trusted device, so you can use the login code generator when you need it.
A word about privacy and extra numbers
X tells you that it will associate your phone number with your account. If you'd rather not give your main number, that's a fair thing to want. We'd suggest a number you'll keep for the long term, like a second SIM, an eSIM, or a rented carrier-issued number, because you may need codes from it again months later. If you lose the number, you can lose the account.
A few honest points:
We can't promise that X will accept any particular number, and X's help pages we reviewed don't list which number types it takes. If in doubt, use a regular mobile number that's yours.
Follow X's rules. Using extra numbers to dodge a lock or a suspension, or to run many accounts, is not something we help with, and it can get accounts banned.
Skip the free public SMS sites. Anyone can read the codes there. We explain why in Are free SMS receiving sites safe?
At TextVerification, we offer carrier-issued numbers for receiving SMS codes, one-time or rented, for lawful uses. If you want to understand why some numbers get refused by apps in general, read our guide on VoIP vs non-VoIP numbers. For general tips on keeping your number private, see protecting your phone number from spam and leaks.
Quick FAQ
Why is X sending my code to an old number? Because the account still has it saved. If you can log in some other way, update the number in your settings.
Can X send my code by phone call? X's page for locked accounts says you'll get a text message or a phone call with a verification code. Availability can vary, so look at the options on your screen.
How long should I wait? X says it may take a few minutes for the code to arrive. Wait before you ask for another.
Can I log in without my phone? Sometimes. A saved backup code, the login code generator on a device where you're already logged in, or a QR code can work, according to X's help page.
What if I've lost access to both my phone and my email? Contact X support. Their page says that sometimes the only option is to create a new account.
Does X accept VoIP numbers? We couldn't confirm this from X's own help pages. Some third-party sites say it doesn't. If you're unsure, a regular mobile number is the safest choice.
More answers about numbers are in our FAQ.
The takeaway
When the SMS doesn't arrive, don't just keep tapping resend. Check the number on your account, wait a few minutes, and then use the other doors X gives you: the SMS link on the login page, a backup code, the login code generator, or a QR code. And once you're back in, save your backup codes so the next new phone is no big deal.




