If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (2024)

Locked out of your iPhone and forgot your passcode? Use a computer to put your iPhone into recovery mode so you can erase your phone and set it up again.

  • Forgot the passcode on your iPad?

  • Forgot the passcode on your iPod touch?

  • Use your iPhone to reset your iPhone passcode

  • Use your old passcode to temporarily access your iPhone or iPad in iOS 17, iPadOS 17, or later

If you enter the wrong passcode on your iPhone Lock Screen too many times, an alert lets you know that your iPhone is disabled. (Learn what to do if you see "[Device] unavailable" or "Security Lockout" on your iPhone or iPad.)

If you can’t remember your passcode when you try again, use a computer to put your iPhone in recovery mode. Recovery mode allows you to erase the iPhone, giving you access to set it up again. You will need your Apple ID and password to set your iPhone up again.

After you erase your iPhone, you can restore your data and settings from a backup. If you didn't back up your iPhone, you can set it up as a new device and then download any data that you have in iCloud.

If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (1)

Step 1: Make sure that you have a computer (Mac or PC)

This process requires a Mac or PC. If you're using a PC, make sure that it has Windows 10 or later, and that the Apple Devices app or iTunes is installed. You also need the cable that came with your iPhone, or another compatible cable, to connect your iPhone to the computer.

If you don't have a computer and you can't borrow one, you need to go to an Apple Retail Store or Apple Authorized Service Provider for help.

Step 2: Turn off your iPhone

  1. Unplug your iPhone from the computer if it’s connected.

  2. Turn off your iPhone using the method for your iPhone model:

    • iPhone 8, iPhone 8 Plus, iPhone X and later, including iPhone SE (2nd and 3rd generation): Press and hold both the side button and the Volume down button until the power off slider appears.

      If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (2)
    • iPhone 7, iPhone 7 Plus, iPhone 6s, and iPhone 6: Press and hold the side button until the power off slider appears.

      If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (3)
    • iPhone SE (1st generation), iPhone 5s, and earlier: Press and hold the top button until the power off slider appears.

      If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (4)
  3. Drag the slider to turn off your iPhone, then wait a minute to make sure that it turns off completely.

Step 3: Put your iPhone in recovery mode

  1. Get ready by finding the button on your iPhone that you'll need to hold in the next step:

    • iPhone 8, iPhone 8 Plus, iPhone X and later, including iPhone SE (2nd and 3rd generation) use the side button.

      If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (5)
    • iPhone 7 and iPhone 7 Plus use the Volume down button.

      If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (6)
    • iPhone SE (1st generation), and iPhone 6s and earlier use the Home button.

      If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (7)
  2. Press and hold the correct button for your iPhone while immediately connecting your iPhone to the computer.

  3. Continue to hold the button while the Apple logo appears, and don't let go of the button until the image of a computer and cable appears.

If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (8)

If you see the passcode screen, you need to turn off your iPhone and start again.

If you can’t get your iPhone to show the recovery mode screen and you need help, contact Apple Support.

Step 4: Restore your iPhone with your Mac or PC

  1. Locate your iPhone in the Finder, or in iTunes or the Apple Devices app if you connect to a PC. (Learn how to find your connected iPhone.)

  2. Choose Restore when you see the option to Restore or Update. Your computer downloads software for your iPhone and begins the restore process. If the download takes more than 15 minutes and your device exits the recovery mode screen, let the download finish, then turn off your iPhone and start again.

    If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (9)
  3. Wait for the process to finish. When the process finishes, your device will restart and show a setup screen.

  4. Disconnect your iPhone from the computer, then set up and use your iPhone.

Need more help?

Learn what to do if you see an error when you update or restore your iPhone, iPad, or iPod

Learn how to change your iPhone passcode

Learn how to use iCloud to erase and restore your iPhone

If you can't complete any of these steps, if you're still prompted for a passcode, or if you need any other assistance, contact Apple Support.

Published Date:

If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support (2024)
Top Articles
Latest Posts
Article information

Author: Francesca Jacobs Ret

Last Updated:

Views: 6205

Rating: 4.8 / 5 (48 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Francesca Jacobs Ret

Birthday: 1996-12-09

Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

Phone: +2296092334654

Job: Technology Architect

Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.