# What Is a PUK Code? Where to Find It and How It Works

Written by Manuel Rozewski · Updated Oct 27, 2026 · First published May 31, 2021

A **PUK code** (Personal Unblocking Key) is an 8-digit code that unblocks your SIM card after you enter the wrong SIM PIN three times in a row. Your carrier sets it and it's unique to your SIM. You'll usually find your PUK on the card your SIM came on, in your carrier's app or online account, or by asking customer service. This guide explains what the PUK code is, how it differs from your PIN, how many tries you get, where to find it with major carriers, and what it means for an eSIM.

**Quick answer**A PUK code (Personal Unblocking Key) is an 8-digit code that unblocks your SIM card after you enter the wrong SIM PIN three times in a row. Your carrier sets it, and you'll usually find it on your SIM's card, in your carrier's app or through customer service.

Key takeaways

* **PIN vs PUK:** You choose and change your SIM PIN, while the PUK comes from your carrier and only unblocks the SIM.
* **Limited tries:** Most carriers block your SIM for good after 10 wrong PUK entries, and Telstra after eight.
* **No default code:** Every SIM has its own PUK, so never try codes from websites or PUK unlock apps.
* **eSIMs too:** An eSIM can ask for a PUK, so check the issuing carrier's app, online account or support.
* **Save it now:** Keep your PUK in a password manager or secure note while your SIM still works, not in your phone case.

## What is a PUK code?

The PUK is a backup security code for your SIM. If your SIM PIN is turned on and you type it wrong three times, the SIM locks itself and your phone shows **PUK**, **Enter PUK** or **SIM locked**. You can't call, text or use mobile data with that SIM until you enter the right PUK and choose a new PIN ([Vodafone UK: How to find your PUK](https://www.vodafone.co.uk/help/sim/puk-code)).

A few things worth knowing:

* **The lock is on the SIM, not the phone.** Moving the SIM to another phone won't fix it ([T-Mobile: PUK and SIM error troubleshooting](https://www.t-mobile.com/support/devices/device-troubleshooting/puk-and-sim-error-troubleshooting)).
* **Each SIM has its own PUK.** There's no default or universal PUK code, and no tool that can "generate" yours. Only your carrier has it.
* **It's usually 8 digits.** Carriers such as Verizon and Telstra describe it as an 8-digit code.

## PIN vs PUK: what's the difference?

Your phone can ask for several codes, and they're easy to mix up:

