How to Use Google Two-Factor Authentication
In this article
Google Two-Factor Authentication (2FA) adds a second check beyond your password when you sign in to your Google Account. Once it's on, you'll need your password plus a code from your phone, a prompt on your phone, or a physical security key. This guide shows you how to turn it on, use it, and fix common issues. You'll need your Google Account password and a phone that can receive text messages or run the Google Authenticator app.
What You'll Need
- Your Google Account email and password.
- A phone that can receive SMS text messages (for the text code option) or a smartphone with the Google Authenticator app installed (available for Android and iOS).
- Access to a web browser (desktop or mobile) to change your account settings.
- Optional: a physical security key that supports FIDO2/WebAuthn (like a YubiKey or Titan key) for extra security.
Step-by-Step
- Sign in to your Google Account. Go to myaccount.google.com and enter your email and password.
- Open the Security page. In the left menu, click Security. (On mobile, you may need to tap the menu icon first.) The labels can differ slightly by version or region, but you're looking for a section called How you sign in to Google.
- Find 2-Step Verification. Under How you sign in to Google, click 2-Step Verification. It might say Turn on if it's off, or Manage if it's already on.
- Click “Get Started.” You'll be asked to enter your password again to confirm it's you.
- Choose your first verification method. Google will ask how you want to receive codes. The most common options are:
- Google Prompts: You'll get a prompt on your phone asking “Is it you trying to sign in?” – tap Yes.
- Text message (SMS): Google sends a 6-digit code to your phone. Enter that code on the screen.
- Authenticator app: Open the Google Authenticator app, find your account, and enter the 6-digit code shown.
- Add a backup method. After the first method is set, Google will ask you to add a backup. This is important in case you lose your primary phone. You can add a second phone number, a backup code, or a security key.
- Turn on 2-Step Verification. Once you've added at least one method, click Turn On to activate 2FA. You'll see a confirmation screen.
- Save your backup codes. Google will show you a set of 10 backup codes. Write them down and store them somewhere safe (like a password manager or a physical safe). Each code works only once, and you can generate new ones later.
Common Mistakes
- Not adding a backup method. If you lose your phone and have no backup, you could be locked out of your account. Always add a second phone number or a backup code.
- Using SMS as your only method. SMS is convenient but less secure than an app or security key. If you can, use the Google Authenticator app or a security key as your primary method.
- Ignoring the “Don't ask again on this device” checkbox. When you sign in on a trusted device, Google may offer to skip the 2FA prompt for 30 days. If you check that box, you'll still be protected but won't be asked every time. Some people accidentally check it and then worry they've disabled 2FA – you haven't.
- Deleting the Authenticator app without removing the account first. If you uninstall Google Authenticator, you lose access to your codes. Always remove the account from the app before deleting it, or make sure you have backup codes.
- Sharing backup codes. Treat backup codes like passwords. Never share them, and never store them in an unencrypted note on your phone.
Tips
- Use Google Prompts as your primary method. It's faster than typing a code and more secure than SMS. You just tap “Yes” on your phone.
- Set up a physical security key if you're worried about phishing. Security keys are the strongest form of 2FA because they verify the site's identity too. You can add one under Security > 2-Step Verification > Add security key.
- Generate new backup codes periodically. If you think your codes might have been compromised, go to Security > 2-Step Verification > Backup codes and click Get new codes. Old ones become invalid.
- Use the Google Authenticator app for multiple accounts. You can add both your Google account and other services (like Facebook or Dropbox) to the same app. Just scan the QR code when setting up each service.
- Keep your phone's time accurate. The Authenticator app relies on your phone's clock. If the time is off, codes won't work. Enable automatic date/time in your phone's settings.
Troubleshooting
If you're having trouble with 2FA, try these in order:
- Check your time and date. On your phone, go to Settings > Date & Time and make sure “Automatic” is on. This fixes most Authenticator code mismatches.
- Make sure you're entering the code before it expires. Codes change every 30 seconds. If you're too slow, wait for a new code and try again.
- Resend the SMS code. If you didn't get a text, wait a minute and click “Resend code.” Check that your phone has signal and that you entered the correct phone number.
- Use a backup code. If you can't access your phone, enter one of your 10 backup codes. It works just like a regular code.
- Sign out and sign back in. Sometimes the sign-in flow gets stuck. Log out of your Google Account on the device, then log back in. You'll be asked for the 2FA code again.
- Re-add the account in the Authenticator app. If the app is showing wrong codes, remove your Google account from the app and add it again. You'll need to scan the QR code again from the 2-Step Verification page.
- If you're locked out entirely, use Google's account recovery. Go to accounts.google.com/recovery and follow the steps. It may take a few days, and you'll need to answer questions about your account (like when you created it or recent emails).
Frequently Asked Questions
What if I lose my phone?
Use a backup code (one of the 10 you saved) to sign in. After that, go to your security settings and remove the old phone, then add a new one.
Can I turn off 2-Step Verification later?
Yes. Go to Security > 2-Step Verification and click Turn off. You'll need to confirm your password. Turning it off makes your account less secure, so only do it if you're sure.
Do I need to enter a code every time I sign in?
No. On devices you trust, Google will ask you to confirm it's you (via a prompt) and then remember that device for 30 days. You'll only be asked again after that period or if you clear your browser cookies.
Is SMS 2FA safe?
It's better than no 2FA, but SMS codes can be intercepted via SIM swapping. Google Authenticator or a security key is more secure. If you use SMS, be aware of the risk.
Can I use the Google Authenticator app on multiple devices?
Yes, but you need to set it up on each device separately. Open the app, tap the “+” icon, and scan the same QR code from your Google settings. Both devices will show the same codes.
What are backup codes for?
Backup codes are one-time use codes that work like a regular 2FA code. They're for when you don't have your phone. Each code can be used only once, and you can generate a new set anytime.