Viper Tech logo Viper TechConsumer tech advice without the hype
Phones

SIM PIN and SIM Swap Protection and What Each One Stops

Your phone has a passcode, a fingerprint and probably face unlock. Yet if someone steals it, they can pop out the SIM tray with a paperclip, put your SIM into another phone and start receiving your text messages within a minute.

A smartphone with its SIM tray ejected next to a paperclip and a SIM card holder showing a PUK code

Your phone has a passcode, a fingerprint and probably face unlock. Yet if someone steals it, they can pop out the SIM tray with a paperclip, put your SIM into another phone and start receiving your text messages within a minute. That includes the six digit codes your bank, your email provider and half your apps send when someone clicks "forgot password". The lock screen does nothing to stop this, because the SIM card is not covered by it.

A separate threat reaches the same result without touching your phone at all. In a SIM swap, someone convinces your mobile carrier to move your number onto a new SIM they control. Your phone suddenly shows "No service", and while you assume it is a network fault, the attacker resets your accounts. These are two different attacks, and they need two different fixes. Most advice online mixes them up.

What a SIM PIN does and does not protect

A SIM PIN is a four to eight digit code stored on the SIM card itself. Once it is turned on, the SIM refuses to connect to the network after a restart or after being moved to another phone until someone types the code. A thief who pulls your SIM gets a card that asks for a PIN they do not know.

That is useful against a specific scenario: a stolen or lost phone in the hands of someone who knows that SMS codes are worth more than the handset. Police reports from several European cities over the past few years describe exactly this, with thieves removing SIM cards to take over banking apps before the owner can get to a computer.

A SIM PIN does nothing against a SIM swap at the carrier. The attacker never touches your physical SIM. The carrier issues a fresh one, with no PIN set, and your old card simply stops working. That is the common misunderstanding I want to correct: turning on a SIM PIN is good, but it is not SIM swap protection, despite many articles calling it that.

Turning on a SIM PIN without locking yourself out

This takes about three minutes, but there is one trap. Every SIM ships with a default PIN set by the carrier, and you need that default to change it. Common defaults are 0000, 1111 or 1234, though it varies by carrier and country. Look it up on your carrier's support site or on the card holder the SIM came in. Do not guess. Three wrong attempts lock the SIM and it then asks for a PUK code, an eight digit unlock key.

Before you start, find your PUK too. It is usually printed on the plastic card your SIM was snapped out of, or shown in your account on the carrier's app or website. Ten wrong PUK entries usually disable the SIM for good, and you will need a replacement from the shop.

On an iPhone, go to Settings, then Mobile Service or Cellular, then SIM PIN. Turn it on, enter the default PIN, then choose Change PIN and pick a new one. On most Android phones the setting sits under Settings, Security, then SIM card lock, although Samsung places it under Security and privacy, More security settings. If you use an eSIM, the same setting is usually available, but the attack it prevents is different, since an eSIM cannot be pulled out. I compared the two in eSIM vs physical SIM.

Pick a PIN that is not your phone passcode and not your birth year. If your passcode is 5 digits, a thief who watched you unlock the phone on a train now has both.

Locking your number at the carrier

For SIM swaps, the protection lives in your carrier account, not on your phone. Most large carriers now offer some form of number lock, under names that change every year or two. In the United States, T-Mobile calls it SIM Protection, Verizon has Number Lock and AT&T has Wireless Account Lock. UK carriers tend to offer a security PIN or a passphrase on the account that staff must ask for before any SIM change.

Here is how the different protections line up against the attacks people actually face.

ProtectionWhere you set itStopsDoes not stop
SIM PINPhone settingsA thief using your physical SIM in another phoneSIM swap at the carrier
Carrier number lock or SIM protectionCarrier app or accountUnauthorised SIM changes and number transfersA thief using your SIM if it has no PIN
Account PIN or passphraseCarrier account, often by phoneSocial engineering at a store or call centreInsider fraud at the carrier, which is rare but documented
Authenticator app instead of SMS codesEach important accountMost of the damage from either attackAccounts that only offer SMS

