Change SIM PIN: iPhone & Android Guide 2026

change SIM PIN guide: traveler securing mobile data before a trip

In short, here's what you'll discover in this article: how to change SIM PIN safely on iPhone and Android, what to do before entering a new code, and how to avoid locking your SIM or eSIM with a PUK error.

A SIM PIN is not the same as your phone unlock code. Your phone PIN protects the device screen. A SIM PIN protects the mobile line itself, so someone cannot simply move your physical SIM, or activate access to your cellular plan, without the code.

Changing it is quick when you know the current SIM PIN. The risky part is guessing. Entering the wrong SIM PIN too many times can lock the SIM and force you to ask your carrier for a PUK code. So the safest rule is simple: change it only when you know the current SIM PIN.

What “change SIM PIN” actually means

When you change SIM PIN, you replace the code that protects your SIM card or eSIM profile. After that, your mobile line may ask for the SIM PIN when the phone restarts, when the SIM is moved, or when the line is enabled again.

This setting can be useful before a trip, before selling a phone, or when you use a secondary line for work. It is also helpful if your carrier shipped a default SIM PIN and you want something only you know.

However, it is not a magic privacy tool. A SIM PIN does not encrypt your photos, apps, passwords, or messages. For that, you still need a strong phone lock, biometric unlock, and account security.

SIM PIN vs phone PIN vs PUK code explained
Code What it protects When you need it Who can help if lost
Phone PIN Your device screen and apps When unlocking the phone Device account recovery or manufacturer support
SIM PIN Your SIM card or eSIM line When enabling the mobile line after restart or SIM changes Your mobile carrier
PUK code Recovery access for a locked SIM After too many wrong SIM PIN attempts Only your mobile carrier

Before you change your SIM PIN

Do not start by trying random numbers. Apple’s own support page warns that the wrong guesses can permanently lock a SIM card or eSIM, and that you may then need a new SIM or eSIM from your carrier.

Before touching the setting, check these four things:

  • You know the current SIM PIN. If you never changed it, check your carrier documents or customer account.
  • You know which line you are editing. Dual SIM phones can have multiple mobile lines.
  • You can contact your carrier. This matters if the phone asks for a PUK code.
  • You are not confusing SIM PIN with screen PIN. Changing one does not change the other.

⚠️ If you do not know the current SIM PIN, stop. Do not guess. Contact the carrier that issued the SIM card or eSIM and ask for the default SIM PIN or PUK recovery process.

How to change SIM PIN on iPhone

On iPhone, the setting is inside the Cellular menu. The exact wording can vary slightly depending on iOS version, country, and whether you use one line or Dual SIM.

Use this path:

  1. Open Settings.
  2. Tap Cellular or Mobile Data.
  3. Tap the line you want to edit if you use Dual SIM or eSIM.
  4. Tap SIM PIN.
  5. Choose Change PIN, if the option is available.
  6. Enter the current SIM PIN.
  7. Enter the new SIM PIN, then confirm it.

Apple explains that, if you have never used a SIM PIN before, you should enter the default SIM PIN from your carrier — not a guessed number. You can read the official iPhone guidance on Apple Support.

💡 If your iPhone has several lines, rename them first, for example “Personal”, “Work”, or “Travel”. It makes it much harder to change the wrong SIM PIN by mistake.

change SIM PIN steps on iPhone and Android

How to change SIM PIN on Android

Android menus vary more than iPhone menus because Samsung, Google Pixel, Xiaomi, OnePlus, Sony, and other brands organize settings differently. Still, the logic is usually the same: find security settings, open SIM lock, then change the code.

Try this general path first:

  1. Open Settings.
  2. Go to Security, Privacy and security, or Biometrics and security.
  3. Open More security settings if needed.
  4. Tap SIM card lock or SIM lock.
  5. Select the SIM or eSIM line you want to edit.
  6. Tap Change SIM PIN.
  7. Enter the current SIM PIN, then the new SIM PIN twice.

On some Android phones, searching inside Settings is faster. Open Settings and type “SIM PIN”, “SIM lock”, or “SIM card lock” in the search bar. Sony’s Android support, for example, lists the path as Settings → Security → SIM card lock / SIM lock → Change SIM PIN on compatible versions.

If you cannot find the menu, your carrier or phone maker may have hidden it, renamed it, or disabled SIM PIN changes for that profile. In that case, contact the carrier before trying workarounds.

What if your phone asks for a PUK code?

A PUK code is a recovery code for a locked SIM. It appears when too many wrong SIM PIN attempts were entered. This is not a normal password reset screen, and it is not solved by your Apple ID, Google account, or phone unlock PIN.

