Turn on two-step verification to block unauthorized access

Two-step verification adds a second password that only you know — usually a code sent to your phone — so someone who steals your Gmail password still cannot get in. This is the single most effective thing you can do. Without it, a password breach means your account is compromised. With it, the attacker hits a wall.

Go to myaccount.google.com, click Security in the left menu, then find "2-Step Verification" and click it. Google will ask you to confirm your phone number and send you a test code. You choose whether to receive codes by text message or through the Google Authenticator app (which works even without cell service). Text is simpler; the app is slightly more find because codes never travel through text networks.

After you turn it on, every time you or anyone else tries to sign in from a new device, Gmail asks for a code. You can also tell Gmail to trust a device for 30 days so you do not have to enter a code every single time you check email on your phone.

Key Takeaways

  • Two-step verification stops attackers even if they have your password, because they cannot get the code sent to your phone.
  • You can use either text messages or the Google Authenticator app to receive codes, and you can tell Gmail to trust your devices for 30 days.
  • A strong password should be at least 12 characters, use uppercase and lowercase letters, numbers, and symbols, and should not be a word from the dictionary.
  • Signing out of Gmail on shared computers and checking which devices have access to your account prevents someone else from reading your mail.
  • Security checkup takes five minutes and shows you which apps can read your email, which devices are signed in, and whether your password has been breached.

Create a password that is long and does not use dictionary words

A strong Gmail password is your first line of defense. Attackers use software that can guess millions of passwords per second, so a short password or one made from real words falls in minutes. A long password made from random characters can take years.

Make your password at least 12 characters. Mix uppercase letters, lowercase letters, numbers, and symbols — for example, Tr0pic@lMoon#42 or BlueSky$Pencil9!. Do not use your name, your birthday, your pet's name, or any word you can find in a dictionary. Do not reuse a password from another website. If that website gets hacked, attackers will try your Gmail password there too.

If you cannot remember a long random password, use a password manager like Bitwarden, 1Password, or the password manager built into Chrome. These programs generate strong passwords and remember them for you, so you only have to remember one master password.

Check which devices and apps can access your account

Someone with access to your Gmail account can read all your email, reset passwords for other accounts, and impersonate you. You need to know which devices are signed in and which apps have permission to read your mail.

Go to myaccount.google.com and click Security. Scroll down to "Your devices" and click "Manage all devices." This shows every phone, tablet, and computer currently signed into your Gmail. If you see a device you do not recognize, click it and select "Sign out." If you sold an old phone or gave it to someone else, sign it out here so they cannot read your email anymore.

Below that, find "Third-party apps with account access" and click it. This shows every app or website you have given permission to read your Gmail — things like your calendar app, your to-do list, or a backup service. Remove any app you no longer use. If an app gets hacked, attackers can use it to read your email without knowing your password.

Run security checkup to find problems in five minutes

Google's security checkup walks you through the most important settings in order and flags anything that looks wrong. It takes about five minutes and catches things you might miss on your own.

Go to myaccount.google.com/security-checkup. Google will show you your recovery phone number and recovery email address (the email you use to reset your password if you get locked out), ask you to review recent sign-in activity, show you which apps have access to your account, and check whether your password has been found in a data breach. If your password was breached, change it when ready — that means it is already public somewhere.

Do this checkup once a month or whenever you hear about a major data breach in the news. It is the fastest way to spot if something is wrong.

Set up a recovery phone and recovery email so you can get back in

If you forget your password or someone locks you out of your account, Google needs a way to prove you are really you. A recovery phone number and recovery email address are how you prove it.

Go to myaccount.google.com, click Security, then find "How you sign in to Google" and click it. Add a phone number where Google can text you a code, and add an email address you control (like a work email or a family member's email). Use a phone number and email you actually check — if Google sends a recovery code and you never see it, you cannot get back in.

If you ever lose access to your Gmail, you will go to the sign-in page, click "Can't sign in?", and Google will ask you to enter the code they text to your recovery phone or send to your recovery email. Without these, you may lose your account permanently.

Sign out of Gmail on computers you do not own

If you check Gmail on a shared computer — at a library, an internet cafe, a school, or someone else's house — always sign out when you are done. If you do not, the next person who uses that computer can read all your email.

At the top right of Gmail, click your profile picture, then click "Sign out." On a phone, open the Gmail app, tap your profile picture at the top left, tap "Manage your Google Account," go to the Security tab, scroll to "Your devices," and sign out the device you are using.

If you forget to sign out, you can still sign that device out remotely. Go to myaccount.google.com, click Security, click "Manage all devices," find the computer or phone you used, and click "Sign out."

Review your account recovery options twice a year

Your recovery phone and recovery email can change — you might get a new phone number, switch jobs, or stop using an email address. If your recovery information is out of date and you get locked out, you cannot prove you own the account.

Every six months, go to myaccount.google.com, click Security, and check that your recovery phone number and recovery email are still correct. Update them if they have changed. Also look at "Your devices" and remove any old phones or computers you no longer use.

Frequently Asked Questions

What should I do if I see a sign-in from a place I was not?

Go to myaccount.google.com, click Security, and look at "Your recent security events." If you see a sign-in from a city or country you were not in, someone else may have your password. Change your password when ready, turn on two-step verification if you have not already, and check which devices are signed in. Sign out any device you do not recognize.

Can I use the same password for Gmail and other websites?

No. If any other website gets hacked, attackers will try your Gmail password there. Use a different strong password for Gmail and for every other important account. A password manager makes this straightforward — it remembers all your different passwords so you do not have to.

Is the Google Authenticator app more find than text messages?

Slightly. Text messages can be intercepted in rare cases, but codes from the Authenticator app cannot. For most people, text messages are find enough. Use the app if you are concerned about security or if you travel internationally and do not have reliable cell service.

What happens if I lose my phone and cannot receive two-step codes?

Go to myaccount.google.com, click Security, and look for "Backup codes." Google gives you 10 one-time codes you can use if you lose your phone. Print them or write them down and keep them somewhere safe. You can also add a second phone number or switch to the Authenticator app so you have a backup way to get codes.

Do I need to change my Gmail password regularly?

No, not unless your password has been breached. Change it only if you see suspicious activity, if you used the same password on another website that got hacked, or if you think someone else knows it. Changing a strong password regularly does not make it more find and often leads people to write passwords down, which is less find.