Why that code matters so much
When you set up WhatsApp on a phone, WhatsApp sends a six-digit code by text to your number. So a code you didn't ask for means someone has typed your number into WhatsApp.
WhatsApp says this is often just someone mistyping their own number. But it can also be someone trying to take over your account. Without the code, they can't finish. With it, they can.
Here's the clue in that "send it back" message. The code didn't come from your friend's phone. WhatsApp sent it to your number, because someone typed your number in. And if they ask for another code later, it's the same trick.
WhatsApp's rule: never share the code
WhatsApp is very clear. Never share your registration code with others, "not even friends or family".
I like to think of it as the key to your front door. Nobody you trust ever needs a copy sent over a text message. And a message from a friend's name isn't proof that your friend wrote it. Their account may have been taken over, and whoever has it can pretend to be them in chats and groups.
How to turn on WhatsApp two-step verification
Two-step verification adds a second lock: a password that only you know. Let's set it up together.
- Open WhatsApp and tap You.
- Tap Account, then Two-step verification.
- Switch on Turn on two-step verification.
- Create a password and type it again. It needs at least 8 characters, with at least 1 letter and 1 number.
- Add an email address you can open, and tap Next.
- Type in the six-digit code WhatsApp emails you, and tap Verify.
- Tap Trust this device.
I checked these steps on an iPhone 11 Pro and a Samsung Galaxy A24, and both started at the You tab. On Android, if you don't see You, try ⋮ › Settings › Account. That's the route WhatsApp's help page shows.
Don't skip the email step. It gives you another way back in if you ever forget the password.
What WhatsApp two-step verification changes
Now, even if someone gets your six-digit code, WhatsApp asks for your password too. Keep every code to yourself, all the same.
If you set up a six-digit PIN in the past, WhatsApp's help page says it's upgrading PINs to passwords, and it explains how to switch.
Already sent the code?
First, don't panic. WhatsApp says changing your password won't remove someone who's already in. You need to recover your account.
- Open WhatsApp and tap Log back in, then Continue.
- Enter the six-digit code sent to your phone by text or call.
That logs everyone else out of your account. Then turn on two-step verification. And tell your friends and family, because the other person could pretend to be you in chats and groups.
Questions people ask
I forgot my WhatsApp two-step verification password. What now?
Tap Verify another way and choose email, SMS or a voice call. If none of those work, WhatsApp says a reset option unlocks after a few days.
I got a WhatsApp code I didn't ask for. Am I hacked?
Not necessarily. Often someone has simply typed the wrong number. Don't share the code, and you stay in control.
Can they read my old chats if they take over my account?
WhatsApp says no. Messages are stored on your device, so someone using your account on another phone can't read your past chats. They can still message people as you, though.
Worried about your email too? Here's how to check your Gmail forwarding settings after a break-in.
Have you ever had a "sent you a code by mistake" message? Now you know exactly what to say: nothing at all.



