WhatsApp hacked: how to get your account back
Quick answer
If someone took over your WhatsApp, reinstall WhatsApp and register your own number again: the SMS code goes to your SIM, which logs the other person out. Then turn on two-step verification with a PIN and email, check Linked devices and log out anything you don't recognize, and warn your contacts. Never share a WhatsApp code with anyone, even friends or 'support'.
Most WhatsApp takeovers start the same way: someone asks for the 6-digit code you just received, often pretending to be a friend or WhatsApp support. Once they have it, they register your number on their phone. Here's how to take it back and close the door.
Take your account back
- Open WhatsApp on your phone and register your number again.
- Enter the SMS code. Registering logs the attacker out.
- If they set a PIN, wait for the reset option and meanwhile tell your contacts.
Lock it down
- Settings, Account, Two-step verification: set a PIN and add an email.
- Settings, Linked devices: log out of any computer or phone you don't recognize.
- Check your carrier account for SIM swap or forwarding you didn't request.
Warn your contacts
Attackers message your contacts asking for money or for their codes. Post a status or message close contacts from another channel.
How it usually happens
The classic scam is 'I sent you a code by mistake, can you send it back?' Others pose as WhatsApp support or a delivery company. WhatsApp will never ask you for your code.
Frequently asked questions
Can someone hack WhatsApp without my code?
Usually they need your code, a SIM swap or access to your unlocked phone or linked devices.
What if they set a PIN on my account?
You'll need to wait for the reset option. Contact WhatsApp support from the app meanwhile.
Will I lose my chats?
Restore from your backup when you register again.
Should I report it?
Yes, through WhatsApp's in-app support, and to the police if money was involved.
Services in this guide
Keep reading
The WhatsApp “Send Me the Code” Scam: How It Works and How to Stay Safe
How the WhatsApp “I sent you a code by mistake” scam works, how to spot it, how to protect your account, and what to do if it happened to you.
Read the guide →Safety & privacySIM Swap Protection: What SIM Swapping Is and How to Stop It
What SIM swapping is, warning signs, and how to protect your accounts with a carrier PIN, port-out lock and 2FA that doesn't rely on SMS.
Read the guide →TroubleshootingForgot your WhatsApp two-step verification PIN
WhatsApp asks for your two-step verification PIN and you forgot it? How to reset it by email, the 7-day wait and how to avoid getting locked out.
Read the guide →Safety & privacyTwo-Factor Authentication Explained: SMS, Authenticator Apps, Passkeys and Security Keys
2FA explained: SMS codes, authenticator apps, passkeys and hardware security keys compared, with clear recommendations for your accounts.
Read the guide →Safety & privacyHow to Protect Your Phone Number From Spam, Data Brokers and SIM Swaps
Your phone number links to spam, data brokers, SIM-swap attacks and account takeover. Practical steps to protect it, and where a temporary number helps.
Read the guide →Safety & privacyWhat Is SMS Verification? How OTP Codes Work and Safer Alternatives
What SMS verification and one-time passcodes are, why sites use them, how codes are delivered, and how SMS 2FA compares to authenticator apps and passkeys.
Read the guide →