Phones and Computers

Forgot Your iPhone Passcode? Reset It With a Computer

Turn off the iPhone, enter recovery mode and restore it with a Mac or Windows PC. This erases the phone. Based on Apple Support, 15 October 2026.

Autobaselli · 2 min read
Forgot Your iPhone Passcode? Reset It With a Computer

If you forget your iPhone passcode, Apple says to try Passcode Reset first, then resetting on the device without a computer, and only then to use a computer. This guide covers the computer route from Apple Support (updated 15 October 2026) for current iPhones. Resetting erases the data on the phone, so a backup matters.

Three boxes: turn off, recovery mode, restore.
The computer reset in three steps.

What you need

1. Turn off the iPhone

2. Enter recovery mode

For an iPhone with Face ID, connect the cable to the computer, then to the iPhone, and quickly hold the side button. Keep holding it through the Apple logo until an image of a computer and a cable appears. Apple lists different buttons for the iPhone 8 and SE (2nd and 3rd generation), iPhone 7 and older models, so check Apple's page for those. If the buttons do not respond, Apple says you may need service.

3. Restore

Apple says the phone may need an update first, and the download can take more than 15 minutes. If it restarts or leaves recovery mode, let the download finish, turn the phone off and start recovery mode again. When the Hello screen appears, disconnect and set up the iPhone. With no computer, Apple says to visit an Apple Store or Apple Authorized Service Provider.

Worked example

You forgot the code on a spare phone and Passcode Reset is not available. To avoid losing data next time, keep a backup: see back up your iPhone. If the phone was stolen rather than forgotten, read stolen iPhone: what to do instead.

Sources