Where to Keep 2FA Backup Codes Before You Lose Your Phone
Turning on two-factor authentication is the right move, and most people who do it never think about the screen that appears right after: a list of backup codes with a button that says "Download" or "I've saved these." People click through...

Turning on two-factor authentication is the right move, and most people who do it never think about the screen that appears right after: a list of backup codes with a button that says "Download" or "I've saved these." People click through it, the codes land in a Downloads folder or nowhere at all, and everything is fine until the phone goes in a canal, gets stolen at a train station or simply refuses to boot after an update.
That is when the lockout starts. Your email wants a code from the authenticator app on the phone you no longer have. Your password manager wants your email. Recovery forms ask for details you cannot prove. Account recovery through a big provider can take days, and for some services it never succeeds at all. The codes you skipped were the spare key, and nobody kept it.
What backup codes actually are
Backup codes, sometimes called recovery codes, are a short list of one-time passwords that stand in for your second factor. Each one works once. The details vary by service, and they change, but a few common patterns at the time of writing look like this:
- Google offers a set of ten eight-digit backup codes from the 2-Step Verification page.
- GitHub gives a list of recovery codes when you enable two-factor and warns, fairly bluntly, that losing both your device and those codes can mean losing the account.
- Microsoft accounts use a single long recovery code rather than a list, and you get a new one each time you use it.
- Apple Accounts lean on trusted devices and phone numbers, with an optional recovery key and recovery contacts for people who want more control.
Because the formats differ, the safe assumption is that every account with two-factor switched on has its own recovery path, and that you need to know what it is before you need it.
Why the usual places are the wrong places
The most common spot I see codes stored is a screenshot on the same phone that runs the authenticator. That defeats the purpose completely. If the phone is gone, so are the codes.
The second most common is a file in the Downloads folder of a laptop, named something like "backup-codes.txt." That survives a lost phone, which is better, but it sits unencrypted next to everything else you have ever downloaded, and anyone or anything that gets into your laptop can read it.
The third is the password manager. This one is more reasonable than it sounds, and many security people do it. The catch is circularity. If the backup codes for your email live inside a password manager whose own recovery depends on that email, a single bad day can lock both doors at once. Storing codes for ordinary accounts in a manager is fine. Storing the codes that let you back into the manager itself, or into the email account it resets through, needs to happen somewhere else.
Weighing the options
There is no single right answer, because the threats pull in different directions. A printed sheet is immune to hackers but not to a house fire. A cloud note survives the fire but sits on someone else's server. Here is how the common options compare against the things that actually go wrong:
| Where you keep them | Lost or broken phone | Laptop compromised | Fire or flood at home |
|---|---|---|---|
| Screenshot on the phone | Lost with it | Usually safe | Lost with it |
| Plain file on the laptop | Safe | Exposed | Lost with it, unless backed up |
| Password manager entry | Safe, if you can still log in | Safe while the vault is locked | Safe |
| Printed sheet in a home file | Safe | Safe | At risk |
| Sealed envelope with a trusted person | Safe | Safe | Safe |
For most households, a combination works best: codes for everyday accounts inside the password manager, and a printed sheet for the two or three "root" accounts, kept in a home file with your passport or other important papers. People who travel a lot or live alone often add a sealed copy with a relative they trust.
Which accounts need a printed copy
You do not need paper backups for forty logins. You need them for the handful of accounts that can reset everything else. For most people that list is short:
- Your main email address, because almost every other service sends password resets there.
- Your password manager, or the account that unlocks it.
- Your Apple or Google account, since it often controls the phone, the photo backup and the authenticator sync.
- Any work account your employer cannot easily restore for you, though most workplaces have an IT route for this and would rather you used it.
Write the date at the top of the sheet and the account name next to each block of codes. Cross off codes as you use them. When you get down to two or three, generate a fresh set and shred the old sheet; most services invalidate the old list automatically when you do.
What about authenticator app backups?
Several authenticator apps now offer cloud sync. Google Authenticator added account syncing in 2023, and Microsoft Authenticator has offered cloud backup for some time. This is helpful and reduces how often people get locked out. It does not replace backup codes, for two reasons. The sync is tied to an account that may itself need two-factor to restore, and a sync can only rescue you if it was switched on and working before the phone was lost.
Passkeys change the picture a little too, since they are usually synced through your Apple, Google or password manager account. The same root-account logic applies: protect the account that holds the passkeys, and keep its recovery path somewhere off the phone. If you are still deciding whether to bother with any of this, two-factor authentication, explained without the jargon covers why it is worth the small hassle.
A second factor without a recovery plan just moves the single point of failure from your password to your phone.
The fifteen-minute job for this week
Pick your main email account and your password manager. Log into each, find the security or two-step verification page, and generate a fresh set of backup codes. Print them, write today's date and the account name on the sheet, and put it in the folder where you keep your other important documents. Then check that the codes for every other account are saved somewhere that is not your phone. If your password manager setup is still on the list of things you mean to get around to, start with why a password manager is the single best upgrade, and if you have old accounts you no longer use, cleaning up old accounts means fewer recovery paths to worry about in the first place.
More in Passwords and Accounts
Passwords and Accounts
Two-Factor Authentication, Explained Without the Jargon
Two-factor authentication, often shortened to 2FA, sounds technical, but the idea behind it is simple and the protection it...
Passwords and Accounts
Why a Password Manager Is the Single Best Security Upgrade
If there is one security change that gives the most protection for the least effort, it is adopting a password manager.
Passwords and Accounts
Why Every Online Account Needs a Different Password
The single most common security mistake is also the easiest to fix: using the same password in more than one place.