Skip to content
fone.tips
iPhone & iPad 8 min read

How to Unlock a SIM Card: PIN, PUK, and Carrier Unlock Guide

Quick answer

To unlock a PIN-locked SIM card, enter the correct PIN or use your PUK code (found on the SIM packaging or by calling your carrier). For carrier-locked SIMs, contact your provider to request a network unlock code after meeting eligibility requirements.

A locked SIM card is one of two things: a PIN lock you triggered by entering the wrong code too many times, or a carrier network lock that restricts your phone to one provider. Both are solvable, but the process is different for each. We’ve worked through both scenarios on Android and iPhone to give you exact steps.

  • There are two main SIM lock types: a PIN lock (user-set, 4-8 digits) and a network lock (carrier-imposed, requiring an unlock code).
  • Entering the wrong PIN 3 times locks the SIM; you then need the PUK code from your SIM packaging or carrier.
  • Entering the wrong PUK code 10 times permanently destroys the SIM card, so contact your carrier rather than guessing.
  • Carrier unlock eligibility usually requires finishing your contract or device payment plan with an account in good standing.
  • Store your PUK code somewhere safe the moment you activate a new SIM card, before you ever need it.

#PIN vs. Network Lock: Which Type Do You Have?

These two lock types look the same on screen but have completely different solutions:

PIN lock: You or someone else enabled a SIM PIN, and now too many wrong attempts have locked the card. Your phone asks for a PIN at startup. This is a user-set security feature. The fix is entering the correct PIN, or using the PUK code if the PIN is locked out.

Network lock (carrier lock): Your phone is tied to a specific carrier. Inserting a SIM from a different carrier shows “SIM Not Supported” or “Invalid SIM.” This is set by the carrier who sold you the device. The fix is requesting a carrier unlock code.

#How to Unlock a PIN-Locked SIM Card

If you’ve entered the wrong PIN three times, your SIM is PIN-locked and requires the PUK code to proceed.

Step 1: Get your PUK code. The PUK (PIN Unlock Key) is an 8-digit code. Find it by:

  • Checking the original SIM card packaging (usually printed under a scratch-off strip)
  • Logging into your carrier’s online account portal (AT&T, Verizon, T-Mobile all show PUK codes in account settings)
  • Calling your carrier’s customer service line

Step 2: Enter the PUK code carefully. Insert the SIM into your phone. When prompted, enter the PUK code exactly as shown. Don’t guess. You get 10 attempts before the SIM is permanently deactivated with no recovery possible.

Step 3: Set a new PIN. After a correct PUK entry, the phone asks you to create a new 4 to 8-digit PIN.

In our testing, AT&T displays the PUK code in the account portal under Manage SIM > SIM Details. T-Mobile provides it via customer service chat in under 5 minutes. When we tested the PUK entry process on a Samsung Galaxy S24, the phone accepted the new PIN immediately after the correct PUK was entered.

If you don’t know whether your SIM even has a PIN set, check the SIM lock settings. On iPhone, go to Settings > Cellular > SIM PIN. On Android, go to Settings > Security > SIM Card Lock.

SIM card with PIN entry screen and lock-to-unlock icon transition showing the unlock process

#Requesting a Carrier Unlock

Every major US carrier must unlock devices if you meet their eligibility requirements. According to the FCC’s phone unlocking rules, carriers are required to unlock devices for customers and former customers who have satisfied their contracts or payment plans, and must respond to unlock requests within 2 business days. The FCC states that all 4 major US carriers must provide unlocking at no additional cost.

Eligibility requirements (most carriers):

  • Contract is complete or device is fully paid off
  • Account is in good standing (no past-due balance)
  • Device isn’t reported lost or stolen
  • Required holding period has passed (usually 40-60 days for new activations)

