Quick answer: To lock your SIM card with a PIN, open your phone settings, find SIM card lock (Android) or SIM PIN (iPhone), switch it on, type your network's default PIN and then change it to a new 4 to 8 digit code. After that, anyone who puts your SIM in another phone must know the PIN before they can call, text or receive your codes. Never guess the default PIN, because three wrong tries will block the SIM.
What a SIM PIN does
A SIM PIN is a short code stored on the SIM card itself, not on the phone. When it is on, the SIM stays locked every time the phone restarts or the SIM is moved to another phone. Until someone types the right PIN, the line cannot make calls, send texts or use mobile data.
This is different from your screen lock. Your screen lock protects the phone. The SIM PIN protects your number. A thief who pulls the SIM out of a stolen phone and slides it into a cheap handset can bypass your screen lock completely, but not the SIM PIN.
In Nigeria your number is tied to a lot: bank alerts, one-time passwords (OTPs, the short codes sent by SMS to confirm a login or a transfer), WhatsApp and your NIN record. According to the Nigerian Communications Commission (NCC), a SIM PIN reduces the risk of fraud if your phone is lost or stolen and helps keep those linked services out of criminals' hands. You can read the NCC's own note on why a SIM PIN matters.
Before you start: get the default PIN
Every SIM comes with a default PIN set by the network. You need it once, to switch the lock on. Here is where to look:
- The card or plastic holder your SIM came in. The PIN and the PUK are often printed there.
- Your network's customer care line or one of its offices. Ask for the default SIM PIN for your line.
You will see lists online that claim to know the default PIN for MTN, Airtel, Glo or T2 (formerly 9mobile). Some of them disagree with each other, and older SIMs may not follow them. Treat those lists as rumours. Confirm with your own network before you type anything.
Also find your PUK (Personal Unblocking Key, an 8 digit code that unblocks a locked SIM) before you start. If something goes wrong, you will want it within reach. Our guide on getting your PUK code in Nigeria covers each network.
How to lock your SIM card on Android
Menu names differ by brand and Android version, but the setting is almost always inside Security.
- Open Settings.
- Tap Security and privacy (on some phones, Security or Biometrics and security).
- Tap More security settings or Other security settings.
- Tap SIM card lock (Samsung calls it Set up SIM card lock).
- If you use two SIMs, pick the one you want to lock.
- Turn on Lock SIM card and enter the default PIN.
- Tap Change SIM PIN. Enter the old PIN, then your new one twice.
Cannot find it? Type "SIM lock" into the search bar at the top of Settings. It finds the setting on most Android phones.
How to set a SIM PIN on iPhone
- Open Settings and tap Mobile Data (or Cellular).
- If you have two lines, tap the number you want to protect.
- Tap SIM PIN and switch it on.
- Enter the default PIN from your network.
- Tap Change PIN and set a new code of 4 to 8 digits.
Apple says this works for both physical SIMs and eSIMs (a digital SIM built into the phone). Once it is on, the phone shows "Locked SIM" in the status bar after a restart until you enter the PIN. Apple's page on using a SIM PIN has the same steps with pictures.
On a small button phone, look under Menu, then Settings, then Security, and switch on PIN request or SIM lock.
How to pick a PIN you will not forget
The NCC advises a PIN that is easy for you to remember but hard for others to guess. In practice:
- Do not use 1234, 0000, 1111 or your birth year. Those are the first things a thief tries.
- Do not reuse your bank card PIN or your phone screen PIN. If one leaks, the others stay safe.
- Use 6 digits if your phone allows it. It is only two more taps.
- Write the new PIN and the PUK on paper and keep it at home, away from your phone and wallet. A note in the same bag as the phone defeats the point.
What happens if you enter the wrong PIN
Three wrong PIN entries in a row block the SIM. The phone then asks for the PUK. Enter the PUK correctly and you can set a fresh PIN.
Be careful here. Ten wrong PUK entries usually block the SIM for good. Apple warns that guessing can permanently lock a SIM. If that happens, the only fix is a SIM replacement at your network's office with your ID, which keeps your number but costs you a trip. Our post on replacing a SIM card in Nigeria explains what to bring.
So the rule is simple. If you are not sure of the PIN, stop after one failed try and get the code from your network.
What a SIM PIN does not protect you from
A SIM PIN is worth switching on, but be clear about its limits:
- SIM swap fraud. In a SIM swap, a fraudster convinces a network office to move your number to a new SIM. The new SIM has its own default PIN, so your lock does nothing here. Watch for the warning signs in our post on SIM swap fraud in Nigeria.
- A phone that is stolen while unlocked and switched on. The SIM PIN is only asked for after a restart or a SIM change. If a thief grabs the phone while you are using it, the SIM is already open. A strong screen lock covers that gap.
- Scam calls and texts. If you read an OTP out to a fake "customer care" agent, no PIN can help. Banks and networks never ask for your OTP.
The best setup is all three together: a SIM PIN, a screen lock, and two-step verification on WhatsApp and your bank app.
Is it annoying to use every day?
Less than people expect. You only type the SIM PIN when the phone restarts or when the SIM moves. For most people that is once every few days, after a flat battery or an update.
One honest downside: if your phone restarts on its own overnight, you will not get calls or alarms tied to the network until you unlock the SIM. If you rely on your line for early work calls, check your phone in the morning.
Frequently asked questions
What is the default SIM PIN in Nigeria?
It depends on your network and sometimes on the batch of SIMs. Check the card your SIM came in or call your network's customer care. Do not rely on lists online, and do not guess, because three wrong tries block the SIM and you will need the PUK.
Will a SIM PIN stop someone using my WhatsApp?
It stops them using your number in another phone, so they cannot receive your WhatsApp verification code by SMS. It does not lock the WhatsApp app on your own phone. For that, turn on WhatsApp two-step verification and use a screen lock.
Can I turn off the SIM PIN later?
Yes. Go back to SIM card lock on Android or SIM PIN on iPhone and switch it off. You will need to enter your current PIN to do it. Your number, contacts and data are not affected.
Does an eSIM have a PIN too?
Yes. On iPhone, Apple says the SIM PIN setting works for eSIMs the same way as physical SIMs. Many Android phones that support eSIM offer it as well. You still need the default PIN from your network the first time.
I forgot my new SIM PIN. What now?
Do not keep guessing. After three wrong tries the phone asks for the PUK. Get your PUK from your network's customer care or office, enter it carefully, and set a new PIN. If the PUK is also entered wrongly ten times, you will need a SIM replacement.