Sign in using backup codes

If you lose your phones 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’ve used a backup code to sign in, it will become inactive.
  • You can generate a new set of 10 codes whenever you want. After creating a new set, the old set will automatically become inactive.

We recommend you store your codes wherever you keep your other valuable items. Like the codes on your phone, backup codes are only valuable to someone if they manage to also steal your password.

Create and view a set of backup codes

  1. On your Android phone or tablet, open your device's Settings app Settings app and then Google and then Google Account.
  2. At the top, tap Security.
  3. Under "Signing in to Google," tap 2-Step Verification. You might need to sign in.
  4. Under "Backup codes," tap Setup or Show codes.
  5. Click Setup or Show codes. You can print or download your codes.

If you think your backup codes were stolen or if you're running out, tap Get new codes. Your old set of backup codes will automatically become inactive.

Can't find the backup codes you downloaded? Search your computer for "Backup-codes-username.txt" with your username. For example, if your username is google123, search for "Backup-codes-google123.txt."

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, click More options.
  5. Select Enter one of your 8-digit backup codes.
  6. Enter your backup code.

Optional: 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?