Short answer: If your WhatsApp account has been hacked, put the SIM for your number in your own phone, open WhatsApp and register your number again with the six-digit code sent by SMS or voice call. Only one phone can be registered to a number at a time, so re-registering logs the attacker’s phone out. If WhatsApp then asks for a two-step verification PIN you never created, the attacker set it: use “Forgot PIN” and either reset it through your recovery email or wait out the seven-day lock. If you still have access, check Linked devices first and log out anything you don’t recognize. Then warn your contacts by phone, because the attacker will almost certainly have used your account to ask them for money or codes.
First, work out which kind of takeover you have
WhatsApp hijacks come in two forms, and the fix depends on which one happened. In a re-registration takeover, someone registered your phone number on their own device. Your app shows a message saying your number is no longer registered on this phone, and you are effectively logged out. The attacker can send messages as you and receive new ones, but they do not get your old chat history, because that lives on your phone and in your own backup.

In a linked-device takeover, the attacker added their browser or computer as a companion device, usually by tricking you into scanning a QR code or typing a pairing code on a fake page. Your phone keeps working normally, which is why this kind is easy to miss. The attacker quietly reads new messages and may see recent conversations synced to the linked device.
| What you see | Likely takeover type | First move |
|---|---|---|
| “Your phone number is no longer registered with WhatsApp on this phone” | Re-registration on another phone | Re-register your number immediately |
| Friends say you messaged them, but your app looks normal | Linked device or web session | Settings > Linked devices, log out every unknown session |
| WhatsApp asks for a PIN you never set | Attacker enabled two-step verification | Forgot PIN, then email reset or seven-day wait |
| Account banned or restricted for spam | Attacker used it to blast messages | Tap “Request a review” in the restriction notice |
How attackers usually get in
Almost every WhatsApp hijack involves the registration code, not a broken password. Singapore’s Cyber Security Agency describes the most common script: a message, often from a friend’s already-hijacked account, says a code was sent to you by mistake and asks you to forward it. That code is your own WhatsApp registration code, and handing it over lets the attacker move your account to their phone. Variants dress the same request up as a promotion, a voting contest or a parcel delivery.
A quieter method abuses voicemail. The attacker requests verification for your number repeatedly until WhatsApp offers a voice call. If your phone is off or ignored, the call goes to voicemail, and if your carrier voicemail still uses a default PIN, the attacker dials in remotely and listens to the code. The linked-device trick works differently: a fake page promises to show you a photo or a document, then asks you to “verify” by entering a pairing code in WhatsApp, which actually links the attacker’s browser to your account.
Recovering a re-registered account step by step
- Make sure you control the SIM. If your phone shows no signal or “SIM not provisioned”, the problem may be a SIM swap at your carrier rather than a WhatsApp code leak. Call your carrier from another phone before anything else, because no WhatsApp fix works while someone else holds your number.
- Open WhatsApp and enter your number. Request the code by SMS. If the SMS option is on a cooldown timer, wait for it or choose the voice call option.
- Enter the six-digit code. As soon as you verify, the attacker’s device is signed out of your account.
- Restore your chats. If WhatsApp offers to restore from iCloud, Google Drive or a local backup, accept. A backup made before the takeover is safest.
- Turn on two-step verification yourself. Settings > Account > Two-step verification. Choose a PIN you don’t use anywhere else and add an email address so you can reset it later.
If WhatsApp says you have requested too many codes, stop trying for a while. Repeated requests extend the lockout, and the attacker may be triggering requests too. Waiting a few hours usually works better than hammering the button.
When WhatsApp asks for a PIN you never created
Attackers often switch on two-step verification right after taking over, specifically to stop you re-registering. You will see a prompt asking for a six-digit PIN. Tap Forgot PIN? If the attacker did not add an email address, or added their own, you will be told you can reset the PIN after a waiting period. In practice this is a seven-day wait, and you cannot shortcut it. The useful news is that the attacker is also stuck: anyone who tries to register the number without the PIN faces the same wait, and once the period expires, the person who holds the SIM can register again and the old PIN is removed.
During that week, keep the SIM in your phone, don’t share any codes, and use the time to warn contacts and secure other accounts that send codes to the same number. Our guide to WhatsApp two-step verification PINs and passkeys explains how to set the PIN and recovery email up properly once you’re back in, so a future attacker hits that wall instead of you.
Cleaning out linked devices and web sessions
If your phone still works, the attacker is probably on a linked device. On Android, tap the three-dot menu, then Linked devices; on iPhone, go to Settings > Linked devices. Every browser, Windows or Mac app, and tablet connected to your account appears here with a last-active time. Tap each one you don’t recognize and choose Log out. If you aren’t sure which are yours, log out all of them and reconnect your own computer afterwards; it takes a minute to scan the QR code again.

After logging out, check Settings > Privacy for settings the attacker might have changed, such as who can add you to groups, and look at your profile name, photo and About text. Attackers sometimes change the display name to look like a business or support account. Also check whether a passkey or email address you don’t recognize has been added to the account under Settings > Account.
Warn contacts before the scam messages work
The real damage from a hijacked WhatsApp usually lands on your friends. Typical follow-up messages include “I changed my number, please send money for an urgent bill”, “Can you forward me the code I just sent you?” and links to fake investment groups. Call or text close family directly, post a short warning on another channel you use, and once you’re back in, set your About line to something like “My account was hacked on [date]; ignore money requests” for a few days. If anyone already paid, they should contact their bank immediately and report to the police where they live.
Check your group chats too. Attackers sometimes post scam links in every group the victim belongs to, or try to make themselves admin of groups you manage. Remove any admins you didn’t appoint and delete messages sent in your name if they are still visible.
Lock the side doors that made it possible
- Change your voicemail PIN with your carrier, or disable remote voicemail access if you don’t use it. This closes the voice-call code route.
- Ask your carrier about a SIM lock or port-out PIN so nobody can move your number without extra verification. Our guide on SIM swap protection covers what to ask for.
- Review other accounts tied to the same number, especially email, banking and social media that use SMS codes. If the attacker had your number for even a short time, assume they may have tried those too.
- Turn on security notifications so WhatsApp tells you when a contact’s security code changes, and learn to treat any unexpected registration code as an attack in progress.
For a broader walk-through of locking every setting down, see our WhatsApp account security checklist, and if more than one service was hit at once, follow the first-hour plan for any hacked account.
If nothing works
If you cannot re-register after the seven-day wait, or your account was banned after the attacker spammed from it, contact WhatsApp from inside the app using Settings > Help > Contact us, and explain that the account was stolen. Include your full phone number in international format. Be wary of anyone on social media offering to recover WhatsApp accounts for a fee; WhatsApp support is free, and these “recovery agents” are a well-known second-wave scam aimed at people who just lost an account.
Frequently asked questions
Can the hacker read my old WhatsApp messages?
After a re-registration takeover, no: old chats stay on your phone and in your own backup. A linked device can see messages that arrive while it’s connected and may sync some recent history, which is why you should log out unknown devices quickly.
Will deleting WhatsApp get rid of the hacker?
No. Deleting the app only removes it from your phone, and the attacker stays logged in on theirs. Re-registering your number is what signs them out. Deleting first can also cost you chats if you don’t have a backup.
Why do I have to wait seven days?
The wait applies when two-step verification is on and nobody can supply the PIN or a reset email. It protects accounts from people who briefly gain control of a number, and it blocks the attacker in the same way it blocks you.
Should I report the hack to the police?
Yes if money was lost by you or your contacts, or if the attacker is threatening or extorting you. A report helps banks investigate transfers and creates a record if your number is misused later.



