Security operations

What to Do If Your WhatsApp Account Is Hacked: Recovery Guide

Locked out of WhatsApp or seeing messages you never sent? Here is how to take your account back and lock it down.

Cysoro Security TeamPublished · 8 min read
SECURITY OPERATIONS WhatsApp Hacked? Take your account back Re-register, log them out, lock it down Log back in Enter your number 6-digit code sent by SMS or call Two-step PIN if you set one ✓ Attacker logged out cysoro.com
Quick answer

If your WhatsApp account is hacked, re-register your phone number in the app with the 6-digit code sent to you — that logs every other device out at once. If you are asked for a two-step verification PIN you do not know, reset it by email or wait 7 days. Then warn your contacts, remove unknown linked devices, and turn on two-step verification.

Key takeaways

  • Re-registering your number with the 6-digit SMS code is the recovery — it logs the attacker out of every device immediately.
  • Never share your 6-digit registration code with anyone, not even someone claiming to be WhatsApp support.
  • If a PIN you never set blocks you, reset it by email if one is linked, or wait 7 days and try again.

Someone else is using your WhatsApp account, your contacts are getting strange messages from your number, or you have been logged out for no reason. Act quickly: the recovery takes a few minutes, and every minute you wait is a minute the attacker can use to scam your contacts.

How do you know your WhatsApp account is hacked?

The clearest signs are messages your contacts received that you never sent, being logged out of WhatsApp unexpectedly, or a notification that your number was registered on a new device. Any one of these means someone else has your account or a linked session.

Other warning signs are subtler. Check for a changed profile photo, name or status, groups you never joined, messages marked as read that you never opened, or a two-step verification PIN prompt when you never set one. An attacker who sets a PIN is trying to lock you out.

One sign is often missed: unknown devices in your linked devices list. Open Settings, then Linked devices, and look for a browser or phone you do not recognize. A linked session lets someone read your messages without taking over your number at all.

What you noticeWhat it usually meansHow urgent
Messages you never sentSomeone is using your account to message your contactsAct now
Logged out unexpectedlyYour number was registered on another deviceAct now
Code arrived you did not ask forSomeone is trying to register your numberDo not share it
Unknown linked deviceSomeone linked a browser or phone to your accountLog it out now
Profile or status changedSomeone has access to your account settingsAct now
PIN prompt you never setAn attacker enabled two-step verificationStart the 7-day reset

If you see any of these, assume the account is compromised and start the recovery below. Do not wait to be sure: re-registering is safe, and it costs nothing.

What should you do first if your WhatsApp is hacked?

Do three things in the first minutes: warn your closest contacts, do not share any code with anyone, and start re-registering your number. The attacker will try to use your identity while they still have it, usually to ask contacts for money or codes.

Call or message your family and closest contacts from another channel — a phone call, a text, or another app — and tell them your WhatsApp may be compromised and to ignore strange messages from your number. A short status update or broadcast reaches more people at once, but a direct call works best for the people most likely to be targeted.

Never share a 6-digit WhatsApp code with anyone, even if they claim to be a friend, a delivery driver or WhatsApp support. That code is the key to your account, and the most common hack starts with a message tricking you into handing it over.

How do you recover a hacked WhatsApp account?

Re-register your phone number in WhatsApp on your own phone. The moment you enter the 6-digit code, every other device logged into your account is automatically logged out, including the attacker's.

  1. Make sure the SIM with your WhatsApp number is in your phone. You need it to receive the code. If the SIM was stolen, get a replacement with the same number from your carrier first.
  2. Open WhatsApp and tap Log back in, then Continue.
  3. Enter your full phone number in international format and tap Next, then OK.
  4. Enter the 6-digit code you receive by SMS or phone call. Do not share it with anyone.
  5. Enter your two-step verification PIN if you set one. If you are asked for a PIN you never set, see the next section.
  6. Restore your chats from your backup in iCloud, Google Drive or local storage if WhatsApp offers it.

