WDYS
Protect your business

My email got hacked: what to do step by step in Gmail and Outlook

The order the FTC, Google, and Microsoft recommend, plus where to look for the forwarding rules and filters an intruder may have left.

By Vagner Soares · Updated · 7 min read

Guide cover: My email got hacked: what to do step by step in Gmail and Outlook

If your email was hacked, work through this order: scan your computer with up-to-date security software, change the password (or use your provider’s recovery process if you are locked out), sign out of all devices, turn on two-factor authentication, and then look for what the intruder left behind: forwarding rules, filters, recovery details, and connected apps. After that, change the passwords on linked accounts and warn your contacts. Below are the paths for Gmail and Outlook (a Microsoft account). Other providers follow the same logic; use their help center for the exact menus.

Signs your email was hacked

The FTC suggests checking your sent and deleted folders for activity you did not make. In a Microsoft account, the Recent activity page shows when and where you used the account over the last 30 days. If you see an Unusual activity section, choose “This wasn’t me”: Microsoft then asks you to change your password and update your security info.

Step 1: Scan your device and change the password

The FTC’s recovery guide starts with the device: update your computer security software, run a scan, delete anything suspicious it finds, and restart. Microsoft says to run a full scan before you change your password, which makes sense: malware on the device could capture the new password. Google also advises trusted antivirus software and, as a last resort, resetting the computer to factory settings after backing up the files you need.

  1. Scan. On Windows: Windows Security > Virus & threat protection > Scan options > Full scan > Scan now. Expected result: a report with no threats, or with the threats removed.
  2. Change the password to something long and unique that you use nowhere else. If you doubt your computer, do it from a device you know is clean, such as your phone.
  3. If you are locked out, use the provider’s recovery process. Google’s hacked account page points to its recovery page for cases where someone changed your password or recovery phone, deleted the account, or you cannot sign in for another reason, and says to answer the questions as best you can. For Microsoft, use the sign-in helper and password reset on its hacked account page.
One password per account: a password manager lets you use a different password on every site without memorizing them.

Step 2: Sign out everywhere

Changing the password does not help if the intruder is still signed in. The FTC’s advice is simply to sign out of all devices.

Step 3: Turn on two-factor authentication

This is the step that does the most to make a stolen password useless. Google describes 2-Step Verification as your password plus something you have, such as your phone, a security key, or a printed code. CISA says that users who enable MFA are significantly less likely to get hacked, and that any MFA is better than none.

The method matters. CISA calls FIDO/WebAuthn the only widely available phishing-resistant authentication, because it blocks a login even if you are tricked into visiting a fake sign-in page. Google says passkeys and hardware security keys add phishing protection, while codes sent by text or call can be vulnerable to phone-number-based hacks. If you can, choose a passkey, a security key, or an authenticator app over text messages.

Step 4: Check for the intruder’s back doors

Because someone else had access, some settings may have been changed. Microsoft says to review connected accounts, forwarding, and automatic replies. Google lists mail delegation, automatic forwarding, automatic reply, filters, labels, and IMAP/POP access. A filter or rule can delete, hide, or forward messages automatically, so one you did not create can hide security alerts from you.

What to checkIn GmailIn Outlook (Microsoft account)
Automatic forwardingSettings gear > See all settings > Forwarding and POP/IMAP tab > Disable forwarding > Save ChangesSettings gear > Mail > Forwarding; clear Enable forwarding and save (Outlook.com)
Filters and rulesSettings > See all settings > Filters and Blocked Addresses; delete any you did not createSettings > Mail > Rules (new Outlook); rules can forward messages
Automatic replies and delegationCheck automatic reply and mail delegation (people with access to your Gmail)Check automatic replies
Connected apps and accountsIn your Google Account, review apps with access and remove unfamiliar onesReview connected accounts
Recovery detailsRecovery phone and email, plus any alternate emailSecurity info: phone number and alternate email

Sources: Google, Gmail Help on automatic forwarding; Microsoft, Outlook.com forwarding and rules help pages. Menu names vary by version, so check them against the provider’s page.

Step 5: Secure linked accounts and money

If the intruder had access for a while, they may have reset passwords elsewhere. Google says to change passwords on sites where you reused your email password, that contact you at the address, where you sign in with it, and where you saved passwords. Start with banking, payment apps, social media, and shopping. Google also suggests running its password checkup tool to find weak or reused passwords, reporting unauthorized charges, and removing payment methods you do not recognize. If you stored card or bank details in the account, or someone may be impersonating you, contact your bank.

The FTC’s phishing guide adds one more: if your Social Security, credit card, or bank account number may be exposed, go to IdentityTheft.gov for steps specific to the information lost.

Step 6: Warn your contacts

Tell friends, family, and customers that your email was compromised. The FTC says to warn them not to click links in emails from you or respond to requests for money. That stops the scam from spreading under your name. If this is your business email, the risk is higher; see the guide to a hacked business Google account.

How to keep it from happening again

The same caution that helps you spot a fake online store protects you from phishing, one of the ways a password gets lost. If the intruder used your name to message people on WhatsApp, see WhatsApp scams and how to protect yourself.

Sources: FTC, CISA, Google, and Microsoft. Menus change often, so confirm on the official pages before you act.

Frequently asked questions

What is the first thing to do if my email is hacked?

Update your security software and scan your device, change the password (or use the provider’s recovery process if you are locked out), sign out of all devices, and turn on two-factor authentication. Then check forwarding rules, filters, and recovery details.

How did someone get my email password?

Often through a phishing message, a password reused on another site that was exposed, or malware on your device. A unique password, two-factor authentication, and a clean device close those doors.

Should I make a new email address instead?

Usually not necessary. Recover and secure the existing one, because starting over means losing access to the accounts linked to it. Consider a new address only if recovery fails.

What if the hacker changed my recovery phone and email?

Use the provider’s account recovery page and answer the questions as best you can. Google’s guide covers cases where someone changed your password or recovery phone. Once you are back in, remove any recovery details that are not yours.

Sources: FTC Consumer Advice: How To Recover Your Hacked Email or Social Media Account · FTC Consumer Advice: How To Recognize and Avoid Phishing Scams · Google Account Help: Secure a hacked or compromised Google Account · Gmail Help: Automatically forward Gmail messages to another account · Microsoft Support: How to recover a hacked or compromised Microsoft account · Microsoft Support: How to sign out of your Microsoft account everywhere · Microsoft Support: What is the Recent activity page? · Microsoft Support: Turn on or off automatic forwarding in Outlook.com · Microsoft Support: Use rules to automatically forward messages · CISA: More than a Password (multifactor authentication)