Skip to content

Articles are published in English.

How to Enable 2-Step Verification on Gmail

By Alex Carter, Editor at GetVerifyCode · Updated November 11, 2026 · About and standards

Phone with a padlock and a lime checkmark shield for a second sign-in step, enabling 2-Step Verification on Gmail

By Alex Carter, Editor at GetVerifyCode

How do you enable 2-Step Verification on Gmail? Open your Google Account, select Security & sign-in, choose Turn on 2-Step Verification under "How you sign in to Google," and follow the on-screen steps. The setting protects Gmail and every other Google service, and Google recommends prompts or a passkey over text codes.

Key facts

  • Google's own steps are: open your Google Account, tap Security & sign-in, then under "How you sign in to Google" select Turn on 2-Step Verification, per Turn on 2-Step Verification.
  • If you don't sign in with a passkey, Google recommends Google prompts as your second step, and says prompts can help protect against SIM swap and other phone number-based hacks.
  • Google notes that verification codes sent by text or call can be vulnerable to phone number-based hacks, even though any form of 2-Step Verification adds security.
  • If you add a phone number for 2-Step Verification, Google says it may take up to 7 days for Google to trust that number.
  • Google says never to share your verification codes, and that you won't receive a call from Google to verify a code.

Turn on 2-Step Verification in Gmail, step by step

Gmail doesn't have its own 2-Step Verification switch. It uses your Google Account sign-in, so you turn it on once in the Google Account and it covers Gmail, YouTube, Drive and the rest. The menu names below come from Google's help page at the time of writing, and they can look slightly different on a phone, a computer or the Gmail app.

  1. Sign in to the Gmail account you want to protect, on a device you trust.
  2. Open your Google Account. On a computer you can go to myaccount.google.com and open the security section.
  3. Select Security & sign-in.
  4. Under "How you sign in to Google," select Turn on 2-Step Verification.
  5. Follow the on-screen steps. Google may ask you to sign in again and to confirm a phone number or another second step.
  6. When it's done, sign back in to any apps that ask. Some apps need a fresh sign-in after the change.

If you use Gmail through work, school or another organisation, these steps might not work. Google says to contact your administrator in that case.

Choose a second step: prompts, Authenticator, passkey or SMS

Once 2-Step Verification is on, Google asks for a second step whenever you sign in with a password. You can add more than one method, which is the best protection against getting locked out. Here is how the options compare, based on Google's help pages:

  • Google prompts: a Yes or No notification on an Android phone signed in to your account, or an iPhone with the Gmail, Google, YouTube or Google Photos app signed in; harder to steal than a text code; needs the phone online; best as your everyday second step.
  • Passkey or hardware security key: you sign in with your fingerprint, face scan or screen lock, or by connecting a small key; Google says these protect against phishing; best for your main devices and high-value accounts.
  • Google Authenticator or another code app: creates one-time codes on your phone, even without internet or mobile service; best when you travel or have weak signal. Our guide to 6-digit login codes from an authentication app explains how they work, and time-based one-time passwords (TOTP) covers the standard behind them.
  • Text message or voice call: Google sends a 6-digit code to a number you added; easy to set up; more exposed to phone number-based hacks; best kept as a backup method.
  • Backup codes: a set of 8-digit codes you print or download; best stored somewhere safe for the day you lose your phone.

If you are not sure how the second step differs from two-factor authentication, see our guide to two-factor vs two-step verification.

How to change the phone number for 2-Step Verification

Your Google Account can hold a recovery phone and separate 2-Step Verification phone numbers. Google's help page on changing the phone number on your account says changing the number under Personal info only affects some Google services, and lists 2-Step Verification among the services where you change the number in that service's own settings.

  1. Open your Google Account and select Security & sign-in.
  2. Open the 2-Step Verification section. Google may ask you to sign in again.
  3. Add your new phone number and confirm it with the code Google sends.
  4. Check that the new number works before you remove the old one.
  5. If you also use the number for recovery, update it under Personal info, then Phone, where you can add, update or remove a number.

Expect a waiting period. Google says it may take up to 7 days to trust a new 2-Step Verification number, and up to a week before a new number can verify sensitive actions such as a password change. If Google sees something suspicious about a new 2-Step Verification number, it may disable it and give you 30 days to confirm you added it.

Don't remove your old number until another second step, such as prompts or Authenticator, is working. And never use a short-lived or shared number for 2-Step Verification or recovery on a Google Account you want to keep. Google's own 2-Step Verification troubleshooting page warns that receiving codes on Google Voice can lock you out, and the same risk applies to any number you might lose.

After you turn it on: apps, backup codes and what not to do

  • Sign in again where needed. Some apps stop working until you sign in again, and Google says some may need an App Password.
  • Save backup codes. If you lose them, go to the 2-Step Verification section, select Show codes, then Get new codes, which revokes the old set.
  • Use "Don't ask again" carefully. Google says to tick "Don't ask again on this device" only on devices you regularly use and don't share.
  • Plan for a lost phone. Google lists other ways back in: another phone signed in to your account, another 2-Step Verification number, a saved backup code, a security key or a passkey on another device.
  • Never share a code. Google won't call you to verify a code, so anyone asking for one is a scammer. Our guide to fake Google verification code scams shows the common tricks, and a Google verification code you didn't request explains what an unexpected code usually means.

Related guides

About the author: Alex Carter is the editor at GetVerifyCode. Alex tests SMS verification routes across services and countries and writes plain-language guides on receiving OTP codes safely.

GetVerifyCode is not affiliated with the apps named in this article. Follow each app's terms and local law.

FAQ

FAQ

  • Open your Google Account, select Security & sign-in, and under "How you sign in to Google" choose Turn on 2-Step Verification. Follow the on-screen steps. It applies to your whole Google Account, so Gmail is covered automatically.

  • It is an extra sign-in step on top of your password, such as a Google prompt, an app code or a text code, so a stolen password alone isn't enough. Our guide to two-factor vs two-step verification explains the difference between the terms.

  • Open your Google Account, go to Security & sign-in, then the 2-Step Verification section, add the new number and confirm it with the code Google sends. Keep the old number until the new one works, and update your recovery phone under Personal info if needed.

  • Google recommends prompts or a passkey first. Between the two, an authenticator app is generally safer than text codes, which Google says can be vulnerable to phone number-based hacks. SMS is still better than no second step, so keep it as a backup.

  • Google says it may take up to 7 days to trust a new 2-Step Verification phone number. A trusted passkey or security key may speed this up, so set one of those up first if you are switching phones.

GetVerifyCode

Need a number now?

Browse services, pick a country, and confirm a quote. Top up your wallet from $1; each number is priced live. Unused holds return if no SMS arrives.

Services