How to enable two-factor authentication on your Google account

Google two-factor authentication settings on the Pixel 5
(Image credit: Andrew Myrick / Android Central)

In a world where we're constantly becoming more and more digital, maximizing the security of your online accounts is one of the most important things you can do. 

A strong password is a good start, but if you want to take things to the next level, you need to use two-factor authentication. This adds another layer of privacy to your account, often requiring you to enter a randomized code every time you log into your account in addition to your password.

Your Google account is likely one of the most important accounts you have, and thankfully, setting up two-factor authentication for it is quick, easy, and can be done in a few different ways. We'll walk you through it all and show you how to enable 2FA on your Google account.

How to set up Google Prompt two-factor authentication

Google allows you to use a variety of two-factor authentication methods, but the default (and easiest) one is Google Prompt. When you log into your Google account on an unknown device, you'll get a prompt on a phone or tablet that you're already logged in on. Tap that prompt to confirm it's you trying to sign in, and you'll be on your way.

This is the two-factor method Google recommends and this is what the setup process looks like.

1. Log in to your Google account on myaccount.google.com on your computer.

(Image credit: Joe Maring / Android Central)

2. Click the Security tab on the left.

Google account settings page security tab (Image credit: Joe Maring / Android Central)

3. Click 2-Step Verification.

4. Click Get Started.

(Image credit: Joe Maring / Android Central)

5. Enter your Google password to confirm it's you.

(Image credit: Joe Maring / Android Central)

6. Click Try It Now.

(Image credit: Joe Maring / Android Central)

7. Tap Yes on the Google pop-up that appears on your phone/tablet.

8. Confirm your phone number as a backup option in case Google Prompt doesn't work.

(Image credit: Joe Maring / Android Central)

9. Enter the code that is texted to your number and click Next.

(Image credit: Joe Maring / Android Central)

10. Click Turn On to enable two-factor authentication.

(Image credit: Joe Maring / Android Central)

With all of that done, you now have two-factor authentication ready to rock-and-roll on your Google account.

You'll enter only your password like normal when logging in to trusted devices but if you get a new phone or try to log in on a public computer, be prepared to have your phone in hand to confirm the Google Prompt.

How to set up Google Authenticator two-factor authentication

While the default Google Prompt is likely the best choice for most folks, you can also set up two-factor authentication with Google's Authenticator app. This is a free app that's used to generate random codes for your two-factor login, and along with your Google account, it can be used with any other app/website that supports two-factor apps.

Eager to start using this? Here's what you need to do.

1. On the 2-Step Verification page we were just on, scroll down and click Set Up under Authenticator app.

(Image credit: Joe Maring / Android Central)

2. Choose which phone you have and click Next (we're using Android for this example).

(Image credit: Joe Maring / Android Central)

For this next part, we're moving away from the desktop and heading to our Android phone.

3. Open the Google Play Store.

4. Search "Google authenticator."

5. Tap Install.

6. Open the app and tap Get started.

7. Tap Skip at the bottom left.

8. Tap Scan a QR code.

9. Tap Allow to grant camera access.

10. Scan the barcode. Keep the 6-digit verification code on your phone.

Lastly, we move back to your computer to finalize everything.

11. Click Next.

Source: Joe Maring / Android Central (Image credit: Joe Maring / Android Central)

12. Enter the code shown on the Google Authenticator app on your phone.

13. Click Verify.

(Image credit: Joe Maring / Android Central)

14. Click Done.

Feeling more secure with Google 2FA

Just like that, you know how to set up two-factor authentication on your Google account. Congrats!

You can't go wrong with either the Google Prompt or Google Authenticator, so feel free to choose whichever one works best for you. Google Authenticator might be a better choice if you have a bunch of other apps/sites that are also set up with two-factor, as it can act as one central place for all of your codes. 

I personally use Google Prompt since it offers just a little extra touch of speed and convenience that's nice to have if you're frequently logging in and out of your account. This is a matter of personal preference, so feel free to go with whichever one tickles your fancy. If you want a more definitive answer, we've ranked which 2FA methods we consider the most and least secure. 

One other method we didn't mention was how to add a security key to your Google account. If you prefer a physical key to the solutions above, that guide will take you through the necessary steps. Otherwise, if you're already using one of the best password managers, then some of those services such as 1Password and LastPass can also provide two-factor authentication codes for your accounts.

You may also want to check if your phone itself is secure. Our guide to the most secure Android phones will help you check which brands we consider the most reliable.

Andrew Myrick
Senior Editor — Smartphones (North America), Chromebooks & Tablets

Andrew Myrick is a Senior Editor at Android Central. He enjoys everything to do with technology, including tablets, smartphones, and everything in between. Perhaps his favorite past-time is collecting different headphones, even if they all end up in the same drawer.

With contributions from