The lock usually adds a step when you genuinely need a new SIM or want to switch carriers. You turn the lock off in the app first, which can take a few minutes to apply. That small hassle is the point.

The fix that matters more than either lock

Both attacks only pay off because so many accounts still use text messages to prove it is you. If your email and banking apps use an authenticator app or a passkey instead, someone holding your number gets far less. Moving accounts off SMS takes longer than turning on a PIN, maybe an evening for the important ones, but I would rank it first.

Start with your main email account, since it can reset everything else. Then your bank, your phone carrier account itself, your Apple or Google account, and any payment apps. Leave SMS as a backup only where the service gives you no other option. Some banks still insist on it, and there is nothing you can do about that beyond the number lock.

If your phone ever shows "No service" or "SOS only" in a place where it normally has a signal, and a restart does not fix it, call your carrier from another phone straight away. Ask whether there has been a recent SIM change on your account. Do not wait until the next morning. In SIM swap cases I have read about, the damage often happened within the first two hours.

A ten minute task for this week

Find your PUK, turn on a SIM PIN, and open your carrier's app to switch on whatever number lock it offers. Then pick your email account and change its two step sign-in from SMS to an authenticator app. That covers most of the risk. For what to do if the phone itself goes missing, the steps in what to do with a lost phone in the first hour pick up from here, and the rest of our phone guides cover the settings around it.

FAQ

Will a SIM PIN stop a SIM swap?

No. A SIM swap happens at your carrier, which issues a new SIM without your PIN. You need the carrier's number lock for that.

What happens if I forget my SIM PIN?

After three wrong tries the SIM asks for the PUK code. With the PUK you can set a new PIN. Without it, you will need a new SIM.

Do I need a SIM PIN with an eSIM?

It helps less, since an eSIM cannot be removed, but it still blocks the line after a restart if the phone is stolen while switched on.

How do I know if my SIM has been swapped?

Your phone loses service suddenly and stays offline after a restart, and you may get an email or text about a SIM change you did not request.

TK
Tomasz Kaminski

Tomasz covers computers and device security in plain language, aimed at people who just want their tech to work safely.

More posts by Tomasz

More in Phones

01doorganico 084goad 3hot8 4465456 after5internprogram ahandfulofblessings ahmadpc ahomcybersecurity allodialresources annodex antiquesandperiodcollectibles aotc asianworldkashmir beedlectrics bloggertemplatefree bluefeatheragency bodyweightsolution campaign08blog carfixadvisor catstreetcollective cbstvsports cnfanspurchasing committeeof500yearsofdignityandresistance covertopsdjs cs-kaiyuangame cuestacomunicaciontotal cxoutlet dancebetgame deskgearhub destinyvillastay detectmagazine di33 diamondsteelbuildings donmo dyanadropship emarsysfinance emimattl escapechan eskitarih evautoplay everythingweddings-orlando farmzone feedviewerapp foxstudiosscratch gamevui123 gleasongrade greetingsday hacklabasu haskell iw-kaiyun jagoanproperti jilidskripsi joltbusinessfinance juegodepokergratis juegospucca kaeru-festival latestmehndidesigns lestanzediottaviano litemagazines localcommunityhero lustrsazan mariashebets menswheels newwebstechs1 nikkit ootheday oxigenvpn plurfitness prefetial probudgetcarpetcleaning psychicmrsmartin pyaten qvantor rejoignezlogis rexzbot riselayouts ruchin rwxqsgd5 sakaltime shibiaowang shop-bot skrtips spotlesshaven strcoding tetapatrium topselller uneplanteartificielle webtech1223411 wo-kygaming yamaha-mekar yeknava yoybuysheets zenunwa yamaha-mekar jilidskripsi ankertoto ankertoto ankertoto