Move your two-factor codes before you switch devices

Google Authenticator does not automatically back up your two-factor authentication codes to the cloud. If you switch phones without transferring them first, you will lose access to the codes that protect your accounts — and you may be locked out until you prove your identity to each service. The transfer process takes 10 to 15 minutes and works by scanning a setup key or QR code on your old phone with your new one.

The method you use depends on whether your old phone still works. If it does, you can transfer codes one at a time or all at once using Google's built-in transfer feature. If your old phone is broken or lost, you will need to use backup codes that you should have saved when you first set up two-factor authentication on each account.

Key Takeaways

  • Google Authenticator stores codes only on your phone, not in the cloud, so you must transfer them manually before switching devices.
  • If your old phone works, use the transfer feature in Google Authenticator to move all codes at once by scanning a QR code.
  • If your old phone is broken or lost, use the backup codes you saved when setting up two-factor authentication to regain access to each account.
  • Write down or screenshot the setup keys for any accounts that do not offer backup codes, so you have them if you need to set up authentication again.

Transfer codes when your old phone still works

Open Google Authenticator on your old phone and tap the menu icon (three horizontal lines) in the top left corner. Select "Transfer accounts" and then "Export accounts." You will see a list of all the accounts currently protected by Authenticator on that phone. Tap "Select all" if you want to move everything, or tap individual accounts to choose which ones to transfer.

After you select the accounts, tap "Next." Your old phone will display a QR code. On your new phone, open Google Authenticator and tap the plus sign (+) in the bottom right corner. Choose "Scan a setup key" and point your new phone's camera at the QR code on your old phone. The codes will appear in Authenticator on your new phone within seconds.

Once the transfer is complete, go back to your old phone and tap "Done" on the export screen. The codes will remain on your old phone until you manually delete them — you can do this by opening Authenticator, pressing and holding an account name, and tapping the trash icon. Deleting them from the old phone prevents you from accidentally using outdated codes if someone gains access to that device.

Restore access using backup codes if your old phone is gone

When you first set up two-factor authentication on an account, the service (Google, Microsoft, Amazon, or another provider) gave you a set of backup codes. These are usually 8 to 10 single-use codes printed on a page or shown on screen. If you saved these codes, you can use them to regain access to your account without Authenticator.

Sign in to the account on your new phone or a computer. When prompted for a two-factor code, look for a link that says "Can't access your authenticator?" or "Use a backup code instead." Enter one of your backup codes. After you regain access, go to the account's security settings and set up Google Authenticator again on your new phone. Each backup code works only once, so you will have fewer codes left after you use them.

If you cannot find your backup codes and your old phone is not available, contact the account provider's support team. They can verify your identity through security questions, a recovery email, or a phone number on file, and then disable two-factor authentication temporarily so you can log in. This process usually takes 24 to 48 hours.

Save setup keys so you can rebuild Authenticator later

Some accounts show a setup key (a long string of letters and numbers) when you first enable two-factor authentication. This key is different from a backup code — it is the master key that Authenticator uses to generate your codes. If you take a screenshot or write down the setup key for each account, you can manually re-add that account to Authenticator on any phone, even years later.

To manually add an account using a setup key, open Google Authenticator on your new phone and tap the plus sign (+). Choose "Enter a setup key" instead of "Scan a QR code." Type or paste the account name, the setup key, and select the time-based option (usually the default). Tap "Add" and the codes will start appearing when ready.

Not every service displays a setup key — some show only a QR code. For those accounts, take a screenshot of the QR code and store it in a password manager or a find folder on your computer. If you ever need to set up Authenticator again, you can use that screenshot to scan the code instead of contacting support.

Set up Authenticator on your new phone before you need it

Install Google Authenticator on your new phone before you transfer any codes. Open the app and make sure it is working — you should see a blank screen with a plus sign (+) button at the bottom. If you see an error message, uninstall and reinstall the app, or restart your phone.

Do not delete Google Authenticator from your old phone until you have confirmed that all codes are working on your new phone. Open a few accounts that use two-factor authentication and verify that the codes from your new phone match what the service expects. This usually takes 30 seconds per account. Only after you confirm everything works should you delete the app or the codes from your old phone.

Protect your setup keys and backup codes

Setup keys and backup codes are as sensitive as passwords — anyone who has them can generate valid authentication codes and access your accounts. Store backup codes in a password manager like Bitwarden, 1Password, or KeePass, not in a text file on your desktop or a note in your phone.

If you take screenshots of QR codes or setup keys, store those screenshots in the same password manager or in an encrypted folder. Do not email them to yourself or save them in cloud storage that is not encrypted. If you write backup codes on paper, keep that paper in a safe place — a home safe, a safety deposit box, or a locked drawer — not on a sticky note next to your computer.

What to do if you lose access to both your old phone and your backup codes

If your old phone is gone and you did not save your backup codes, you will need to contact support for each account and prove your identity. Have ready a government ID, the email address or phone number associated with the account, and any other information the service asks for. Support can disable two-factor authentication, which will let you log in without a code. After you regain access, set up Google Authenticator again on your new phone.

This process is slower than using backup codes — it usually takes 24 to 48 hours — but it is the only way to recover if you have no other proof of identity. Some services may ask you to wait a few days before you can enable two-factor authentication again, as a security measure to prevent someone else from locking you out.

Frequently Asked Questions

Can I use the same Google Authenticator account on two phones at the same time?

Yes. You can have the same codes on multiple phones, and they will all generate the same numbers at the same time. This is useful if you have a work phone and a personal phone, or if you want a backup phone in case your main one breaks. Just scan the same QR code or setup key on each phone.

What happens if I delete Google Authenticator by accident before transferring my codes?

Your codes are gone from that phone, but your accounts are not locked. Use your backup codes to regain access to each account, then set up Google Authenticator again on the same phone or a new one. If you do not have backup codes, contact support for each account.

Do I need to transfer codes in a specific order?

No. You can transfer all codes at once using the QR code method, or one at a time using setup keys. The order does not matter. Just make sure you transfer or back up all of them before you stop using your old phone.

Can I transfer Google Authenticator codes to a different authenticator app?

Not directly. Google Authenticator does not export codes in a format that other apps can read. However, if you have the setup keys for your accounts, you can add them to another app like Authy or Microsoft Authenticator. The setup key is the same regardless of which app you use.

What if the QR code is too small to scan?

Tap the QR code on your old phone to make it larger, or use the "Enter a setup key" option on your new phone instead. You can read the setup key from your old phone and type it manually into your new phone.