How to use login verification

Login verification is an extra layer of security for your Twitter account. Instead of only entering a password to log in, you’ll also enter a code which is sent to your mobile phone. This verification helps make sure that you, and only you, can access your account.

After you enable this feature, you will need both your password and your mobile phone, or a security key (via twitter.com) to log in to your account. When you log in to twitter.com, Twitter for iOS, Twitter for Android, or mobile.twitter.com, you will receive a six-digit login code to enter. By default, this will be sent via SMS text message (see our list of supported carriers), or you can use a third party app or a security key for verification (see details below).

Note: In order to set up login verification, you need to have a phone number associated with your Twitter account. This requirement is in place for account recovery. If you manage multiple accounts that use the same phone number, it is possible to use login verification for each account. For added security, we recommend enabling login verification for all of your accounts.

Important: Before you can enable login verification, you must:

View instructions for:

How to verify your login

To set up login verification on Twitter for iOS:

  1. In the top menu, tap your profile icon, then tap Settings and privacy.
  2. Tap Account, then tap Security.
    Note: If you don’t already have a phone number associated with your Twitter account, you’ll see a prompt to add one. A valid phone number is required to enable login verification.
  3. Drag the slider to turn on Login verification.
  4. Tap Confirm to begin enrollment.
  5. Read the overview instructions, then tap Start.
  6. Enter your password and tap Verify.
  7. Tap Send code to add your phone number.
    Note: If you already have a phone number associated with your Twitter account, we will send you an SMS to confirm your number.
  8. Enter the verification code sent to your device, then tap Submit.
  9. Tap Get Backup Code to view a code, generated through your Twitter app. We recommend you store a screenshot of the code in case you need it for future use. This will help you access your account if you lose your mobile phone or change your phone number.

Now, when you log in to your account on twitter.com, Twitter for iOS, Twitter for Android, or mobile.twitter.com, a six-digit login code will be sent via text message to your phone. Enter the code when prompted to access your account.

To choose between login verification type on Twitter for iOS:

You can choose to use a separate third-party app to generate a login code. 

  1. In the top menu, tap your profile icon, then tap Settings and privacy.
  2. Tap Account, then tap Security
  3. The slider next to Text message will be on by default. Drag the slider to off to no longer receive codes via text message. If the Security app selection is currently disabled, you’ll be prompted to enable it. 

To set up using a separate third-party app for verification on Twitter for iOS:

You can use a third-party authenticator app, such as Google Authenticator, Duo Mobile, Authy, or similar, installed on your mobile device.

  1. In the top menu, tap your profile icon, then tap Settings and privacy.
  2. Tap Account, then tap Security
  3. Drag the slider next to Security app to receive a code via a separate app.
  4. Read instructions and tap Start.
  5. Enter your password and tap Verify.
  6. Start the set up process by tapping Set up now.
  7. Follow the set up process instructions. Note: If you already have an authenticator app installed, you’ll see a message to confirm allowing Twitter to be added.
  8. You’ll see a Try it now message. Generate a code through the third-party app, enter it, and tap Verify
  9. Now, through the third-party app, you can view and use codes for login verification. 

If you enrolled in login verification before March 21, 2016:
When you log in to your account on twitter.com or on another device using Twitter for iOS, Twitter for Android, or mobile.twitter.com, a push notification will be sent to your phone. Open the push notification to approve the login request. Once you approve, you will be immediately logged in to your account on twitter.com.

You may also receive a login code via SMS text message. You can opt into this by clicking request a code sent to your phone via SMS when you log in to your account on twitter.com.

Note: You can also approve or deny your login requests from within the app by tapping Security, then tapping Login Requests. Pull down on the list to refresh for new requests. Requests will appear on this screen even if you did not receive a push notification.

To disable login verification for iOS:

  1. In the top menu, tap your profile icon, then tap Settings and privacy.
  2. Tap Account, then tap Security.
  3. Drag the slider to turn off Login verification.
  4. Tap Confirm to save your settings.

How to verify your login

To set up login verification on 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 and select Settings and privacy.
  2. Tap Account, then tap Security
    Note: If you don’t already have a phone number associated with your Twitter account, you’ll see a prompt to add one. A valid phone number is required to enable login verification.
  3. Check the box for Login verification to turn it on.
  4. Tap OK to begin enrollment.
  5. Read the overview instructions, then tap Start.
  6. Enter your password and tap Verify.
  7. Tap Send code to add your phone number. 
    Note: If you already have a phone number associated with your Twitter account, we will send you an SMS to confirm your number.
  8. Enter the verification code sent to your device, then tap Submit.
  9. Tap Get Backup Code to view a code, generated through your Twitter app. We recommend you store a screenshot of the code in case you need it for future use. This will help you access your account if you lose your mobile phone or change your phone number.

