Guide
Backup codes: what they are and where to get them
Backup codes (or recovery codes) are single-use codes a service gives you when you turn on two-factor authentication: with one, you sign in without your phone. You get them in the service's security settings, and only while you can still sign in: do it today, not the day you lose your phone.
What they are
- They stand in for the second step: instead of your app's code or the text message, you type one of them.
- Each one works once at Google, Facebook and Discord: once used, it's done.
- Getting new ones cancels the old: at Google, Instagram and Microsoft, the new set replaces the last.
- Each service names them: Google, Instagram and Discord call them backup codes; Facebook and Microsoft, recovery codes.
- In your Google, go to Security & sign-in › 2-Step Verification.
- Under “Backup codes”, click Continue, then Get backup codes.
- Download or print them. There are 10, of 8 digits each, and you can get a new set of 10 whenever you want.
To use one, when you sign in click Try another way › Enter one of your 8-digit backup codes. If you downloaded them and can't find them, search your computer for Backup-codes- followed by your username.
- Tap your profile picture in the bottom right, then Menu in the top right.
- Tap Password and security (in Accounts Center or Meta Account settings) › Two-factor authentication › your Instagram profile.
- Tap Additional methods › Backup codes. Get new codes cancels the current ones and gives you a new set.
Instagram asks you to copy them, take a screenshot or save them some other way before you need them.
- On a computer, click your profile picture › Settings & privacy › Settings.
- Click Accounts Center › Password and security › Two-factor authentication and pick your Facebook profile. You may need to enter your password again.
- Below “How you get login codes”, click Additional methods › Recovery codes › Get new codes.
There are 10. If you don't see “Recovery codes”, check that two-factor authentication is on.
Microsoft
Microsoft gives one recovery code, 25 digits long, which also works if you forget your password.
- Open Microsoft's Manage how I sign in page (account.live.com/proofs/manage/additional).
- In the Recovery code section, select Generate a new code. Any previous code stops working.
- Print it: Microsoft won't show it or let you download it again.
To use it, when you sign in select Other ways to sign in › Use my password › Forgot password? › Use a different verification option › I don't have any of these, and type it when asked (the steps may vary). It isn't case-sensitive, and it needs no spaces or dashes.
Discord
It gives them when you turn on multi-factor authentication. To see them again, tap the cogwheel in the bottom left (User Settings), make sure you're under My Account, and select View Backup Codes: you'll see which ones you've used and can download them. Keep them safe: Discord Support can't remove multi-factor authentication.
Where to keep them
Somewhere other than the phone with your authenticator: lose it, and you lose them with it. Discord recommends a password manager or printing them; Microsoft, printing its code and not keeping it on a device you sign in with. SignedAs keeps each service's recovery codes next to its login, end-to-end encrypted with everything else.
If you've lost them
- If you can still sign in, get new ones: every service here gives you a new set, and at Google, Instagram and Microsoft the old ones stop working.
- If you can't sign in, use another method the service offers (a text message, email, a passkey) or its account recovery. Microsoft has a sign-in helper for this.
- If you lost the phone with your authenticator, see how to recover Google Authenticator or how to move Microsoft Authenticator to a new phone.
Questions
Are backup codes and recovery codes the same thing?
Yes, the same thing under different names: single-use codes that stand in for the second step. Microsoft's differs in form: it gives a single 25-digit code.
What are 8-digit backup codes?
Google's have 8 digits: it gives you 10, each single-use, in your Google's 2-Step Verification.
Sources
Updated