How to factory reset your iPhone, iPad, or iPod touch
Learn 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 use these steps to unpair your devices.
Back up your device
Make sure to 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
Forgot 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 or keep it. If you erase your eSIM, you need to contact your carrier to reactivate your cellular 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 erase
It might take a few minutes to completely erase your data.
If you can't erase your iPhone, iPad, or iPod touch
Learn what to do if you don't remember your passcode for your iPhone, iPad, or iPod touch, or your device is disabled.
If you forget 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.