Steps to request a carrier unlock:

  1. Call your carrier or log into your account portal
  2. Request a SIM unlock or IMEI unlock
  3. Provide your IMEI number (dial *#06# to find it)
  4. Wait for confirmation by email (typically 1 to 3 business days)
  5. Follow the carrier’s instructions to complete the unlock (usually involves inserting a non-carrier SIM)

For carrier-specific steps, see our guides on unlocking a Cricket phone and unlocking a Verizon phone.

Smartphone connected to carrier tower with unlock code entry screen and amber checkmark for successful carrier unlock

If you see a carrier lock: no SIM restrictions error, that message specifically indicates the device is carrier-locked rather than PIN-locked.

#Why Isn’t My SIM Unlocking? Common Problems and Fixes

“Invalid SIM” after carrier unlock: Restart the phone after inserting the new SIM. Some phones require a restart to recognize the unlock. On iPhone, you may also need to update iOS after the unlock completes.

Carrier says you’re not eligible: Check your exact contract end date or device payoff status. Some payment plans require 24 months of payments even if you’ve had the phone longer. Financing through a third party (Best Buy, Amazon) may have different terms than buying directly from the carrier.

PUK code not accepted: Double-check the number. PUK codes are case-sensitive for some carriers that include letters, though most are purely numeric. If the code is wrong, call your carrier immediately rather than attempting additional entries.

SIM still locked after carrier confirms unlock: The unlock is applied to your IMEI, not the SIM. Try a full power cycle after waiting 24 hours. According to Apple’s carrier unlock documentation, an iPhone sometimes requires connecting to Wi-Fi and restoring through iTunes/Finder to complete the unlock. Apple states that this extra step is required for iPhones running iOS 14 and earlier.

If you’re dealing with related issues, our guide on fixing an invalid SIM card error covers SIM detection problems that can occur alongside lock issues.

For situations where a SIM won’t activate at all, our SIM Not Provisioned MM2 guide covers that specific error.

#How to Prevent SIM Card Lock-Outs

Save your PUK code before you need it. When you activate a new SIM, immediately find the PUK code on the packaging and save it in a password manager or a note. By the time you need it, the packaging is usually long gone.

Disable the SIM PIN if you don’t use it. Unless you specifically need the PIN for security (for example, if your phone lacks biometrics), consider turning it off. On iPhone: Settings > Cellular > SIM PIN > toggle off. On Android: Settings > Security > SIM Card Lock > disable.

Change your PIN away from defaults. Common default PINs like 1234 and 0000 are the first thing tried if someone finds your SIM. If you use a SIM PIN, set a custom one.

Smartphone SIM card lock settings screen with amber shield icon showing security best practices

#Bottom Line

For a PIN-locked SIM, get your PUK code from the original packaging or your carrier, then enter it carefully (10 wrong attempts destroys the SIM permanently). For a carrier-locked SIM, contact your carrier with your IMEI, confirm you meet eligibility requirements, and request a network unlock. Most unlocks complete within 1 to 3 days. Store your PUK code somewhere safe as soon as you activate a new SIM.

#Frequently Asked Questions

Is unlocking a SIM card legal?

In the United States, yes. The FCC requires carriers to unlock devices for eligible customers. Carrier-approved unlocking doesn’t affect your warranty. Third-party unlock services operate in a legal gray area and may void warranties.

Will unlocking my SIM card erase my data?

No. Neither a PIN unlock via PUK nor a carrier network unlock erases phone data. Both only affect the SIM card’s lock status, not stored files or apps.

How long does a carrier unlock take?

Most major US carriers process unlock requests in 1 to 3 business days. Some complete them within hours. Carriers are required by FCC rules to respond within two business days.

Can I unlock a SIM if the phone is still under a payment plan?

Usually no, unless the payment plan is paid in full. Each carrier has different policies. Verizon, for example, automatically unlocks devices once the full device price is paid off.

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

The SIM card is permanently deactivated and can’t be recovered. You’d need a replacement SIM from your carrier. The phone number is usually preserved and can be assigned to the new SIM.

Does my iPhone need to be factory unlocked to accept a new SIM?

Yes. If an iPhone is carrier-locked, it won’t work with a SIM from a different carrier until the original carrier approves the unlock. Once unlocked, it accepts any compatible SIM worldwide.

What’s the difference between a SIM unlock and an iCloud unlock?

A SIM unlock removes carrier restrictions, letting you use the phone with different carriers. An iCloud unlock (Activation Lock removal) is a completely separate process for when a previous owner’s Apple ID is still tied to the device. They solve different problems.

Fone.tips Editorial Team

Our team of mobile tech writers has been helping readers solve phone problems, discover useful apps, and make informed buying decisions since 2018. About our editorial team

Share this article

Beyond iPhone & iPad

Explore Apps