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
- You cannot sign in even though the password is right, or your password or recovery details were changed.
- Friends and customers get messages you never sent, or your sent folder has emails you do not recognize.
- Security alerts report sign-ins from places or devices you do not know.
- There is a forwarding rule, filter, or automatic reply you did not set up. Google lists missing emails that are not in Trash and a changed username as other signs.
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.
- 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.
- 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.
- 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.
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.
- Google: in your Google Account, open Security, review “Recent security events” (select “No, it wasn’t me” for anything you do not recognize), then open “Your devices” and “Manage devices” and remove the ones you do not know.
- Microsoft: open Advanced security options on your account security dashboard, scroll to “Sign out everywhere,” and select Sign out. According to Microsoft’s help page, this covers browsers, apps, and other places where the account is used, it may take up to 24 hours, and an Xbox console must be signed out separately. Do not assume the intruder was kicked out instantly.
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 check | In Gmail | In Outlook (Microsoft account) |
|---|---|---|
| Automatic forwarding | Settings gear > See all settings > Forwarding and POP/IMAP tab > Disable forwarding > Save Changes | Settings gear > Mail > Forwarding; clear Enable forwarding and save (Outlook.com) |
| Filters and rules | Settings > See all settings > Filters and Blocked Addresses; delete any you did not create | Settings > Mail > Rules (new Outlook); rules can forward messages |
| Automatic replies and delegation | Check automatic reply and mail delegation (people with access to your Gmail) | Check automatic replies |
| Connected apps and accounts | In your Google Account, review apps with access and remove unfamiliar ones | Review connected accounts |
| Recovery details | Recovery phone and email, plus any alternate email | Security 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
- Keep two-factor authentication on, preferably with a security key, passkey, or authenticator app, and use a unique password for email.
- Be careful with links. If an email claims there is a problem with an account, contact the company using a phone number or website you know is real, not the details in the message. The FTC also lists security software with automatic updates, automatic phone updates, MFA, and backups as the basics.
- Check recent activity on the account from time to time.
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)



