Google Backup Codes: What They Are & When You Need Them
In this article
Google backup codes are one-time-use recovery codes that let you sign in to your Google Account when you can't use your usual second factor—like your phone for prompts or a security key. You need them if you lose your phone, can't receive SMS, or your authenticator app is unavailable. They are generated in your Google Account security settings and should be stored somewhere safe and offline.
What You'll Need
- A Google Account with 2-Step Verification already turned on.
- Access to your account (signed in on a device you trust).
- A way to save the codes: a password manager, a printed copy, or a secure offline note. Avoid plain text files on a shared computer.
Step-by-Step
- Open a browser and go to myaccount.google.com. Sign in if prompted. (Menu labels can differ slightly by version, device, or region.)
- In the left navigation, click Security.
- Under “How you sign in to Google,” click 2-Step Verification. You may need to confirm your password.
- Scroll to the Backup codes section and click Backup codes (or Get backup codes if none exist yet).
- If you already have codes, you'll see options to view, download, or generate new ones. To create a fresh set, click Get backup codes or Generate new codes. Generating new codes automatically invalidates the old ones.
- Save the codes immediately: click Download to get a text file, or Print for a paper copy. You can also copy them into your password manager. Each code is a single-use string; treat them like passwords.
- Store the saved codes somewhere you can reach without your phone—for example, a locked drawer or an encrypted note. Do not email them to yourself if your email is the account you're trying to recover.
- When you need to use a code, go to the Google sign-in page, enter your password, and on the 2-Step Verification prompt choose Try another way (or “More options”) and select Enter a backup code. Type one unused code and continue.
- After signing in, the used code is marked as consumed. If you're running low, repeat steps 1–6 to generate a new set.
Common Mistakes
- Storing codes only on the phone you use for 2-Step Verification. If that phone is lost or broken, you can't access the codes. Keep a copy offline or in a separate password manager.
- Assuming codes are reusable. Each code works once. If you use one and later need it again, it won't work.
- Generating new codes without saving them. New codes invalidate the old set immediately. Save the new list before closing the page.
- Sharing codes or keeping them in email. Anyone with a code can bypass your second factor. Treat them like passwords and never send them to others.
- Confusing backup codes with recovery options. Backup codes are for 2-Step Verification; account recovery also uses a recovery phone or email. Set both.
Tips
- Print two copies: one for home and one for a safe deposit box or trusted family member.
- Store them in a password manager that supports secure notes, and label them clearly.
- Review your codes periodically—say, once a year—and regenerate if you suspect they were exposed.
- Keep your recovery phone number and email up to date; they are separate from backup codes but equally important.
- If you use a security key, backup codes still work as a fallback; don't rely on a single method.
Troubleshooting
- Can't find “Backup codes” in Security settings. Make sure 2-Step Verification is turned on. If it's off, backup codes aren't available. Turn on 2-Step Verification first, then look again.
- Codes not accepted. Check that you're entering a code from the current set (old codes are invalid after regeneration). Ensure no extra spaces and that the code hasn't been used before. If it still fails, try another unused code.
- Lost all codes and can't sign in. Use account recovery at accounts.google.com/signin/recovery. If you have a recovery phone or email, use that. Without any working recovery method, you may not be able to regain access—Google cannot simply issue new codes without verification.
- Download button does nothing. Try a different browser, disable extensions that block downloads, or use Print instead and save as PDF.
- Accidentally shared codes. Immediately generate a new set (steps 1–6). The old codes stop working, which protects your account.
Frequently Asked Questions
How many backup codes does Google give?
Google typically provides 10 backup codes per set. Each code can be used once.
Do backup codes expire?
They don't expire on a fixed date, but they become invalid when you generate a new set or turn off 2-Step Verification.
Can I use a backup code more than once?
No. Each code is single-use. After you sign in with it, that code is consumed.
What if I lose my phone and my backup codes?
Use Google's account recovery process. If you have a recovery phone or email, that may help. Without either, regaining access can be difficult.
Are backup codes the same as recovery codes?
They serve a similar purpose but are different: backup codes are for 2-Step Verification, while recovery options (phone, email) are for account recovery. Set both.
Where can I find my backup codes later?
You can view them again in Security > 2-Step Verification > Backup codes, but you'll need to sign in. That's why saving an offline copy is essential.