Sign in with backup codes

If you can’t sign into your Google Account with your normal 2-Step Verification, you can use a backup code for the second step. Create backup codes to use in case you lose your phone, change your phone number, or otherwise can't get codes by text, call, or Google Authenticator.


  • To use backup codes, make sure 2-Step Verification is on.
  • After you use a backup code to sign in, that code becomes inactive.
  • You can get a new set of 10 backup codes whenever you want. When you create a new set of codes, the old set automatically becomes inactive.
  • Do not share your backup codes with anyone. Google never asks for a backup code other than at sign in.

Create & find a set of backup codes

To store your backup codes somewhere safe, like where you keep your passport or other important documents, you can print a copy of them.

  1. On your iPhone or iPad, open the Gmail app .
  2. Tap Menu and then Settings and then your account name and then Manage your Google Account. If you don't use Gmail, go to
  3. At the top, tap Security.
  4. Under "How you sign in to Google," tap 2-Step Verification. You may need to sign in.
  5. Under "Backup codes," tap Continue .
  6. From here you can:
    • Get backup codes: To add backup codes, tap Get backup codes.
    • Create a new set of backup codes and inactivate old ones: To create new codes, tap Refresh .
    • Delete your backup codes: To delete and automatically inactivate your backup codes, tap Delete Delete.
    • Download your backup codes: Tap Download Codes .
    • Print your backup codes: Tap Print .


  • If you lose or run out of codes, or if you think your backup codes were stolen, you can create a new set. To create a new set of codes, tap Refresh .
  • When you create new codes, your old set automatically becomes 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. Find your backup codes.
  2. Sign in to your Google Account.
  3. Tap Try another way.
  4. Tap Enter one of your 8-digit backup codes.
  5. Enter one of your unused backup codes.
Tip: As each code can be used only once, you might want to mark the code as used.
Protect Your Identity Online

Get step-by-step visual guides on the tools and practices that will help you protect your personal information with Google's Online Security Guidebook.

Clear search
Close search
Google apps
Main menu