2FA Code Generator › Guides › Recover a 2FA account

How to Recover a 2FA Account

By Md Rasel Mahamud · Last updated:

Reviewed for accuracy by the 2FA team

Lost your phone, reset your authenticator app, or changed devices without moving your codes? You are not the first. This guide shows the ways back into a 2FA account, starting with the fastest.

Published 30 November 2026

Before you startYour recovery options, from…After you get back inHow to avoid a 2FA lockout in the…FAQ

Before you start: stay calm and avoid scams

Account lockouts attract scammers who offer to "recover" accounts for money. Only use the official help pages of the service itself, reached by typing its address yourself. Never share your password, backup codes or 2FA codes with anyone who contacts you.

Your recovery options, from fastest to slowest

1. Use a backup or recovery code

Most services give you a set of backup codes when you turn on 2FA. For example, Google offers sets of 10 backup codes and GitHub offers 16 recovery codes, and each code works only once. Look in your downloads folder, password manager, printed papers or notes. On the login screen, choose the option to use a backup code instead of the authenticator code.

2. Use your saved secret key

If you wrote down the secret key or kept a screenshot of the setup QR code, you can recreate your codes in any authenticator. Paste the key or upload the QR screenshot in the 2FA code generator and use the code it shows.

3. Use another 2FA method on the account

Many services let you add several methods, such as a phone number, a security key or a second device that is already signed in. On the code screen, look for "try another way" or "choose another method".

4. Use the official account recovery process

If nothing else works, start the service's own recovery or "lost access" process from its login page. It may ask you to confirm your identity, and it can take several days. This delay is a security feature that protects you from people trying to take over your account.

After you get back in

  1. Go to the security settings and remove the old authenticator.
  2. Set up the authenticator again. You will get a new secret key.
  3. Save the new key safely (see how to store your secret key).
  4. Download or print a fresh set of backup codes and keep them offline.
  5. Add a second 2FA method if the service supports it.

How to avoid a 2FA lockout in the future

Each service has its own recovery rules, and menu names can change over time. Always follow the instructions on the service's official help pages.

Frequently asked questions

How do I log in if I lost my authenticator?
Use one of the backup codes you saved when turning on 2FA, or recreate your codes from a saved secret key. If you have neither, use another 2FA method on the account or the service's official recovery process.
Can I use a backup code more than once?
Usually not. Backup and recovery codes are normally single-use. Generate a new set after you use several of them.
Can this 2FA code generator recover my account?
No. We cannot see or restore any accounts. The tool can only create codes from a secret key you already have. Account recovery is handled by each service itself.
How long does official account recovery take?
It depends on the service. Some recover access within minutes, others take several days to confirm your identity. The wait is there to stop attackers.

Ready to get your 2FA code?

Paste your secret key or scan a QR code – free, private and instant.

Open the 2FA Code Generator