WhatsApp's own help page confirms this is the only way to remove someone else from your account: changing your password will not do it. Once you re-register, the attacker is out, but they may try again, so secure the account as described below.

Recover your WhatsApp account in four steps 1Keep your SIMsame number inyour phone 2Re-registerenter the 6-digitcode sent to you 3Enter your PINtwo-step verificationPIN, if you set one 4Lock it downwarn contacts, log outunknown devices Re-registering logs every other device out at once — including the attacker's.
The recovery flow, as documented by WhatsApp's Help Center. Illustration by Cysoro.

What if you are asked for a PIN you never set?

If you never set a two-step verification PIN but WhatsApp asks for one during recovery, the attacker probably set it to lock you out. You can still get your account back, but it takes longer.

If you linked an email address to your WhatsApp account, tap Forgot PIN, then Send email. You will get a reset link by email; open it, confirm, and set a new PIN. If no email is linked, you must wait 7 days: after that, you can reset the account and register again with the 6-digit code.

During those 7 days the account stays inaccessible to you, and anyone using it is logged out once you re-register. Use the time to warn your contacts, check your other accounts, and set up the email link for the future so a reset is instant next time.

What if your phone or SIM was stolen?

If the takeover happened because your phone or SIM was physically taken, secure the number first, because the number is the key to the account. WhatsApp is clear that it is not possible to recover an account without a SIM card carrying the same phone number.

Call your mobile carrier as soon as possible, ask them to block the SIM, and request a replacement SIM with the same number. Once the new SIM is active in a phone you control, re-register your WhatsApp number as described above.

There is no email or form that disables the account from afar, and WhatsApp says it cannot deactivate an account for someone else because it cannot verify ownership of the number. The replacement SIM is the fix, so do not waste time looking for a deactivation form.

How do you check for linked devices and log them out?

Open WhatsApp, go to Settings, then Linked devices. Every browser, desktop app and phone listed there can read your messages, so anything you do not recognize is a problem.

Tap each unknown device and choose Log out. This cuts off a linked session immediately. If you still have access to your account, do this before anything else: it is faster than re-registering and it stops a passive snooper in seconds.

After you log out unknown devices, check the list again a day later. If a device reappears, the attacker still has your number registered, and you need to re-register to force them out. If your phone itself is behaving strangely, read our guide on how to know if your phone is hacked before you trust it again.

What should you do after you get your account back?

Recovery is only half the job. The attacker may have your contacts, your groups and your profile, and they may try the same trick again. Work through this list before you call it done.

  • Turn on two-step verification. Go to Settings, Account, Two-step verification, and set a 6-digit PIN plus an email address for resets. This is the single most effective protection.
  • Check your profile and groups. Look for a changed name, photo or status, and groups you did not join. Leave any group you do not recognize and remove anyone the attacker added.
  • Warn your contacts again. Tell them the account is back under your control, and ask them to ignore any money requests or links sent while it was hacked.
  • Change passwords you shared. If you used the same password anywhere else, change it there too, and check whether it appears in known breaches with our pwned password checker.
  • Review your email and carrier account. A hacker who got your WhatsApp code may also have access to your email or carrier account. Turn on two-factor authentication on both.

How do you report WhatsApp fraud and scams?

Report the scam inside WhatsApp first, then to the authorities if money was lost. In the app, open the chat with the scammer, tap their name, and choose Report. WhatsApp says you should not report the compromised account you are trying to recover, because it might get banned and you could lose access to it.

If you or a contact lost money, report it to the FTC at reportfraud.ftc.gov and to the FBI's Internet Crime Complaint Center at ic3.gov. Include the phone number, the messages, and any payment details. Banks can sometimes recall a transfer if you call their fraud line immediately, so do that first.

Also tell the person being impersonated if the attacker pretended to be someone else. Their other contacts may be targeted next, and a warning from the real person stops the scam faster than any report.

Six signs your WhatsApp is hacked Messages you never sentcontacts report strangetexts from your number Logged out unexpectedlyyour number was registeredon another device Unknown linked devicea browser or phone inLinked devices you don't know Profile or status changednew photo, name orstatus you didn't set Code you didn't ask forsomeone is trying toregister your number PIN prompt you never setan attacker enabledtwo-step verification
Any one of these signs means you should start the recovery now. Illustration by Cysoro.

How do you stop it happening again?

Two-step verification is the fix that matters most. With it on, an attacker needs your PIN as well as the SMS code, and the code alone is useless to them. Set it now, add a recovery email, and write the PIN down somewhere safe — not in your phone's notes app under "WhatsApp PIN".

Next, protect the accounts around WhatsApp. Your email and your carrier account are the real targets, because both can be used to take over your number. Use strong, unique passwords for both, turn on two-factor authentication, and set a PIN or passcode with your carrier so nobody can move your number to another SIM.

Finally, build the habit that stops the most common attack: never share a verification code, and treat any message asking for one as a scam, even if it looks like it came from a friend. A friend's hacked account is the usual way these requests arrive. For more on spotting them, see our phishing email examples — the same tricks work over WhatsApp.

The bottom line

A hacked WhatsApp account feels like an emergency, but the fix is short: re-register your number with the 6-digit code, and the attacker is logged out everywhere at once. If a PIN you never set blocks you, reset it by email or wait 7 days.

Then lock the door behind you: turn on two-step verification with a recovery email, log out unknown linked devices, and warn your contacts. You can generate a strong PIN and check your other passwords with our free password generator.

Frequently asked questions

How can I tell if my WhatsApp account has been hacked?

The clearest signs are messages your contacts received that you never sent, being logged out of WhatsApp unexpectedly, a notification that your number was registered on a new device, unknown devices in Linked devices, or a changed profile photo, name or status. Any one of these means someone else has your account or a linked session.

Can someone hack my WhatsApp without my phone?

Yes. An attacker only needs your 6-digit registration code, which is why WhatsApp scams often try to trick you into sharing it. If they also set a two-step verification PIN, they can keep you locked out. They cannot read your past chats from a new device, because messages are stored on your phone and end-to-end encrypted.

What is the WhatsApp 6-digit code scam?

An attacker registers your number, which sends a 6-digit code to your phone, then messages you pretending to be a friend, a delivery company or WhatsApp support and asks you to share the code. If you share it, they can register your number on their device. Never share a WhatsApp registration code with anyone.

How long does it take to recover a hacked WhatsApp account?

Re-registering with the 6-digit code takes a few minutes and logs the attacker out immediately. If an attacker set a two-step verification PIN you do not know and no email is linked to the account, you must wait 7 days before you can reset it and get back in.

Can WhatsApp support recover my account for me?

No. WhatsApp cannot deactivate an account for you or recover it on your behalf, because it cannot verify that you own the phone number. Recovery works by re-registering the number on your own phone with the 6-digit code. If you lost the SIM, get a replacement with the same number from your carrier first.

Should I delete my WhatsApp account if it is hacked?

No, not while you are trying to recover it. Deleting the account removes your groups and data, and reporting the compromised account can get it banned, which may cost you access to it. Recover the account first by re-registering, then secure it with two-step verification.

What is a SIM swap attack on WhatsApp?

In a SIM swap attack, a criminal convinces your mobile carrier to move your number to a SIM they control, so WhatsApp verification codes go to them instead of you. If that happens, call your carrier immediately, ask them to block the SIM, and request a replacement SIM with the same number.

How do I turn on two-step verification in WhatsApp?

Go to Settings, then Account, then Two-step verification, and turn it on with a 6-digit PIN plus an email address you can use to reset the PIN. From then on, anyone who tries to register your number needs the PIN as well as the SMS code.

Sources

  1. WhatsApp Help Center — How to recover a compromised account
  2. Kaspersky — What to do if your WhatsApp is hacked
  3. FTC — Report Fraud
  4. FBI Internet Crime Complaint Center — IC3
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against WhatsApp's own Help Center recovery page, with reporting routes from the FTC and the FBI IC3.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free