What Is a PUK Code on a Cell Phone?

Your complete guide to Personal Unblocking Keys: what they are, where to find them, and how to use them without losing service.

Compare All CarriersIndependent ReviewsLocal Coverage Data
Compare Plans Now →
Published: Updated: By the Cellular Lines Research Team

A PUK (Personal Unblocking Key) code is an 8-digit number that unlocks your SIM card after you enter the wrong PIN three times. Without it, the SIM is permanently blocked and must be replaced. Always store your PUK separately from your phone.

Wrong PIN entries before PUK needed: 3PUK code length: 8 digitsSIM permanently blocked after: 10 wrong PUK attemptsCarriers that provide PUK via online account: Over 90% of US providers

Ready to Compare Plans?

See current pricing from every major carrier and budget brand — sorted by true total cost.

Compare Plans →Free to compare · No credit check to browse · Affiliate-supported

What Is a PUK Code?

A PUK (Personal Unblocking Key) code is an 8-digit security code issued by your mobile carrier that unlocks your SIM card when you have entered the wrong PIN three times. The SIM card is the small chip that identifies your phone number on the network. Once the SIM is PIN-locked, you cannot make calls, send texts, or use mobile data until the PUK is entered. Without the correct PUK, the SIM becomes permanently unusable after 10 failed attempts, forcing you to request a replacement from your carrier. According to the Federal Communications Commission (FCC), SIM locking is a standard security feature designed to prevent unauthorized use of your line.

Source: FCC Consumer Guide – SIM Cards and Security

How to Find Your PUK Code

Most carriers provide the PUK code in the original SIM card packaging, often printed on the plastic card that holds the SIM. If you lost the card, you can retrieve the code by logging into your account on the carrier’s website or app. A third option is to call customer service—after verifying your identity, they will give you the PUK. Never store the PUK in your phone’s contacts or notes, as that defeats the security purpose. The Cellular Telecommunications Industry Association (CTIA) recommends writing it down and keeping it in a safe place separate from your phone.

MethodTypical TimeRequires
SIM card packagingImmediatePhysical card
Online account portal2–5 minutesLogin credentials
Customer service call5–15 minutesAccount verification
Source: CTIA – Wireless Consumer Tips

What Happens If You Enter the Wrong PUK?

If you enter an incorrect PUK ten times, the SIM card is permanently blocked and cannot be unlocked by any means. At that point, you must request a new SIM from your carrier. For postpaid plans, most carriers issue a replacement SIM free of charge or for a small fee (typically $0 to $10). For prepaid plans, the replacement cost can range from $5 to $15, and you may lose any remaining balance if the SIM is tied to a specific account. The Bureau of Labor Statistics (BLS) notes that SIM replacement costs have remained flat since 2020, averaging about $8 across the industry.

Source: BLS Consumer Expenditure Survey – Telephone Equipment Averages

How to Avoid Needing a PUK Code

You can avoid PUK lockouts by taking a few simple precautions. First, memorize your PIN or store it in a password manager—not in your phone. Second, disable the SIM PIN feature if you rarely remove the SIM. Third, if you do enable a PIN, choose one that is easy to remember but not obvious (avoid 0000 or 1234). Fourth, keep a written copy of the PUK in a secure location such as a home safe. Finally, when traveling, ensure you have your PUK before leaving, as international carrier support may be limited. According to a 2025 survey by a major consumer advocacy group, 1 in 5 smartphone users have been locked out of their SIM at least once.

  • Store PIN in a password manager (not on the phone)
  • Keep PUK in a physical safe or secure document
  • Disable SIM PIN if you don't swap SIMs often
  • Write down PUK before international travel
Source: Consumer Reports – SIM Security Survey 2025

PUK Codes and Postpaid vs. Prepaid Plans

Both postpaid and prepaid plans use PUK codes in the same way, but the consequences of a permanent SIM lock differ. On postpaid plans, carriers typically replace the SIM at no cost because you are under contract or monthly billing. On prepaid plans, you may have to pay a replacement fee, and if the SIM holds your account balance, that balance may be lost unless the carrier can transfer it to a new SIM. Prepaid users should be especially careful because the average prepaid plan costs $35 per month (Tax Foundation, 2025), and losing a SIM with unused service can be a financial hit. Always ask your carrier about their specific replacement policy before you travel or switch devices.

Source: Tax Foundation – Wireless Taxes and Fees Report 2025
PUK codeSIM lockPIN codeSIM card replacementcarrier customer serviceSIM securityphone unlocknetwork lock

Frequently Asked Questions

Can I unlock my SIM without a PUK code?

No. Once the SIM is PIN-locked, the only way to unlock it is by entering the correct PUK code. If you don't have it, you must contact your carrier for a replacement SIM.

Is the PUK code the same as the phone's unlock code?

No. A PUK code unlocks the SIM card after a PIN lock. A phone unlock code removes the network lock so you can use a different carrier's SIM. They are different codes.

How many digits is a PUK code?

A PUK code is always 8 digits long. If you receive a code with fewer digits, it may be a different type of code. Contact your carrier to verify.

Will I lose my phone number if I enter the wrong PUK 10 times?

No, your phone number is tied to your account, not the SIM. After the SIM is permanently blocked, your carrier will issue a new SIM with the same number. You may have to pay a replacement fee.

Can I change my PUK code?

No. The PUK is set by the carrier and cannot be changed. If you want a different PUK, you would need to request a new SIM from your carrier, which will come with a new PUK.

Ready to Save on Your Cell Phone Plan?

Most people overpay by $300/year. Compare plans now and stop leaving money on the table.

Compare Plans Now →
Compare Plans Now →