Guide Scams and phishing
I got a verification code I didn't request: what it means and what to do
Your phone buzzes with a code from Google, WhatsApp, Microsoft or your bank – but you weren't signing in to anything. Sometimes a 'friend' messages a minute later saying they sent it to you by mistake and could you forward it. Here's why the code arrived, when it's just someone's typo and when it's an attempt to take over your account, and what to do if you've already handed it over.
Key points
- A service sends a verification code whenever someone enters your phone number or email to sign in, sign up or reset a password. It may be a stranger's typo – or someone trying to get into your account.
- The code itself can't hurt you. As long as you don't share it, nobody can use it. Google's advice for a code you didn't request: ignore the text and delete it.
- Anyone who asks you for the code – a 'friend', a buyer on a marketplace, your 'bank', 'support' – is a scammer. Every time, even if the message comes from a contact's real account.
- Already shared it? Depending on who sent the code, re-register the app, change your password, or call your bank or mobile provider straight away – see the table below.
Why the code arrived
A service sends a one-time verification code whenever someone enters your phone number or email address to sign in, sign up or recover a password. The code is there to prove that whoever is signing in has your phone. So an unexpected code means one of three things:
- A typo. Someone mistyped their own number or email and the code landed with you instead. It's useless to anyone else; just delete it.
- Someone trying to get into your account. They're trying your number or email, and the code is the one piece they're missing. On services that only send a code after the correct password, that can mean the attacker already knows your password.
- The set-up for a scam. The scammer triggers the code on purpose, then messages or calls you straight away to get you to pass it on. They can't get it without you.
In every case, the text itself does no harm. Google's account help has a simple answer for a code you didn't request: ignore it, delete the text and don't share the code with anyone.
How the "I sent you my code by mistake" scam works
The US Federal Trade Commission describes a classic version aimed at people selling things online or looking for a lost pet. The 'buyer' or the person who has 'found your dog' says they need to make sure you're real and asks you to read back a Google Voice code they've had sent to your phone. With it, they set up a Google Voice number linked to yours and use it to scam other people while hiding who they are. The FTC's verdict: it's a scam, every time.
Czech police in the Liberec region warned in February 2026 that scammers get victims to reveal SMS codes – for example by claiming a mistake during registration – then take over their WhatsApp and message their contacts asking for urgent loans. Because the request comes from a real friend's account, it's very convincing.
If a code arrived and nobody is asking for it
- Don't share it, and delete the text. Don't tap links in it and don't reply.
- Just one code? Most likely a typo. You don't need to do anything else.
- Codes keep coming, or it's a service that sends codes only after your password? Sign in yourself – through the app or an address you type in – and change your password. If you've used the same password anywhere else, change it there too. A password manager makes that easier.
- Check recent activity. Microsoft's help says to open the Security basics page and choose Review activity to look for unusual sign-ins. Google has a Security Checkup. Sign out any devices you don't recognise.
- Switch on stronger protection. On WhatsApp, turn on two-step verification with a PIN or password; elsewhere use passkeys or an authenticator app. Step-by-step help is in our two-step verification guide.
I've already given someone the code. What now?
Act now – scammers usually use a code within minutes. What to do depends on who sent it:
| Who sent the code | What to do right away |
|---|---|
| Open the app and register again with your own number – type the new code only into your own app. Check Linked devices and log out any you don't know, then turn on two-step verification. Warn your contacts another way. Full steps: WhatsApp account hacked. | |
| Google, Microsoft, Apple, your email | Sign in yourself and change your password. Sign out unknown devices. If you can't get in, use account recovery – for Microsoft, choose "Forgot my password" and then "I think someone else is using my Microsoft account". Then change the passwords of accounts you recover through that email. |
| Google Voice (the text mentions Google Voice) | The FTC says to follow Google's steps to reclaim your number, and to report the scam. |
| Your bank (a code for a payment, a sign-in or adding a card to a phone wallet) | Call your bank now on the number on your card or its website (in the UK you can also dial 159), freeze the card and online banking, and check pending payments. See Entered your details on a phishing site. |
| Your mobile provider (carrier billing, number transfer, eSIM) | Call your provider from another phone or visit a store: block charges to your phone bill and make sure nobody is porting your number or activating an eSIM. |
| Not sure | Change the password on your main email account, call your bank, and review where you sign in with your phone number. |
Then report it. In the UK, report to Report Fraud (England, Wales and Northern Ireland) or to Police Scotland on 101. In the US, report to the FTC at ReportFraud.ftc.gov. Keep the evidence: the texts, screenshots of the conversation and the numbers that contacted you.
Signs that a scammer wants your code
- A message or call arrives right after the code – that's no coincidence; the scammer triggered it.
- They say they sent it by mistake, need to check you're a real person, or will use it to block a suspicious payment.
- They're in a hurry and ask you not to call anyone.
- It comes from a friend's account but doesn't sound like them, or they won't take a call.
If someone close to you asks for a code or for money, check with them first – ideally by calling a number you already have.
How to protect yourself next time
- Type a text-message code only where you are signing in yourself. Never forward it or read it out.
- Where you can, replace SMS codes with passkeys or an authenticator app – they can't be talked out of you over text.
- On WhatsApp, turn on two-step verification: without your PIN or password, an attacker can't take over the account even with your SMS code.
- Tell older relatives: no legitimate person or company needs your code. If a message includes a link, check it first with our suspicious link checker.
FAQ
Does an unrequested code mean I've been hacked?
No. The code only shows that someone typed in your number or email. As long as you don't share it, your account is safe. If codes keep coming, or the service only sends a code after the correct password, change your password and switch on stronger sign-in protection.
A friend says they sent me their code by mistake. Could that be true?
Almost never. The code comes to your number because it belongs to your account, not theirs. Czech police describe scammers writing from the hijacked accounts of real friends. Call your friend on a number you already know – and don't send the code.
Should I reply STOP or message the sender?
No. Ignore the code and delete the text, as Google advises. Don't tap anything in it and don't reply – a reply stops nothing and only confirms to a scammer that your number is live.
My bank is on the phone asking for a code to block a suspicious payment. Is that normal?
No. A bank code approves a payment or a change – it doesn't stop one. Hang up and call your bank yourself on the number on the back of your card or on its official website.
Sources
- Google – When Google might send you a text (Google Account Help)
- FTC (US) – Google Voice scam: How the verification code scam works and how to avoid it (29 October 2021)
- Microsoft – What happens if there's an unusual sign-in to your account
- Czech Police – Your friend on social media may be a scammer (Liberec region, 18 February 2026, in Czech)
- Report Fraud – the UK's fraud and cyber crime reporting service
- FTC (US) – ReportFraud.ftc.gov
Spotted a mistake? Let us know and we will correct it openly.