Two-Factor Authentication Backup Codes: How to Store Them Safely
Every account with two-factor authentication hands you a list of recovery codes and asks you to save them. Most people screenshot the list and forget it exists until the day their phone is lost. That is when a badly stored list turns a five minute recovery into a week of support tickets. 2FA backup codes deserve a real storage plan, and the plan is simpler than most security advice makes it sound.
Direct answer: Store 2FA backup codes in a password manager as a secure note, and keep one printed copy in a physically secure place such as a safe or a locked drawer. Never store them in email, cloud notes, chat messages or a plain text file, and regenerate the set whenever you use a code or suspect exposure.
What 2FA Backup Codes Actually Are
A backup code is a single-use replacement for the second factor. It bypasses the authenticator app or the SMS code, which is precisely why it needs more protection than the codes it replaces. Most services issue eight to ten of them, each valid once. Used codes are dead; unused codes keep working until you regenerate the set or the account is closed.
That combination of long life and high privilege is the risk. A leaked backup code is not a short window like an expired one-time password; it is a standing key until someone notices.
How to Store 2FA Backup Codes Safely
- Add them to a reputable password manager as a secure note attached to the account entry.
- Print a second copy and store it offline in a locked place, in case the manager itself is unavailable.
- Keep the printed copy somewhere you can physically reach without the phone or the laptop.
- If your manager supports it, split the list between two locations rather than one.
- Record the date the set was generated so you know when it is old.
- Delete the screenshot or the temporary file you used to move them.
Two independent copies, one digital and one physical, cover the two realistic failure modes: losing the device and losing access to the manager.
Where Not to Put Them
- Email drafts. If the account you are protecting is the email account itself, this is circular and useless.
- Cloud notes and documents. Convenient, searchable and exposed to the same account takeover you are trying to survive.
- Chat apps and messages to yourself. Chat history is backed up, synced and readable from many devices.
- Plain text files on a laptop. One stolen device and the list is gone.
- Photo albums. Photo backups are rarely encrypted and often shared accidentally.
The pattern is consistent: if the place holding the codes is protected by the same credentials as the account, it is not a backup.
Why Backup Codes Beat SMS Codes for Account Recovery
An SMS code depends on a phone number you still control. Lose the number, and recovery becomes a support conversation with someone who has no obligation to believe you. A backup code depends only on a file you stored, so it survives a lost phone, a cancelled SIM and a change of country. That is why good services push you towards an authenticator app plus backup codes, with SMS as a fallback rather than the primary factor.
If you test verification flows yourself, keep the two ideas separate. Temporary email and rental virtual numbers are useful tools for development and testing, but they are not a recovery plan for your own accounts, and they should never hold backup codes.
Rotation and Lifecycle
Regenerate the set when any of the following happens:
- You used one code, since the list is now incomplete.
- You lost the printed copy or do not know where it is.
- A device holding the list was stolen, sold or repaired.
- Someone who had access to your manager no longer should.
- You cannot remember the last time you checked, which is its own answer.
Regeneration usually invalidates the old list immediately, so delete the old copies at the same time. Keeping a superseded printout in a drawer is a small, avoidable risk.
Testing Your Recovery Path Before You Need It
A recovery plan is only real if it has been exercised. Pick one low-value account, sign out everywhere, and walk through recovery using a backup code. Notice how long it takes, whether the interface asks for anything else, and whether the code worked on the first try. Fix whatever annoyed you while the stakes are low.
While you are at it, check the phone number attached to the account. If it is old, update it. If you are rotating numbers for privacy, use a controlled number and keep the rental active until the change settles. You can provision one from the SMS Feel registration page, and the API documentation explains how to read incoming codes if you automate the check.
Frequently Asked Questions
Are 2FA backup codes the same as recovery codes?
Yes. Different services use different names, but both are single-use codes that replace your usual second factor when it is unavailable.
Can I store backup codes in my password manager?
Yes, that is the recommended digital location. Add a printed copy as well so a manager outage or a lost device does not lock you out entirely.
What happens if I lose my backup codes?
You fall back to whatever other recovery method the service offers, which may be a support process with identity checks. For some accounts there is no recovery, so the list matters.
Do backup codes expire?
They usually remain valid until used or regenerated rather than expiring on a date. That makes an unused, unrotated list a long-lived risk.
Should I photograph the codes and delete the photo later?
Photographing is acceptable only as a temporary transfer step. Delete the photo and the cloud backup of it as soon as the codes are in a proper store.
Conclusion
Treat 2FA backup codes like the spare key to your house: somewhere specific, known to you, and not under the doormat. One copy in a password manager, one printed copy offline, and a regeneration whenever the list changes is enough for almost everyone. If you are also tidying the phone numbers attached to your accounts, open an SMS Feel account and set up a controlled number before you switch.
Related reading: more account security notes on the SMS Feel blog.