How To Use Google Backup Codes To Sign In (2026)
Google backup codes let you finish signing in when your phone is lost, dead or has a new number.
Each code works one time only, so a printed or downloaded set needs to be set up before you need it.
This guide follows Google’s official help pages and covers only getting into your own account.
Quick answer: get and use backup codes
This table shows where each task happens.
| Task | Where to do it |
|---|---|
| Create a first set | Google Account, Security & sign-in, 2-Step Verification, Backup codes, Continue, Get backup codes |
| Replace a lost or used-up set | Same page, choose Refresh to make a new set |
| Remove all codes | Same page, choose Delete |
| Sign in with a code | Sign-in screen, Try another way, then Enter one of your 8-digit backup codes |
What backup codes are
Backup codes are a second-step option for people who have 2-Step Verification turned on.
They help when you cannot get a text, a call, a Google prompt or a Google Authenticator code.
Google lists them alongside prompts, authenticator apps, security keys and passkeys as ways to pass the second step.
Rules and limits Google lists
| Item | What Google says |
|---|---|
| Requirement | 2-Step Verification must be on |
| Set size | 10 codes, each 8 digits long |
| Use | Each code works once, then becomes inactive |
| New set | Making a new set makes the old set stop working |
| Advanced Protection | Backup codes cannot be downloaded |
Google also says never to share a code, because Google asks for one only on its own sign-in screen.
Create a set of codes
- Open your Google Account and select Security & sign-in.
- Under “How you sign in to Google”, select 2-Step Verification and sign in if asked.
- Under Backup codes, select Continue.
- Select Get backup codes if you have no set yet.
From the same screen you can download the codes to your computer or print a paper copy.
Store the codes somewhere safe
Google suggests downloading or printing them, because the codes are meant for the moment your phone is not with you.
A paper copy kept apart from your phone avoids losing both together.
A downloaded file is named Backup-codes- followed by your username, with a .txt ending, so you can search your computer for it.
That file exists only if you downloaded the codes earlier.
Mark each code as you use it, because a used code will not work a second time.
Sign in with a backup code
- Find your codes.
- Enter your email and password on the sign-in page.
- Select Try another way.
- Select Enter one of your 8-digit backup codes.
- Type an unused code.
If the option is missing, your account may not have a set yet, or the sign-in looks unusual to Google.
Lost, used up or stolen codes
Google’s 2-Step Verification troubleshooting page says to open the 2-Step Verification section, choose Show codes, then choose Get new codes.
Making a new set makes the old one inactive, which is the fix if you think someone saw your printed list.
Delete removes the codes entirely if you no longer want them.
If you have no backup codes and no phone
| What you still have | What Google suggests |
|---|---|
| Another phone signed in to the account | Approve the Google prompt there |
| A backup phone number | Try another way, then Get a verification code, and enter the code sent to that phone |
| A security key or passkey | Use it as your second step |
| A device you marked as trusted | Sign in from it, then open account recovery |
If none of these are possible, use Google’s account recovery, as in our guide to recovering a Google account you cannot sign in to.
When your phone is lost or stolen
Google says to sign out of the lost phone and change your account password.
You can then get back in with another signed-in phone, another number on 2-Step Verification, a saved backup code, a security key or a passkey on another device.
Your carrier can also move your number to a new phone or SIM.
Getting ready before you travel
Google’s lockout-prevention page notes that texts need cellular service and phone prompts need an internet connection.
So before a trip, keep your recovery phone with you and set up a method that works abroad.
Printed backup codes work with no signal at all, which makes them a good extra for travel.
Other second steps worth adding
- Google prompts, which Google calls faster than typing a code.
- Google Authenticator, which makes codes without a text or internet.
- A security key or passkey for the strongest protection against phishing.
If a code by text is the problem, read our guide to fixing a Google verification code that is not arriving.
For authenticator trouble, see Google Authenticator not working.
Skipping the second step on your own devices
On a computer you own and do not share, choose “Don’t ask again on this computer” when asked for a code.
Google says you will then not need a code each time on that browser.
If you are still asked, your browser may be blocking or deleting cookies, so allow cookies for google.com.
An app will not sign in after you turn on 2-Step Verification
Google says you may need to sign in to your apps again after turning the feature on.
If an app still refuses, Google’s fix is to create an app password for it.
A backup code is not meant for this, because it is a one-time sign-in code.
Do not rely on a Google Voice number
Google warns against using Google Voice to receive verification codes.
If you sign out of the Google Voice app, the code needed to get back in is sent to Google Voice itself, so you cannot receive it.
A printed set of backup codes avoids that trap.
Work and school accounts
Google says accounts managed by an organization may not follow these steps.
If you cannot sign in, use the backup options your administrator allows or contact the administrator.
Advanced Protection accounts
Google states that you cannot download backup codes if you are in the Advanced Protection Program.
For those accounts, plan a second security key and keep it somewhere safe.