Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How My Gmail Account Almost Got Hacked

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Your Gmail account can be compromised in minutes if you fall for a phishing link or reuse a password. This guide walks through a realistic near-miss scenario and shows you exactly how to spot the attack, secure your account, and recover if it happens to you. You'll need access to your Gmail settings and a recovery email or phone number.

What You'll Need

  • Access to the Gmail account you want to secure (or the one that was targeted)
  • A recovery email address or phone number that you can receive codes on
  • A password manager (recommended, but not required)
  • Two-factor authentication (2FA) app like Google Authenticator or a security key (optional)

Step-by-Step

  1. Recognize the phishing attempt. The attack usually starts with an email that looks like it's from Google, your bank, or a colleague. It says something like "Suspicious sign-in detected" or "Your account will be suspended." The link in the email goes to a fake login page that looks exactly like Gmail's. Check the sender's email address — it's often a string of random characters or a domain like gmail-support-security.com instead of @google.com.
  2. Do NOT click the link. If you already clicked it, stop typing. The fake page will ask for your email and password. If you entered your password, your account is at risk — move to step 3 immediately. If you didn't enter anything, close the tab and mark the email as phishing in Gmail.
  3. Change your password right away. Go to myaccount.google.com (type this directly into your browser, don't use a link from the suspicious email). Click Security in the left menu, then Password. You'll be asked to sign in again. Choose a new password that's at least 12 characters long and not used on any other site. If you can't sign in because the hacker changed your password, skip to the Troubleshooting section.
  4. Sign out of all other sessions. In the same Security page, scroll down to Your devices and click Manage all devices. You'll see a list of devices that are signed into your account. If you see a device you don't recognize (like a phone model you don't own or a location you've never been to), click the three-dot menu next to it and select Sign out. This will kick the hacker out immediately.
  5. Turn on two-factor authentication (2FA). Still in Security, find 2-Step Verification and click Get started. Follow the prompts to add your phone number. Google will send you a text with a code. Enter it, then choose whether you want to use prompts or a code generator. This means even if someone gets your password, they can't sign in without your phone.
  6. Check for forwarding rules. Hackers often set up email forwarding so they can read your mail without logging in. Go to Gmail, click the gear icon (top right), then See all settings → Forwarding and POP/IMAP. If there's a forwarding address you didn't set up, click Remove. Also check Filters and Blocked Addresses — delete any filter that looks suspicious (like one that deletes emails with "bank" or "password" in the subject).
  7. Review recovery info. In Google Account Security, click Recovery email and Recovery phone. Make sure they're yours. If the hacker added their own, remove it. This step is critical because recovery info is how you'd get back in if you're locked out.
  8. Run a security checkup. Go to myaccount.google.com/security-checkup. Google will walk you through reviewing your devices, recent security events, and account permissions. Remove any third-party apps you don't recognize (like a "Google Docs" app that isn't actually Google).

Common Mistakes

  • Clicking links in emails. Even if the email looks official, always type the URL yourself or use a bookmark. Phishing pages can look identical to the real thing.
  • Reusing passwords. If you use the same password on a forum that gets hacked, attackers will try it on Gmail. Use a unique password for each account.
  • Ignoring Google's warnings. If you get a "New sign-in" notification, don't dismiss it. Check if it was you.
  • Not enabling 2FA. It's the single most effective step you can take, yet many people skip it because it adds a few seconds to sign-in.
  • Sharing your password via email or text. Google will never ask for your password in an email. If someone does, it's a scam.

Tips

  • Use a password manager like Bitwarden or 1Password to generate and store strong, unique passwords. Then you only need to remember one master password.
  • Set up a recovery email that's a different provider (like Outlook or ProtonMail) so a hacker can't access both.
  • If you use an authenticator app, print out the backup codes Google gives you and store them somewhere safe (like a drawer). They're the only way to get in if you lose your phone.
  • Check your Gmail settings once a month for forwarding rules and filters — it takes two minutes.
  • If you get a suspicious email, hover over the link (don't click) to see the actual URL. If it's not accounts.google.com, it's phishing.

Troubleshooting

If you can't sign in because your password was changed:

  1. Go to accounts.google.com/signin/recovery.
  2. Enter your email address and click Forgot password?.
  3. Google will ask you to verify via your recovery email or phone. If you have access, you'll get a code and can reset the password.
  4. If you don't have recovery info set up, you'll be asked security questions (like the date you created the account). Answer as best you can.
  5. If that fails, you'll need to fill out Google's account recovery form at support.google.com/accounts/answer/7682439. Be honest and provide as much detail as possible — the more you can prove you're the owner, the better.

If you still see suspicious activity after changing your password:

  1. Go to Security > Your devices and sign out of everything again.
  2. Check your app passwords (Security > App passwords) and revoke any you don't recognize.
  3. Run a virus scan on your computer and phone — keyloggers can steal your new password.

Frequently Asked Questions

How did the hacker get my password if I never clicked anything?

It could be from a data breach on another site where you used the same password. Check haveibeenpwned.com to see if your email appears in known breaches.

Can someone hack my Gmail without my password?

Yes, if you have 2FA disabled, they could use a session cookie stolen from your browser or trick you into approving a login prompt. That's why 2FA is so important.

What should I do if I already clicked the phishing link but didn't enter my password?

You're probably safe, but change your password anyway and run the security checkup. Also clear your browser cookies and cache.

Will Google notify me if someone logs in from another country?

Yes, Google usually sends a security alert to your recovery email or phone. If you get one, click "Check activity" and sign out the unknown device.

Is it safe to use my Gmail password on other websites?

No. Never reuse your Gmail password anywhere else. If one site gets breached, attackers will try that password on Gmail.

What if I lost my phone and can't receive 2FA codes?

Use your backup codes (if you saved them) or your recovery email. If you have neither, you'll have to go through Google's account recovery process, which can take a few days.