How to Factory Reset an iPhone
- iPhone
Checked against Apple Support and iPhone User Guide on . How we check guides
Quick answer
Open Settings > General > Transfer or Reset iPhone > Erase All Content and Settings, enter your passcode or Apple Account password, and confirm. This erases the whole iPhone, so make a backup first. You can also erase it from a Mac or Windows PC with Restore iPhone.
Warning: erasing an iPhone removes everything on it: apps, photos, messages, settings and any cards you added to Apple Pay. You can bring data back from an iCloud backup, a backup on a computer, or data you already sync to iCloud. Without one of those, it can’t be recovered.
Before you erase: while you are signed in to iCloud, manually deleting items such as photos, contacts or documents also removes them from iCloud and from your other devices. Apple’s guide for selling an iPhone says this deletion is permanent, so don’t clear things out by hand first.
This guide is part of Speed & Fixes. It is the iPhone side of how to factory reset an Android phone. Erase an iPhone only after the smaller fixes in why your iPhone is slow have failed.
Prepare the iPhone
- Back up. Use how to back up your iPhone to iCloud or how to back up your iPhone to a Mac or PC. Check that photos are safe in iCloud Photos or on a computer.
- Know your Apple Account password. The phone asks for it, and you need it again to set the phone up. If you forgot it, reset it first.
- Know your passcode.
- Think about the eSIM. If your phone uses an eSIM, you get to choose whether to erase it. If you erase it, you must contact your carrier to reactivate your plan. If you’re selling the phone, erase the eSIM profile.
- Selling or trading in? Follow how to wipe your phone before selling it, which also covers your Apple Watch, Apple Pay cards and iMessage.
Erase All Content and Settings
- Open Settings.
- Tap General, then Transfer or Reset iPhone.
- Tap Erase All Content and Settings.
- If asked, enter your iPhone passcode or Apple Account password.
- Tap Continue to confirm.
- If you have an eSIM, choose to erase it or keep it.
The iPhone restarts and shows the Hello screen when it is ready. That screen means the phone is ready for a new owner or for you to set up again. To restore your data, choose your backup during setup.
If you don’t see these options: menu names vary a little by iOS version. Search Settings for “erase”. On iOS 26 and later, the page for selling a phone also shows a Sign Out screen with the choices Erase this iPhone or Sign Out But Don’t Erase.
What Find My and Activation Lock do
Activation Lock turns on automatically when you turn on Find My. After that, your Apple Account password is required before anyone can turn off Find My, erase the iPhone or reactivate it. This is why a stolen iPhone is hard to reuse, and it can also stop you if you forget your password.
When you erase your own iPhone with the password, Find My and Activation Lock turn off. Then the next owner can set the phone up with their own account. If you forgot to turn off Find My before handing the phone over, Apple says the previous owner can use a browser to remove the device from their account. Leave Find My on while you own the phone.
If you buy a used iPhone, Apple says not to take it if it shows an “iPhone Locked to Owner” screen or asks for the previous owner’s Apple Account. A phone that is ready to use shows the Hello screen.
Erase with a Mac or Windows PC
Use this when the on-screen route doesn’t work, or you prefer to work from a computer.
- Turn off Find My for the iPhone and enter your Apple Account password when asked. You can’t click Restore while you are signed in to Find My. If you can’t find the switch, search Settings for “Find My”.
- Connect the iPhone to the computer with a cable.
- On a Mac, open Finder. On a Windows PC, open the Apple Devices app. On an older Mac or PC without it, open iTunes.
- Select the iPhone and approve the Trust prompt if it appears. Enter the passcode.
- In the General section, click Restore iPhone, then click Restore to confirm.
- When the restore finishes, the Hello screen appears on the iPhone.
A restore installs the latest iOS and erases everything, but it doesn’t delete your eSIM. If the computer doesn’t recognize the iPhone, or the screen is stuck on the Apple logo, how to force restart an iPhone explains recovery mode and why to choose Update before Restore.
If you want less than a full erase
Reset All Settings is under Settings > General > Transfer or Reset iPhone > Reset. It sets settings including network, keyboard dictionary, location, privacy and Apple Pay cards back to their defaults, and it doesn’t delete data or media. If the problem is only Wi-Fi or Bluetooth, resetting network settings alone is the smaller step.
Sources
Menu paths and setting names were checked against these official help pages: