I got a verification code by text that I didn't ask for: what does it mean?
An unrequested one-time code usually means someone has your email or phone number and is trying to log in, reset a password or move your number. Don't share the code with anyone, change the password for that account and turn on two-step verification.
Summarize this article with
A one-time code you didn't ask for usually means someone has your email address or phone number and is trying to get into one of your accounts, reset its password or take control of your mobile number. The code on its own doesn't let them in. Don't share it with anyone, change that account's password and switch on two-step verification.
Why would I get a code I didn't request?
Codes are sent when someone tries to sign in, reset a password, confirm a purchase or make a change to an account. Possible causes:
- Someone has your password, or is guessing it, and has hit the second step: the code sent to you.
- Someone is trying a "forgot password" reset using your email or number.
- A scammer is setting you up for a phone call. O2 describes fraudsters who trigger a one-time code to your phone and then call you, pretending to be O2 staff, to get you to read it out. With that code and your security answer they can reset your account password, change your address or carry out a SIM swap that moves your number onto their SIM.
- A phone-paid purchase. EE explains that charging something to your phone bill needs only your number plus confirmation, and that payment texts ask you to reply, click a link or enter a PIN. If you don't want to pay, don't do any of those.
- Someone simply mistyped their number. It happens, but don't assume that's the explanation.
What should I do right now?
- Don't share the code. Not by phone, text, WhatsApp or email, and not with anyone claiming to be your bank, your network or a friend "who sent it by mistake". O2 says it will never call, text or email you to ask for a one-time code, password or other security information.
- Don't tap any link in the message. Open the app or type the website address yourself.
- Change the password of the account the code relates to, and of any other account that uses the same password. The National Cyber Security Centre stresses both steps, because criminals try a stolen password across many accounts.
- Turn on two-step verification (2SV) wherever you can, especially for email and banking. The NCSC says it means a criminal who knows your password still can't get in.
- Check your email account's forwarding rules and filters. The NCSC warns that criminals set up forwarding rules so they receive copies of your emails, including password reset messages.
What if I already gave the code away?
Act straight away:
- Mobile account code (O2, EE, Vodafone, Three): call your network immediately from another phone if needed. Three notes that a text about a PAC code, the code used to move your number to another network, followed by a sudden loss of signal could be the first sign of fraud. O2 says that if your SIM is swapped you should contact your bank as well as your network as soon as possible.
- Bank code: call your bank on the number on your card, or dial 159 if your bank supports it, as Ofcom recommends.
- Email or social media code: follow the provider's recovery steps, log out other devices and sessions, and warn your contacts to ignore unusual messages from you, as the NCSC advises.
If you lost money, report it to Report Fraud online or on 0300 123 2040 (England, Wales and Northern Ireland), or to Police Scotland on 101.
How do I report the message?
If the text itself looks like a scam, for example it includes a link or asks you to call a number, forward it to 7726. The NCSC explains that most phone providers are part of this free scheme and can investigate and block the sender.
How do I stop it happening again?
- Use a different password for your main email account and your mobile account, as O2 advises.
- Add extra security to your mobile account where offered. Three, for example, lets customers add a memorable name or place to their account.
- Keep your phone's software up to date.
In short
A surprise code is a warning, not a breach. Keep the code to yourself, change the password, turn on two-step verification and be ready to hang up on anyone who calls asking for it. If a number keeps texting or calling you about codes, look it up on NoCall.
Sources and review
Reviewed:
- O2 – Scam calls and messages
- NCSC – Recovering a hacked account
- EE – Avoid and prevent scams
- Three – Staying safe from fraud messages: what we won’t ask you
- NCSC – Report a scam text message
- Ofcom – What to do about a scam call, text or message
- Report Fraud – Report Fraud service goes live
Numbering, carrier tools, and reporting procedures can change. Verify sensitive steps with the linked primary authority.
Article details
Editorial content reviewed by NoCall with practical context for spotting suspicious calls and messages.
Received a suspicious call?
Look up the number in NoCall before sharing data, calling back, or clicking any link.
Search a phone number or a company name (British Gas, EE and O2...) to check if it has been reported as spam.
Keep investigating
Check who's calling from these community-reported prefixes and directories.

