X (Twitter) Verification Code Not Arriving? How to Get Back In

Short answer
When does X send a verification code?
X sends different codes for different purposes: login confirmations, two-factor codes, password resets, account unlocks and phone additions. Knowing which code you are waiting for, and where it is supposed to go, makes it much easier to find where the problem comes from.
If your X (Twitter) verification code does not arrive, wait a few minutes before requesting it again, then check your spam folder, your SMS blocking settings and your carrier's text message service. If the code still does not show up, use the "try another method" option on the login screen to switch to email, an authentication app or a backup code. If nothing works, fill in the account access form in the X Help Center and ask the support team for help.
The quick order is this: (1) Wait at least a few minutes before asking for the code again. (2) For email, look in your spam and promotions folders. (3) Check the SMS blocking and filtering settings on your phone. (4) Pick a different verification method on the login screen. (5) If you have a backup code, use it. (6) If every route is exhausted, submit a support form and wait for the reply.
The verification code problem is one of the most common access problems X users run into. Sometimes the code never arrives, sometimes it arrives late, and sometimes it arrives but is treated as invalid. In this article we explain in detail when and why the code does not arrive, separate fixes for SMS, email and an authentication app, how backup codes are used, and what to do when you cannot get into your account at all. Menu names and options can differ by version, so compare the steps with your own screen as you follow them.
| Code type | When it arrives | Where it goes |
|---|---|---|
| Login confirmation code | When you log in from a new device or location | Email or SMS |
| Two-factor authentication code | At every login if 2FA is on | SMS, an authentication app or a security key |
| Password reset code | When you choose "Forgot password" | Email or SMS |
| Account lock verification code | When the account is locked for security reasons | Email or SMS |
| Add phone code | When you add a new number to the account | SMS |
With two-factor authentication, X does not send the code itself; if you use an authentication app, the code is generated right in the app on your phone. So instead of waiting for a code that "does not come", you need to open the app and enter the six-digit code shown there. This distinction is a point many users miss.
What to check if the SMS code does not arrive
A code sent by SMS passes through several stages between the carrier, your phone settings and X's sending system. If anything goes wrong at any of those stages, the code never reaches you.
- Is the number correct? The number saved on the account may be an old one. If the login screen shows a hint with the last digits of the number, compare it with your own number.
- Text message blocking: On some carriers, settings such as "block marketing and info messages" can also stop automated messages that come from abroad. Check this setting in your carrier's app or with customer service.
- Your phone's spam filter: On Android and iOS, messages from unknown senders can be sorted into a separate folder. Look in the "filtered" or "spam" folder in your messages app.
- Signal and roaming: If you are abroad and roaming is off, SMS may not arrive.
- Phone storage: If the message inbox is full, new messages may not be received.
- Number porting: If you recently moved your number to another carrier, some automated messages may not arrive for a while.
It is also worth remembering that, from a certain point, X began offering SMS-based two-factor authentication only to Premium subscribers. For users whose subscription has ended, or who never subscribed, the SMS-based 2FA setting can become disabled. Because this policy can change over time, it may be one reason the SMS code never arrives. In that case you need to pick an email or app-based method on the login screen.
What to check if the email code does not arrive
Codes sent by email are usually more reliable than SMS, but there can be obstacles here too.
- Spam and promotions folder: In services like Gmail, emails from X can land in the "Promotions" or "Updates" tab.
- The right email address: It may be an address you registered years ago and no longer use. Check the masked address hint on the login screen.
- Email filters: On corporate email addresses, automated messages can be held back by the firewall.
- Mailbox quota: A full mailbox rejects new emails.
- Sender block: If you blocked X emails or unsubscribed earlier, the codes can be affected too. Check your blocked senders list.
Searching all folders for "x.com" or "verification code" is the fastest way to find an email you overlooked.
Why does requesting the code too often cause problems?
When a code does not arrive, most people press the "resend" button again and again. But to prevent abuse, X limits how many codes can be sent in a short time. When you reach that limit, the system may not send a new code for a while, and the screen usually shows a warning such as "too many attempts, try again later".
Also, when you request more than one code, only the most recently sent one is valid. If you enter an earlier code, you get an "invalid code" warning. So after requesting a code, wait at least a few minutes, and before entering a late-arriving code, make sure you have not requested a newer one. If you hit the attempt limit, the safest move is to take a break, usually an hour or longer.
Choosing a different verification method
The page that asks for the code on the login screen usually has a link such as "choose another verification method" or "having trouble?". That link lists the other methods set up on your account.
| Method | Advantage | Disadvantage | When to use it |
|---|---|---|---|
| SMS | Easy to set up | Affected by carrier and policy problems | If your number is current and active |
| Usually fast and reliable | May land in the spam folder | If you can access your email address | |
| Authentication app | Needs neither internet nor SMS | Needs setup again when you change phones | If the app is still on your phone |
| Security key | One of the most secure methods | The physical key can be lost | If the key is with you |
| Backup code | Works when all other methods fail | Each code can be used only once | As a last resort |
If the authentication app code is not accepted
If you use Google Authenticator, Microsoft Authenticator or a similar app and the code you enter is not accepted, the most common cause is your phone's clock. These apps generate time-based codes. If your phone's clock has drifted even a few minutes, the generated code will not match the one X expects.
To fix it, turn on "set automatically" in your phone's date and time settings. Google Authenticator may also have an in-app time sync option. After the clock is corrected, enter the newly generated code. If the app holds several X accounts, make sure you are using the code for the right account; it is easy to mix them up when the account names are similar.
If you changed your phone and did not transfer the authentication app to the new one, the codes on the old phone will not appear on the new phone. If you still have the old phone, open the app there. If you do not have it, you need to use a backup code or contact the support team.
What is a backup code and where do you find it?
When you turn on two-factor authentication, X gives you a backup code. This code lets you into your account when every other method fails. Many users save this code as a screenshot, write it in a notes app or jot it down on paper. If you are struggling to get into your account, try searching your phone's photo gallery, your notes apps and your email drafts for "backup code".
You can enter the backup code on the login screen, on the page where the verification code is requested, with the "use a backup code" option. Each backup code can be used only once. After you get into your account, immediately go to Settings and privacy, Security and account access, Security, Two-factor authentication, generate a new backup code and keep it in a safe place. The logic in our guide on a similar situation for Instagram, I forgot my Instagram two-factor authentication code, applies to X to a large extent as well.
Quick diagnosis table by symptom
Verification code problems usually show up through a few clear symptoms. The table below puts the most likely cause and the first fix to try side by side, depending on what you see or experience. The times and behaviors in the table are based on general experience; X's systems can change over time.
| Symptom | Likely cause | First fix to try |
|---|---|---|
| SMS never arrives | Carrier block or SMS 2FA disabled | Choose the email or app method |
| Email does not arrive | Spam folder or old address | Search all folders |
| Code arrives but is invalid | An old code was entered | Enter only the latest code |
| App code is not accepted | Phone clock has drifted | Set the clock to automatic |
| "Too many attempts" warning | Code request limit exceeded | Wait an hour or two |
| Codes go to a place I do not recognize | The account may be compromised | Compromised account form |
| Verification screen keeps looping back | Cache or browser extension | Try a private window without extensions |
Problems caused by the browser or app
If the code is right but the login does not complete, the problem may lie not in the code but in the app or browser you use. An old app version, a corrupted cache or browser extensions can stop the verification page from working properly. In that case, try these steps in order.
- Update the app: Check whether the latest version of the X app is available in the App Store or Google Play.
- Clear the cache: On Android you can clear the cache from the app settings. On iOS, deleting and reinstalling the app has the same effect.
- Try the browser: If you are stuck in the mobile app, go to x.com on your computer.
- Use a private window: With cookies and extensions disabled, the verification page works more smoothly.
- Switch to a different network: Corporate networks, school networks or some shared Wi-Fi networks can block verification services. Trying on mobile data can help.
While you apply these steps, be careful not to exceed the code request limit. Instead of requesting a new code at every attempt, first fix the technical problem, then request a single code and use it right away.
Getting a code while you are abroad
Verification code problems are more common when traveling. There are two reasons: first, logging in from a different country can trigger X's security systems and ask for extra verification; second, if roaming is off on your phone or you use a local SIM card, you will not receive SMS messages sent to your registered number.
Before you travel, setting up a verification method that does not depend on SMS, such as email and an authentication app, largely prevents this problem. Because an authentication app can generate codes without an internet connection, it is the most reliable option while traveling. Not logging out on a device where you are already signed in during the trip also reduces the need for new verification.
If your account gets locked while you are traveling and the code does not arrive, choose the email method instead of making many hurried attempts. If there is no email option and you are due back soon, trying again once you are back where your main number works is safer than pushing the account into further restrictions.
Notes for people with more than one account
If the same phone number or email address is used on more than one X account, it can get confusing which account a code belongs to. Especially when you try to log in to two accounts at the same time, entering the code that arrived for one account into the other is a common mistake. Handle only one account per login, and move to the other account after you have used the code.
In an authentication app, each X account also appears as a separate row. Editing the account names inside the app so it is clear which row belongs to which account prevents confusion later. Keep in mind that there is also a limit on how many accounts a single number can be used for; once the limit is full, the number may not be accepted for new verifications.
The difference between a password reset and a verification code
If you forgot your password and two-factor authentication is also on, you have to get past two separate hurdles. First you request a password reset code with the "Forgot password" link and set a new password. Then, when you log in with the new password, the two-factor authentication code is requested. These two codes are independent of each other and can come through different channels.
If you received the password reset code but get stuck at the two-factor code stage, the backup code and alternative methods we described above apply to that stage. The password reset process does not turn off two-factor authentication.
If no method works: the support form
If you no longer have your number, cannot reach your email, lost your authentication app and have no backup code, the last resort is the X Help Center. In the Help Center, find the form titled something like "I can't access my account" or "two-factor authentication problems". Because form names can change over time, using the search box is the easiest way.
When filling in the form, give the following information accurately and completely:
- Your account's username and display name.
- The email address and phone number you believe are linked to the account.
- The email address you can access right now and where the reply should be sent.
- A short, clear description of the problem: which code does not arrive, which methods you tried and when you changed your phone or number.
The support team may ask you extra questions to confirm account ownership. How long this process takes depends on request volume. Sending many forms for the same issue does not speed things up; the best approach is to send a single form and check your email regularly.
For people who use a security key or passkey
Some users use a physical security key for two-factor authentication; depending on the version, X may also offer logging in with a passkey. Because these methods do not need a code, they are not affected by SMS and email problems, but they have problems of their own. When a security key is lost, or the device where a passkey is stored changes, you need another method to log in.
If you use a security key, it is good practice to register at least two keys on your account and keep one in a safe place. If you use a passkey, check whether the key syncs to your other devices through your phone's password manager or cloud account. In both cases, a backup code is the last safety net that saves you from an unexpected loss.
If you get an error when a security key is requested in the browser, try a different browser. Some older browser versions or privacy-focused browser settings can block communication with the security key. If you use the key over NFC instead of USB, make sure the NFC feature on your phone is turned on.
What to expect after a support request?
After you send the form, an automatic confirmation email usually arrives within a short time. This email shows that your request was received and often contains a ticket number. Write that number down. The support team may ask for extra information to confirm that the account is yours, for example the approximate date you opened the account, email addresses you used before or the last digits of the phone number linked to the account.
When replying to these emails, share only the information that is requested. The official support team does not ask for your password or full card details. To check that an email really comes from X, look at the sender's domain, and instead of clicking links in the email, go to the Help Center yourself.
Response times vary. During this process, instead of sending new forms for the same account, waiting for the reply to the first request and checking your inbox regularly is the most efficient path. If a long time passes with no reply, you can send a short reminder that mentions your existing ticket number.
If the account is locked or suspended
Sometimes the verification code problem comes from the account being locked. If X locked the account because of unusual activity, it asks for extra verification at login, and you cannot reach the account until that verification is done. We described the steps to follow for a lock in our article my X account was temporarily restricted. If you see the word "suspended" on the screen, the process is completely different, and for the appeal route you should look at the guide on how to reopen a suspended X account.
If your account was compromised
A more serious reason a code does not arrive is that your account has been taken over by someone else. After getting in, an attacker can change the email address and phone number. In that case, the codes now go to the attacker's contact details. When an email address is changed, X usually sends a notification to the old address. If your old mailbox has a message such as "your email address was changed", the "this wasn't me" link or similar in that message may let you recover the account.
There is a separate form in the Help Center for compromised accounts. When filling it in, state the date you think the account was compromised and the changes you noticed. In the meantime, also change the password of the email account linked to the account right away; the attacker may have reached your email too.
If you have a device that is still logged in
Even if you cannot log in to your account from a new device, you may still be signed in on another one. Your old phone, a tablet or the browser on your work computer may have stayed logged in to X. If you find such a device, go straight into the account settings from that session, update your email address and phone number, generate a new backup code and, if needed, change the two-factor authentication method.
While you do this, X may ask you to enter your password again. If you remember your password, the process takes a few minutes. These updates made from an open session make sure that the code goes to the right place when you log in on your new device. So when you have a code problem, checking all the devices at home before moving to the support form often saves time.
Be careful when using the open session: before you sign out, make sure all the security details are updated. Otherwise you could lose your only point of access.
Managing verification on business and brand accounts
On a brand or organization account, having the verification code go to one employee's personal phone leads to serious access problems when that employee leaves. For business accounts, it is recommended to tie verification details to an email address the organization can permanently access, store backup codes in a secure password manager and document who has access. This simple setup prevents the account from staying locked when the team changes.
Beware of fake support accounts
Users who cannot get into their accounts and look for help on social media in desperation may run into people who say "we will recover your account". X's official support team never asks you for your password, your verification code or your backup code. Sharing a verification code that was sent to you with someone else means handing your account directly to that person. Every message that asks for a code, however convincing it looks, is a scam attempt. When you get such a message, do not reply, report the account and check your own security settings once more. For official help, rely only on the X Help Center and messages sent to your registered email address; never enter information on links that come from different domains.
Precautions so it does not happen again
After you get back into your account, review your security settings so you do not run into the same problem again:
- Make sure the email address linked to the account is current and accessible.
- Update your phone number; remove numbers you no longer use.
- Consider using an authentication app instead of SMS for two-factor authentication.
- Generate your backup code and keep it somewhere independent of your phone.
- Transfer the authentication app before you change phones.
- Set up more than one verification method so that if one fails, another steps in.
Frequently asked questions
How long does the X verification code take to arrive?
It usually arrives within a few seconds to a few minutes. Delays can happen because of carrier load or email filters. It is recommended that you wait a few minutes before requesting it again.
I entered the code but it says invalid, why?
You most likely requested more than one code and entered an old one. Only the most recently sent code is valid. If you use an authentication app, make sure your phone's clock is set to automatic.
My number changed and the code goes to the old number, what should I do?
Try the email verification option on the login screen. If you cannot reach your email either, a backup code or the support form is your only option.
Why does the SMS code never arrive?
Possible causes include carrier-side blocks, your phone's spam filter, a wrongly registered number or SMS-based 2FA being disabled for your account. Choosing a different verification method is usually the fastest fix.
I lost my backup code, how do I get into my account?
If one of the other methods works, log in with it and generate a new backup code. If none works, you need to fill in the account access form in the X Help Center.
When does the "too many attempts" warning go away?
X does not state an exact time. Waiting for a while is usually enough. Trying again and again in the meantime can extend the wait, so a break of an hour or two makes sense.
I changed my phone and the codes in Authenticator are gone, what should I do?
If you still have the old phone, open the app there. If not, use a backup code. If you have no backup code either, request account access through the support form.
Will the support team contact me by DM?
X's official support process runs through Help Center forms and your registered email. Accounts that contact you by DM and ask for a code or password are not official support.
Does using a VPN affect the verification code?
A VPN can make a login look as if it comes from a different country and can trigger extra security checks. If you have trouble, turn off the VPN and try with your normal connection.
I forgot my email address too, how do I find my account?
When you enter your username or phone number on the login screen, X may show a masked hint of the registered email address. That hint can help you remember which address you used. If you cannot recall the address, try searching your old email accounts for messages that came from X.
Should I open a new account because the code does not arrive?
Instead of opening a new account in a hurry, first try the methods in this article and the support form. If you open a new account, you lose the followers and content on your old one; access to the old account can still be regained later.
