Back Up Your Authenticator Before It Locks You Out
Your passwords live in a manager with a backup. Your authenticator codes live on one phone. Ten minutes tonight fixes that, whichever app you use.
You probably back up your passwords. Your password manager syncs to the cloud, or at least you tell yourself it does. But your authenticator app, the thing that guards every account the password unlocks, lives on exactly one phone with no copy anywhere. That is the backup everyone skips, and it is the one that hurts the most when the phone dies, gets stolen, or takes a swim.
I learned this the cheap way, watching a friend spend a weekend locked out of his email, his bank, and his GitHub, one account at a time, because every code lived in an app on a phone that was now at the bottom of a lake. The fix takes about ten minutes. Do it tonight, while the phone still works, because every backup method below needs the old phone alive and in your hand.
A password can be reset. A lost authenticator secret cannot. When you scan a QR code to set up two-factor authentication, your phone and that website agree on a secret key, and the six-digit codes are generated from that key plus the time. The site never shows you the key again, so the secret exists in exactly two places: the site’s server and your phone. Lose the phone and reinstalling the app just gives you an empty app. The codes come back only if you set up a backup before the loss, or saved the recovery codes the site offered at setup.
The job is three small habits: turn on your app’s backup, save your recovery codes, and test the restore once. Here is how that looks for each app.
flowchart TD
A[Which authenticator<br/>do you use?] --> B[Google<br/>Authenticator]
A --> C[Microsoft<br/>Authenticator]
A --> D[Aegis<br/>or 2FAS]
A --> E[Authy]
B --> F[Sign in to a Google<br/>Account. Codes sync.]
C --> G[Turn on cloud backup<br/>in Settings. Same<br/>platform only.]
D --> H[Export an encrypted<br/>file. Store it<br/>off the phone.]
E --> I[No export. Re-add each<br/>account, then<br/>leave Authy.]
Google Authenticator: sign in and you are mostly done
Google added cloud sync to Authenticator in April 2023, and it is the easiest path of the bunch. Open the app, tap your profile picture, and sign in to a Google Account. A green cloud icon next to your avatar means sync is on. From then on, installing Authenticator on a new phone and signing in to the same account brings your codes back automatically. Google says the codes are encrypted in transit and at rest, and you need version 6.0 or above on Android or 4.0 or above on iOS.
Two catches worth knowing. First, the sync only covers codes saved to that Google Account. If you opened the app and tapped Use without an account, your codes are local-only and nothing syncs. Second, if you would rather not tie your codes to Google, the manual route still works: on the old phone, open Transfer accounts, tap Export accounts, and scan the QR code it shows with the new phone. That needs both phones in the same room.
Microsoft Authenticator: check the backup, and mind the platform
Microsoft Authenticator has a cloud backup, but a lot of people never turn it on. Open the app, go to Settings, and look under Backup. On iPhone it backs up to iCloud, and on Android it backs up through your Microsoft account. On a new phone, install the app, tap Restore from backup, and sign in with the same Microsoft account.
The limit that bites people is the platform wall. A backup made on an iPhone restores only to an iPhone, and an Android backup only to Android. Switch platforms and you are re-adding every account by hand. There is also a partial-restore quirk: personal accounts that use plain one-time codes come back working, but work or school accounts, and personal accounts set to passwordless tap-to-approve, restore as a name only. You have to sign in to each of those again. And Microsoft offers no export file for your codes at all, so the cloud backup is your only route out of that app.
Aegis and 2FAS: the encrypted file you control
If you use an open-source authenticator, the backup is a file, and that is a feature, not a chore. Aegis, Android only, stores your codes in an encrypted vault, AES-256-GCM with the key derived from your vault password, and it can export that vault as an encrypted file or back it up automatically to a folder you choose. Point that folder at something that syncs off the phone and you have an off-device backup your cloud provider cannot read. To restore, install Aegis on the new phone and import the file with your password.
2FAS, free on iOS and Android, works the same way with one extra convenience. Turn on 2FAS Backup and it syncs to your own cloud account, iCloud on iPhone or Google Drive on Android, and on the same platform a new phone picks the codes up from there. Set a backup password and the backup is encrypted with it, which matters, because without that password the file is protected only by your cloud account. For moving between iPhone and Android, cloud sync does not cross over, so export a password-protected .2fas file instead, copy it across, and import it. Keep the password somewhere safe. Without it, the backup is a locked box with the key thrown away.
The backup you already have: recovery codes
Every major service hands you recovery codes when you turn on two-factor authentication, and almost nobody saves them. Google gives you ten eight-digit codes. GitHub gives you sixteen. These codes sign you in when the authenticator is gone, and they are the fallback every support page points to once the phone is lost.
Save them where you would save a password, which for most people means the password manager. If you use 1Password, its vault is exactly the right place for them, and we covered why your passwords stayed safe when 1Password itself was breached last week. Print them and put them in a drawer if you prefer paper. What does not count is leaving them in a notes app on the same phone, or screenshotting them into the camera roll next to the QR code photo.
That QR code photo deserves its own warning. When you set up two-factor on a site, the QR code on screen is the secret itself in picture form. Photographing it as a backup works, technically, but the photo is unencrypted, it usually syncs to a cloud photo library, and it sits there forever. If you ever did this, delete those photos and replace them with one of the proper backups above.
The ten-minute drill
Copying a code from phone to laptop is the daily routine. The backup is what makes that routine survive a dead phone. (Photo: Future via Tom’s Guide)
Do not trust a backup you have never tested. Tonight, while the old phone still works, run this check.
First, open your authenticator and confirm the backup state. Google Authenticator: green cloud next to your avatar. Microsoft Authenticator: cloud backup on in Settings, with a recent date. Aegis or 2FAS: an export file dated today, stored somewhere that is not this phone.
Second, sign in to your two most important accounts, email and your password manager, and save their recovery codes. Those two unlock everything else.
Third, if you have a spare or old phone, do a test restore on it. Install the app, sign in, and check that the codes appear and one of them actually logs you in. If you do not have a spare, at least confirm the backup exists and the export password is written down where you can find it.
One last thing. If you are still on Authy, consider this your nudge to move. Twilio killed the Authy desktop apps on March 19, 2024, and the mobile apps are still maintained, but Authy has no export feature at all, so leaving means re-adding every account by hand. Do it now, on your schedule, instead of after a lost phone forces the same job on a worse day.
Ten minutes, once, and the authenticator stops being a single point of failure. Your future self, standing in a phone shop with a dead handset, will be glad you did.
Frequently asked questions
Can I recover my authenticator codes if I lose my phone?
Only if you set up a backup first. Google Authenticator syncs codes to your Google Account, Microsoft Authenticator restores from a cloud backup, and Aegis or 2FAS can restore from an encrypted export file. With no backup and no old phone, you have to re-add every account using each site’s own recovery method.
Does Google Authenticator back up my codes automatically?
Yes, once you sign in to a Google Account inside the app. You need version 6.0 or above on Android or 4.0 or above on iOS. Google says the codes are encrypted in transit and at rest. If you use the app without an account, nothing syncs, and you have to transfer codes by QR code from the old phone.
Can I move Microsoft Authenticator from iPhone to Android?
No. Microsoft’s backup and restore only works on the same platform, so an iPhone backup restores to an iPhone and an Android backup to an Android. Work or school accounts restore as a name only and have to be signed in again either way.
What is the safest way to back up an authenticator?
An encrypted export stored off the phone. Aegis exports an encrypted vault file and 2FAS exports a password-protected .2fas file. Keep that file somewhere other than the phone itself, such as a USB drive or your password manager, and keep the export password with it.
Three new loop and stack articles every day, Monday to Sunday. Subscribe and follow.it emails you when one lands. No spam, unsubscribe anytime.