Backup codes are one-time codes a service provides so a user can sign in or recover access when their usual second factor, such as an authenticator app or security key, is unavailable. Each code is generally usable only once, so it should be treated like a password.
They matter because a lost phone, app crash, or other outage can block a legitimate user even when the account has not been compromised. In practice, users may enter a backup code at the service’s sign-in prompt, then replace or reset the unavailable authentication method. Store codes somewhere secure and separate from the device they are meant to back up, and regenerate them if they may have been exposed.


