How to put a SIM lock PIN on your phone
The most direct way to put a SIM lock PIN on your phone is to enable the SIM card lock setting in your device's security menu. This adds a PIN that must be entered every time you restart your phone or reinsert the SIM card. Without that PIN, the SIM is unusable in any device, which blocks the first step of most SIM swap attacks - moving your number to a different phone.
What a SIM lock PIN actually does
A SIM lock PIN is a short numeric code stored on the SIM card itself, not in your phone's operating system. When enabled, the phone prompts for this PIN before it can register with a cellular network. If someone steals your phone, removes your SIM, and inserts it into another device, that device will also demand the PIN. The attacker cannot bypass this by swapping the SIM into a different phone or using a card reader.
The PIN is separate from your phone's screen lock PIN or password. You can have both, and they serve different purposes. The screen lock protects the device; the SIM PIN protects the phone number.
What it does not protect against
A SIM lock PIN does nothing to prevent the most common SIM swap technique - social engineering of a carrier support agent. In that attack, the criminal never touches your physical SIM. They convince the carrier to activate a new SIM on your number, deactivating yours in the process. Your original SIM becomes useless, and your PIN becomes irrelevant because the new SIM has its own lock setting (which the attacker will not enable).
This means a SIM lock PIN is a supplementary defense, not a primary one. It blocks attacks that require physical possession of your SIM, but it does not stop attacks that work through carrier account access.
How to enable the SIM lock PIN
The exact menu names vary by phone manufacturer and operating system version, but the procedure follows the same pattern on all devices.
On Android (stock or near-stock)
- Open Settings.
- Tap Security or Security & privacy (some devices call this Biometrics and security).
- Look for SIM card lock or SIM lock settings. On Samsung phones, this is under Security > More security settings > SIM card lock.
- Toggle Lock SIM card to on.
- Enter the default PIN. For most carriers, this is 1234 or 0000. If neither works, check your carrier's documentation or the card that came with your SIM.
- The phone will prompt you to change the PIN immediately. Choose a number between 4 and 8 digits that you can remember but is not easy to guess. Do not use your phone's screen lock PIN or your bank card PIN.
- Confirm the new PIN.
On iPhone (iOS)
- Open Settings.
- Tap Cellular (or Mobile Data).
- Tap SIM PIN.
- Toggle SIM PIN to on.
- Enter the default PIN (usually 1234 or 0000). If the phone rejects both, contact your carrier to get the correct default.
- Tap Change PIN and set a new 4- to 8-digit code.
After enabling
Write down the new PIN and store it somewhere secure that is not your phone - a password manager or a physical safe. If you forget the PIN and enter it incorrectly three times in a row, the SIM card will become locked and require a PUK code (Personal Unblocking Key) to unlock. The PUK code is provided by your carrier. Without it, the SIM is permanently unusable and must be replaced.
When to use the SIM lock PIN
The SIM lock PIN is most useful in these situations:
- You travel frequently and carry your phone in crowded public spaces where pickpocketing or theft is a risk. If your SIM is PIN-protected, a thief cannot use it to intercept your SMS-based two-factor authentication codes.
- You keep a spare phone with a different SIM for work or travel. If that phone is lost or stolen, the PIN protects the number.
- You have a secondary SIM in a dual-SIM phone and want to protect each line independently.
When it is less useful
- If you regularly restart your phone (for updates or battery swaps), you will have to enter the PIN each time. Some people find this inconvenient enough to disable the feature.
- If you share your phone with family members who need to use the cellular connection, the PIN becomes an obstacle.
- If you rely on your carrier's Number Lock or port freeze feature (covered elsewhere on this site), those protections already block the most common SIM swap methods. The SIM PIN adds a small extra layer against physical SIM theft, but it does not replace those carrier-side controls.
Common mistakes
- Using the same PIN as your phone's screen lock. If an attacker watches you unlock your phone, they now have both your device access and your SIM PIN.
- Storing the PIN in a note on your phone. If someone gets into your phone, they find the PIN and can use the SIM in another device.
- Forgetting to change the default PIN. Default PINs like 1234 are widely known and trivial to guess. Always change it immediately.
The bottom line
A SIM lock PIN is a simple, low-effort setting that blocks one specific attack vector: physical theft of your SIM card. It costs nothing and takes less than a minute to enable. But it is not a complete SIM swap defense. Pair it with carrier-side protections like a Number Lock and a dedicated email address for financial accounts to make yourself a genuinely hard target.
Not financial advice. rosiesol.xyz publishes market data and general information about Rosie. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.
Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.