If you enter the wrong passcode on your iPhone Lock Screen too many times, an alert lets you know that your iPhone is disabled. If you can’t remember your passcode when you try again, you need to use a computer to put your iPhone in recovery mode. This process deletes your data and settings, including your passcode, giving you access to set up your iPhone again.
After you erase your iPhone, you can restore your data and settings from 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.
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 is has Windows 8 or later, and that 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
- Unplug your iPhone from the computer if it’s connected.
- Turn off your iPhone using the method for your iPhone model:
- iPhone X or later, iPhone SE (2nd generation), iPhone 8, and iPhone 8 Plus: Press and hold both the Side button and the Volume down button until the power off slider appears.
- iPhone 7 and iPhone 7 Plus: Press and hold the Side button until the power off slider appears.
- iPhone SE (1st generation), and iPhone 6s and earlier: Press and hold the Side (or Top) button until the power off slider appears.