Your PUK code is printed on the card your SIM came on, or you can get it from your phone carrier by calling their customer service line
PUK stands for Personal Unblocking Key. It's an eight-digit code that unlocks your SIM card after you've entered the wrong PIN (Personal Identification Number) too many times. Your phone will ask for it when you've tried the wrong PIN three times in a row — at that point, your SIM locks itself to prevent someone else from guessing their way in.
The PUK is not something you create yourself. Your carrier generates it and gives it to you when you get a new SIM card. Most people never need it because they don't forget their PIN, but when you do need it, you need it when ready — your phone becomes unusable until you enter the correct PUK.
Key Takeaways
- Your PUK code is printed on the plastic card your SIM came attached to, usually on the back in small text near the SIM itself.
- If you no longer have that card, call your carrier's customer service number and have your account information ready — they can look it up in seconds.
- You get one attempt to enter the correct PUK; entering it wrong eight times will permanently lock your SIM and require a replacement.
- The PUK is different from your PIN — your PIN is something you set yourself, but your PUK is set by your carrier and cannot be changed.
Finding your PUK on the original SIM card packaging
When you first received your SIM card, it came attached to a plastic card about the size of a credit card. On the back of that card, usually printed in small gray or black text, you'll see a series of numbers labeled "PUK" or "PUK1" (if you have a dual-SIM phone, you may also see "PUK2" for the second SIM). The PUK is always eight digits long.
Keep this card in a safe place even after you've removed the SIM. Many people throw it away when ready, which is why they end up locked out later. If you still have it, write the PUK down somewhere separate from the card itself — a notes app on your computer, a password manager, or even a piece of paper in a drawer. Do not store it in your phone, since you won't be able to access your phone when you need it.
Getting your PUK from your carrier if you don't have the card
If you've lost the original packaging, your carrier has your PUK on file. Call their customer service number — you'll find it on your bill, on your carrier's website, or by searching "[carrier name] customer service". Have your account information ready: your phone number, the last four digits of the Social Security number or tax ID associated with the account, and a photo ID if you're calling from a different phone.
The carrier's system will verify your identity and then read your PUK to you over the phone. Write it down as they say it, and ask them to repeat it so you have it correct. This process usually takes less than five minutes. Major carriers like Verizon, AT&T, T-Mobile, and most regional carriers can do this when ready.
What happens when you enter your PUK
When your phone is locked and asking for a PUK, you'll see a screen that says "Enter PUK" or "SIM locked" with a text field. Type the eight-digit code carefully — there's no autocorrect here, and a typo means you've used up one of your eight attempts. After you enter the PUK, your phone will ask you to create a new PIN (a four- to eight-digit code of your choice). Choose something you'll remember but that's not obvious, like your birthday or a sequence of numbers on your keyboard.
Once you've entered the correct PUK and set a new PIN, your SIM unlocks and your phone returns to normal. You can then use your phone as usual. If you enter the PUK incorrectly eight times, your SIM becomes permanently locked and cannot be unlocked — you'll need to contact your carrier to get a replacement SIM card sent to you.
The difference between PIN and PUK
Your PIN and your PUK serve different purposes, and it's straightforward to confuse them. Your PIN is a code you set yourself — it's usually four to eight digits, and you enter it every time you turn on your phone or access certain features. You can change your PIN anytime through your phone's settings. If you enter the wrong PIN three times, your SIM locks and asks for the PUK.
Your PUK is set by your carrier and cannot be changed. It's a backup unlock code that only works after your PIN has locked the SIM. You should never need to enter it unless you've genuinely forgotten your PIN or someone else has tried it too many times. The PUK is more sensitive than the PIN — you only get eight attempts instead of three, and a permanent lock means you need a new SIM card.
Preventing a lockout in the first place
The easiest way to avoid needing your PUK is to remember your PIN or write it down somewhere safe. If you use your phone's default PIN (usually 0000 or 1111), change it to something only you know. Write it down in a password manager or a physical notebook kept separate from your phone — not in your phone's notes app, since you won't be able to access that when your SIM is locked.
If you have a family member or trusted friend who knows your PIN, tell them your PUK as well. That way, if you're traveling or your phone is lost, someone can help you unlock it without waiting for a carrier callback. You can also take a photo of the back of your original SIM card packaging and store it in cloud storage or email it to yourself — just make sure the image is clear enough to read the numbers.
What to do if you've entered the PUK wrong multiple times
If you've entered an incorrect PUK eight times, your SIM is now permanently locked. Your phone will display a message saying the SIM is blocked or that you need a new SIM card. At this point, you cannot unlock it yourself — you must contact your carrier and request a replacement SIM.
Call your carrier's customer service line and explain that your SIM is locked due to too many PUK attempts. They'll verify your identity and send you a new SIM card, usually within one to three business days. When it arrives, you'll insert it into your phone, and it will work when ready. Your phone number and service will transfer to the new SIM automatically. You won't lose any data on your phone itself, but you should back up any contacts or messages stored only on the SIM before it arrives, if possible.
Frequently Asked Questions
Can I change my PUK code?
No. Your PUK is generated by your carrier and cannot be changed. You can change your PIN anytime through your phone's settings, but the PUK remains the same for the life of that SIM card. If you get a new SIM card, you'll receive a new PUK.
What if I enter the wrong PUK once — does it count against me?
Yes. Each incorrect PUK entry counts as one of your eight attempts. After eight wrong entries, your SIM locks permanently. If you're not certain of your PUK, call your carrier to confirm it before you try entering it.
Is my PUK the same across all my devices?
No. Each SIM card has its own unique PUK. If you have multiple phones or a dual-SIM phone, each SIM has a different PUK. Check the original packaging for each SIM to find the correct code.
Can someone unlock my SIM with just my PUK?
Only if your SIM is already locked due to too many wrong PIN attempts. If your SIM is not locked, the PUK does nothing — it only works as an unlock code. Still, treat your PUK like a password and don't share it unless absolutely necessary.
What if my carrier won't give me my PUK over the phone?
Most carriers will provide it when ready after verifying your identity, but policies vary. If they refuse, ask if you can visit a physical store location with a photo ID to get it in person, or request that they mail it to you. Some carriers may also allow you to view it in your online account portal.