Getting a new phone is exciting until you realise the codes you use to sign in are still on the old one. An authenticator app such as Google Authenticator creates sign-in codes on the phone itself, as the second step of two-step verification, so the codes need moving when you switch phones.1 This guide explains the easy way, the manual way, and what to do if you no longer have the old phone. If you are new to this kind of security, start with what two-factor authentication is.
Before you start: don't wipe the old phone yet
Keep Google Authenticator on the old phone, and don't reset, sell or trade it in, until you have checked that every code works on the new one. Once you have confirmed that, remove the accounts from the old phone before it leaves your hands.6 Our checklist for selling or recycling an old phone covers the rest.
It is also a good moment to save backup codes for your Google Account. Google gives you a set of 10 eight-digit codes. Each one works only once, and creating a new set cancels the old set.3 On a computer, go to your Google Account, open Security & sign-in, choose 2-Step Verification, and then Backup codes, where you can download or print them.3 Keep them somewhere safe and offline.
The easy way: sync your codes with your Google Account
Since April 2023, Google Authenticator can back up your one-time codes to your Google Account on both iPhone and Android, so losing the phone no longer means losing the codes.2
If your codes are synced, moving is simple: install Google Authenticator on the new phone, tap Get started and sign in with the same Google Account. Your codes sync across automatically.1
Syncing needs version 6.0 or later of the app on Android, or version 4.0 or later on iPhone. On Android, the app itself needs Android 6.0 or later.1
The manual way: transfer codes with a QR code
If your codes are not saved to a Google Account, you can move them directly from phone to phone. You need both phones, and the old one should have the latest version of Google Authenticator.1 These are the steps in Google's current help; menu names can differ slightly between app versions.
On the new phone, install Google Authenticator and tap Get started.1
On the old phone, open Google Authenticator and tap Menu > Transfer codes > Export codes. Unlock the phone when asked.1
Choose the accounts you want to move and tap Next. If you choose several accounts, you may see more than one QR code.1
On the new phone, tap Menu > Transfer codes > Import codes > Scan QR code, then scan each code shown on the old phone.1
Wait for the message confirming that your codes have been transferred.1
Older versions of the app used labels such as Transfer accounts or Export accounts, and at the end asked whether to remove the exported accounts from the old phone.6
Check before you delete anything
Sign in to a couple of your important accounts using the codes on the new phone before you remove the app or the accounts from the old phone. If something went wrong, the old phone is still your way in.6
Microsoft Authenticator and other apps
Other authenticator apps have their own backup systems. Microsoft Authenticator can back up codes for personal Microsoft accounts and for other services, such as Facebook or LinkedIn, using the Cloud Backup switch in the app's Settings.5 On Android, tap the three dots, then Settings, and turn on Cloud Backup.5
There are limits. Work or school accounts are not fully backed up: only the account name is saved, so you have to set them up again. A backup made on an iPhone can't be restored on an Android phone, or the other way round.5 Microsoft also says that from January 2027, Android backups will go through Google One rather than a personal Microsoft account.5
If your old phone is lost, stolen or broken
If your codes were synced, sign in to Google Authenticator on the new phone and they will appear. Then remove the lost phone from your Google Account, and erase it remotely if you can.1 Our guide on what to do if your phone is lost or stolen walks through that.
If the codes were not synced, they can't be recovered from the app. You will need to sign in to each website or app where you used Google Authenticator, remove the old authenticator and link the new phone instead.1
For your Google Account itself, Google lists several other ways in without the old phone: another phone that is already signed in, a backup phone number, a saved backup code, a security key or a passkey on another device.4 Google also recommends signing out of the lost phone and changing your password.4
When to get help
If you can't use any of those methods, use Google's account recovery process; our guide to recovering a Google account explains it. Google says recovery can take three to five working days in some cases.4 For other services, look for the "lost my phone" or account recovery option on their sign-in page.
Never share your codes with anyone who contacts you offering to help recover an account: that is a common phishing trick, and our guide on what to do if your account is hacked covers the next steps if you think someone already has access.
Common questions
Do I still need backup codes if my codes are synced?
Yes, it is worth having both. Syncing protects your authenticator codes if the phone is lost.2 Backup codes are a separate way into your Google Account when you can't use your phone at all.3,4
I've lost my backup codes. Can I get new ones?
Yes. In the 2-Step Verification section of your Google Account, choose Show codes, then Get new codes. The old set stops working.3,4
Is there another way to sign in to Google without codes?
Yes. Google lets you use a passkey, a security key or a prompt on another signed-in phone as ways to sign in.4 See what a passkey is.
