PIN and PUK codes
The PIN code (4 digits, changeable) locks a SIM card at every phone restart. After 3 wrong PINs, the SIM locks and demands the PUK code (8 digits, fixed), supplied by the carrier. After 10 wrong PUKs, the SIM card is permanently unusable and has to be replaced.
Why it matters when travelling
The classic scenario: phone restarted on the plane, PIN typed wrong three times through tiredness, line locked on landing. The PUK code lives in your carrier's customer area or on the original SIM card holder: two things you may not be able to reach without a connection. Note your PUK before leaving.
Good news on the travel eSIM side: nearly all of them ship with no active PIN. PIN/PUK lockouts mostly concern your main home line.
The misconception
“The PUK is a universal unlock code.”
It is not: every SIM card has its own PUK, generated by the carrier that issued it. No app and no third-party site can compute it: only your carrier knows it. Sites promising to “find your PUK” are useless at best, scams at worst.
PIN and PUK: which does what
| Code | Role | Length | Where to find it |
|---|---|---|---|
| PIN | Locks the SIM at every restart | 4 digits (changeable) | Chosen by you, default on the SIM paperwork |
| PUK | Unlocks the SIM after 3 wrong PINs | 8 digits (fixed) | Carrier customer area, SIM card holder |
What it changes when you compare
No impact on choosing a travel eSIM plan: serious providers do not impose a PIN on their profiles. If you are comparing physical local SIMs bought on the spot, however, keep the card holder: the PUK is printed on it.
Compare eSIM plans by destinationThe rat's tip: Before leaving, switch off the PIN on your main line if your phone is already protected by Face ID or a fingerprint: a biometric lock protects better than a 4-digit PIN, and it removes the risk of a PUK lockout on the other side of the world.
See also
Frequently asked questions
Where do I find my PUK code?
In your carrier's customer area or app (SIM or security section), or printed on the original plastic holder of your SIM card. As a last resort, support will give it to you after an identity check.
Does an eSIM have a PIN code?
It can, but travel eSIMs ship with no active PIN in nearly every case. You can add one in your phone's SIM settings, line by line; few travellers do.
I used up my 10 PUK attempts, what now?
The SIM card is permanently blocked: you have to request a new SIM (or eSIM) from your carrier, usually from the customer area. Your number and your plan are kept, only the card changes.