Code2FA
EN
EnglishTiếng Việt中文РусскийEspañol

New or lost phone: transfer and recover Google Authenticator

Code2FA team · Updated · 3 min read

New or lost phone: transfer and recover Google Authenticator

Switching phones without moving your authenticator is the fastest way to lock yourself out. Here is how to transfer it properly, and how to recover if the old phone is already gone.

Case 1: You still have the old phone

Don't delete the app or reset the old phone until every code works on the new one.

Option A: Sync through your Google Account (fastest)

Since 2023 Google Authenticator can back up codes to your Google Account. If the cloud icon at the top of the app shows a green check, your codes are backed up.

  1. Install Google Authenticator on the new phone.
  2. Sign in with the same Google Account.
  3. Your codes appear. Compare a few with the old phone to be sure.

Note: with sync on, anyone who takes over your Google Account also gets all your 2FA codes. Protect that account with a passkey or security key.

Option B: Export with QR codes (no cloud)

  1. Old phone: Google Authenticator → Menu (☰) → Transfer accounts → Export accounts.
  2. Select the accounts. The app shows one or more QR codes (each holds about 10 accounts).
  3. New phone: Google Authenticator → Menu → Transfer accounts → Import accounts → scan each QR code.
  4. Check the codes match, then remove them from the old phone.
Tip: Google Authenticator export QR codes (otpauth-migration://) can also be scanned with Code2FA. Tap Scan QR and point your camera at the old phone. Code2FA lists every account so you can keep them in its encrypted on-device vault, or export back to Google Authenticator or Aegis anytime.

Other apps

  • Microsoft Authenticator: turn on Cloud backup in Settings (iCloud on iPhone, a personal Microsoft account on Android). Backups only restore on the same platform (iPhone to iPhone, Android to Android).
  • Authy: multi-device with password-encrypted backups. The Authy desktop app was discontinued in 2024.
  • 2FAS, Aegis: export a backup file (set a password), move it to the new phone and import.

Case 2: The old phone is lost, broken or wiped

Without the old phone there's nothing to export. Try these in order:

  1. Cloud sync: if you had backup on (Google, Microsoft, Authy), install the app and sign in.
  2. Saved secret keys: if you kept the keys (backup file, Code2FA vault, password manager), paste them into a new app or into Code2FA to get codes immediately.
  3. Backup codes: sign in with one, then set 2FA up again. See what backup codes are.
  4. A device that's still signed in: a laptop or tablet session usually lets you open security settings and change the authenticator.
  5. Official account recovery for each service (email, phone, sometimes ID). It can take days.

Once you're back in: re-enroll 2FA on each account (you'll get new keys), sign out the lost device, and change passwords on important accounts.

So it doesn't happen again

  • Keep backup codes for important accounts somewhere safe, away from your phone.
  • Save the secret key when you enable 2FA, in a password manager or a password-protected backup. See what a 2FA secret key is.
  • Don't leave screenshots of QR codes in an auto-synced photo library: anyone who sees the photo has the key.

FAQ

Will I lose Google Authenticator codes when I change phones?

No, as long as you turn on Google Account sync or use Transfer accounts to export QR codes to the new phone before wiping the old one.

How do I recover 2FA codes after losing my phone?

Use cloud backup if enabled, saved secret keys, backup codes, or the service's account recovery. Then re-enroll 2FA to get new keys.

Related articles