sodcalculator

10 Tech How-To

Backup Codes for Google Sign-In: How They Work

Guide 10-37663 · Updated · Step by step

Backup codes are one-time passwords that let you sign in to your Google account when you cannot use your normal two-factor authentication method, such as when you have lost your phone. They act as a recovery key, giving you a set of pre-generated codes that each work exactly once to verify your identity. This article explains how backup codes work, how to generate and use them, and how to keep them safe.

Why Backup Codes Exist

Two-factor authentication (2FA) adds a second step to your sign-in, usually a code sent to your phone or generated by an authenticator app. This dramatically improves account security, but it creates a problem: if your phone is lost, broken, or stolen, you can be locked out of your own account. Backup codes solve this by providing a fallback that does not depend on any device. They are essentially a set of pre-authorized, one-time passwords that you can use when your primary 2FA method is unavailable.

How Google Backup Codes Work

When you enable 2-Step Verification on your Google account, you can generate a list of backup codes. Each code is a random string of digits and letters. The key feature is that each code is single-use: once you enter one, it is immediately invalidated. This means that even if someone steals a code, they can only use it once, and you will likely notice the unauthorized access. Google typically provides 10 codes at a time. You can also regenerate a new set of codes at any time, which invalidates all previously issued codes.

How to Generate and Use Backup Codes

To get your backup codes, go to your Google Account settings, then Security, and find the 2-Step Verification section. Under “Backup codes,” you can choose to “Show codes” or “Get new codes.” Write them down and store them in a safe place. When you sign in, enter your email and password as usual. When prompted for the second step, look for the “Try another way” link, then select “Enter one of your 8-digit backup codes.” Type the code, and you will be signed in. After using a code, cross it off your list.

Best Practices for Storing Backup Codes

The safety of your backup codes depends entirely on where you put them. Do not store them in a note on your phone, because if you lose your phone, you lose both your primary 2FA and your backup. Good options include:

  • Printing them and keeping the paper in a secure physical location, like a safe.
  • Storing them in a password manager that you can access from a different device.
  • Keeping a copy in a locked drawer or safety deposit box.

Never email them to yourself or store them in a cloud document that is accessible from the same account you are protecting.

Common Problems and Solutions

One common issue is running out of codes. If you have used all 10, you can generate a new set, which will invalidate the old ones. Another problem is losing the list before you use it. In that case, you can still regenerate new codes, but you must do so from a device that is already signed in. If you are locked out and have no backup codes, you will need to go through Google’s account recovery process, which can take time and requires you to prove your identity through other means, such as answering security questions or using a recovery email.

Backup Codes vs. Other Recovery Methods

Google offers several ways to recover your account besides backup codes. These include recovery phone numbers (SMS), recovery email addresses, and the Google Authenticator app. Backup codes are unique because they are offline and do not require any network connection or external service. They are also more secure than SMS, which can be intercepted. However, they require you to have planned ahead and stored them securely. Using a combination of methods is the most robust approach.

Are Backup Codes Safe?

Backup codes are safe if you treat them like passwords. They are as strong as your password and are single-use, which limits the damage if one is exposed. The main risk is that someone finds your list and uses a code before you do. To mitigate this, check your Google account activity regularly for any unrecognized sign-ins. If you suspect your codes have been compromised, regenerate them immediately.

Frequently Asked Questions

How many backup codes do I get?

Google gives you 10 backup codes when you generate a set. Each code can be used only once, and you can generate a new set at any time.

Can I reuse a backup code?

No. Each backup code is single-use. Once you enter it, it becomes invalid, even if you try to use it again later.

What if I lose my backup codes?

If you lose your backup codes but still have access to your account, you can generate a new set from the 2-Step Verification settings. If you are locked out, you will need to use another recovery method or go through Google’s account recovery process.

Do backup codes expire?

Backup codes do not expire on their own, but they become invalid if you generate a new set. They also remain valid until used, regardless of how long ago they were issued.

Can I use backup codes on any device?

Yes, backup codes work on any device that can access Google’s sign-in page. They are simply a string of characters, so you can type them into a computer, phone, or tablet.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →