zapnum
Security2 min read

The WhatsApp code scam: how it works and how to protect yourself

Published on November 3, 2026

You get an SMS with a WhatsApp code you did not ask for. Minutes later, a message from a friend: "I sent the code to your number by mistake, can you send it to me?". Do not. This is one of the app’s most common scams, and it works because it sounds like a favor.

How the scam works

  1. 1The scammer tries to register your number on their own WhatsApp. The app then sends a code by SMS to you.
  2. 2They contact you through a channel you trust, often the hacked account of someone you know, and ask for the code with an excuse.
  3. 3You hand it over. They type it in and take over your account on another device.
  4. 4With the account, they ask your contacts for money pretending to be you.

How to protect yourself

  • Never share the 6-digit code with anyone, by message, voice note or call. Not with friends, not with "support".
  • Turn on two-step verification. With the PIN, the code alone does not register your number. See how to turn it on.
  • Be wary of urgency. The scam depends on you acting without thinking.
  • Confirm another way. If an acquaintance asks for something odd, call them.

If you already shared the code

  1. 1Try to register your number again on your phone, with the code that arrives. That kicks the scammer’s session out.
  2. 2Turn on two-step verification now.
  3. 3Warn family, friends and groups through another channel that your WhatsApp was cloned, so nobody sends money.
The code is like a key: whoever has it gets in. That is why the code in the panel is yours alone: you type it into your own app and send it to nobody.

If your case is different, like the code not arriving, see the WhatsApp code is not arriving.

Frequently asked questions

I got a code I did not ask for. What does it mean?

Someone typed your number while trying to register WhatsApp. Do nothing with the code and do not share it. Turn on the two-step PIN for safety.

Does WhatsApp support ask for my code?

Never. Anyone who asks for the code, even claiming to be support, is trying to get into your account.

How do I know my account was cloned?

WhatsApp may log you out of your phone, or your contacts receive messages you did not send. Register the number again to get the account back.