If you buy a new iPhone to replace your existing one and you use the Google Authenticator app to access online accounts protected by two-factor authentication (2FA), you should transfer those accounts to your new phone as soon as possible, because without the 2FA codes close at hand, you could find yourself locked out of your online accounts.

google authenticator app
2FA adds an extra layer of security to your online accounts by requiring a randomly generated six-digit code after you've entered your password. In doing so, 2FA ensures you're the only person who can access your account, regardless of whether someone learns your password – as the result of a hack or a phishing scam, for example – so it's well worth taking the time to enable the feature for every online account that offers it. (Every MacRumors forum account offers 2FA.)

Most websites these days give you the option of using the Google Authenticator app to generate 2FA codes, because it's more secure than receiving the codes via SMS texts. Unfortunately, the iOS app doesn't offer the ability to transfer your accounts between iPhones, so you need to do it manually by transferring them individually. The following steps explain how to do this.

How to Transfer Your Google Authenticator Codes to a New iPhone

  1. Install the Google Authenticator app on your new ‌iPhone‌ [Direct Link]
    google authenticator app 1
  2. On your computer, visit Google's two-step verification webpage in your browser.
    google 2fa
  3. Click Get Started.
  4. Enter your Google account password, then click Next.
  5. Under the Authenticator app section, click CHANGE PHONE.
    google 2fa new iphone
  6. Select iPhone, then click NEXT.
  7. In the Authenticator app on your ‌iPhone‌, tap the + icon, then select Scan barcode at the bottom of the screen.
    google authenticator add
  8. Using your ‌iPhone‌ camera, scan the barcode you see on Google's website.
  9. Enter the six-digit code that displays in the app into the webpage dialog.

Once you've completed the above steps, the codes on your old device will no longer be valid. You'll need to repeat the steps for every service that you use with Google Authenticator. The important thing to remember is not to delete the app on your old ‌iPhone‌ until you've moved all accounts to your new phone, otherwise you'll be locked out of those accounts.

Related Stories

How to Transfer Your Apple iCloud Photos to Google Photos

Thursday March 4, 2021 9:02 am PST by Tim Hardwick

If you're looking for a quick and easy way to transfer your iCloud photos to Google Photos, look no further. Apple now offers a service that's designed to streamline the process of moving your photos and videos to Google's cloud platform. Keep reading to learn how it works and how to get started with it. First of all, make sure that Apple's iCloud-to-Google Photos transfer service is available ...

How to Clear Cookies in Firefox on Mac and iOS

Monday April 19, 2021 11:24 am PDT by Tim Hardwick

Whenever you browse the web in Firefox, the browser stores website data including cookies so that it doesn't have to do so again each time you revisit a site. In theory this should speed up your browsing experience, but there are some scenarios where you might want to clear the cache and start anew. Keep reading to learn how it's done on Mac, iPhone, and iPad. There are a couple of...

How to Factory Reset an AirTag So Someone Else Can Use It

Tuesday May 4, 2021 3:26 pm PDT by Juli Clover

When you set up an AirTag, it's automatically associated with your Apple ID, which means it's linked to your Apple ID and can't be used by someone else unless you reset it. Resetting can be as simple as removing an AirTag from your Apple ID, by following these steps: Open the Find My app. Tap on the AirTag that you want to remove by choosing its name from the list. Swipe upwards...

How to Remove the Apps You Don't Use on Your iPhone and iPad

Thursday April 8, 2021 4:34 pm PDT by Tim Hardwick

With so many paid-for and free apps available on the App Store these days, it's easy to reach a point where you have so many of them on your iPhone or iPad that a sizable proportion are simply forgotten about, and soon storage space starts to become an issue. Fortunately, there's an easy way that you can keep tabs on which apps you use the most and which ones have basically become redundant,...

Chrome 90: How to Link Directly to Specific Text on a Webpage

Monday April 19, 2021 2:56 am PDT by Tim Hardwick

With the release of Chrome 90, Google is rolling out a new browser feature that lets you create a shareable link to a section of text you've highlighted on a webpage. Here's how to use it. Sometimes when you share a webpage link with someone, you just want to bring their attention to a specific passage or sentence to make your point, rather than have them read through the entire article. ...

iOS 14.5: How to Mask Unlock Your iPhone With Apple Watch

Monday April 26, 2021 9:45 am PDT by Tim Hardwick

iOS 14.5 is now available, and a key new feature is the ability to unlock an iPhone with Face ID while wearing a mask, so long as you are wearing an Apple Watch. Read on to learn how this feature works. Apple introduced its Face ID facial recognition system in November 2017 with the launch of the iPhone X, offering users an even simpler way to unlock their smartphone than traditional...

