Save your account recovery codes
Why 2-Step Verification backup codes matter, how to create them in a Google Account, and where to store them so a lost phone does not lock you out.

Two-factor authentication is one of the highest-value account habits you can turn on. It also creates a new failure mode: the second step lives on a phone that can be lost, stolen, reset, or replaced after a cracked screen. Backup or recovery codes are the official way many services let you sign in anyway. They only help if you created them before you needed them, and if you can still find them.
This article focuses on Google’s official backup codes, because Gmail is the recovery path for so many other logins, and then explains how to treat similar codes from Apple, Microsoft, and other sites. If you have not turned on a second step yet, start with Turn on two-factor auth.
What backup codes are
Google’s help page Sign in with backup codes is clear about the rules:
- 2-Step Verification must already be on.
- Each backup code works once. After you use it, that code is inactive.
- You can create a new set of 10 codes whenever you want. Creating a new set turns the old set off.
- Google never asks for a backup code except at sign-in. Do not give the codes to a caller or paste them into a chat.
- Print or download them and store them somewhere safe, the way you would store a passport or other important documents.
Those rules are the model to copy even when another company gives you eight codes instead of ten, or calls them recovery keys.
How to create Google backup codes
From Google’s official steps:
- Open your Google Account.
- Open Security and sign-in.
- Under “How you sign in to Google,” open 2-Step Verification. You may have to sign in again.
- Under Backup codes, continue to the codes screen.
- Create, download, or print the codes. If you already have a set and you think it was lost or copied, refresh to create a new set, which inactivates the old one.
If you downloaded them, Google stores the file with a name like Backup-codes-username.txt. That is a convenient filename, and it is also easy to leave in the Downloads folder of a shared computer. Move the file or, better, print it and delete the download.
To sign in later with a code, start the Google sign-in, choose Try another way, and enter one unused 8-digit code. Mark that line as used on your paper copy.
Where to keep them
Good storage is boring on purpose:
- A printed page in the same place you keep passports, birth certificates, or the folder with insurance papers
- A sealed envelope in a locked drawer
- A record in a password manager if the vault is already protected with a strong passphrase and its own second step, and if you are not storing the only copy of the vault’s own recovery codes inside that same vault
Poor storage is equally easy to picture: a screenshot in your camera roll, a photo backing up to the same Google Account the codes are meant to recover, a note titled “codes” in an email to yourself, or a file on the desktop of a laptop you travel with and might lose alongside the phone.
If more than one adult needs to be able to recover a shared household email, agree on the location of the paper. Do not text a photo of the page.
Other accounts worth doing the same day
Once the Google codes are printed, repeat the idea anywhere a lost phone would hurt:
- Apple Account: in Settings, tap your name, then Sign-In and Security. Review recovery options, including a trusted phone number and any recovery key the account has enabled, using Apple’s official two-factor authentication documentation as the starting point. Follow only the recovery steps Apple shows in Settings or on iforgot.apple.com.
- Microsoft account: sign in at account.microsoft.com/security and add more than one security method, as Microsoft describes in its two-step verification article. Save any recovery codes the page offers.
- Password manager, banks, and tax portals: if the service shows backup codes when you enable an authenticator app, print them the same day. Do not wait until the app fails.
A passkey on a second device you own is also a useful backup, but it is not a substitute for printed codes if both devices are in the same bag.
If you already lost the phone and the codes
Use every official recovery path the service still offers: a signed-in computer, a second trusted phone number, a recovery email, or the vendor’s account-recovery form. Be patient, and use only official sites you type yourself. This is a common moment for lockout scams that promise a faster reset if you share a code or pay a fee.
When you are back in, create a fresh set of backup codes immediately, store them properly, and sign out of the lost device.
Bottom line
Backup codes are a fire extinguisher: useless if you have to go shopping for one during the fire. Create them when you turn on 2-Step Verification, print or store them away from the phone they are meant to replace, and refresh the set if you think the old page was lost or copied. Do this for email first, then for the vault and the accounts that move money.











