What to do if your email is hacked: a first-hour plan, step by step
Email hacked or compromised? Follow this order: recover access, change the password, sign out others, undo hidden changes, turn on 2FA and warn your contacts.
If your email is hacked, get back into the account through your provider's official recovery page, change the password to a new one you have never used, and sign out every other device. Then check for the hidden changes attackers leave behind, turn on two-step verification and warn your contacts.
The order matters. Changing your password does nothing if the attacker has already added their own phone number as a recovery option, or set up a rule that forwards your mail to them. This plan is written to be followed from top to bottom, ideally within the first hour of noticing something is wrong.
Before you start, a quick check. A few things look like a hack but are not. A spam message that appears to come from your own address can be faked without any access to your account, a trick called spoofing. A single password reset email you did not ask for usually means someone typed your address, not that they got in.
Signs that someone really had access include messages in your Sent folder that you did not write, a password that suddenly stops working, sign-in alerts from places you have never been, and settings you did not change. If you see any of these, treat the account as compromised and start below.
Step 1: Regain access through official recovery
If you can still sign in, skip to step 2. If you are locked out, use only your email provider's own account recovery page.
- Go there directly. Type the provider's address yourself or use its official app. Do not use a link from a message, a search ad or a social media post.
- Use a device you trust. If you suspect malware on your computer, do this from your phone or another clean device.
- Answer as fully as you can. Recovery forms often ask for old passwords, when you created the account or addresses you email often. More correct detail helps.
- Try from a familiar place. Recovery usually goes more smoothly from a device and network you have used with the account before.
Never pay anyone who offers to "recover" your email. Real providers do not charge for account recovery, and people who advertise this service are usually scammers.
Step 2: Change the password and sign out everyone else
Once you are in, change the password before anything else. Make it long, make it new and make it unique: if the old password was used anywhere else, the attacker may already be trying it there. A password manager makes this easy.
Next, find the part of the security settings that lists where your account is signed in. Most providers offer an option to sign out of all other sessions. Use it. Changing a password does not always end sessions that are already open, so this step is what actually removes the intruder.
Step 3: Undo what the attacker may have changed
Someone who has had access to an inbox, even briefly, often makes changes so they can come back or keep reading quietly. Check each of these carefully. Menu names differ between providers and can move, so look in the general settings and the security section.
| Where to look | What an attacker might do | What to do |
|---|---|---|
| Recovery phone and email | Replace them with their own | Remove anything you do not recognise and add your own |
| Forwarding | Copy all your mail to their address | Turn off forwarding you did not set up |
| Filters and rules | Hide security alerts or replies from your contacts | Delete rules you did not create |
| Connected apps | Grant an app ongoing access to your mail | Remove apps you do not use or recognise |
| Signature and reply-to | Add a scam link or redirect replies | Restore your own details |
| Auto-reply | Send a message with a harmful link | Turn it off or rewrite it |
While you are there, look in the Sent, Deleted and Archive folders. They can show what the attacker sent and to whom, which helps with step 5.
Step 4: Turn on two-step verification
With two-step verification, a password alone is no longer enough to sign in from a new device. It is the best protection against the same thing happening again. An authenticator app, a passkey or a physical security key is stronger than text message codes, but any of them is far better than none.
Save the backup codes the provider gives you and keep them somewhere other than this inbox. Our guide on receiving verification codes safely explains why codes should only ever go to places you control.
Step 5: Warn your contacts
Compromised inboxes are often used to send scams to everyone in the address book, because people trust a message from a friend. Send a short note to your contacts, or at least to the people the attacker wrote to, saying:
- Your account was accessed by someone else on roughly this date.
- They should ignore any request for money, gift cards, codes or urgent help that seemed to come from you.
- They should not open links or attachments in those messages.
If the account is used for work, tell your IT team or employer too, as they may need to check shared systems.
Step 6: Secure accounts that reset through this email
Your email is the key to most of your other accounts, because that is where their password reset links go. Assume the attacker could have used it to get into some of them.
- Start with banking, payment and shopping accounts that store a card.
- Then your phone provider, cloud storage and social media.
- Search the inbox for "reset", "password" and "new sign-in" to see whether any other account was touched.
- Give each one a new, unique password and turn on two-step verification where it is offered.
- If you see unknown payments, contact the bank or card issuer through the number on your card.
Step 7: Watch for follow-up scams
After a break-in, many people receive messages that build on it. Some pretend to be your provider's support team, some claim to have "your files", and some offer paid help. They can look convincing because the sender may know real details from your inbox.
- Do not respond to messages that ask for payment to delete or return your data.
- Do not follow sign-in links in emails. Go to your provider directly.
- Be wary of phone calls claiming to be from a tech company. They do not usually call you about your account.
Longer-term steps after a hacked email
Once the urgent work is done, a few changes make a repeat much less likely.
- Run a security scan on your computer and phone, and update the operating system, browser and apps.
- Move every account to unique passwords stored in a password manager. Reused passwords are the usual way in.
- Review settings every few months: recovery details, signed-in devices, apps, forwarding and filters. Our guide on how to stop spam emails helps if the hack brought a wave of junk mail with it.
- Give your main address to fewer sites. Use a disposable email for one-time sign-ups so a breach elsewhere cannot point attackers at your real inbox. How your email ends up on spam lists explains how addresses spread.
One caution: do not use a temporary inbox for anything you need to recover later. As Is temp mail safe? explains, a throwaway address has no password, so it is for low-stakes sign-ups only, never as a recovery address or for banking.
A hacked email is stressful, but it is usually fixable. Work through the steps in order, take notes of what you changed, and check the settings again a week later to make sure nothing has crept back.
Frequently asked questions
What should I do first if my email account has been hacked?
Get back in through your provider's official recovery page, then change the password and sign out of all other sessions. After that, check recovery details, forwarding and filters for changes you did not make.
What do I do if my email is compromised but I can still log in?
Change the password straight away, sign out every other device and remove any forwarding, filters, apps or recovery details you do not recognise. Then turn on two-step verification.
How do I know if my email got hacked?
Common signs are sent messages you did not write, sign-in alerts from unfamiliar places, a password that no longer works and settings that changed by themselves. Spam that only appears to come from you can be spoofed without any access.
Should I delete my email account after it was hacked?
Usually not. Deleting it can lock you out of every account that uses it for password resets, and some providers may later let someone else take the same address. Securing it is normally the better choice.
Will changing my password kick the hacker out?
Not always. Open sessions and connected apps can keep working, so also sign out of all other sessions and remove apps you do not recognise.