← All questions

Phone basics

I forgot my iPhone passcode and it says "iPhone Unavailable." What do I do?

37.I forgot my iPhone passcode and it says "iPhone Unavailable." What do I do?

First, the hard truth, said plainly: nobody can unlock it without that code — not even Apple. That is on purpose, so a thief cannot get into your phone either.

There is one exception. If you changed your code in the last 3 days and then forgot the new one, you can use your old code one last time. On the "iPhone Unavailable" screen, tap Forgot Passcode?, then choose Enter Previous Passcode. This only works within 3 days of changing it.

Otherwise, the phone must be erased and set up again. You can do this without a computer:

  1. On the "iPhone Unavailable" screen, tap Forgot Passcode?, then Start iPhone Reset.
  2. Enter your Apple Account password (the one for your Apple ID) to sign out.
  3. Tap Erase iPhone. The phone needs an internet connection for this to work.
  4. When it restarts, sign in again and restore from your backup.

If your photos and contacts were backing up to iCloud, they will come right back when you sign in. If they were not backed up, they are gone — no shop or software can bring them back. This is why backups matter.

Samsung

On a Samsung, the way back in is remote: from another device, sign in to Samsung Find with your Samsung account and choose Erase. Same deal — the phone resets completely, and your photos and texts only survive if they were backed up beforehand. And here is the hard truth, said plainly: if the phone is locked and nothing was backed up, no one — not me, not the phone store, not Samsung — can pull your photos off before the reset. Please let me check your backup today, before this ever happens.

Going forward, write your passcode on paper and keep it somewhere safe at home, with your important documents. A written code in your desk drawer is far safer than a forgotten one. Forgotten beats stolen every time.