- Phones and tablets
- iPhone
Locked SIM
Apple Locked SIM on iPhone: SIM PIN or PUK code is required

Risk level
Low
Usually safe to check without specialist tools.
Urgency
Medium
Quick answer
The SIM or eSIM has a PIN turned on and locked itself after a restart or removal. Enter the correct PIN; if you do not know it, do not guess: ask your carrier for the default PIN or PUK code.
Safety first
Stop and check this first
- Never try to guess the SIM PIN or the PUK code: one wrong attempt too many can lock the SIM or eSIM permanently and force you to get a new one.
Safe checks you can perform
- Look for the default PIN in your paperwork
- Work out which carrier to call
- Decide on SIM PIN once unlocked
Leave these tasks to a qualified professional
- Do not attempt this professional task: Ask your carrier for the PUK code
- Do not attempt this professional task: Request a new SIM or eSIM after PUK exhausted
What a technician must be able to justify
Technician visit
These are the steps they must carry out and show you. Tick them as they work: if steps are skipped, do not accept a part swap.
These are not instructions for opening or handling the equipment yourself. They are the checks that should support a technical conclusion.
Ask your carrier for the PUK code
What they doThe carrier that supplied the SIM or eSIM can help you unlock it with the default SIM PIN or the PUK code.
They must show youwhich line the PUK they give you belongs to.
In writingthe ticket number, and keep the PUK if they send it by message.
Request a new SIM or eSIM after PUK exhausted
What they doIf the card cannot be unlocked or PUK exhausted appears, the carrier has to issue a new SIM or eSIM for the same line.
They must show youthat the new SIM or eSIM keeps your number.
In writingany replacement fee and the activation date.
Before accepting a part or repair
Nothing has been shown yet. Do not accept a part swap based on the code alone.
Follow these steps
Note: Follow the documented order. An error code identifies the affected system, but it does not prove by itself which part has failed.
Look for the default PIN in your paperwork
- Who:
- you.
- How:
- check the plastic card the SIM came in, your contract or plan documents, and your carrier's customer service website.
- Result that matters:
- finding the carrier's PIN without making random attempts.
- If you find it:
- type it once, carefully.
- If it is nowhere to be found:
- do not try combinations, contact the carrier.
- Evidence to keep:
- photo of the document showing the PIN (store it somewhere safe).
Evidence: Use a SIM PIN for your iPhone or iPad
Work out which carrier to call
- Who:
- you.
- How:
- with a physical SIM, remove it and read the printed name or logo; with an eSIM, open Settings, Cellular and read the carrier listed just above Turn On This Line.
- Result that matters:
- knowing exactly which company can give you the PUK or a new SIM.
- If the carrier is clear:
- call its customer service.
- If you use Dual SIM:
- note which of the two lines is locked before calling.
- Evidence to keep:
- carrier name and the affected line number.
Evidence: Use a SIM PIN for your iPhone or iPad
Decide on SIM PIN once unlocked
- Who:
- you.
- How:
- when the SIM works again, go to Settings, Cellular, SIM PIN (on Dual SIM, tap the number first) and choose whether to keep it on or turn it off.
- Result that matters:
- avoiding another lock on the next restart if you do not want that protection.
- If you keep it on:
- record the PIN somewhere safe.
- If you turn it off:
- the SIM stops asking for a code, but anyone who removes it can use it.
- Evidence to keep:
- screenshot of the SIM PIN setting.
Evidence: Use a SIM PIN for your iPhone or iPad
Still not solved
If the error persists, stop here. See what the technician must do and show you.
Where this code applies
A code is meaningful only inside the right product and version context.
Primary scope
- System
- Phones and tablets
- Brand
- Apple
- Product type
- iPhone
Known code variants
- código PUK
- eSIM bloqueada
- eSIM locked
- iPhone asks for SIM PIN
- iPhone pide código PUK
- iPhone pide PIN de la SIM
- Locked SIM
- PIN de la SIM
- PUK agotado
- PUK code
- PUK exhausted
- PUK Locked
- SIM bloqueada
- SIM locked iPhone
- SIM PIN
What it means
With SIM PIN enabled, the card or eSIM locks every time you restart the iPhone or take the SIM out, and the status bar shows Locked SIM. Without the PIN you cannot make calls or use cellular data. If you enter the PIN wrongly too many times, the carrier may give you a PUK code. Apple warns that a wrong guess can lock the SIM permanently, and if PUK exhausted appears you will need a new SIM or eSIM from your carrier.
Warnings and stop conditions
- Highsource verified
Never try to guess the SIM PIN or the PUK code: one wrong attempt too many can lock the SIM or eSIM permanently and force you to get a new one.
Evidence: Use a SIM PIN for your iPhone or iPad
Symptoms and causes
Probable causes · in order
- SIM PIN enabled and the phone restartedCommon
With the PIN on, the SIM or eSIM locks itself on every restart or card removal, even though nothing is broken.
Evidence: Use a SIM PIN for your iPhone or iPad
- PIN entered wrongly too many timesPossible
After repeated wrong attempts the SIM asks for a PUK code, which only the carrier that issued it can provide.
Evidence: Use a SIM PIN for your iPhone or iPad
- PUK exhausted by wrong entriesLess common
If the PUK also fails or the PUK exhausted alert appears, the card is locked for good and a new one is needed.
Evidence: Use a SIM PIN for your iPhone or iPad
Virtual technician
Does Locked SIM still appear after these checks?
Answer a few questions to narrow down the likely cause and the safest next action. Guidance only - it never replaces a professional.
Sources and technical references
- 1
Use a SIM PIN for your iPhone or iPad
Apple · 2026 · official_doc
- 2
Usar un PIN con la tarjeta SIM del iPhone o el iPad
Apple · 2026 · official_doc
Was this entry useful?