Skip navigation

I Forgot My iPhone Passcode

Last updated by Isabel M

The first thing you should know is that you will still be able to make an emergency call; you just won't be able to access anything else on the phone (this applies to phones running iOS 6 and up). If you're really stumped about what your passcode is, don't keep trying to guess at it, because if it's entered incorrectly 6 times or more, the phone will be disabled. To reset a passcode you can try restoring your phone, or you may need to run a factory reset.

These directions will also work for your iPad (4th Gen) or iPad mini (1st Gen).

A Device Synced With iTunes

If you've synced your phone with iTunes in the past, then try following these steps:

  1. Connect the device to your computer and open iTunes.
  2. If iTunes asks for the passcode to be entered, try another computer that has been synced with the device before or follow the steps for devices never synced with iTunes.
  3. If iTunes does not automatically sync with the iPhone, prompt it to sync from the device screen in iTunes
  4. Disable encryption and then back up
A Device Synced With iTunes


After the back up has completed, click Restore from Backup and select the most recent iPhone backup.

iTunes will indicate that it's detected a device in recovery mode; click OK, and then restore the iPhone.


A Phone Never Synced with iTunes

If your phone has never been synced with iTunes before you'll see one of these messages pop up:

  • "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."
  • "You haven't chosen to have [device] trust this computer"

That means you'll need to try one of the methods below to unlock your phone.

iCloud Remote Wipe

Find My iPhone needs to be enabled for this to work.

  1. Login to your iCloud account
  2. Click on Find My iPhone
  3. Click on the device that you want to erase from the drop down at the top of the page
  4. Click Erase iPhone

If you've been using iCloud for backups as well, then you'll be able to restore the device from that backup and reset the passcode as well.

Recovery Mode

The following steps will put the iPhone into recovery mode and it can be restored from there:

  1. Connect the USB cable to a computer.
  2. Turn off the iPhone and wait for it to completely shut down
  3. While pressing and holding the Sleep/Wake and home buttons (for iPhone 7 and 7 Plus, hold the Sleep?wake and Volume down buttons)
  4. Continue holding the buttons until the Connect to iTunes screen appears
  5. iTunes will indicate that it has detected a device in recovery mode
  6. Click OK, and then restore the device.
Have more questions? Submit a request