* **SIM PIN:** a 4 to 8 digit code that protects your SIM. If it's on, your phone asks for it when you restart or put the SIM back in. You can change it or turn it off ([Verizon: Unblock SIM PIN](https://www.verizon.com/support/knowledge-base-225116/)).
* **PUK:** the 8-digit code that unblocks the SIM after three wrong PINs. It comes from your carrier.
* **PIN2 and PUK2:** a second pair of SIM codes some carriers use for extra features. If your phone asks for PUK2, ask your carrier for that code ([Three UK: Getting a PUK code](https://www.three.co.uk/support/new-pay-as-you-go/getting-a-puk-code)).
* **Network unlock code:** this unlocks a phone that's locked to one carrier. It's not a PUK. Vodafone UK explains the difference: a PUK unlocks your SIM card, a network unlock code unlocks your phone from the network. More on [what it means if a phone is carrier-locked](https://www.simoptions.com/what-does-it-mean-if-a-phone-is-carrier-locked/).
* **Screen passcode:** the code, fingerprint or face you use to open your phone. It has nothing to do with your SIM or PUK.

## How many tries do you get to enter the PUK?

Usually 10\. Vodafone UK, EE, Three UK and T-Mobile all say that 10 wrong PUK entries block your SIM for good. Some carriers allow fewer: Telstra in Australia gives you eight attempts ([Telstra: Unlock your phone using a PUK code](https://www.telstra.com.au/small-business/online-support/accounts-payments/unlock-phone-using-puk-code)).

Once the tries run out, your phone may show **PUK blocked** or **PUK exhausted**. That SIM can't be used again, and you need a new SIM or eSIM from your carrier. Your phone number usually isn't lost. Apple's advice is simple: never guess a SIM PIN or PUK, because a wrong guess can permanently lock your SIM card or eSIM ([Apple: Use a SIM PIN for your iPhone or iPad](https://support.apple.com/en-us/118228)).

## Where to find your PUK code

![Woman on a phone call with her laptop open, sitting by a window](https://www.simoptions.com/assets/media/031f4c3a-929a-414a-81c8-382512a688b4.jpg) 

You have four ways to get it. Try them in this order.

### 1\. On the card your SIM came on

Many carriers print the PIN and PUK on the plastic card your SIM was attached to, sometimes under a scratch-off panel. Check that the SIM number on the card matches the number printed on your SIM ([T-Mobile](https://www.t-mobile.com/support/devices/device-troubleshooting/puk-and-sim-error-troubleshooting)). This long number is your [ICCID](https://www.simoptions.com/iccid/).

### 2\. In your carrier's app or online account

Many carriers show your PUK after you log in, so you don't need to call anyone. You can do it from a computer or someone else's phone. Look for a section such as "SIM", "Manage device", "Device management" or "Unblock SIM".

### 3\. By text or a short code

Some carriers send the PUK by text, or let a friend request it from their line. Safaricom is one example (see below). Only use codes from your carrier's official website.

### 4\. From customer service or a store

Call from another phone, or use live chat. For your security, the carrier checks that you're the account holder or an authorised user, so have your ID, phone number and SIM number ready. A store can also check your ID and give you the PUK or a new SIM.

## How to get your PUK code from major carriers

Every carrier does this a little differently. These steps come from the carriers' own help pages.

### United States

* **Verizon:** sign in to My Verizon as the Account Owner or Manager. Go to **Account > My devices > Device Overview**, choose the number, then **Device Management** and **PIN and Personal Unblocking Key (PUK)** ([Verizon: Locate the SIM PIN / PUK](https://www.verizon.com/support/knowledge-base-47377/)). On a prepaid account, contact Verizon customer service instead.
* **AT&T:** use AT&T's Troubleshoot & Resolve tool, sign in and select the device that needs the PUK code ([AT&T: Enter PUK code](https://www.att.com/support/article/wireless/KM1011771/)).
* **T-Mobile:** contact T-Mobile online or from another phone, or use the PUK printed on the card your SIM came in ([T-Mobile: PUK code unlock](https://www.t-mobile.com/support/devices/puk-code-unlock)).
* **UScellular:** T-Mobile bought UScellular's wireless business in August 2025, and uscellular.com now opens T-Mobile's website. Check the card your SIM came on, or contact T-Mobile support from another phone.
* **Visible:** we couldn't find a Visible help page about PUK codes. Contact [Visible support](https://www.visible.com/help/connect) through the Visible app or website and ask for your PUK.

### United Kingdom

* **EE:** log in to My EE, select **Manage device**, then **Unblock SIM (PUK code)** and **Show PUK code** ([EE: Unblock your phone with a PUK code](https://business.ee.co.uk/help/ee-getting-started/unblock-your-phone-with-a-puk-code/)).
* **Vodafone UK:** call 191 free from a Vodafone mobile, or 0333 304 0191 from any other phone, and say "I need a PUK code" ([Vodafone UK](https://www.vodafone.co.uk/help/sim/puk-code)).
* **Three UK:** contact Three and ask for a PUK1 or PUK2 code. Your phone tells you which one you need ([Three UK](https://www.three.co.uk/support/new-pay-as-you-go/getting-a-puk-code)).

### India, Kenya and Australia

* **Jio (India):** log in through Jio's page for a locked or lost SIM and follow the steps to view the PUK of your Jio SIM ([Jio: How to find my SIM PUK code](https://www.jio.com/help/faq/mobile/services/hd-voice/how-to-find-my-sim-puk-personal-unblocking-key-code/)).
* **Safaricom (Kenya):** dial **\*456\*8#** (Get PUK). A friend can also get the PUK for you through their Safaricom line ([Safaricom: Customer self service](https://www.safaricom.co.ke/media-center-landing/frequently-asked-questions/customer-self-service)).
* **Telstra (Australia):** in the My Telstra app, tap **Services**, select your mobile service, tap the three dots and choose **View your PUK**. On Pre-Paid and Upfront plans, contact Telstra instead ([Telstra: Unlock my SIM card](https://www.telstra.com.au/support/mobiles-devices/unlock-sim-puk)).

**Airtel, Vi, BSNL, Rogers, Bell, Jazz or another carrier?** Search your carrier's official website or app for "PUK". If there's no self-service option, call customer care from another phone or visit a store with your ID. Skip "PUK unlock" sites and apps: they can't know your code.

## How to enter your PUK code

1. When your phone shows the PUK screen, type the 8-digit PUK slowly and check it before you confirm.
2. Choose a new SIM PIN and enter it twice.
3. Your SIM unlocks and connects to the network again.

No PUK prompt on screen? On many phones you can type **\*\*05\*PUK\*NewPIN\*NewPIN#** in the dialer instead ([T-Mobile](https://www.t-mobile.com/support/devices/puk-code-unlock)). For keypad phones, a blocked SIM and the full step by step guide, read [how to unlock a SIM card without a PUK code](https://www.simoptions.com/unlock-sim-card-without-puk-code/).

## Does an eSIM have a PUK code?

Yes, it can. An eSIM can be protected by a SIM PIN just like a physical SIM, and Apple warns that a wrong guess can permanently lock your SIM card or eSIM ([Apple](https://support.apple.com/en-us/118228)). If your eSIM asks for a PUK, here's how to get it:

* **There's no plastic card,** so look in your carrier's app or online account first. Belgian carrier BASE, for example, shows the PUK of your eSIM in My BASE after activation ([BASE: Finding your PUK code](https://www.base.be/en/support/mobile/sim-card-pin-puk/finding-puk-code-and-unlocking-handset)).
* **Not sure which carrier issued the eSIM?** On iPhone, go to **Settings > Cellular**. Your carrier is listed above **Turn On This Line** ([Apple](https://support.apple.com/en-us/118228)).
* **Still nothing?** Contact that carrier's support. If the eSIM is permanently blocked, ask for a new eSIM for the same number.
* **Bought your eSIM from SimOptions?** Don't guess. [Contact our support team](https://www.simoptions.com/contact-us/) and we'll help.

Thinking of moving your number to an eSIM after a SIM lockout? See how to [switch from a physical SIM to an eSIM](https://www.simoptions.com/switch-sim-card-esim/).

## SIM blocked right before a trip?

![Smiling man with a suitcase talking on his phone in a bright hallway](https://www.simoptions.com/assets/media/592649e7-67a6-483c-97b5-e894509fc3e0.jpg) 

Getting your PUK or a new SIM from your home carrier can take time. If you're about to travel, a travel eSIM can keep you online in the meantime. It's sent to you by email as a QR code, and you install it in a few minutes over Wi-Fi. Your phone must support eSIM and must not be locked to your home carrier, so [check your eSIM compatibility](https://www.simoptions.com/check-esim-compatibility/) first.

Going to Europe and want people to be able to reach you? My European eSIM comes with a French +33 number for calls and texts within Europe, plus 30 GB of data for 30 days. It doesn't bring back your home number, so you'll still need your carrier for that.

| Plan | Data | Validity | Calls & SMS | Price | Was |  |
| --- | --- | --- | --- | --- | --- | --- |
| My European eSIM 30GB | 30 GB | 30 days | Yes | US$32.90 | US$42.90 | [Buy now](https://www.simoptions.com/checkout/esim/3526356063683/?src=article%3Apuk-code&pos=1) |

Only need data? Pick a data-only eSIM for where you're going.

### Pick a data-only eSIM for your trip

| Plan | Data | Validity | Calls & SMS | Price | Was |  |
| --- | --- | --- | --- | --- | --- | --- |
| Europe 10GB | 10 GB | 7 days | No | US$7.50 | US$9.90 | [Buy now](https://www.simoptions.com/checkout/esim/3352609250049/?src=article%3Apuk-code&pos=1) |
| United States 10GB | 10 GB | 7 days | No | US$10.50 | US$14.50 | [Buy now](https://www.simoptions.com/checkout/esim/3352405316789/?src=article%3Apuk-code&pos=2) |
| Middle East 5GB | 5 GB | 7 days | No | US$11.50 | US$15.50 | [Buy now](https://www.simoptions.com/checkout/esim/3352609250643/?src=article%3Apuk-code&pos=3) |

Europe, USA and Middle East plans shown · data-only eSIMs, no phone number · [Find the eSIM for your destination](https://www.simoptions.com/destinations/)

## How to keep your PUK code safe

* **Save your PUK now,** while your SIM works. Keep it in a password manager or a secure note.
* **Don't keep it in your phone case.** Anyone who takes your phone would get the PUK too.
* **Stop after two wrong PINs.** Look up your PIN or PUK instead of guessing.
* **Keep the SIM PIN on if you can.** It stops someone who takes your SIM from using it in another phone.

## FAQs

### What is the PUK code?

The PUK (Personal Unblocking Key) is an 8-digit code that unblocks your SIM card after three wrong SIM PIN entries. Your carrier sets it, and it's unique to your SIM.

### Why is my phone asking for a PUK code?

Because the SIM PIN was entered wrong three times in a row, so the SIM locked itself. Enter the PUK from your carrier to unlock it and set a new PIN.

### How many digits is a PUK code?

Usually 8\. Your SIM PIN is shorter, between 4 and 8 digits.

### Is the PUK code the same as the SIM PIN?

No. You choose and change your SIM PIN. The PUK comes from your carrier and is only used to unblock the SIM.

### How do I get my PUK code without calling customer service?

Check the card your SIM came on, or log in to your carrier's app or website. Verizon, EE and Jio show the PUK online, Telstra shows it in its app for many plans, and Safaricom has a short code.

### Can I get my PUK code by text?

It depends on your carrier. Safaricom, for example, lets you request it with \*456\*8#. Check your carrier's official help pages for its options.

### How do I get the PUK code for an eSIM?

From the carrier that issued the eSIM, usually in its app, your online account or through customer service. There's no printed card for an eSIM.

### Is there a default PUK code?

No. Every SIM has its own PUK. Don't try codes from websites, because wrong tries count toward your limit.

### What happens if I enter the wrong PUK 10 times?

Your SIM is permanently blocked. With some carriers, such as Telstra, it happens after eight tries. You need a new SIM or eSIM from your carrier, and you can usually keep your number.
