It happens to everyone sooner or later: you restart your phone, it asks for the SIM PIN, and your mind goes blank. If you are wondering what to do if you forget your SIM PIN, the most important thing is to stop and not keep guessing — entering the wrong PIN too many times locks the SIM completely. This guide explains the safe way to recover: how to find your PUK code, how to reset the PIN, and how to avoid ending up with a permanently blocked SIM.
Below you will find the step-by-step recovery process, how to get your PUK code from Etisalat or du in the UAE, how to change or switch off the SIM PIN on iPhone and Android, and practical tips for keeping the code safe in future. Everything here is general information; your mobile operator’s support team can confirm the details for your line.
Quick Answer
If you forget your SIM PIN: do not guess more than two or three times (three wrong attempts locks the SIM). Find your PUK (Personal Unblocking Key) — it is usually printed on the plastic card your SIM came attached to, or available through your carrier’s app, customer service line, or store after identity verification. Enter the PUK when prompted, then set a new SIM PIN immediately. If you enter the wrong PUK around ten times, the SIM becomes permanently blocked and you will need a replacement SIM from your carrier. In the UAE, Etisalat and du can issue the PUK or a replacement SIM once you verify your identity, normally with your Emirates ID.
SIM PIN vs PUK: What Each Code Does
Mixing these two codes up is the most common cause of blocked SIMs, so here is the difference:
| Code | What it is | When you need it |
|---|---|---|
| SIM PIN | A 4- to 8-digit code that protects your SIM card. When enabled, the phone asks for it each time it restarts before connecting to the network. | Every phone restart (if the feature is switched on). The default is often 0000 or 1234 until you change it. |
| PUK | The Personal Unblocking Key — usually an 8-digit code supplied by your carrier that resets a forgotten or blocked SIM PIN. | Only after the SIM PIN has been entered wrongly too many times and the SIM is locked. You can read more about how it works on Wikipedia’s PUK article. |
The key rule: the PIN protects the SIM in daily use, and the PUK is the emergency key that rescues it. You get a handful of PIN guesses (usually three) but far fewer PUK guesses (usually around ten) — so the PUK is the code you must handle with the most care.
What to Do If You Forget Your SIM PIN: Step-by-Step Recovery
Follow these steps in order. The whole process takes only a few minutes once you have the PUK in hand.
Step 1: Stop guessing the PIN
Every wrong guess counts. Most SIMs lock after three incorrect PIN attempts, and some carriers set the limit even lower. If you have already tried twice and are not sure, stop — a locked SIM that needs the PUK is a minor inconvenience, but a permanently blocked SIM means a trip to the store for a replacement. Put the phone aside for a moment instead of trying “just one more.”
Step 2: Find your PUK code
The PUK is issued by your mobile operator, not by the phone manufacturer. Check these places in order:
- The original SIM packaging. The PUK is usually printed on the credit-card-sized plastic holder your SIM snapped out of, often under a scratch-off panel. If you kept it, this is the fastest route.
- Your carrier’s app or online account. Many operators show the PUK in the SIM or device section of their app once you log in.
- Customer service. Call your operator’s helpline and ask for the PUK. You will need to verify your identity — typically with the account holder’s details and ID.
- A carrier store. Bring a photo ID (in the UAE, your Emirates ID) and the locked phone. Staff can verify ownership and give you the PUK or sort out a replacement SIM on the spot.
Never trust a website or message offering to “generate” your PUK from your phone number — the PUK is tied to your specific SIM by the carrier, and anyone offering to produce it is running a scam.
Step 3: Enter the PUK and set a new PIN
Once the SIM is PIN-locked, the phone will prompt you for the PUK (the message often reads “Enter PUK” or “SIM PUK locked”). Type the PUK carefully — remember, around ten wrong entries usually blocks the SIM permanently. After the PUK is accepted, the phone immediately asks you to set a new SIM PIN. Choose something memorable but not obvious (avoid birth years and 1234), enter it twice to confirm, and write it down somewhere safe straight away.
Step 4: If the PUK is lost or the SIM is permanently blocked
If you cannot find the PUK, or the SIM is already permanently blocked after too many wrong PUK attempts, the SIM cannot be revived — this is by design, to stop thieves reusing stolen SIMs. The fix is a SIM replacement: visit your carrier’s store with your ID and they will issue a new SIM linked to your existing number. Your number, plan, and balance normally carry over; only the physical (or eSIM) card itself changes. In the UAE you will need your Emirates ID for this — if yours is due for renewal, see our guide on UAE Emirates ID renewal.
Getting Your PUK from Etisalat and du in the UAE
Both main UAE operators can provide your PUK once you prove the line is yours:
- Etisalat (e& UAE): check the My e& UAE app under your line’s SIM settings, call 101 from an Etisalat line, or visit any Etisalat store with your Emirates ID. Details of their support options are on etisalat.ae.
- du: check the du app, call 155 from a du line, or visit a du store with your Emirates ID. Their contact options are listed on du.ae.
If you bought your SIM recently and never set a PIN yourself, the PIN request after a restart is usually the factory default — commonly 0000 or 1234. Try the default once; if it fails, go straight to the PUK rather than guessing further.
How to Change or Switch Off the SIM PIN
Once you are back in, it is worth setting a PIN you will actually remember — or switching the prompt off if you find it annoying (keeping in mind that an unlocked SIM in a stolen phone is easier to misuse).
On iPhone: go to Settings > Mobile Data (or Cellular) > SIM PIN. You can toggle “SIM PIN” off (you will need to enter the current PIN to confirm) or tap “Change PIN” to set a new one — you will enter the old PIN first, then the new one twice.
On Android: the path varies slightly by brand, but it is usually Settings > Security > SIM card lock (on Samsung: Settings > Security and privacy > Other security settings > Set up SIM card lock). From there you can lock or unlock the SIM and change the PIN; you will need the current PIN for any of these actions.
If you change the PIN, update whatever safe place you recorded it in — an out-of-date note is how most people end up locked out a second time.
Keeping Your SIM PIN Safe in Future
- Write the PIN and PUK down separately from your phone. A note at home, or a password manager you trust, beats a sticky note on the phone case.
- Keep the original SIM holder. That piece of plastic with the PUK printed on it is the fastest recovery tool you own — file it with other important documents.
- Do not share the codes. Your carrier will never call and ask for your SIM PIN or PUK. Anyone who does is attempting fraud.
- Use a PIN you can recall under stress. A number tied to a memory (not your birthday, which is guessable) works best.
- Consider whether you need the PIN prompt at all. If your phone already has a strong screen lock and you rarely restart it, switching the SIM PIN off removes the risk of forgetting it — though you lose a layer of protection if the phone is stolen.
Frequently Asked Questions (FAQs)
What happens if I enter the wrong SIM PIN three times?
The SIM locks and the phone asks for the PUK code instead. Your number and account are unaffected — this is just the SIM protecting itself. Enter the correct PUK, set a new PIN, and you are back to normal. For other SIM troubles like signal or registration errors, see our guide to common SIM card problems and solutions.
Can I get my PUK without the original SIM packaging?
Yes. The packaging is just the most convenient source. Your carrier’s app, helpline, or store can all provide the PUK after verifying your identity — which is why keeping your account details and ID up to date matters.
Is the PUK the same for every SIM?
No. Each SIM card has its own unique PUK, assigned when the card is manufactured. If you replace your SIM, the new card comes with a new PUK, so update your records.
What if I enter the wrong PUK too many times?
The SIM becomes permanently blocked and cannot be unblocked by anyone — that is a deliberate security feature. You will need a replacement SIM from your carrier, which normally keeps your existing number, plan, and balance.
Does a factory reset remove the SIM PIN?
No. The SIM PIN lives on the SIM card itself, not in the phone’s storage, so resetting the phone changes nothing. Only the correct PIN — or the PUK followed by a new PIN — clears it.
Will I lose my number if my SIM gets blocked?
Not as long as you act reasonably promptly. A blocked SIM does not cancel your line; a replacement SIM from your carrier restores the same number. Just do not leave it for months — long-inactive numbers can eventually be recycled. After sorting the SIM, you may want to check your mobile account status to confirm everything is active. For a broader overview of SIM topics, our complete SIM card guide is a good next read.
The Bottom Line
Forgetting your SIM PIN is a small problem with a simple fix: stop guessing, find your PUK from the original packaging, your carrier’s app, or their support team, enter it carefully, and set a new PIN you will remember. The only way this turns into a real headache is by guessing the PUK repeatedly — so treat the PUK as the one code you never gamble with, keep it written down somewhere safe, and you will never be locked out for long.
Last Updated: 8 October 2026
About the author: Zaviyar Sultan is a UAE-focused writer at Asandada24, covering driving, visas, banking, insurance and everyday UAE life. His guides are researched from official UAE government and regulator sources and updated regularly.
Asandada24 is an independent informational website, not affiliated with the UAE government or any agency mentioned; content is general information only, not legal, immigration or financial advice; verify critical details with official sources before acting.