How to Set Up Two-Step Verification on Gmail
A step-by-step walkthrough for turning on two-step verification so your Gmail stays yours.

Your Gmail password is the only thing standing between a stranger and your email right now. If that password ever leaks—through a data breach on some other website where you reused it, or a clever phishing page—anyone who has it can walk right in. Two-step verification adds a second lock on the door. Even if someone has your password, they still need something else: your phone, a code, or a small security key. This walkthrough gets you set up in about ten minutes.
Finding the Two-Step Verification Setting
You don’t turn this on from inside Gmail itself. It lives in your Google Account settings, which cover everything tied to your Google sign-in, not just email. Here’s how to get there.
- Open a web browser on your computer or phone and go to myaccount.google.com. If you’re not already signed in, enter your email and password now.
- Look at the menu on the left side of the page. Click Security.
- Scroll down until you see a section called How you sign in to Google. Inside that section, you’ll see an option labeled 2-Step Verification. It will say “Off” next to it if you haven’t set it up yet.
- Click on it. Google may ask you to sign in again, just to confirm it’s really you before letting you change security settings. This is normal.
- Click Get Started.
A quick note on wording: Google calls this feature “2-Step Verification,” while a lot of other websites call the same general idea “two-factor authentication” or “multi-factor authentication.” They’re all the same concept—a password plus one more proof that it’s really you.
Choosing Between a Phone Prompt, Code, or Key
Once you click Get Started, Google will walk you through picking your second step. You have a few options, and it helps to understand what each one actually asks of you before you pick.
Phone prompt (the easiest option for most people)
If you’re signed into your Google account on a smartphone already, Google can send a prompt straight to that phone whenever someone tries to log in from a new device. You just tap “Yes, it’s me” on your phone screen. No typing, no codes to copy down. This is the option Google recommends first, and for most readers it’s the right choice—it’s fast and hard for a scammer to fake, since they’d need your actual unlocked phone in hand.
The one thing to watch for: scammers sometimes try to trigger this prompt themselves (using a password they stole) hoping you’ll tap “Yes” out of habit without reading it. Always read what the prompt says before tapping anything. If you get a sign-in prompt you didn’t request, tap “No” and consider changing your password.
Text message or voice call codes
If you don’t have a smartphone, or you’d rather not rely on an app, Google can text you a six-digit code each time you sign in on a new device. You type that code into the login screen. If you can’t receive texts, Google can call you and read the code aloud instead.
This works fine, but it’s worth knowing it’s considered slightly less secure than a phone prompt or a security key, because in rare cases someone can trick a phone carrier into moving your number to a different phone. For most everyday households, though, text codes are a solid and simple choice—far better than no second step at all.
Authenticator app codes
Google also offers the option to generate codes through an authenticator app on your phone, instead of receiving them by text. The app shows a fresh six-digit code every thirty seconds or so, and you type whichever one is showing at the moment you log in. This avoids any risk tied to your phone number specifically, since the codes aren’t sent over the phone network at all. If you choose this route, Google’s setup screen will walk you through scanning a QR code with the app to link it.
Security key
A security key is a small physical device, often shaped like a USB stick, that you plug into your computer or tap against your phone to prove it’s you. Instead of typing anything, you just insert or tap the key when prompted. This is the strongest option available because there’s no code for anyone to steal or trick you into typing—but it does mean carrying a small object and remembering to keep it somewhere safe, which is more than most households want to manage. If you decide a key fits your situation, you can buy one separately and add it from this same Security page later; it’s not required to get basic protection turned on today.
For the vast majority of readers, the right approach is: start with phone prompts if you have a smartphone with your Google account already signed in, and add text message codes as a backup method. You can have more than one method set up at once, and Google will let you choose which one to rely on day to day.
Once you’ve picked your method and followed Google’s on-screen instructions to confirm it—usually by receiving a test code or test prompt and entering it—click Turn On. Two-step verification is now active on your account.
Saving Backup Codes Somewhere Safe
Here’s a situation worth picturing before it happens: your phone is dead, lost, or sitting in another room, and you need to check your email right now. If your only second step lives on that phone, you’re stuck. This is exactly what backup codes solve.
Back on the 2-Step Verification page in your account settings, look for a section called Backup codes. Click Set Up or Show Codes. Google will generate a list of ten codes, each one usable exactly once to sign in if your usual method isn’t available.
Here’s what to do with them:
- Click Download to save them as a text file, and also click Print if you have a printer handy.
- Store the printed copy somewhere physical and secure—a desk drawer, a filing folder, a fireproof box. Treat it the way you’d treat a spare house key, not the way you’d treat a sticky note on your monitor.
- If you saved the digital file, don’t leave it sitting in an easy-to-find spot like your desktop or downloads folder with an obvious filename. Rename it to something unremarkable, or move it into a folder that isn’t the first thing someone sees if they ever get into your computer.
- Cross off each code as you use it, since each one only works a single time. When you’re down to just a couple remaining, go back to this page and generate a fresh batch to replace them.
If you’re setting this up for a parent or grandparent, this step matters more than it might seem. Walk them through printing the codes and putting that paper in a specific labeled spot—a drawer in the kitchen desk, a particular folder—rather than leaving it loose. Then tell them exactly where it is, out loud, so they can find it themselves without calling you in a moment of confusion.
What Happens If You Lose Your Phone Later
This is the question that stops a lot of people from turning on two-step verification in the first place: “What if my phone breaks or gets stolen, and I get locked out of my own email?” It’s a fair worry, and it’s exactly why the setup above includes more than one layer.
If your phone is gone, here’s your path back in, in order of what to try first:
- Use a backup code. If you saved them as described above, go to the Gmail sign-in page on any computer or borrowed device, enter your password, and when asked for your second step, look for a small link that says something like “Try another way.” That will give you the option to enter one of your backup codes instead of using your phone.
- Use a trusted second device. If you’re signed into your Google account on a tablet, a second phone, or a computer that was already logged in, you may be able to approve the sign-in from there, or at least access your backup codes if you saved the digital copy on that device.
- Use Google’s account recovery process. If you have no backup codes and no other signed-in device, go to the Google Account Recovery page (you can search “Google account recovery” or go directly to g.co/recover) and follow the prompts. Google will ask you a series of questions—like the approximate date you created the account, other email addresses you may have added as recovery options, and so on—to verify ownership without needing your old phone. This process can take some time and isn’t instant, which is exactly why backup codes are worth setting up now, while everything is calm, rather than discovering you need them during an emergency.
There are a couple of habits that make this whole situation far less stressful if it ever happens:
- Add a recovery phone number and recovery email on the Security page of your Google account, separate from the phone you use day to day. These give Google another way to reach you and verify it’s really you asking for help.
- Keep your backup codes updated and findable. Check every so often that you still know where that printed sheet is, especially after moving, cleaning out a desk, or helping a parent reorganize their home.
- If you get a new phone, re-confirm your sign-in method on the new device before you get rid of the old one. Go back to myaccount.google.com, check that 2-Step Verification is still set up the way you expect, and generate a new batch of backup codes if you’re not sure where the old ones are.
Setting up two-step verification takes a few minutes once, and it quietly protects your email for years afterward. The small bit of friction—tapping a prompt, typing a code—is a trade most people make happily once they picture the alternative: a stranger reading years of personal email, password reset links, and photos, just because they guessed or stole one password. A second lock on the door is worth the extra key.


