Help with two-factor authentication

I lost my phone

  • If you are enrolled in two-factor authentication and you generated a backup code, enter the backup code to access your account and update your Mobile settings.
  • If you are no longer logged in to your account and do not have access to an active backup code, please contact our support team for assistance.

Note: If you're still logged in to your account, you can remove your phone from your Mobile settings on twitter.com. Click Delete my phone and two-factor authentication will be automatically disabled for your account.

I bought a new phone

  • We suggest backing up your old phone before you replace it. This will allow you to restore your app session on your new device, enabling you to continue to use two-factor authentication. (Note: If you're on Twitter for iOS, we recommend you do an encrypted backup to preserve your app key. Typically, iCloud backups alone do not preserve the key and without an encrypted backup, you may be required to log back into your app using a temporary password generated on twitter.com)
  • You can also unenroll from two-factor authentication on your old phone, or from twitter.com if you have an existing open web session. If you do not have an open web session and you do not have your old phone, you can still log back in to twitter.com using your backup code.
  • Learn tips on how to keep your account secure.

I didn't receive the SMS code

  • SMS text messages may experience delays in delivery. Please wait at least two minutes before trying to sign in again.
  • If you're logged in, verify that your phone is enabled correctly in your Mobile settings. Try these troubleshooting tips for Twitter for SMS.
  • If you recently changed your phone number or mobile carrier, you will need to update your settings. You may do so through the web, iOS, or Android apps if you are still logged in. If not, you may use a backup code to log in and change your settings. More information about backup codes is below.
  • If your mobile device is offline, or on flight mode, you may fail to receive two-factor authentication codes through SMS. Alternatively, you can generate a code through your Twitter for iOS or Twitter for Android app, or through a QR code via twitter.com (instructions listed below).

My phone is offline or on flight mode

How to generate a code on the Twitter for iOS and Twitter for Android apps:

  1. Go to your Settings and privacy.
    • On Twitter for iOS: In the top menu, tap your profile icon and select Settings and privacy.
    • On Twitter for Android: In the top menu, you will either see a navigation menu icon  or your profile icon. Tap whichever icon you have and select Settings and privacy.
  2. Tap Account, then tap Security.
  3. Tap Login code generator
  4. Use the code shown to log in to your Twitter account.

 

I can't log in on my phone

  • Adjusting your mobile settings may help with this issue. Log in to twitter.com from a desktop or laptop computer.
  • Alternatively, try signing out of your account from the device you used to enroll in two-factor authentication. This will disable it, and you can then sign back in with your username and password. Visit these articles for sign-out instructions: Twitter for iOS or Twitter for Android.

I didn't receive the push notification

  • Check that you have enabled mobile notifications. You will not receive a login push notification if you do not have mobile notifications turned on for your device.
  • You can always check your recent login requests from within your app to see a list of all requests available to approve or deny. Pull down on the list to refresh the page to see most recent requests.

If using Twitter for iOS:

  1. In the top menu, tap your profile icon and select Settings and privacy.
  2. Tap Account, then tap Security.
  3. Tap Login Requests to see a list of all requests.
  4. If you’re still stuck, you can also request a login code to be sent to your phone via text message. Click the link request a code sent to your phone via SMS when you log in to your account on twitter.com.

If using Twitter for Android:

  1. In the top menu, you will either see a navigation menu icon  or your profile icon. Tap whichever icon you have.
  2. Tap Settings and privacy.
  3. Tap Account, and select Security.
  4. Tap the option for Login Requests.
  5. If you’re still stuck, you can also request a login code to be sent to your phone via text message. Click the link Request a code sent to your phone via SMS when you log in to your account on twitter.com.

I get an error when I try to use my backup codes

  • If you try to login using an inactive backup code, or try to use a backup code out of order, you will see an error message. You will need to generate a new backup code to log in.
  • Your backup codes will only work when logging in to twitter.com, mobile.twitter.com, Twitter for iOS or Android, or another Twitter client. If you're trying to access a third party application associated with your Twitter account, you'll need to use a temporary password instead of your backup code.

Using backup codes

A backup code is automatically generated for you when you enable two-factor authentication through your iOS or Android Twitter app. You can also generate a backup code on twitter.com. Write down, print or take a screenshot of this backup code. In the event that you lose your mobile device or change your phone number, you can use this backup code to log in to your account. Backup codes are not the same as temporary passwords.

To generate a new backup code through your Twitter app:

  1. Go to your Settings and privacy (on an iOS device, tap your profile icon; on an Android device, tap the navigation menu icon  or your profile icon).
  2. Tap Account, then tap Security.
  3. Tap Backup code.
  4. To use your backup code, log in to Twitter with your usual username and password combination. When you see that a two-factor authentication request has been sent, click the link to enter your backup code. Enter the backup code you've generated to log into the site.

Note: You can generate up to five active backup codes at any given time. Be sure to use the codes in the order in which you generated them; using a code out of order will invalidate all previously generated codes.

I’m a Verizon customer and I can’t log in to my account

If you’re a new or existing Verizon customer, you may not be able to log in to your account because you’re not receiving a two-factor authentication PIN via text messages. Try logging out of your Twitter account and logging back in. You should then receive a verification PIN via SMS. If this doesn't resolve your issue, send a text message from your device with the message content, GO, to the Twitter short code 40404. This will opt you in to receive SMS from Twitter, which is consistent with your notification settings.

I’m still having trouble with two-factor authentication

If you have access to the device you used to enroll in two-factor authentication, you can disable it by logging out of your Twitter account from that device. You can then log back in with your username and password. Read our log out instructions for iOS devices and for Android devices.

Bookmark or share this article

Was this article helpful?

Thank you for the feedback. We’re really glad we could help!

Thank you for the feedback. How could we improve this article?

Thank you for the feedback. Your comments will help us improve our articles in the future.