How to factory reset your iPhone, iPad or iPod touch
Find out how to securely erase information from your iPhone, iPad or iPod touch and restore your device to factory settings.
If you also need to securely erase your Apple Watch, you can follow these steps to unpair your devices.
Back up your device
Make sure you back up your device so that you can restore your data later.
Tap Settings > General > Transfer or Reset [Device]
Tap Erase All Content and Settings.
![Tap Erase All Content and Settings](https://cdsassets.apple.com/live/7WUAS350/images/ios/ios-16-iphone-14-pro-settings-general-transfer-or-reset-iphone.png)
If asked, enter your passcode or Apple ID password
Forgotten your passcode or Apple ID password?
Confirm that you want to erase your device
If you have an eSIM, you can choose to erase your eSIM If you erase your eSIM, you'll need to contact your service provider to reactivate your mobile plan.
![Confirm that you want to erase your device](https://cdsassets.apple.com/live/7WUAS350/images/ios/ios-17-iphone-14-pro-settings-general-transfer-or-reset-iphone-erase-all-content-and-settings-erase-this-iphone.png)
Wait for your device to be erased
It may take a few minutes to completely erase your data.
If you can't erase your iPhone, iPad or iPod touch
Find out what to do if you can't remember your passcode for your iPhone, iPad or iPod touch, or your device is disabled.
If you've forgotten your Screen Time passcode, you can reset it. Restoring your device using a backup won't remove the Screen Time passcode.
If you still need help, contact Apple Support.