Security Signing in safely: 2FA, passkeys and account recovery
How many PUK attempts before a SIM is blocked?
The SIM standard allows 3 wrong PINs, then 10 wrong PUKs before the SIM is blocked for good. Telstra says 8. Restarting does not reset the count.
The short answer
- You get 10 tries at a PUK: the SIM standard, ETSI TS 102 221, blocks the PUK for good after the tenth wrong one in a row.
- Before that, the SIM PIN allows 3 wrong tries, and the third wrong PIN is what makes the phone ask for the PUK.
- Telstra tells customers they have 8 PUK attempts; Vodafone UK, Three UK and Ting say 10. Use the lower of 10 and your carrier's figure.
- Restarting or moving the SIM to another phone does not reset the count, because the card keeps it. A correct PUK resets it to 10 PUK and 3 PIN tries.
- Find the PUK on the SIM card holder or in your carrier's app or account. eSIMs have a PIN and PUK too.
- A blocked SIM does not lose your number: a replacement SIM from the same carrier keeps it.
You get 10 tries at a PUK. The standard that SIM cards are built to, ETSI TS 102 221, allows 3 wrong tries at the SIM PIN and then 10 at the PUK. After the tenth wrong PUK in a row, the PUK is blocked for good and you need a new SIM. Telstra tells its customers they have eight attempts, not ten, so if your carrier names a lower number, plan around that one. Turning the phone off does not reset the count. A correct PUK does: you are back to 10 PUK tries and 3 PIN tries.
What a SIM PIN and a PUK are
A SIM PIN locks the SIM card itself, not the phone. Apple describes it as a lock on your SIM card or eSIM "so that an identification code is required for phone calls and mobile data usage." When it is turned on, the phone asks for it after a restart or when the SIM is moved.
A PUK is the Personal Unlocking Key (Verizon calls it the PIN Unblocking Key). It is an 8 digit code that unblocks the SIM after three wrong PINs. Vodafone UK says: "Each PUK only works with the SIM it was issued to." The standard calls the PUK the UNBLOCK PIN, and it calls the SIM card the UICC, the chip inside the card.
The card keeps the count, not the phone. So this is a different lock from the one in how many wrong passcode attempts before a phone locks, which lives in the phone.
The standard and the carriers side by side
The table sets the standard next to what carriers say on their own help pages. A dash means the page gives no number.
| Source | Wrong PINs before the PUK is needed | Wrong PUKs before the SIM is blocked | What happens then |
|---|---|---|---|
| ETSI TS 102 221 (the standard) | 3 | 10 | The PUK is blocked and the card refuses every further try |
| Telstra (Australia) | - | 8 | SIM "permanently blocked", you need a new one |
| Vodafone UK | - | 10 | SIM "permanently blocked", you need to replace it |
| Three UK | "too many times" | "over 10" and the SIM "may get blocked" | Order a replacement SIM |
| Ting (US) | 3 | 10 | SIM will "permanently lock", contact them for a replacement |
| AT&T (US) | "more than three" | - ("too many times in a row") | SIM "is blocked and must be replaced" |
| Verizon (US, basic phones page) | - | - ("too many times") | SIM "is permanently disabled" |
Of the carriers that give a number, Telstra is the odd one out.
Why you hear both 8 and 10
Ten comes from the standard. It says a correct PUK resets the remaining tries "to its initial value 10." Each wrong one counts down, and the tenth in a row blocks it.
Eight comes from Telstra. Its help page says: "You have eight attempts at entering your PUK code correctly. If you enter your PUK code incorrectly eight times, your SIM will become permanently blocked." Telstra's page does not say why its figure is lower. Your carrier issued the card, so for a Telstra SIM, take Telstra at its word.
The PIN side has a similar small gap. AT&T says the phone asks for a PUK "after more than three wrong PIN entries." The standard says the third wrong PIN in a row is the one that blocks it. So count on three PIN tries, not four.
One forgotten PIN, worked through
Take a phone whose owner set a SIM PIN years ago and forgot it. An update restarts the phone, and it asks for the PIN. Here is how the counts move, using the standard's numbers.
| Step | PIN tries left | PUK tries left |
|---|---|---|
| Start | 3 | 10 |
| First wrong PIN | 2 | 10 |
| Second wrong PIN | 1 | 10 |
| Third wrong PIN: the PIN is blocked and the phone asks for the PUK | 0 | 10 |
| Two mistyped PUKs | 0 | 8 |
| Phone switched off overnight and back on | 0 | 8 |
| Correct PUK and a new PIN entered | 3 | 10 |
The night off changes nothing: the morning starts with 8 PUK tries, not 10. On a Telstra SIM, which Telstra says allows 8 in all, the same two misses would leave 6. The safe move at the PUK prompt is to stop and find the real code first.
The standard also lets the phone ask the card how many tries remain, without using one up. That is where an "attempts remaining" message can get its number.
Restarting does not reset the count
The standard says wrong tries count "not necessarily in the same card session." A card session, in the standard's words, starts when the card powers up and ends at the next reset or when the card is switched off. So the count carries across restarts and days. Moving the SIM to another phone does not help either, because the count is stored on the card.
A wrong PUK also does not touch the PIN. The standard says: "A false UNBLOCK PIN shall have no effect on the status of the respective PIN itself." Your PIN stays blocked while you work through PUK tries. A correct PUK then sets the new PIN you type in and resets both counts.
Once all ten PUK tries are gone, the card answers with the code 63C0. Every later try gets 6983, which means the PUK is blocked. That is why every carrier sends you for a new SIM.
Where to find your PUK
Apple's advice is blunt: "Never try to guess a SIM PIN or Personal Unlocking Key (PUK) code. The wrong guess can lock your SIM card or eSIM permanently." Get the real code from one of these places.
- The SIM card holder. Check the plastic card your SIM was snapped out of and the packaging it came in. Ting points you there first.
- Telstra: in the My Telstra app, go to Services, pick your mobile service, tap the three dots and choose View your PUK. Telstra says this is not available on Upfront plans.
- AT&T: go to Troubleshoot & Resolve on the AT&T site, sign in, and pick the device that needs the code.
- Verizon: postpaid customers get it from the My Verizon website. Prepaid customers call customer service.
- Three UK: contact Three and ask for a PUK1 or PUK2 code. Your phone tells you which one it wants.
Most of these routes mean signing in to your carrier account from another device. If that sign-in is shaky, setting up account recovery before you need it covers it.
eSIMs have a PIN and a PUK too
An eSIM is a SIM built into the phone rather than a card you insert. Apple treats the two the same: a wrong guess "can lock your SIM card or eSIM permanently, and then you would need a new SIM card or eSIM." If your iPhone says "PUK exhausted", Apple says to ask your carrier for a new SIM card or eSIM.
The difference is that an eSIM has no card holder to check. Ting tells eSIM customers to contact support for the code.
A blocked PUK does not lose your number
Your phone number belongs to your account with the carrier, not to the piece of plastic. Boost Mobile in Australia says it directly: "You also won't lose your mobile number when you get your replacement SIM card." Vodafone UK issues a new SIM through its online chat. Three UK will post one, or you can collect it from a store with photo ID.
A replacement SIM is not a move to another company, so the timings in how long it takes to port a phone number only matter if you decide to switch carriers at the same time. The real risk is letting the line lapse, because then the number can go to a stranger. In the US that can happen 45 days after disconnection, as how long before a phone number is reassigned explains. Any codes still sent to that number would go with it.
Where these numbers stop applying
The 3 and 10 are the rules in ETSI TS 102 221, version 17.4.0, for a card built to that standard. Where your carrier publishes a different figure, as Telstra does, use the carrier's. This page does not cover the PIN2 and PUK2 codes that Three and AT&T mention. Your phone tells you which code it wants, and only your carrier can give you either.
A SIM PIN is not your phone's passcode, and it is not the account PIN a carrier asks for on the phone or before a number transfer. It is also not a carrier lock, where a phone only works with one network's SIMs. Each has its own rules. The carrier pages here were read in November 2026.
What to do at the PUK prompt
- Stop after two wrong PINs. The third blocks the PIN.
- Find the PUK before your first try. Check the card holder, then your carrier's app or account.
- Type it slowly and count. Use the lower of 10 and your carrier's figure.
- Choose a PIN you will remember. A correct PUK makes you set one on the spot.
- If it is blocked, ask for a replacement and keep the line active. Until it arrives, texted sign-in codes will not reach you, so keep the backup methods from two-factor authentication explained and how long 2FA codes last in mind.
Common questions
What happens after 10 wrong PUK attempts?
The SIM is blocked for good. The card stops accepting the PUK, and no code from the carrier can open it again. You keep your account and your number, but you need a new SIM card or eSIM from your carrier. On a Telstra SIM this happens after 8 wrong tries, because that is the limit Telstra gives.
Does turning my phone off reset the PUK attempts?
No. The count is kept on the SIM card, and the standard says wrong tries add up even across separate power-ups. A restart, a night switched off or a move to another phone all leave the number of tries where it was. Only a correct PUK puts it back to the full amount.
How do I get my PUK if I threw away the SIM card holder?
Ask your carrier. Several show it in their app or account pages once you sign in, which you can do from a computer or a friend's phone. Telstra lists it under your mobile service in My Telstra, AT&T under Troubleshoot & Resolve, and Verizon in My Verizon for postpaid lines. Prepaid customers often have to call.
Will I lose my phone number if my SIM is PUK blocked?
No. The number belongs to your carrier account, so a replacement SIM from the same carrier keeps it. What can lose a number is letting the line lapse. If you stop paying while you wait, the account can be closed, and a disconnected number can later be given to someone else.
Do eSIMs have a PUK code?
Yes. An eSIM can have a SIM PIN, and if the PIN is entered wrong too often it needs a PUK, just like a plastic SIM. The difference is that there is no card holder with the code printed on it. Get it from your carrier's app, your online account or customer support.
Sources
- ETSI TS 102 221 V17.4.0, Smart Cards; UICC-Terminal interface (sections 11.1.9 VERIFY PIN and 11.1.13 UNBLOCK PIN), ETSI
- How to retrieve your PUK code, Telstra
- My phone is displaying 'PIN blocked': what does this mean?, Vodafone UK
- Getting a PUK code, Three UK
- Getting and activating a replacement SIM, Three UK
- Enter PUK code, AT&T
- SIM PINs and PUK codes, Ting Mobile
- PUK code (4G basic phones), Verizon
- Use a SIM PIN for your iPhone or iPad, Apple Support
- Replacement SIM, Boost Mobile