Only the carrier that issued the SIM or eSIM can provide the right PUK code. For a physical SIM, the carrier name may be printed on the SIM card or shown in your mobile account. For an eSIM, check the line details in your cellular settings or the email you received when installing the plan.

⚠️ Do not search the web for a “universal PUK code”. There is no safe universal code. Entering random PUK numbers can permanently block the SIM and force a replacement.

Should you use a SIM PIN when traveling?

For frequent travelers, a SIM PIN can be a useful extra layer of protection. If your phone is lost, stolen, or someone removes the SIM, the mobile line is harder to reuse. That matters because phone numbers can receive bank alerts, two-factor authentication codes, and carrier account messages.

There is one trade-off: a SIM PIN can slow you down if you restart your phone during a trip and forget the code. If you are already stressed at an airport, on a train, or abroad without Wi-Fi, that is the worst moment to discover you need carrier support.

Use this practical rule:

  • Use a SIM PIN if you understand where to find your carrier support and can store the code safely.
  • Avoid changing it at the airport unless you already know the current PIN and recovery process.
  • Keep your travel eSIM details accessible in email, your provider account, or a password manager.
  • Test cellular data before departure if the line is important for arrival navigation.

If you are setting up a new travel eSIM, first check that your phone supports eSIM and that it is not carrier-locked.

Is your phone eSIM-compatible?

Check the full list of compatible smartphones: iPhone, Samsung, Google Pixel and 200+ models.

Check compatibility

When changing SIM PIN is not enough

Changing SIM PIN protects the mobile line, but it does not replace good account security. If your concern is phone theft, combine it with a strong device passcode, biometric unlock, Find My iPhone or Find My Device, and secure account recovery options.

If your concern is roaming cost, a SIM PIN will not reduce charges. It only controls access to the SIM. For travel, the bigger decision is often whether to use your home carrier, a local prepaid SIM, or a travel eSIM. Rules also differ by country: prepaid registration and mobile identity checks can change how fast a SIM can be activated. For example, our guides on anonymous prepaid SIMs in Spain and PTA eSIM pricing policy explain how local rules can affect mobile plans.

When you need a fresh travel line, compare reliable eSIM providers before choosing. Coverage, installation flow, customer support, and refund policy often matter more than the cheapest headline offer.

🔍
Provider
Rating
Promo Code
Discount
Review
4.7/5
-5%
🥈
4.9/5
-10%
🥉
4.8/5
-20%
4.3/5
-5%
4.6/5
-10%
4.5/5
-15%
🔍 No results.
4.7/5
eSIM promo code
Discount-5%
🥈
4.9/5
eSIM promo code
Discount-10%
🥉
4.8/5
eSIM promo code
Discount-20%
4.3/5
eSIM promo code
Discount-5%
4.6/5
eSIM promo code
Discount-10%
4.5/5
eSIM promo code
Discount-15%
🔍 No results.

Quick troubleshooting checklist

If the change SIM PIN option is missing or failing, work through the simple causes first:

  • The SIM PIN feature is off. Turn SIM PIN on before changing it, if your phone requires that.
  • You selected the wrong line. Dual SIM phones can show separate settings per line.
  • The current PIN is wrong. Stop before more attempts and contact your carrier.
  • The phone is carrier-locked. This is different from SIM PIN and may restrict other SIMs.
  • The eSIM profile is inactive. Enable the line before looking for its security options.

✅ The safest successful flow is boring: confirm the current SIM PIN, change it once, write the new code in a secure password manager, then restart the phone to verify that it works.

FAQ

Is SIM PIN the same as my phone PIN?

No. Your phone PIN unlocks the device screen. Your SIM PIN locks the SIM card or eSIM line. They can be different, and changing one does not change the other.

Can I change SIM PIN if I forgot the old one?

Usually no. You need the current SIM PIN to change it. If you do not know it, contact the carrier that issued the SIM or eSIM and ask for the correct recovery process.

What happens if I enter the wrong SIM PIN too many times?

Your SIM or eSIM can be locked and may ask for a PUK code. The PUK code comes from your carrier. Do not guess it, because too many wrong PUK attempts can permanently block the line.

Does a SIM PIN work with eSIM?

Yes, many phones let you use SIM PIN protection with an eSIM line. The exact menu depends on the device, operating system, and carrier settings.

Should I turn SIM PIN off?

Turn it off only if you understand the security trade-off. Keeping it on protects the mobile line, but you must store the code safely and know how to reach your carrier if recovery is needed.