How to recover a hacked email or social media account, step by step
Locked out or seeing posts you did not write? Follow these steps in order: official recovery page, new password, sign out other devices, two factor authentication and a check of linked apps.

In short
If your email or social media account has been hacked, work through these steps in order, ideally from a computer or phone you trust:
- Use the official recovery page if you are locked out.
- Change your password to a new, unique one.
- Sign out of all other devices and sessions.
- Turn on two factor authentication.
- Check your recovery email and phone number.
- Check linked apps, forwarding rules and recent activity.
- Warn your contacts and secure any other account that used the same password.
The US Federal Trade Commission (FTC) recommends the same core steps: change your password, sign out of all devices, turn on two factor authentication and check your recovery information. The rest of this guide explains each step and where to find it for the biggest services.
Signs your account has been hacked
You might notice one or more of these:
- Your password no longer works.
- Friends get messages or posts you did not send.
- You see sign in alerts or security codes you did not request. Apple lists unrequested two factor codes as a warning sign.
- Your recovery phone, email or name has changed.
- Emails disappear, or you find sent messages you did not write. Google lists both as signs of a compromised Gmail account.
- New forwarding rules or filters appear in your email settings.
Before you start: use a clean device
If malware on your computer or phone stole your password, it can steal the new one too. Microsoft recommends running a full antivirus scan before you change your password. On Windows, open Windows Security, choose Virus and threat protection, then Scan options, Full scan and Scan now. For phones, see our guide on how to tell if your phone has malware.
If you are not sure your device is clean, use another device you trust for the steps below.
Step 1: Get back in through the official recovery page
If you can still sign in, skip to Step 2. If not, go directly to the service's own recovery page by typing the address yourself, not through a link in an email or message:
| Service | Where to start |
|---|---|
| Google (Gmail, YouTube) | accounts.google.com/signin/recovery |
| Microsoft (Outlook, Hotmail) | Microsoft's sign in helper or password reset, linked from its hacked account help page |
| Apple Account (iCloud) | iforgot.apple.com |
| facebook.com/hacked | |
| instagram.com/hacked |
Tips that help recovery succeed:
- Use a device and location you have used before. Facebook specifically says to visit its hacked page on a device you previously used to sign in.
- Answer every question as best you can, even if you are unsure. Google advises this on its recovery page.
- Be patient with waiting periods. Apple says that if you cannot reset your password, account recovery can take a waiting period before you regain access. This delay protects you from the attacker doing the same.
Step 2: Change your password
Pick a long, unique password you have never used anywhere else. Apple and Microsoft both stress using a strong password. A password manager can create and remember it for you.
Google adds an important point: also change the password on any other site where you used the same password, and on accounts that use this email address to sign in.
Step 3: Sign out everywhere else
Changing your password does not always kick out someone who is already signed in. Remove unknown devices and sessions:
- Google: go to your Google Account, tap Your devices, then Manage devices, and select Don't recognize a device? for anything unfamiliar. Also review Security & sign-in and then Review security events.
- Apple: on account.apple.com, select Devices and remove any you do not recognize.
- Other services: look in the account's security settings for a list of where you are signed in, and log out of any session you do not recognize.
Step 4: Turn on two factor authentication
Two factor authentication (2FA) asks for a second proof, such as a code or a security key, after your password. Google explains that if your password is stolen, your account stays secure because the attacker does not have your phone or key. Apple suggests security keys for extra protection against phishing.
Choose the strongest option you are comfortable with. Our guide to two factor authentication methods compared explains the choices, and passkeys are even harder to phish.
Step 5: Check your recovery email and phone number
Attackers often change these so they can take the account back later. Check that every recovery email address and phone number belongs to you. Google lists unfamiliar changes to the recovery phone, recovery email, name and alternate email as settings to correct immediately.
Apple goes further: check with your mobile carrier that nobody has set up SMS forwarding on your phone number, and with your email provider that you control every email address on the account.
Step 6: Check linked apps, forwarding and recent activity
This step is easy to skip and is often how attackers keep access:
- Apps with access. In your Google Account, review apps with access to your account and remove anything you do not recognize. Social networks have similar settings for connected apps and websites.
- Email forwarding and filters. Google and Microsoft both tell you to check automatic forwarding, filters, automatic replies and, for Gmail, mail delegation. An attacker can quietly copy all your mail to another address.
- Recent activity. Look for posts, messages, purchases or deleted files you did not make. Google suggests checking Google Pay and Play purchases and reporting unauthorized charges.
- Browser extensions. Google suggests removing Chrome extensions you do not recognize.
Step 7: Tell your contacts and secure everything else
- Warn friends and family that messages sent from your account recently may be fake, especially requests for money or gift cards.
- Secure your other accounts, starting with any that used the same password. Check whether your email appeared in known breaches with our tip on checking if your email was in a data breach.
- Contact your bank if payment details were saved in the account. Google recommends this if you had cards saved or tax or passport information stored.
- In the US, if your identity was misused, the FTC directs people to IdentityTheft.gov for a recovery plan.
Quick reference: where each step lives
The same steps appear in different places on each service. Use this as a checklist:
| Step | Microsoft | Apple | |
|---|---|---|---|
| Recover access | Account recovery page | Sign in helper, or the account recovery form | iforgot.apple.com |
| Change password | Google Account, Security & sign-in | Change password after a full antivirus scan | Apple Account password settings |
| Remove devices | Your devices, Manage devices | Check connected accounts | account.apple.com, Devices |
| Check forwarding | Gmail forwarding, filters, delegation | Outlook forwarding and automatic replies | Check every email address on the account |
| Check recovery info | Recovery phone and recovery email | Security info | Phone numbers, plus carrier SMS forwarding |
Microsoft notes that after a compromise it may reset some account settings itself, so review connected accounts, forwarding and automatic replies even if you think nothing changed.
Watch out for recovery scams
A hacked account attracts a second wave of scammers. Be careful with:
- Comments and messages offering to "get your account back" for a fee. Legitimate services do not recover accounts through strangers in your inbox.
- Fake support numbers found in search ads. Use the help pages linked in the sources at the end of this guide.
- Messages asking for your verification code. A real service never needs you to read a code out to someone who contacted you.
- Emails warning that your account will be deleted unless you click right now. Urgency is a classic phishing tactic.
If you are unsure, stop and go to the service's website or app by typing its address yourself.
Prepare now, before anything goes wrong
Recovery is much faster when the service can confirm it is really you. Ten minutes today can save days later:
- Add a recovery phone number and a recovery email you control, and make sure they are current.
- Turn on two factor authentication, and save the backup codes somewhere safe, such as your password manager or a printed sheet at home.
- Write down which email address each important account uses. People often forget which address they signed up with.
- Keep a trusted device signed in, such as your own phone or laptop. Facebook asks you to start recovery from a device you have used to sign in before.
- Back up your email and photos so a lockout does not mean losing years of memories. Our guide on how to back up your phone and computer explains how.
If recovery does not work
- Try again from a familiar device and network, a few days later if needed.
- Use official support only. Microsoft's help page offers a sign in helper that can connect you with an agent. Apple's Contact page lists official phone numbers.
- Create a new account if you cannot recover the old one, and tell your contacts the old one is no longer yours.
Common mistakes
- Clicking a "recover your account" link in an email or DM. Type the address yourself.
- Paying a "recovery expert" who contacts you. These offers are commonly scams.
- Changing the password on an infected device. Scan first, or use another device.
- Forgetting forwarding rules. The attacker can keep reading your mail even after a password change.
- Reusing the old password with a small change. Use something completely new.
How to make it much harder next time
- A unique password for every account, stored in a password manager.
- Two factor authentication or passkeys on email, banking and social media.
- Up to date recovery details, checked once a year.
- Learn the phishing signs. Many account takeovers start with a fake sign in page. Our hint on how to spot a phishing email or text shows what to look for.
Frequently asked questions
What is the first thing to do if my email is hacked?
If you can still sign in, change your password straight away from a device you trust, then sign out of all other sessions. If you cannot sign in, go directly to the service's official account recovery page, such as accounts.google.com/signin/recovery for Google or iforgot.apple.com for Apple.
How do I recover a hacked Facebook or Instagram account?
Meta's help centers send you to facebook.com/hacked and instagram.com/hacked. Use them on a device you have signed in from before, and follow the steps to secure the account.
Why should I fix my email account first?
Password reset links for almost every other account go to your email. If someone controls your email, they can take over your other accounts too, so securing it first protects everything else.
Should I pay someone who offers to recover my account?
No. People who contact you offering paid account recovery, especially in comments or direct messages, are very often scammers. Use only the official recovery pages and support channels of the service.
How do I stop my account from being hacked again?
Use a unique, strong password stored in a password manager, turn on two factor authentication or passkeys, keep your recovery phone and email up to date, and review which apps and devices have access to your account.
Do I need to report a hacked account?
Report it to the service through its recovery or support pages. If money was taken or your identity was misused, contact your bank and, in the US, use IdentityTheft.gov for a recovery plan.
Sources
- FTC Consumer Advice: How To Recover Your Hacked Email or Social Media Account
- Google Account Help: Secure a hacked or compromised Google Account
- Microsoft Support: How to recover a hacked or compromised Microsoft account
- Apple Support: If you think your Apple Account has been compromised
- Facebook Help Center: Recover a hacked account
- Instagram Help Center: Hacked Instagram Account