How to Free Up Space on iPhone and iPad By Storing Messages in iCloud

Thursday April 8, 2021 4:52 pm PDT by Tim Hardwick

Messages in iCloud, as the name suggests, stores your iMessages in Apple's cloud servers rather than on each of your individual devices, which has a number of benefits. When you receive a message on one device, it shows up on all devices logged into the same iCloud account. Likewise, when you delete messages and conversations they are instantly removed from all your devices. Another...

How to Reinstall Deleted Apps on iPhone and iPad

Thursday April 8, 2021 4:29 pm PDT by Tim Hardwick

If you've deleted an app on your iPhone and iPad to save space or because you didn't find the app useful at the time, it's not a one-way street – you can always re-install said app on your device in a few short steps. While there's no section in iOS that exclusively lists "recently deleted" apps as such, you can still find the apps that you've purchased in the past but are no longer...

Popular Stories

Elon Musk Urges Customers to Buy 'Tesla Cyberwhistle' Instead of Apple Polishing Cloth

Tesla CEO Elon Musk has encouraged customers to buy the "Cyberwhistle" for $50 instead of Apple's much-discussed Polishing Cloth. The product page, which Musk shared on Twitter on Tuesday evening, offers a limited edition stainless steel whistle with the same distinctive design of the Tesla Cybertruck:Inspired by Cybertruck, the limited-edition Cyberwhistle is a premium collectible made from ...

New iPhone SE Reportedly on Track for Release in First Quarter of 2022

Tuesday November 30, 2021 8:08 am PST by Joe Rossignol

Apple plans to release a third-generation iPhone SE in the first quarter of 2022, according to Taiwanese research firm TrendForce. If this timeframe proves to be accurate, we can expect the device to be released by the end of March. As previously rumored, TrendForce said the new iPhone SE will remain a mid-range smartphone with added support for 5G:In terms of product development, Apple is...

Five Features to Look Forward to in the 2022 MacBook Air

Tuesday November 30, 2021 1:51 pm PST by Juli Clover

In 2022, Apple is going to release an updated version of the MacBook Air with some of the biggest design changes that we've seen since 2010, when Apple introduced the 11 and 13-inch size options. In the video below, we highlight five features that you need to know about the new machine. Subscribe to the MacRumors YouTube channel for more videos. No More Wedge Design - Current MacBook...

Cyber Monday: Original Apple TV 4K Drops to $99.99 for Amazon Prime Members

We've been tracking Apple product and accessory deals for Cyber Monday 2021 today, and now Woot is offering a solid discount on the previous generation 32GB Apple TV 4K. You can get this device in new condition for just $99.99 if you're an Amazon Prime member. Note that this sale will last for one day only. Note: MacRumors is an affiliate partner with some of these vendors. When you click a...

Apple Reveals the Most Downloaded iOS Apps and Games of 2021

Thursday December 2, 2021 12:05 am PST by Juli Clover

Along with naming its editorial picks for the top apps and games of 2021, Apple today shared charts for the most downloaded free and paid apps and games in the United States across 2021. The number one most downloaded free iPhone app was TikTok, followed by YouTube, Instagram, Snapchat, and Facebook. The top paid iPhone apps included Procreate Pocket, HotSchedules, The Wonder Weeks, and Touch...

Apple Introduces New MacBook Upgrade Program for Business Partners

Monday November 29, 2021 7:38 am PST by Sami Fathi

In association with CIT as the financing partner, Apple has launched a new Mac Upgrade Program for small businesses and Apple business partners that allow companies to easily distribute and upgrade their fleets of MacBooks at an affordable price to all of their workers. As outlined on CIT's website, shared by Max Weinbach, Apple Business Partners can distribute the 13-inch MacBook Pro,...

Transparent AirPods and 29W Power Adapter Prototypes Surface in Photos

Images of transparent prototype AirPods and a 29W Apple power adapter have been shared on Twitter by Apple device collector Giulio Zompetti. The prototypes, which appear to be either first-generation or second-generation AirPods, feature clear plastic along the stem and around the outer side of the earbud, with the normal white plastic on the inner side of the earbud. Transparent casings are ...

Apple Planning to Replace the iPhone With AR Headset in 10 Years

Apple is planning to replace the iPhone with an augmented reality (AR) headset in 10 years, a process that is apparently due to start as soon as next year with the launch of a head-mounted device, according to a recent report. Concept render of Apple's rumored AR headset by Antonio De Rosa In a note to investors seen by MacRumors, eminent analyst Ming-Chi Kuo explained that "Apple's goal is...