SIM Swap Attacks and How to Protect Your Number
Your phone drops to no service in the middle of a Tuesday afternoon. You assume it is the network, restart it, and nothing changes.

Your phone drops to no service in the middle of a Tuesday afternoon. You assume it is the network, restart it, and nothing changes. Twenty minutes later an email arrives saying your password was reset, and by then whoever did it is already inside the account.
That is a SIM swap, and it is one of the few attacks that works even when you have done most things right. The attacker does not need your password or your laptop. They convince your mobile carrier to move your phone number onto a SIM card they control, and from that moment every text message meant for you arrives on their handset instead. I have walked three people through the aftermath, and the difference between a bad afternoon and a lost savings account came down to how fast they noticed.
How a SIM swap actually happens
The attack runs on customer service, not code. There are four steps and none of them involve breaking encryption.
- Build a profile of you. Full name, date of birth, home address, the last four digits of a card, the name of your first pet. Most of this sits in old breach data or on your own public profiles. A postcode and a birthday is often enough to start.
- Pick the right channel. Some attackers phone the carrier and act like a frustrated customer whose handset was stolen. Others walk into a store with a fake ID. A smaller number simply pay a retail or call centre employee, which is how several of the large cases in the United States and the United Kingdom actually ran.
- Request the port or the replacement SIM. The number is moved to a new physical SIM or activated as an eSIM on the attacker's phone. Your handset loses service at that instant, usually without any warning on screen beyond the signal bars going flat.
- Collect the codes. With your number in hand they trigger password resets on email first, because email unlocks everything else. Banking, exchanges, and any account where the recovery method is a text message follow in whatever order looks most profitable.
The whole sequence can take under fifteen minutes. The FBI complaint centre has reported annual losses from SIM swapping in the tens of millions of dollars in the United States alone, and the individual cases I have seen were not rich targets. One was a graphic designer whose email held a password reset trail for a small business bank account.
Why a text message code is the weak link
A code sent by SMS proves that someone is holding a phone attached to your number. It does not prove that person is you, and your number is not really yours in a technical sense. It is a record in a carrier database that support staff can edit.
That is the difference between SMS codes and the stronger options. An authenticator app generates its codes on the device from a secret stored on the device, so moving a phone number does nothing. A hardware key has to be physically present and plugged in. Both survive a SIM swap; SMS does not. If you only change one thing after reading this, move your email and your bank off SMS codes and onto one of those, and our guide to setting up a hardware security key on your accounts covers the slightly fiddly part.
SMS still beats nothing. An account with a text code is much harder to take over than an account with a password alone, which is why the password reuse attacks described in how credential stuffing works fail against it. The point is that SMS is the floor, not the ceiling.
The signs in the first ten minutes
Service disappears and does not come back. A normal network outage affects data and calls together, and other phones nearby show the same problem. A SIM swap takes out one handset while the phone beside it works fine. That single difference is the clearest early signal there is.
A message about a SIM change or port request. Carriers in several countries are now required to notify the account holder when a number is moved. The notification often arrives by email, so check there rather than waiting for a text you can no longer receive.
Password reset emails you did not ask for. One of these is background noise. Three in four minutes, spread across email, a bank and a shopping account, is an attack in progress.
Logged out of apps on Wi-Fi. Your phone may still work over Wi-Fi after the swap. Being signed out of a banking app while the Wi-Fi is fine is worth taking seriously.
Locking your number before anything happens
Set a port-out PIN or number lock with your carrier. Every major network offers some version of this, under names like Number Lock, Port Freeze, SIM Protection or an account passcode. It is free and takes about ten minutes in the app or on a call. Choose a number with no relationship to your birthday or address, and do not reuse your phone unlock code; the thinking behind choosing a strong phone passcode applies here too.
Remove your phone number as a recovery method where you can. On your primary email account, set a second email address and printed backup codes as recovery instead. Keep the number if the service forces it, but stop it working as a standalone key to the account.
Ask the carrier to flag the account as high risk. Several networks will add a note requiring in-person identity checks or a supervisor approval for SIM changes. Staff do not always offer it, so ask directly.
Trim what is public. The attacker's script needs your date of birth, address history and mother's maiden name. A birthday hidden on social media and a different answer to every security question removes a good part of their material.
The advice I would not follow
A common recommendation is to move everything to a cheap prepaid number that is not tied to your name, on the theory that an attacker cannot socially engineer an account with no personal data behind it. I used to repeat this. It holds up less well than it sounds.
Prepaid accounts are frequently easier to take over, not harder, because the verification bar is lower. Some resellers will swap a SIM on nothing more than the last dialled number and the account balance. You also lose the fraud monitoring and the notification obligations that the main carriers now operate under, and recovering a prepaid number after a loss can be close to impossible because there is no identity on file to prove.
The version of this idea that does work is narrower. Keep your main number, lock it properly, and use a separate number that you never publish for the handful of services that still insist on SMS and nothing else. That is a small second account, not a replacement for your real one.
I am also wary of the claim that eSIM solves this. eSIM removes the physical card from the equation, which stops a thief who steals a handset from popping the SIM into their own phone. It does not stop a support agent reassigning your number, and in some cases it makes the reassignment faster because no post or store visit is involved.
The first hour if it happens to you
Use someone else's phone and call your carrier's fraud line, not the general support queue. Say the words "my number has been ported without authorisation" and ask them to reverse it and freeze the account. Reversal often takes between twenty minutes and a few hours.
While you wait, get to your email from a computer and change that password first, then sign out of all other sessions from the account security page. Email before banking, every time, because email is the lever for everything else. Then call your bank's fraud number directly from the number printed on your card.
Write down the times. Carriers and banks both ask for a timeline, and the record of when service dropped and when the reset emails arrived is what usually settles a disputed transaction. More patterns like this one are collected in our threats and attacks guides.
Frequently asked questions
Can a SIM swap happen if I have two-factor authentication on?
Yes, if that second factor is a text message. An authenticator app or a hardware key is not affected by a number moving to another SIM.
How do I know if my SIM has been swapped?
One phone loses all service while others on the same network work normally, and no restart or SIM reseat brings it back. Password reset emails arriving at the same time confirm it.
Does a port-out PIN really stop a SIM swap?
It stops the easy version of the attack, which is most of them. It does not help against an insider at the carrier with direct database access.
Who should I report a SIM swap to?
Your carrier's fraud team first, then your bank, then the national cybercrime or fraud reporting service for your country. Keep a written timeline for all three.
More in Threats and Attacks
Threats and Attacks
Evil Twin Wi-Fi Attacks and How to Spot the Fake
You sit down in an airport with forty minutes to kill and your phone has already joined something called Airport Free WiFi.
Threats and Attacks
How Credential Stuffing Attacks Work and How to Stop Them
You get an email saying someone logged into your food delivery account from another country, and you never shared the password...
Threats and Attacks
Juice Jacking and Whether Public USB Chargers Are Safe
Your phone is on 4 percent, your flight boards in 40 minutes, and the only free socket at the gate is a USB port built into the...