You can provide a second number for a fallback device. If you lose access to both your primary device and your recovery codes, a backup SMS number can get you back in to your account.
Warning: This method is a last resort. SMS messages are only supported for certain countries outside the US; for the list, see "Countries where SMS authentication is supported". For this reason, you should download and safely store your recovery codes.
- In the upper-right corner of any page, click your profile photo, then click Settings.
In the user settings sidebar, click Security.
Under two-factor authentication, click Edit.
Under "Fallback SMS number", click Add fallback SMS number.
- Select your country code and type your mobile phone number, including the area code. When your information is correct, click Set fallback.
After setup, the backup device will receive a confirmation SMS.