Forgot your iPhone passcode?
Short answer: if you changed your passcode in the last 72 hours, tap Forgot Passcode? and use your old one. Otherwise you'll need to erase and reset the iPhone, then restore from a backup. For a forgotten Apple Account password, go to iforgot.apple.com, or reset it on a trusted device.
Checked against official help pages, October 2026
Quick answers
Will I lose my photos?
Resetting erases the iPhone. You get your photos and data back only if they were in a backup, like iCloud.
Can Apple unlock it for me?
No. Apple's own steps are to reset the iPhone. Be wary of anyone selling an unlock service.
I just changed my passcode and forgot it.
For 72 hours after a change, you can tap Forgot Passcode? and enter your old passcode.
I forgot my Apple Account password.
On a trusted iPhone: Settings > your name > Sign-In & Security > Change Password. Or go to iforgot.apple.com.
Forgot the iPhone passcode: reset on the phone
This page is about the passcode that unlocks the iPhone. If the phone is in Assistive Access and it's that mode's own passcode you forgot, see how to turn off Senior Mode on iPhone.
You need Wi-Fi or mobile data, Find My turned on, and your Apple Account password.
- Keep trying the passcode until iPhone Unavailable or Security Lockout appears.
- Tap Forgot Passcode? If you changed it in the last 72 hours, you can enter the old one here.
- Otherwise tap Start iPhone Reset.
- Enter your Apple Account password.
- Tap Erase iPhone. This deletes everything on it.
- When it restarts, follow the steps to set it up and restore from your backup.
No Forgot Passcode? button: use a computer
You'll need a Mac or Windows PC, a charging cable, and up to an hour. This also erases the iPhone.
- Turn the iPhone off.
- Connect it to the computer and hold the side button (iPhone 8 or newer) until you see a computer-and-cable picture. This is recovery mode.
- On the computer, choose Restore and follow the steps.
Stuck at any step? Apple Support or an Apple Store can help.
Forgot your Apple Account password
- On a trusted iPhone: open Settings, tap your name, then Sign-In & Security > Change Password.
- No trusted device? Go to iforgot.apple.com on any computer or phone.
- If you can't verify who you are, Apple offers account recovery. It can take a few days, on purpose, to keep thieves out.
Get the free printable pack
The scam texts list, the phone setup checklist and an emergency contact card, in large print, ready to stick on the fridge.

Enter your email on our free newsletter page (run on Beehiiv) and we'll email you the pack right away. Unsubscribe any time.
Where this comes from
We checked these official pages on October 27, 2026:
- If you forgot your iPhone, iPad, or Apple Vision Pro passcode, reset your device without a computer support.apple.com
- Use a computer to reset your iPhone and your passcode support.apple.com
- If you forget your new passcode, use your old passcode to unlock your iPhone or iPad within 72 hours support.apple.com
- If you forgot your password and can’t sign in to your Apple Account support.apple.com
- What to expect during account recovery support.apple.com
Menus can change after updates. If a step doesn't match your screen, tell us and we'll fix it.