PUK Code: Find It and Unlock Your SIM (2026)

PUK code help for a locked SIM card on a smartphone

In short, here's what you'll discover in this article: a PUK code restores access to a SIM or eSIM after too many incorrect SIM PIN attempts. Do not guess it. Retrieve the exact code from your mobile carrier, enter it once carefully, then create a new SIM PIN.

If your phone suddenly says “Enter PUK,” “SIM blocked,” or “PUK required,” stop entering numbers. Your phone is not broken. However, repeated guesses can permanently disable the SIM.

Do these things first:

  • Stop guessing the SIM PIN or PUK code.
  • Connect to Wi-Fi so you can access your carrier account or support.
  • Keep the phone on the PUK prompt.
  • Find the original SIM card holder, if you still have it.
  • Contact the carrier that issued this specific SIM or eSIM.

⚠️ Never try common codes such as repeated zeros or simple number sequences. A wrong PUK can use up one of a limited number of attempts.

What is a PUK code?

PUK means Personal Unblocking Key, sometimes called a PIN Unlock Key. It is a security code controlled by your mobile network. Its only job is to unblock a SIM after the SIM PIN has been entered incorrectly too many times.

The PUK belongs to the SIM or eSIM profile, not to the handset. Therefore, moving the SIM into another phone will not remove the lock. Restarting or factory-resetting the phone will not help either.

A PUK is also different from your screen passcode and a carrier-unlock code. That distinction matters because each code solves a different problem.

Difference between a PUK code, SIM PIN, phone passcode and network unlock code
A PUK code unlocks the SIM; it does not unlock the phone screen or remove a carrier restriction.
CodeWhat it controlsWho provides it
PUK codeUnblocks a SIM or eSIM after failed SIM PIN attemptsYour mobile carrier
SIM PINProtects cellular service on the SIMYour carrier or you, if you changed it
Phone passcodeUnlocks the device screenYou
Network unlock codeRemoves a handset’s restriction to one carrierThe carrier that locked the handset
Account PINVerifies your identity with the carrierYou or your carrier

Why is your phone asking for a PUK?

A SIM PIN can protect calls and mobile data if someone removes your SIM or restarts your device. After several incorrect SIM PIN entries, the SIM locks itself. The phone then requests the PUK as a stronger recovery check.

This can happen after a restart, a SIM swap, or an accidental PIN change. It also happens when someone confuses the SIM PIN with the phone’s screen code. The message may appear on an iPhone, Android phone, tablet, hotspot, or other cellular device.

💡 Read the message exactly. “SIM PIN” and “PUK” are not interchangeable. Once the device asks for a PUK, entering the old SIM PIN will not unlock it.

How to find your PUK code safely

There is no universal PUK code. Each SIM has its own key, so online code generators and random lists cannot provide a safe answer. Use one of these official routes instead.

Check the original SIM card holder

Some carriers print the PUK on the plastic card or paper pack that held the physical SIM. Look for PUK, PUK1, or a concealed security panel. Make sure the holder belongs to the SIM currently in the phone.

Sign in to your carrier account

Open the carrier’s official website or app over Wi-Fi. Check the SIM, device, security, or account-details section. For example, EE documents a self-service route in its official PUK code support guide.

If your account contains several lines, select the correct mobile number. The code for another line will not work, even if both lines share one account.

Contact the carrier

Use the phone number, web chat, or store listed on the carrier’s official website. You may need the account holder’s name, account PIN, mobile number, or the SIM’s ICCID. The ICCID is the long identifier printed on a physical SIM and may also appear in your device settings.

For an eSIM, contact the provider that issued the eSIM profile. Apple’s official guidance says to ask the carrier for help with the PUK and to request a replacement if the alert says “PUK exhausted”.

⚠️ A phone manufacturer, repair shop, or unrelated eSIM company cannot retrieve the PUK for a SIM issued by another carrier.

How to enter a PUK code and unlock the SIM

Once you have verified the code with the issuing carrier, follow the prompt on your phone:

  1. Enter the exact PUK code supplied for that SIM.
  2. Choose a new SIM PIN when prompted.
  3. Enter the new SIM PIN again to confirm it.
  4. Wait for the phone to reconnect to the mobile network.
