TOTP

How to Migrate Your TOTP Accounts to a New Phone or Computer

Getting a new phone or computer shouldn't mean re-enrolling 2FA on every account from scratch. Here's how TOTP migration actually works, the safest way to do it, and what to do when a service doesn't offer a transfer option.

Nency
Published Sep 18, 2026
4 min read

Why Migration Isn't Automatic by Default

A TOTP secret key is generated once, during initial setup, and most services never display it again afterward for security reasons — showing it repeatedly would make it easier for anyone with brief access to your screen to capture it. That's exactly why simply installing an authenticator app on a new device doesn't "find" your existing accounts on its own; the app has no way to know the secret unless you either transfer it directly or set the account up again from scratch on the service's side.

Three Real Ways to Migrate

The cleanest migration path is exporting an encrypted backup from your current authenticator and importing it on the new device. This preserves every account at once, with no per-service re-enrollment needed, as long as you exported before decommissioning the old device. See Authenticator Backup Best Practices for the full routine — the short version is: export now, verify the file opens correctly on the new device, and only then retire the old one.

2. Built-In Transfer Features

Some mobile authenticator apps offer a direct device-to-device transfer, often via a special QR code generated by the old app and scanned by the new one — Google's documentation on fixing common 2-Step Verification issues covers one real-world version of this transfer flow. This works well but is tied to that specific app's ecosystem — it typically won't help if you're switching to a different authenticator entirely.

3. Re-Enrolling From Scratch, Per Service

If no backup exists and no transfer feature applies, the fallback is disabling and re-enabling 2FA on each account individually: log in with your old authenticator (or backup codes) one last time, disable 2FA, then re-enable it and scan a freshly generated QR code with your new device. This works reliably but doesn't scale well past a handful of accounts — it's the option to avoid needing, not the plan to rely on.

A Safe Migration Checklist

  1. Export a backup from your current authenticator while you still have full access to it.
  2. Set a strong, memorable master passphrase for the export if one is required — you'll need it to restore.
  3. Install or open your authenticator on the new device, and import the backup file there.
  4. Spot-check a handful of accounts by generating a code and confirming it logs you in successfully, before wiping or retiring the old device.
  5. Only then decommission the old device — factory reset, sell, or recycle it once you've confirmed the new setup actually works.
The single most common migration mistake is doing the steps in the wrong order: wiping the old device before confirming the new one actually works. Always verify first, retire second.

Migrating Between a Phone and a Browser-Based Authenticator

Switching from a mobile app to a browser-based vault like AuthBro (or the reverse) follows the same principle, even across different platforms: export a backup from wherever your accounts currently live, then import it into the new location. Because both implement the same open RFC 6238 standard, the underlying codes generated are identical in format and behavior regardless of which tool produces them — migration is a matter of moving the secret keys, not converting them into something new.

If You Genuinely Have No Backup and No Transfer Option

Re-enrolling from scratch on each service is tedious but reliable. Prioritize accounts by importance — email and financial accounts first — and use this as the moment to also clean up your account list, removing 2FA entries for services you no longer use. See What Happens If You Lose Your Phone? if this migration is happening under less-than-ideal circumstances, like a lost or broken device rather than a planned upgrade.

The Bottom Line

TOTP migration is straightforward when you plan for it and genuinely painful when you don't. An encrypted backup, taken before you need it, turns a device upgrade into a five-minute task instead of an hour spent re-enrolling accounts one at a time.

Did you find this helpful?
85

Frequently Asked Questions

No. Your secret keys live in the app's local storage, not in the app itself, so a fresh install has nothing to load unless you restore from a backup or use a built-in transfer feature.
Without a prior backup or completed transfer, you'll lose access to every account's TOTP generation and need to fall back on saved recovery codes or each service's account-recovery process individually.
No, not if you're transferring your existing secret keys via backup or a transfer feature. Disabling and re-enabling 2FA is only necessary as a last-resort fallback when no backup or transfer option is available.
N

About The Author

Nency

Author is a software developer and technical contributor at AuthBro. They specialize in building performance-oriented browser productivity systems and writing developer guidelines.

Related Guides

Explore additional resources on 2FA security and authentication.