Got a Verification Code You Didn't Request?
If you received a login or verification code you didn't ask for, it almost always means someone else is trying to get into one of your accounts — and they already have your password or phone number. The code itself is harmless, but it is an early warning that an account is under attack. Here's what's happening and what to do right now.
Why You're Getting a Code You Didn't Ask For
A verification code is only sent when someone triggers a login or a password reset. If that someone isn't you, one of these is happening:
- Someone has your password and is trying to log in. The code is the only thing standing between them and your account. This is the most common and most serious cause.
- Someone is attempting a password reset on your account using your phone number or email.
- A SIM-swap or account-takeover attempt is in progress, where the attacker is trying to route your codes to a device they control.
- It's a phishing setup. A scammer triggers a real code to your phone, then calls or texts pretending to be the service, asking you to "confirm the code." Handing it over gives them the account.
The one thing all of these have in common: never share the code with anyone. No legitimate company will ever call and ask you to read back a code they just sent you.
What to Do Immediately
- Do not enter or share the code. If you didn't start the login, the code is for the attacker, not you.
- Change the password on the account the code was for — and anywhere you reused that password. The fact that a code was sent suggests your password may already be known.
- Switch from SMS codes to an authenticator app. SMS two-factor can be intercepted via SIM swapping; app-based codes can't.
- Check your account's recent login activity and active sessions; log out anything you don't recognize.
- If the codes keep coming, your number or email is being actively targeted. Contact the service's official support and consider a SIM-swap protection / port-freeze with your carrier.
The SIM-Swap Connection
Repeated, unrequested codes are a classic precursor to a SIM-swap attack. In a SIM swap, an attacker convinces your carrier to move your number to their SIM — after which your text codes go to them. Signs to watch for alongside the codes: your phone suddenly losing signal, being unable to make calls, or a "SIM activated" notification you didn't trigger.
If you suspect your number is being targeted, you can check its exposure — line type, carrier, and whether it shows up in breach data tied to your accounts — with a phone-intelligence lookup. Knowing a number's SIM swap risk and breach exposure helps you gauge how urgently to act.
Frequently Asked Questions
Is it dangerous to receive a verification code I didn't request? The code itself is harmless — receiving it doesn't compromise anything. But it's a strong signal that someone is trying to access your account, so treat it as a prompt to change your password and tighten security immediately.
Should I enter a code I didn't ask for? No. If you didn't start a login or password reset, the code was triggered by someone else. Entering it on a page they sent you, or reading it back to a caller, hands them your account.
Why would a scammer send me a real verification code? To steal it. They trigger a genuine code to your phone, then impersonate the service and ask you to "confirm" it. The code is real, but giving it to them completes their login.
Does an unrequested code mean I've been hacked? Not yet — it usually means someone has your password and is being stopped by the second factor. Change the password now and move to an authenticator app to keep it that way.
The Bottom Line
A verification code you didn't request is not the breach — it's the alarm. Someone likely has your password and is being blocked by two-factor. Change that password, move off SMS codes to an authenticator app, and watch for SIM-swap signs if the codes keep arriving.
If you think your number is being targeted, check its line type, carrier, and breach exposure with DefenceCore's free phone reputation check.
Related reading: I gave a scammer my phone number — now what? and phone scams are getting smarter in 2026