If you forgot your iPhone passcode or your iPhone is disabled
If your iPhone uses iOS 15.2 or later, reset your passcode on your device without the need for a computer.
If your iPhone uses an earlier version of iOS, select your iPhone type:
What you need
Mac or Windows PC
Cable that could charge your phone
Internet connection
Up to 60 minutes
If you don't have a computer and you can't borrow one, you need to go to an Apple Store or Apple Authorized Service Provider for help.
To use a Windows PC to reset your iPhone, you must have either Apple Devices or iTunes installed on your computer.
If you reset your device with these steps, the process erases the data currently on your iPhone. After you reset your device, you can restore your iPhone from a backup if you previously created one.
Turn off your iPhone
On an iPhone with Face ID
Press and hold both the side button and the Volume down button until the power off slider appears.
Drag the slider to power off your iPhone.
On an iPhone without Face ID
If your iPhone has a Home button or a top button, press and hold either the top button or the side button until the power off slider appears.
Drag the slider to power off your iPhone.
Connect to your computer as you hold the side button
On an iPhone with Face ID
Connect the cable to your Mac or PC. As you connect the cable to your iPhone, simultaneously hold the side button and do not release it.
Continue to hold the side button while the Apple logo appears. Do not release the side button until an image of a computer and a cable appears.
On iPhone 8, iPhone 8 Plus, and iPhone SE (2nd and 3rd generation)
Connect the cable to your Mac or PC. As you connect the cable to your iPhone, simultaneously hold the side button and do not release it.
Continue to hold the button while the Apple logo appears. Do not release the side button until an image of a computer and a cable appears.
On iPhone 7 and iPhone 7 Plus
Connect the cable to your Mac or PC. As you connect the cable to your iPhone, hold the Volume down button.
Continue to hold the button while the Apple logo appears. Do not release the button until an image of a computer and a cable appears.
On iPhone 6s and earlier or iPhone SE (1st generation)
Connect the cable to your Mac or PC. As you connect the cable to your iPhone, simultaneously hold the Home button and do not release it.
Continue to hold the button while the Apple logo appears. Do not release the button until an image of a computer and a cable appears.
Use your computer to restore your iPhone
On your Mac
Open the Finder and locate your iPhone in the sidebar under Locations. Select Trust [your device] on your Mac if necessary. Choose Restore when you have the option to Restore or Update.
If the download takes more than 15 minutes and your device exits the recovery mode screen, let the download finish, then turn off your iPad and start again.
On your PC
Open Apple Devices and select your iPhone in the sidebar. Select Trust [your device] on your PC if necessary. Then, select General. If you have a backup, select Restore Backup and follow the onscreen instructions. If you don't have a backup, select Restore [device] and follow the onscreen instructions.
If you don't have Apple Devices, open iTunes. Select Trust [your device] on your PC if necessary. Then select the iPhone icon in the top of the window. Click Summary in the sidebar. Then, click Restore iPhone. Choose Restore when you have the option to Restore or Update.
If the download takes more than 15 minutes and your device exits the recovery mode screen, let the download finish, then turn off your iPad and start again.
Follow the onscreen instructions to set up your iPhone
Once the restore process finishes, the Hello screen will appear on your iPhone. Disconnect your phone from the computer and set up and use your iPhone.