The fastest way to erase your iPhone
The quickest way to clear everything off your iPhone is to use Erase All Content and Settings, which you'll find in the Settings app under General > Transfer or Reset > Erase All Content and Settings. This single action removes all your apps, photos, messages, contacts, and settings in one go. The process takes 5 to 15 minutes depending on how much data is on your phone, and you'll need to enter your Apple ID password and device passcode to confirm.
Before you erase, make sure you have a backup if you want to keep anything. The most common backup methods are iCloud (automatic if you're signed in) or a computer backup through Finder on Mac or iTunes on Windows. Once you start the erase process, there's no stopping it partway through, so verify your backup is complete first.
After erasing finishes, your iPhone will restart and show the setup screen, just like it did when new. You can then set it up as a fresh device or restore from your backup if you saved one.
Key Takeaways
- Erase All Content and Settings in General > Transfer or Reset removes everything in one action and takes 5 to 15 minutes.
- You must enter your Apple ID password and device passcode to confirm the erase, so have both ready.
- Back up to iCloud or your computer before erasing if you want to keep photos, messages, or other data.
- After erasing, your iPhone restarts and shows the setup screen, and you can restore from backup or start fresh.
- If you forget your Apple ID password, you'll need to reset it through your Apple account before erasing can complete.
Backing up before you erase
iCloud backup is the easiest option if you have enough storage space. Go to Settings > [Your Name] > iCloud > iCloud Backup and turn it on, then tap Back Up Now. This uploads your photos, messages, contacts, app data, and settings to Apple's servers. A full backup can take anywhere from a few minutes to an hour depending on your internet speed and how much data you have. You can check the backup status in the same menu — it will show the date and time of your last backup.
If you don't have enough iCloud storage (the free tier is 5 GB), you can buy more storage through the same menu, or use a computer backup instead. On a Mac with macOS Monterey or newer, connect your iPhone and open Finder, click your device, and click Back Up Now. On Windows or older Mac, use iTunes and follow the same steps. Computer backups are faster than iCloud and don't count against your storage limit.
After your backup finishes, you can proceed with erasing. Your backup stays in iCloud or on your computer, and you can restore from it later on this phone or on a different iPhone.
What gets erased and what doesn't
Erase All Content and Settings removes your apps, photos, videos, messages, contacts, calendar events, notes, reminders, and all your personal settings like wallpaper, notification preferences, and Wi-Fi passwords. It also removes any data stored in apps, like saved games or login information. Essentially, anything you added or changed after you first set up the phone gets deleted.
What stays on the phone is the iOS operating system itself — the software that makes your iPhone run. You cannot erase iOS from an iPhone without specialized tools, and you don't need to. The iOS system files are separate from your personal data, so erasing everything still leaves your phone with a working operating system ready to set up.
If you're selling or giving away your phone, erasing everything is the right choice because it removes all your personal information. If you're keeping the phone and want to start fresh, you can restore from your backup after setup to get your data back, or skip the restore and keep it blank.
If you're selling or giving away your phone
Before you erase, sign out of your Apple ID. Go to Settings > [Your Name] and scroll to the bottom, then tap Sign Out. You'll be asked whether to keep or delete data stored in iCloud — choose Delete if you don't want the new owner to see your iCloud data. This step is important because it removes your phone from your Apple ID account, so the new owner won't need your password to set up the device.
After you sign out, run Erase All Content and Settings as described above. The new owner will see the setup screen and can create their own account without any connection to yours. If you skip the sign-out step, the phone will ask for your Apple ID password during setup, which is called Activation Lock, and the new owner won't be able to use the phone without it.
Once erasing is complete, you can hand over the phone. The new owner should set it up with their own Apple ID and restore their own backup if they have one, or start fresh.
Erasing specific types of data instead of everything
If you don't want to erase your entire phone, you can delete individual items. To delete apps, press and hold an app icon on your home screen, tap Remove App, then tap Delete App. To delete photos, open Photos, tap Select, choose the photos you want to remove, and tap Delete. Messages can be deleted by swiping left on a conversation in the Messages app and tapping Delete. Contacts are removed by opening Contacts, tapping the contact, scrolling down, and tapping Delete Contact.
For larger deletions, you can clear your browser history and data in Settings > Safari > Clear History and Website Data, or delete email by opening Mail, tapping Edit in the inbox, selecting messages, and tapping Delete. You can also offload apps (which removes the app but keeps its data) by going to Settings > General > iPhone Storage, tapping an app, and choosing Offload App.
These methods are slower than erasing everything at once, but they let you keep the data you want to keep. If you're just trying to free up storage space, deleting photos, videos, and large apps is usually more effective than clearing cache or history.
Troubleshooting when erasing doesn't work
If you see a message that says you need to enter your Apple ID password before erasing, it's because Activation Lock is turned on. This is a security feature that prevents anyone from erasing your phone without your permission. Enter your Apple ID password when prompted, and the erase will continue. If you don't remember your password, go to iforgot.apple.com on a computer, enter your Apple ID email, and follow the steps to reset it. You'll need to reset it before you can complete the erase on your phone.
If your phone is frozen or won't respond during the erase, you can force restart it. The method depends on your iPhone model: on iPhone 8 and newer, quickly press and release Volume Up, quickly press and release Volume Down, then press and hold the Side button until you see the power-off slider. On iPhone 7, hold Volume Down and the Top (or Side) button together. On iPhone 6s and earlier, hold the Top (or Side) button and Home button together. After the restart, you can try erasing again.
If you're out of storage space and can't erase, connect to Wi-Fi and plug in your phone, then try again. The erase process needs a small amount of free space to work. If that doesn't help, try erasing through iCloud instead: go to iCloud.com, sign in, click Find My iPhone, select your device, and choose Erase iPhone. This method erases your phone remotely without needing storage space on the device itself.
Restoring from backup after erasing
After your iPhone restarts following an erase, you'll see the setup screen. If you want to restore your data, choose Restore from iCloud Backup or Restore from Mac/PC Backup depending on where you saved it. You'll need to sign in with your Apple ID to restore from iCloud. The restore process downloads your apps, photos, messages, and settings back onto your phone, which can take 30 minutes to several hours depending on how much data you have and your internet speed.
During the restore, your phone will restart several times and show a progress bar. Don't unplug it or turn it off. Once the restore finishes, your phone will look and work exactly as it did before you erased it, except it will be running the latest version of iOS.
If you don't want to restore anything, just skip this step during setup and continue with the normal setup process. Your phone will be completely blank and ready to use as new.
Frequently Asked Questions
Can I stop the erase once it starts?
No. Once you confirm Erase All Content and Settings and enter your passwords, the process cannot be stopped or reversed. This is why backing up first is important. If you realize you made a mistake after erasing, your only option is to restore from a backup you made before the erase.
Will erasing my iPhone remove my Apple ID?
Erasing removes your personal data but not your Apple ID account itself. You'll need to sign out of your Apple ID before erasing if you want the phone to be completely disconnected from your account. If you don't sign out, the phone will ask for your Apple ID password during setup (Activation Lock), which is a security feature.
How long does it take to erase an iPhone?
The erase process itself takes 5 to 15 minutes depending on how much data is on your phone. Backing up before erasing can take much longer — anywhere from a few minutes to an hour for iCloud backup, or 10 to 30 minutes for a computer backup, depending on your internet speed and the amount of data.
Do I need Wi-Fi to erase my iPhone?
You need an internet connection (Wi-Fi or cellular) to verify your Apple ID password during the erase process. After that, the actual erasing happens on the phone itself and doesn't require internet. If you're erasing through iCloud instead of on the device, you'll need Wi-Fi or cellular throughout the process.
What if I forgot my passcode?
If you forgot your device passcode, you cannot erase through Settings. Instead, use Find My iPhone at iCloud.com: sign in with your Apple ID, click Find My iPhone, select your device, and choose Erase iPhone. This erases the phone remotely without needing the passcode. After erasing, you can set up the phone with a new passcode.