Now, when you log in to your account on twitter.com, Twitter for iOS, Twitter for Android, or mobile.twitter.com, a six-digit login code will be sent via text message to your phone. Enter the code when prompted to access your account.

To choose between login verification type on Twitter for Android:

You can choose to use a separate third-party app to generate a login code. 

  1. 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. The box next to Text message will be checked by default. Uncheck the box to no longer receive codes via text message. If the Security app selection is currently disabled, you’ll be prompted to enable it. 

To set up using a separate third-party app for verification on Twitter for Android:

You can use a third-party authenticator app, such as Google Authenticator, Duo Mobile, Authy, or similar, installed on your mobile device.

  1. 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. Check the box next to Security app to receive a code via a separate app.
  4. Read instructions and tap Start.
  5. Enter your password and tap Verify.
  6. Start the set up process by tapping Set up now.
  7. Follow the set up process instructions. Note: If you already have an authenticator app installed, you’ll see a message to confirm allowing Twitter to be added.
  8. You’ll see a Try it now message. Generate a code through the third-party app, enter it, and tap Verify
  9. Now, through the third-party app, you can view and use codes for login verification. 

If you enrolled in login verification before March 21, 2016:
When you log in to your account on twitter.com or on another device using Twitter for iOS, Twitter for Android, or mobile.twitter.com, a push notification will be sent to your phone. Open the push notification to approve the login request. Once you approve, you will be immediately logged in to your account on twitter.com.

You may also receive a login code via SMS text message. You can opt into this by clicking request a code sent to your phone via SMS when you log in to your account on Twitter.com.

Note: You can also approve or deny your login requests from within the app by tapping Security, then tapping Login Requests. Pull down on the list to refresh for new requests. Requests will appear on this screen even if you did not receive a push notification.

To disable login verification for Android:

  1. 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. Uncheck the box for Login verification to switch it off.
  4. Tap OK to confirm.

How to verify your login

To set up login verification on twitter.com:

  • In the top menu, click your profile icon, then click Settings and privacy.
  • Click on your Account settings and click Set up login verification.
  • Read the overview instructions, then click Start.
  • Enter your password and click Verify.
  • Click Send code to add your phone number. 
    Note: If you already have a phone number associated with your Twitter account, we will send you an SMS to confirm your number.
  • Enter the verification code sent to your device, then click Submit.
  • Click Get Backup Code to view a code, generated by Twitter. We recommend you store a screenshot of the code in case you need it for future use. This will help you access your account if you lose your mobile phone or change your phone number.

Now, when you log in to your account on twitter.com, Twitter for iOS, Twitter for Android, or mobile.twitter.com, a six-digit login code will be sent via text message to your phone. Enter the code when prompted to access your account.

To choose between login verification type on twitter.com:

You can choose to use a separate third-party app or security key to generate a login code. 

  • In the top menu, click your profile icon, then click Settings and privacy.
  • Click Account, then click Security
  • The Text message option will be on by default. Click Edit to no longer receive codes via text message. If the Mobile security app or Security key selection is currently disabled, you’ll be prompted to enable it. 

Important: You must also have either the Text message or Mobile security app options enabled for login verification. You cannot enable the Security key option alone.

Note: If you are currently logged in to Twitter on the web or on your mobile device (including any applications), you will not be logged out of any existing sessions once login verification is enabled. If you do choose to log out of a third party application associated with your Twitter account, you will need to log back in using a temporary password instead of your usual username and password combination.

To disable login verification:

  1. Click on your Account settings and click the Review your login verification methods button under the Security section.
  2. Click Save changes
    Note: you'll have to enter your password.

Temporary passwords

After you enable login verification for your account on the web, you'll need to use a temporary password to log in to Twitter on other devices or applications that require you to enter your Twitter password; you will not be able to log in using your usual username and password combination. For example, if you enabled login verification in your account settings on the web, and need to login to the Twitter for Android app, you will need to use a temporary password to do so.

If we detect you will need a temporary password to log in, we will send one via SMS text message to your phone. Alternatively, you can generate your own temporary password. 

How to generate a temporary password on twitter.com

  1. Click on the Account tab of your account settings on twitter.com.
  2. Click the Generate app password button.
  3. Enter your current account password and click Submit again.
  4. You can click on the temporary password and this will automatically copy it for you.
  5. When prompted to log in to your other device or application, enter your username and use the temporary password that you were provided.

Note: Temporary passwords will expire after one hour. You do not need a temporary password to log in to Twitter for iOS or Twitter for Android, or mobile.twitter.com.

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.