What backup codes are
A backup code is a platform-issued recovery secret you can use when the normal authenticator is unavailable. NIST treats saved recovery codes as look-up secrets, so they help availability but are not phishing-resistant.
Where to find them
Look inside each platform's security settings after 2FA is enabled. Examples include GitHub Recovery codes, Google Backup codes, Discord Backup Codes, Facebook Recovery codes, and Cloudflare Backup codes.
How to store and rotate them
Print them, write them down, or store them in a dedicated emergency vault. Regenerate them after a recovery event, after suspected exposure, or when the platform shows that too many codes are already used.
Recovery actions
- Collect backup codes for every high-value account and label each set with the platform name.
- Store one copy offline and one controlled team copy for business-critical shared systems.
- Record the date you generated each set.
- Regenerate a set immediately after using one code for recovery.
Important limits
- Sample backup-code generators are useful for internal test systems only.
- A backup-code screenshot saved on the same lost phone is not a reliable recovery plan.
- Some platforms invalidate old codes as soon as you generate a new set.