To factory reset your iPhone through the Settings app:
- Go to Settings > General > Transfer or Reset iPhone.
- Tap Erase All Content and Settings.
- Enter your passcode or Apple ID password to confirm.
- Tap Erase Now.
To factory reset your iPhone through iTunes:
- Connect your iPhone to your computer and open iTunes.
- Select your iPhone in iTunes.
- Click the Summary tab.
- Click Restore iPhone.
- Click Restore again to confirm.
Your iPhone will be erased and restored to factory settings. This process can take several minutes.
Important: Factory resetting your iPhone will erase all of your data and settings, including your photos, music, apps, and contacts. Be sure to back up your iPhone before you factory reset it.
Here are some additional things to keep in mind when factory resetting your iPhone:
- If you have Find My iPhone enabled, you will need to disable it before you can factory reset your iPhone.
- If you are selling or giving away your iPhone, be sure to factory reset it to erase all of your personal data.
- If you are having problems with your iPhone, factory resetting it may help to fix the problem.
Your iPhone should now be factory reset, with all data removed, and it’s ready to be set up as a new device or handed over to someone else.
Remember that a factory reset will erase all your data, settings, and applications from the device, so make sure to back up anything you want to keep before proceeding.