PUK code recovery steps after a SIM PIN is blocked
The safest recovery path is to stop guessing, obtain the correct PUK, and set a new SIM PIN.

The wording varies by device and carrier. Some phones request the PUK as soon as they start. Others show the prompt when you try to make a call or enable mobile data.

💡 Type slowly and check every digit before confirming. If the carrier displays both PUK1 and PUK2, use only the one named on your phone’s prompt.

PUK code on iPhone and Android

On iPhone or iPad

The alert may say “SIM Locked,” “Enter PUK,” or “PUK Exhausted.” Follow the on-screen prompt after obtaining the code from your carrier. Do not keep trying values from memory. Apple warns that incorrect guesses can permanently lock a physical SIM or eSIM.

On Android

Samsung, Google Pixel, and other Android devices use slightly different wording. However, the principle is the same: the PUK comes from the carrier, not from Android. Enter it in the system prompt, then set and confirm a new SIM PIN.

Some carriers publish a dialer sequence for devices that do not show the prompt. Use that method only when your carrier provides the exact instructions. Codes copied from an unrelated website may target the wrong SIM slot or fail on your network.

What happens after too many wrong PUK attempts?

The number of available attempts depends on the carrier and SIM. Many carriers allow a limited series of tries, but the exact limit is not universal. Your phone may display the remaining attempts.

If the screen says “PUK blocked,” “PUK exhausted,” or “SIM permanently blocked,” stop. The existing SIM can usually no longer be recovered. Contact the carrier for a replacement physical SIM or a new eSIM profile.

Your mobile number can normally be transferred to the replacement after identity checks. Nevertheless, service may remain unavailable until activation completes.

⚠️ A factory reset does not restore a PUK-exhausted SIM. It can erase your phone without solving the cellular lock.

Locked out while travelling? Stay connected safely

A blocked SIM is especially stressful abroad because it can interrupt maps, bookings, and authentication messages. First, connect to trusted Wi-Fi and contact the original carrier. If possible, use another phone to reach support while keeping the PUK screen open.

Do not delete an eSIM profile unless the provider instructs you to do so. Deletion may remove information that support needs, and some profiles cannot be downloaded again without a replacement activation code.

If recovery will take time, a compatible travel eSIM can provide temporary data. Check that the phone supports eSIM and is not network-locked. Then follow our guide to scan an eSIM activation code correctly.

Here are established travel eSIM providers worth comparing for a temporary connection:

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

✅ A backup data eSIM can restore internet access, but it will not reveal or replace the PUK for your original SIM. Your carrier still controls that recovery.

How to avoid another SIM lock

  • Store the SIM holder or carrier details in a secure place.
  • Use a memorable SIM PIN that is not easy for someone else to guess.
  • Keep the SIM PIN separate from your phone passcode.
  • Record which carrier issued each physical SIM or eSIM.
  • Before travelling, confirm that you can access your carrier account without relying only on SMS.

💡 If you do not need SIM-PIN protection, ask your carrier or follow your device settings carefully before disabling it. Never change security settings while unsure of the current PIN.

FAQ

Can I find my PUK code in my phone settings?

Usually not. A phone may show the SIM’s ICCID, but it does not normally reveal the PUK. Check the original SIM pack, your carrier account, or official carrier support.

Is the PUK code the same for every SIM?

No. The PUK is tied to a specific SIM or eSIM profile. A code from another line, even on the same account, will not unlock it.

Can I unlock a SIM without a PUK code?

Not once the phone specifically requests the PUK. Restarting, changing phones, or resetting the device does not bypass the lock. You need the correct carrier-issued code or a replacement SIM.

Does an eSIM have a PUK code?

It can. An eSIM may use SIM-PIN security just like a physical SIM. If it becomes blocked, contact the provider that issued that eSIM profile.

What should I do if the PUK is exhausted?

Stop entering codes and contact the carrier. The SIM is generally permanently disabled, so the carrier must issue a replacement physical SIM or eSIM and restore service to your line.