Prepare two-factor backup codes before you need them

A backup code may replace a second sign-in factor. Store it so that losing your phone does not also remove the backup.

2 min readTime needed: 10–15 minutes per account
In this guide

Some services issue one-time recovery codes. These are different from the short-lived six-digit codes in an authenticator app. Availability and what a code can replace depend on the provider.

Obtain codes from the account settings

Open the service independently and find its security or two-step verification settings. Only codes issued by that service will work: do not create your own in a random generator.

If codes are unavailable, check for another recovery route, such as a second security key or the official recovery process. Consult the administrator for work accounts.

Store them independently of the phone

A printout in a secure place or a protected digital vault can work, provided you can access it without the lost phone. A screenshot stored only on that phone does not solve the problem.

Label the service and set creation date. Do not add the account password to a loose note or send codes through chat, support forms or this website. Someone obtaining them may use them to sign in.

Track used or replaced sets

Mark one-time codes as used. Creating a new set may invalidate the previous one, as it does for Google. Replace all your stored copies after regeneration rather than keeping several unlabelled sets.

Replace lost or disclosed codes through account settings. Deleting a photo does not revoke the codes at the provider.

Test without locking yourself out

Check that you can find the current set from another trusted device. If testing sign-in, retain a trusted session and your normal sign-in method. Do not disable two-factor authentication just to test recovery. The recovery plan records preparation status without asking for the actual codes.

What can I do if I lose access to my authenticator app?

Try a synced copy, independent factor or recovery code. Otherwise use the service’s official recovery. An email address alone cannot recreate TOTP secrets. Reject offers to bypass 2FA, and prepare a fallback after recovery.

A printout in a secure place or a protected digital vault can work, provided you can access it without the lost phone. A screenshot stored only on that phone does not solve the problem.

If codes are unavailable, check for another recovery route, such as a second security key or the official recovery process. Consult the administrator for work accounts.

Some services issue one-time recovery codes. These are different from the short-lived six-digit codes in an authenticator app. Availability and what a code can replace depend on the provider.

Backup plan

Google Account

Where should I keep my two-factor backup codes?

A printout in a secure place or a protected digital vault can work, provided you can access it without the lost phone. A screenshot stored only on that phone does not solve the problem.

Mark one-time codes as used. Creating a new set may invalidate the previous one, as it does for Google. Replace all your stored copies after regeneration rather than keeping several unlabelled sets.

Open the service independently and find its security or two-step verification settings. Only codes issued by that service will work: do not create your own in a random generator.

Label the service and set creation date. Do not add the account password to a loose note or send codes through chat, support forms or this website. Someone obtaining them may use them to sign in.

Backup plan