Is the Twitter 2-factor authentication (2FA) code not sending?
2-factor authentication on Twitter adds an extra layer of security to your account.
However, if you lose your phone or text messages aren’t working, you won’t be able to access your account.
If you’ve enabled 2-factor authentication, you’re required to enter a code when you log in.
You’ll receive the code via text message and you need to have an internet connection.
However, a lot of users are not receiving the code even though they have a valid phone number.
In this guide, you’ll learn how to fix the Twitter 2FA (2-factor authentication) code not working, not sending, or not receiving.
Why is Twitter not sending the 2FA code?

Twitter is not sending the 2FA code because you’ve blocked a 40404 number.
A 40404 number comes from Twitter, so you need to unblock it to receive messages.
According to the Twitter team, they are aware that some people are experiencing difficulty with requesting and receiving codes.
Hence, if you don’t have any blocked numbers but you still can’t receive codes, the error is caused on Twitter’s end.
Here’s what @TwitterSupport tweeted back in November, “We’re looking into the few cases where SMS codes aren’t being delivered”.
Users were livid in the comments and most of them said that they have an issue with receiving 2FA codes.
“Twitter can’t send me a text message verification code for 2FA”.
“If you have 2FA, avoid logging out of Twitter. You might not be able to log back in”.
“What is happening with Twitter? I can’t log in on my desktop because the OTP for 2FA won’t come via SMS”.
How to fix Twitter 2FA not working
To fix the Twitter 2FA not working, you need to unblock 40404 numbers or all of your blocked contacts.
After you’ve unblocked your contacts, try sending the code again.
Alternatively, you can turn off 2FA on a device that’s already logged in to Twitter (e.g. twitter.com on your computer).
If you’re still not receiving the 2FA code, you need to wait until Twitter fixes the issue on their end or contact them for help.
According to Twitter, they are aware of the issue and are actively working on a fix.
Method 1: Unblock your contacts

How to unblock contacts on iOS:
- Open the Settings app.
- Scroll down and select “Phone”.
- Select “Blocked Contacts”.
- Tap on “Edit” and tap on the “-” icon on 40404 numbers or all numbers.
- Open Twitter and try sending the code again.
How to unblock contacts on Android:
- Open the Phone app.
- Tap on the three dots icon.
- Select “Settings” followed by “Blocked numbers”.
- Select the “X” icon followed by “Unblock” on 40404 numbers or all numbers.
- Open Twitter and try sending the code again.
Method 2: Turn off 2FA on a device that’s currently logged in to Twitter

- Open Twitter on a device that’s currently logged in to Twitter (for example, if you’re still logged in to Twitter on your computer via twitter.com, you can still access it there).
- Go to Settings and support > Settings and privacy > Security and account access.
- Security > Two-factor authentication > Turn off “Text message/Authentication app/Security key”.
Note: As long as you have a device that’s currently logged in to Twitter (e.g., computer, laptop, tablet), you can turn off 2FA there.
Method 3: Contact Twitter support

- Go to https://help.twitter.com/en/forms/account-access/regain-access/2fa-problem (or go to the Twitter Help Center and search for “2FA”).
- Enter your Twitter username and email address.
- Describe that you’re not receiving the confirmation/verification code and you need help accessing your account.
- Submit the form and wait for a few days for Twitter’s response.
Note: Due to the overwhelming number of requests, it can take a few days to get a response from Twitter.
Further reading
How to Fix Twitter Verification Code Not Received