If you’ve turned on 2-Step Verification for your Google Account, backup codes are your emergency key. They let you sign in when your phone is lost, stolen, dead, or your authenticator app suddenly stops working, as happened this week when Google Authenticator started crashing on iOS 27.
This guide shows where to find your Google backup codes, how to use them, how to store them safely, and how to back up Google Authenticator so one broken phone can’t lock you out.
What are Google backup codes?
According to Google’s official help page:
- Backup codes are 8-digit codes you can use for the second step of sign-in instead of your phone or authenticator app.
- You get them in a set of 10.
- Each code works only once. After you use it, it becomes inactive.
- You can create a new set at any time. When you do, the old set stops working.
- 2-Step Verification must be on to use them.
- Google says it never asks for a backup code anywhere other than at sign-in.
How to get your Google backup codes (computer)
- Go to your Google Account (myaccount.google.com).
- Click Security & sign-in.
- Under “How you sign in to Google,” click 2-Step Verification. You may need to sign in again.
- Under Backup codes, click Continue.
- Click Get backup codes. You can then Download or Print them.
On the same screen you can Refresh to create a new set (this cancels the old one) or Delete your codes. The steps are similar on Android and iPhone through the Google Account settings.
Note: Google says you can’t download backup codes if you’re enrolled in its Advanced Protection Program, which relies on security keys instead.
How to sign in with a backup code
- Sign in with your email and password as usual.
- When asked for the second step, click Try another way.
- Choose Enter one of your 8-digit backup codes.
- Type an unused code. Cross it off your list, because it won’t work again.
Lost your backup codes?
If you downloaded them before, search your computer for a file named Backup-codes-yourusername.txt. For example, if your address is google123@gmail.com, search for Backup-codes-google123.txt. If you can still sign in, the safest move is to Refresh and create a new set. That instantly cancels any old codes that might have leaked.
Where to store backup codes safely
| Option | Good | Watch out for |
|---|---|---|
| Printed copy at home | Can’t be hacked online; Google itself suggests keeping them with important documents | Fire, loss, family members finding them |
| Password manager (secure note) | Available on every device, encrypted | Don’t lock yourself in a loop: you need to get into the password manager without your Google account |
| Encrypted USB / offline file | Offline and portable | Easy to lose; keep a second copy |
| Screenshot in your phone gallery | Convenient | Avoid. If the phone is lost or your photos are synced and leaked, the codes go with it |
How to back up Google Authenticator
Backup codes cover your Google Account. Your other 2FA accounts, like Instagram, Discord, Steam, banks and university portals, live inside your authenticator app. Protect those too.
Option 1: Turn on Google Account sync
Since 2023, Google Authenticator can back up your codes to your Google Account. Open the app, sign in with your Google Account when prompted, and your codes sync. If you lose your phone, sign in to Authenticator on the new phone and they come back.
Option 2: Transfer accounts to a second device
Authenticator also has a Transfer accounts (export) option in its menu. It shows a QR code you can scan with Authenticator on another phone or tablet. That gives you a spare device that also has your codes, which is handy if you’d rather not sync to the cloud.
Option 3: Save each service’s own recovery codes
When you turn on 2FA on Instagram, Discord, Microsoft, Apple and most other services, they also give you recovery codes. Save them the same way as your Google codes. If you’ve ever been locked out of a social account, our guide on recovering a hacked Instagram account shows why these matter.
Even better: add a second sign-in method
Backup codes are a last resort. For day-to-day safety, add at least two ways to sign in, such as Google prompts on a second device, a security key, or passkeys. Then one lost phone is an inconvenience, not a disaster. For the full setup, see our Gmail security checklist.
FAQ
How many Google backup codes do I get?
Ten per set. Each can be used once, and you can generate a new set anytime.
Do Google backup codes expire?
Google doesn’t list an expiry date. A code stops working once you use it, or when you create a new set or delete your codes.
Is it safe to give my backup code to someone who says they’re from Google?
No. Google says it never asks for a backup code except on the sign-in screen. Anyone else asking is a scammer.
Are backup codes the same as Google Authenticator codes?
No. Authenticator codes change every 30 seconds. Backup codes are fixed 8-digit codes that each work once.
