If a company alert, breach notice, or news report mentions that your printed recovery or backup codes may be exposed, act as if an attacker could use them right now. Recovery codes are designed to bypass your usual two-factor authentication (2FA/MFA). That’s helpful when you lose your phone, but dangerous if someone else gets the list. This guide explains why exposed codes matter, how to replace them across the services you use, and how to store the new set safely so you keep control of your accounts.
What recovery codes are and why exposure is serious
Recovery or backup codes are single-use passcodes a service gives you when you turn on two-factor or multi-factor authentication. If you lose access to your authentication app, SMS, or security key, a recovery code can let you back in. Because a recovery code can override your second factor, anyone who has it can often sign in without your phone or hardware key. If those codes were named in a breach, assume they’re compromised—even if you never used them.
Common services that issue recovery codes
- Major email providers (e.g., Gmail, Outlook)
- Social networks (e.g., Facebook, Instagram, X, TikTok)
- Developer platforms (e.g., GitHub, GitLab)
- Cloud storage and productivity suites (e.g., Google Workspace, Microsoft 365, Dropbox)
- Financial, crypto, or trading platforms (many support MFA backup codes)
Immediate steps if your printed recovery codes are named in a breach
- Do not wait. Treat the codes as already leaked. Your goal is to invalidate the exposed list and generate a new set.
- Prioritize your email accounts first. Email is the reset key to most services. If someone can access your inbox with a leaked code, they can pivot into many other accounts.
- Then secure financial, cloud storage, and social accounts. Work from highest-impact to lowest.
- Use a trusted device and network. Sign in from a device you control and a private network to make changes safely.
How to replace recovery codes on popular account types
The exact menus vary, but the pattern is similar across services:
- Sign in to the account.
- Open Security or Account settings.
- Find Two-Factor Authentication, Multi‑Factor Authentication, or Advanced Security.
- Locate Backup codes or Recovery codes.
- Select Regenerate, Replace, or Get new codes. Confirm to invalidate the old batch.
- Download, copy, or print the new codes and store them securely.
Repeat for each critical account. If a service does not allow regenerating codes, turn MFA off and back on (only if you can immediately re-enable it and add your factor again). This forces a new set of codes and invalidates the old ones.
Lock down how you store recovery codes
Once you have fresh codes, your biggest risk is poor storage. Avoid photos in your camera roll, cloud-synced notes with weak security, or loose printouts in a desk drawer. Use one or more of these methods:
Option A: Encrypted password manager (recommended)
- Store recovery codes in the secure notes or 2FA fields of a reputable password manager.
- Protect your vault with a strong, unique master password and MFA.
- Enable vault-specific recovery methods so you won’t be tempted to keep codes in unsafe places.
Option B: Hardware-based storage
- Save a text file with your codes inside an encrypted volume (e.g., device encryption with a strong passcode).
- Back up that volume to an encrypted external drive stored in a safe place.
Option C: Printed copy, stored like a valuable
- Print once, label by service and date, and store in a fire-resistant safe.
- Avoid leaving printed codes in bags, cars, or shared spaces.
Improve the strength of your second factor
Recovery codes are the backdoor when things go wrong. Reduce the chance anyone needs them by strengthening your day-to-day MFA:
- Prefer app-based codes or push prompts (e.g., an authenticator app) over SMS, which is vulnerable to SIM-swap attacks.
- Best-in-class: hardware security keys (FIDO2/WebAuthn). Many major platforms support using one or two keys as your primary MFA method.
- Enable number matching or phishing-resistant prompts where offered to reduce accidental approvals.
Detect possible misuse while you’re rotating codes
If recovery codes were exposed, your account may already be at risk. While you replace codes, check for signs of tampering:
- Security logs: Look for unfamiliar sign-ins, devices, or IP locations.
- Account changes: Review recent password changes, forwarding rules (email), new API tokens, or linked apps.
- Notifications: Investigate any “new login,” “2FA disabled,” or “unusual activity” alerts.
If you see anything suspicious, immediately change your password, sign out all sessions, re-check MFA settings, and re-verify account recovery options (phone, backup email, security questions).
Reset passwords alongside recovery-code rotation
Because backup codes can sometimes be used to sign in directly, pair your recovery-code replacement with a password reset for the same accounts—especially email and financial services. Use a unique, strong passphrase for each site and store it in your password manager. Never reuse passwords across services.
Make sure account recovery settings aren’t a weak link
Even with new recovery codes, weak recovery paths can undo your work. Review these areas in each account:
- Backup email: Use a well-secured address you control, ideally on a separate provider from your primary email.
- Phone number: If SMS is required for recovery, ensure your carrier account has a strong PIN and port-out protection.
- Security questions: Replace with random answers stored in your password manager. Do not use real facts that can be guessed or found online.
- App passwords and API tokens: Revoke anything you don’t recognize or no longer need.
What if you can’t access the account to regenerate codes?
If you’ve lost access and your codes were exposed, act quickly:
- Use official account recovery and provide accurate details (previous passwords, recovery email, device info).
- Submit support tickets with proof of identity if needed. Avoid third-party “recovery services.”
- Monitor for account misuse on connected services in case attackers pivot.
Minimize future risk with a simple maintenance schedule
- Quarterly: Review where recovery codes are stored and test opening your storage method (vault, encrypted drive, safe).
- Annually: Regenerate recovery codes for your most critical accounts and update the storage date labels.
- Whenever you change devices or phone numbers: Verify MFA still works and your recovery paths are accurate.
Special case: shared or team accounts
For shared access (family, small business, clubs), define a safe process:
- Use an enterprise or family password manager to share recovery codes only with authorized people.
- Designate at least two maintainers who can rotate codes and keys.
- Document where codes are stored and how to access them in an emergency, without emailing or messaging plain-text codes.
Identity and financial monitoring after a breach
When a breach mentions backup or recovery materials, it often signals broader exposure of personal data. In addition to replacing your codes and passwords, consider monitoring your credit and identity-related activity to catch misuse early. A dedicated monitoring service can alert you to changes like new accounts, inquiries, or address updates that you didn’t initiate. If you want a single place to track credit, scores, and key identity signals, see our overview of privacy, credit monitoring, and identity-protection tools.
Practical storage checklist for your new codes
- Label each set with the service name and the date generated.
- Store digitally in an encrypted vault or physically in a safe—never both in the same location without backup.
- Keep one backup copy in a separate secure location to avoid a single point of failure.
- When you regenerate, immediately destroy the old printout and delete old files from all backups.
- Do not photograph codes; camera rolls sync widely and are hard to sanitize.
Frequently asked questions
Do I have to replace recovery codes if only one code might be exposed?
Yes. Codes are issued as a set. If any part of the set may be compromised, regenerate the entire batch and invalidate the old one.
Will replacing recovery codes log out attackers?
Regenerating codes prevents future logins with those codes. To kick out anyone already in, also change your password and sign out all sessions where the service allows it.
Are authenticator apps safer than SMS?
Generally yes. Authenticator apps and hardware keys resist SIM swaps and some phishing methods better than SMS.
Can I store codes in cloud notes if they’re “locked”?
Only if the notes are strongly encrypted, protected by a unique password, and not shared. A dedicated password manager is usually safer and simpler.
Conclusion
If a breach mentions your printed recovery codes, assume the entire set is compromised. Move fast: regenerate codes on your most critical accounts (start with email), reset passwords, review security logs, and strengthen your MFA—ideally with authenticator apps or hardware keys. Then store your new codes in an encrypted password manager or a secure physical location, label them clearly, and set a reminder to review them regularly. With a clear process and safe storage, recovery codes remain a lifeline for you—not an entry point for someone else.
Good to Know
Recovery codes are usually single-use but many sites issue a whole batch at once; if even one code is exposed, the safest move is to replace the entire batch and invalidate the old list immediately.