What to Do If Your Email or Social Media Account Is Hacked

Act in this order: get back in, lock the doors behind you, then warn the people the hacker may contact.

Short answer

If you think an account has been hacked: use the service’s official recovery page to get back in, change the password (and any others that used it), turn on two-factor authentication, check recovery details, forwarding rules and connected apps, then warn your contacts. Your email account comes first, because it can reset everything else.

In this article 5 sections
  1. Signs of a hacked account
  2. Steps to take back control
  3. Why email comes first
  4. Common questions
  5. Related guides
Screen full of random blue characters with the word PASSWORD highlighted in red.
Once a password is stolen or guessed, someone else can sign in as you. Photo: Santeri Viinamäki / Wikimedia Commons, CC BY-SA 4.0

Signs of a hacked account

The FTC lists common signs: you can’t log in, friends get messages you didn’t send, your sent folder has emails you didn’t write, or there are posts you didn’t make. A login alert from a place you’ve never been is another clue.

Notification panel listing alerts about hundreds of failed attempts to log in to an account from a new device.
Alerts like these, warning of failed log-ins from a new device, mean someone is trying to get into the account — act before they succeed. Screenshot: Rodrigo / Wikimedia Commons, CC BY 4.0

Steps to take back control

  1. Go to the official recovery page. Type the site’s address yourself or use its app — never a link from a message. The NCSC suggests searching for “how do I recover my [service] account” if you can’t find it.

  2. Change the password to a new, unique one. Change it anywhere else you used the same or a similar password.

  3. Turn on two-factor authentication so a password alone isn’t enough next time.

  4. Check the recovery email and phone number. Hackers often change these to lock you out again.

  5. Check email filters and forwarding rules. A hidden rule can quietly send copies of your mail to someone else.

  6. Sign out other sessions and remove apps or devices you don’t recognise.

  7. Tell your contacts that messages from you may be fake, especially requests for money or codes.

Google 2-Step Verification screen asking the user to check their phone and approve the sign-in.
With two-factor authentication on, a stolen password is not enough: a new sign-in also has to be approved on your phone, as in this Google prompt. Screenshot: Google / Wikimedia Commons, public domain

If it began with someone asking for a six-digit code on WhatsApp, read why you should never share your WhatsApp verification code.

Why email comes first

The FTC points out that someone in your email inbox can request password resets for your other accounts and approve them. Secure email before anything else.

You can’t get back in at all

Use the service’s account-recovery form and give as much detail as you can: old passwords, when you created the account, devices you used. Some services also offer help through ID checks. Meanwhile, secure your email and bank accounts.

The hacker may have your bank or card details

Contact your bank using the number on your card or its official app, and watch for unusual transactions. The NCSC notes that a hacked email account often leads to problems elsewhere.

Afterwards

Run your phone or computer’s security updates, check for apps you didn’t install, and consider a password manager so every password is unique.

If emails have stopped arriving and you are not sure why, see Gmail not receiving emails for how to check filters and forwarding someone may have set up.

If you are locked out of a Google or Gmail account, follow our step-by-step guide on how to recover your Google Account.

Common questions

How do I know if my email was in a data breach?

Check your address at haveibeenpwned.com, a free service that lists known breaches. If it shows up, change that password and any account where you reused it.

What if I can't get back in at all?

Use the service's official account recovery page, not a number or link from search ads or messages. Recovery can take days; prove ownership with old passwords, recovery email or phone, and ID if asked.

If it is your Instagram account that has been taken over, follow our step-by-step guide to getting a hacked Instagram account back.

Should I tell my contacts?

Yes. Warn friends and followers that messages sent from your account recently may not be from you, especially any asking for money or codes.

Sources and further reading

  1. How to Recover Your Hacked Email or Social Media Account — US Federal Trade Commission
  2. Recovering a hacked account — UK National Cyber Security Centre

Was this article helpful?

Tell us where you got stuck

Didn’t work? Tell us which step went wrong. We read every note and use them to fix and improve this guide.

Private. This goes only to the ByteExplained editors with the guide’s title. It isn’t published on the site.

Please don’t include passwords, QR or activation codes, or identifiers such as your phone number, EID or IMEI.

Comments

No comments yet. Questions and tips from readers are welcome.