Changing two-factor authentication delivery methods for your mobile device

You can switch between receiving authentication codes through a text message or a mobile application.

Note: Changing your primary method for two-factor authentication invalidates your current two-factor authentication setup, including your recovery codes. Keep your new set of recovery codes safe. Changing your primary method for two-factor authentication does not affect your fallback SMS configuration, if configured. For more information, see "Configuring two-factor authentication recovery methods."

  1. In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar
  2. In the left sidebar, click Account security. User account security settings
  3. Next to "SMS delivery", click Edit. Edit SMS delivery options
  4. Under "Delivery options", click Reconfigure two-factor authentication. Switching your 2FA delivery options
  5. Decide whether to set up two-factor authentication using a TOTP mobile app or text message. For more information, see "Configuring two-factor authentication."
    • To set up two-factor authentication using a TOTP mobile app, click Set up using an app.
    • To set up two-factor authentication using text message (SMS), click Set up using SMS.

Further reading

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.