WhatsApp code scam: someone asked for my code — what do I do?
A friend writes: “Sorry, I sent you a 6-digit code by mistake, can you send it back?” It looks harmless, but that code is the key to your WhatsApp account. Here is how the trick works, how to lock your account today, and what to do if a scammer already got in.
How does the “I sent you a code by mistake” scam work?
Your WhatsApp account is tied to your phone number. When someone sets up WhatsApp on a new phone, WhatsApp sends a one-time 6-digit code by SMS to that number. Whoever types in that code can register the account on their device.
Scammers use this. They type your number into WhatsApp on their own phone, so the code lands on yours. Then they message you and ask for it. In Spain, the Guardia Civil warned about a message that says: “Hi. Sorry, I sent you a 6-digit code by SMS by mistake, can you pass it to me? It's urgent.”
How the code scam steals an account
- Scammer enters your number
- WhatsApp texts you the code
- Scammer asks you for it
- You send the code
- Scammer takes your account
The request often comes from a friend's real account that was hijacked the same way, so the name and photo look familiar. Singapore's Cyber Security Agency also describes scammers posing as WhatsApp support, or offering a “promotional code” that is really your registration code. Once inside, a scammer can turn on two-step verification to lock you out.
Which messages are traps, and what should I do?
Use this table when a message feels odd. One rule sits behind every row: a code that arrives on your phone is for you alone. Want practice? Try the Spot-the-Scam game.
| Message you got | What it really is | What to do |
|---|---|---|
| “I sent you a 6-digit code by mistake, can you forward it?” | Someone is trying to register your WhatsApp on their phone | Do not send it. Turn on two-step verification. Call your friend another way: their account may be hijacked. |
| “This is WhatsApp support. Send us your code to verify your account.” | A fake support agent | Do not reply. Never share the code with anyone. Report the chat. |
| “Enter this promo code to claim your prize.” | The “promo code” is your WhatsApp registration code | Ignore it and do not tap any link. |
| An SMS with a WhatsApp code you did not ask for | Someone typed your number into WhatsApp | Share it with nobody. Turn on two-step verification now. |
| “Hi Mum, I broke my phone, this is my new number. Can you pay a bill for me?” | Impersonation (the “friend in need” scam) | Call your child on the number you already have. Pay nothing until you have spoken. |
Phone calls can be a trap too. Some scammers ask WhatsApp to read the code out by voice call, then open your voicemail if it still has a default PIN. Ask your mobile operator how to change your voicemail PIN.
Do scammers need my phone to steal my WhatsApp?
Myth: A scammer would need my phone, or a special hacking tool, to take my WhatsApp.
Fact: No. Spain's national cybersecurity institute, INCIBE, explains that attackers only need a smartphone with the app and your phone number. The 6-digit code you share does the rest: it lets them register your account on their own phone while yours is still in your hand.
That is why two-step verification matters. With it switched on, anyone who registers your number on a new phone also needs a PIN that only you know. A stolen SMS code alone is no longer enough.
What is the “Hi Mum, new number” scam?
Here, a message from an unknown number starts with “Hello Mum” or “Hello Dad”. The sender says they lost or broke their phone, then asks for money for a new phone or an urgent bill. Some come back again and again until the victim realises.
Action Fraud, the UK's national fraud reporting centre, received 1,235 reports of these “friend in need” scams between 3 February and 21 June 2022, with losses of over £1.5 million. The police advice fits in three words: Stop. Think. Call.
- Call the person on the number you already have saved, or ask another family member.
- Send no money and no codes until you have heard their voice.
- To report the chat in WhatsApp, press and hold the message, tap Report and follow the steps.
- If you already paid, call your bank straight away, then report it to the police.
How do I turn on two-step verification on WhatsApp?
Two-step verification adds a 6-digit PIN that you choose. WhatsApp's Help Center gives these steps:
- Open WhatsApp Settings.
- Tap Account > Two-step verification.
- Tap Turn on (or Set up PIN).
- Enter a 6-digit PIN of your choice and confirm it.
- Add an email address you can open, or tap Skip. WhatsApp recommends adding one, because it lets you reset two-step verification.
- Tap Next, confirm your email, then tap Save or Done.
Turn on two-step verification
- Settings
- Account
- Two-step verification
- Turn on
- Choose a 6-digit PIN
- Add your email
Avoid easy PINs such as your birth date, and never share yours. WhatsApp does not check the email you add, so type it carefully. If you forget the PIN, you must wait 7 days to reset it. Keep your key recovery details offline with the emergency card.
Someone already took my WhatsApp. What do I do now?
Stay calm and act fast. These steps come from WhatsApp's help pages and from UK and Singapore government guidance. For a wider plan, open the Golden Hour checklist.
- Open WhatsApp on your phone and sign in again with your own phone number.
- Enter the 6-digit code that arrives by SMS. This logs the scammer out.
- If WhatsApp asks for a PIN you never set, the scammer turned on two-step verification. You must wait 7 days to get in without it, but the SMS code still logs them out.
- Once you are back in, open Linked devices, tap any device you do not recognise, and tap Log out.
- Turn on two-step verification with your own PIN and email.
- Warn your contacts (see the next section).
- Do not pay anyone who asks for money to give your account back. Paying only helps the criminals.
- If you lost money, call your bank at once and report it to the police. In the UK that is Action Fraud; in Spain, INCIBE's free 017 helpline can advise you.
Do not delete WhatsApp in a panic. Singapore's Cyber Security Agency notes that reinstalling it can erase your chat history unless you have a usable backup. Also change your voicemail PIN if it is still the default.
How do I warn my contacts?
Your contacts are the next target: the scammer may already be writing to them in your name. UK government guidance says to tell everyone on your contact list. Use a channel the scammer cannot reach, such as SMS, a call, email or another app.
Copy and send: “Warning: my WhatsApp was taken over. If you get a message from me asking for a code or money, do not reply and do not pay. Call me to check.”
Do this today
- Turn on two-step verification with your own 6-digit PIN.
- Add an email address you can open to that setting.
- Check Linked devices for anything you do not recognise.
- Change your voicemail PIN if it is still the default.
- Agree a family rule: we always call before sending money.
- See which email and phone number unlock your other accounts with the account map.
Never share vs safe to do
Never share
- The 6-digit SMS code
- Your two-step PIN
- Your voicemail PIN
Safe to do
- Call your friend on a known number
- Report the chat in WhatsApp
- Turn on two-step verification
How can RenKeep help?
RenKeep does not recover WhatsApp accounts: only WhatsApp can give access back, through the steps above. Our free check covers Instagram, Facebook, Gmail, Outlook and Yahoo, and our free safety tools, such as the Spot-the-Scam game and the emergency card, help you get ready before trouble starts. RenKeep never asks for passwords or codes and never logs in for you.
Frequently asked questions
Should I give my WhatsApp code to someone from “WhatsApp support”?
No. UK government guidance says not to share a WhatsApp one-time code or PIN with anyone. A message asking for it, even one that looks official, is a warning sign.
I shared the code but WhatsApp still works. Am I safe?
Act now. Turn on two-step verification and check Linked devices. If you were logged out, sign in again with your number and enter the new SMS code: that logs the scammer out.
Why do I have to wait 7 days to get back in?
If the scammer turned on two-step verification, WhatsApp asks for their PIN. Without it you must wait 7 days, and WhatsApp says it cannot speed this up. The new SMS code still logs the scammer out meanwhile.
Can RenKeep get my WhatsApp back?
No. Only WhatsApp can restore access, using the steps in this guide. RenKeep's free check covers Instagram, Facebook, Gmail, Outlook and Yahoo.
Sources
- WhatsApp Help Center, “How to manage two-step verification settings” (2026)
- WhatsApp Help Center, “How to unlink a device” (2026)
- Action Fraud (UK national reporting centre for fraud, City of London Police), “'Friend in need' scams cost WhatsApp users £1.5 million (press release, 19 July 2022)” (2022)
- Cyber Security Agency of Singapore, “Protecting Yourself From WhatsApp Hijacking (Advisory AD-2020-007)” (2020)
- UK Ministry of Justice, Security Guidance, “Protecting WhatsApp accounts” (2026)
- INCIBE (Spanish National Cybersecurity Institute), “¡Socorro me han secuestrado WhatsApp!” (2020)
- Genbeta (Spanish technology press), reporting a Guardia Civil warning, “Tu cuenta de WhatsApp corre peligro: la Guardia Civil avisa de una sencilla estafa que te la puede robar” (2024)
Sources are listed by name. We never link to outside websites from our guides.