A message arrives from someone already in your contacts, casual and unbothered: "Hey, I accidentally sent you a 6-digit code, can you send it back?" It feels like nothing — a small favor between people who know each other. Within seconds of replying, you might be staring at a WhatsApp login screen, locked out of your own account.
1. Understand what the code actually protects
WhatsApp sends this six-digit code to confirm that whoever is registering your number on a device is really you. It's the only thing standing between your account and someone else's device — which is exactly why scammers need you to hand it over.
2. Don't trust the request just because it looks like it's from a contact
This scam typically starts after an earlier victim's account has already been hijacked. The scammer then uses that account to message the next contact, asking for their code — meaning the request may genuinely appear to come from someone you know, while their real account is already compromised.
3. Verify through a call, not through WhatsApp itself
If someone asks you for a verification code, even a close friend or family member, call them on a regular phone call, not through WhatsApp, before doing anything. If their account has been hijacked, they likely won't answer, or will confirm they never sent such a message.
4. Never forward or read out the code to anyone
The code is meant only for you to enter into your own WhatsApp app. No legitimate friend, family member, or "WhatsApp support" contact ever needs you to share it with them under any circumstance.
5. Turn on two-step verification for extra protection
Enable two-step verification in WhatsApp's settings (Settings → Account → Two-step verification) and set a PIN. This adds a second layer of protection even if your six-digit SMS code is ever compromised.
A quick checklist if you receive an unexpected code
- Did I personally try to log into WhatsApp on a new device?
- Is someone asking me to share or forward this code?
- Does the request come from a contact acting slightly out of character?
- Have I verified with them through a real phone call, not WhatsApp?
- Do I have two-step verification enabled on my account?
If you haven't personally requested the code, never share it — regardless of who's asking.
Conclusion
This scam is a straightforward example of social engineering — manipulating trust rather than breaking any technical security. WhatsApp's code system is actually quite secure; the vulnerability is entirely in convincing you to hand the code over voluntarily, which is why awareness alone is the most effective defense.
Account takeovers like this often overlap with SIM-based attacks — our guides on duplicate SIM requests and call forwarding scams cover closely related ways your number itself can be targeted.
Got a message you're unsure about, even from someone you know? Paste it into our free checker for a quick first read.
Frequently asked questions
Why did I get a WhatsApp verification code I never asked for?
Someone entered your phone number into WhatsApp on their own device and requested a login code, which is automatically sent to your number by SMS — not because anything is wrong with your account, but because they're trying to access it.
Is it safe to share the code if a close friend or family member asks for it?
No. Even if the request appears to come from someone you know, their account may already be hijacked and is being used to reach you. Verify by calling them directly through a regular phone call, not through WhatsApp, before sharing anything.
What happens if I accidentally share the code?
The person who receives it can complete registration on their own device using your number, logging you out and taking full control of your WhatsApp account, including your chats and contact list.
How do I recover my WhatsApp account if it's already been hijacked?
Reinstall WhatsApp on your phone and request a new registration code sent to your number — this automatically logs the attacker out. Then enable two-step verification and alert your contacts that your account was compromised.
Further reading
Got a suspicious code request you want checked?
Run it through the checker