Sign in with backup codes

If you lose your phone or otherwise can't get codes via text, voice call, or Google Authenticator, you can use backup codes to sign in. If you don't have your security key, you can also use these codes to sign in.

  • After you use a backup code to sign in, it becomes inactive.
  • You can generate a new set of 10 codes whenever you want. After creating a new set, the old set automatically becomes inactive.

Create & view a set of backup codes

  1. On your iPhone or iPad, open the Gmail app Gmail.
  2. Tap Menu Menuand then Settings and then your account and then Manage your Google Account. If you don't use Gmail, go to myaccount.google.com.
  3. At the top, tap Security.
  4. Under "Signing in to Google," tap 2-Step Verification.
  5. Under "Backup codes," select Set up or Show codes.You can print or download your codes.

Tip: Print a copy of your backup codes and store them somewhere safe.

If you think your backup codes were stolen or if you run out, select Get new codes. Your old set of backup codes will automatically become inactive.

Find your lost backup code

Search your iOS device for: Backup-codes-username.txt with your username. For example, if your username is google123, search for: Backup-codes-google123.txt. You'll need the codes downloaded to the device for this to work.

Sign in with a backup code

  1. Locate your backup codes.
  2. Sign into Gmail or another Google service.
  3. Enter your username and password.
  4. When asked for your verification code, tap More options.
  5. Select Enter one of your 8-digit backup codes.
  6. Enter your backup code.
Tip: As each code can be used only once, you might want to mark the code as used.
Was this helpful?
How can we improve it?