Backup codes
Pre-generated single-use codes that let you log in if you lose access to your authenticator app. Critical safety net for 2FA-protected accounts.
Backup codes are a list of single-use codes that work as a substitute for your authenticator app or SMS 2FA. Most platforms generate 5–10 codes during 2FA setup; each one can be used exactly once to get past the 2FA step.
Why they matter
If you lose your phone, switch authenticator apps without exporting tokens, or wipe your device, backup codes are the difference between "log in normally" and "file a 2FA-reset appeal".
How Meta uses the term
Meta usually calls these recovery codes or backup codes. They live inside the two-factor authentication settings in Accounts Center for each Instagram or Facebook account. When you turn on 2FA, Meta offers to show the codes so you can save them, and you can return later to view the current set or get new ones.
On the login screen, after you enter your password, Meta asks for your 2FA code and gives you an option to try another way. Entering a recovery code there works in place of the code from your app or text message. Because the codes bypass your second factor, Meta treats them like a password: anyone holding them can get past 2FA, which is why phishing pages sometimes ask for them.
How to use them
- At setup: Save the codes immediately. Don't skip the step.
- Storage: Print them and store offline, or put them in a password manager. Don't store them in the same place as your password.
- Single-use: Each code works once. After using a code, cross it off and (when most are used) generate a new set.
What to do
- Check now whether you have current codes saved. If you can't find them, generate a new set while you are still logged in.
- Store two copies in separate places, for example a printed copy at home and an entry in a password manager.
- Regenerate after any scare, such as a lost phone, a phishing click or a shared screenshot.
- Never type codes into a page you reached from a link in an email or DM.
What to do if you lost them
If you've lost both your authenticator and your backup codes, recovery shifts to identity verification. See Instagram 2FA lockout for the steps.
Related terms
Common questions.
In Accounts Center, open the two-factor authentication settings for the account and look for the recovery or backup codes option. You need to be logged in to view or regenerate them.
No. Each code works once. When you are running low, generate a new set, which replaces the old codes.
Generate a new set immediately, which invalidates the old ones, then change your password and review logged-in sessions.