What deleting everything from your iPhone actually does
Erasing all content and settings on an iPhone removes your photos, messages, apps, contacts, and account information, then reinstalls the operating system. The phone returns to the state it was in when it first shipped from Apple — blank, unsigned in, and ready for setup. This is different from straightforward deleting individual apps or photos; it wipes the entire device.
The process takes 15 to 45 minutes depending on your iPhone model and how much data is stored. During the erase, your phone will restart several times and may show an Apple logo or a progress bar. You cannot stop the process once it begins, so make sure your device is plugged in and you have time to wait.
After the erase completes, you will see the setup screen as if you just unboxed the phone. You can then sign in with your Apple ID to restore your data from a backup, or set up the phone as new without restoring anything.
Key Takeaways
- Erasing all content and settings removes everything from your iPhone and reinstalls the operating system, returning it to factory condition.
- You can erase your iPhone through Settings > General > Transfer or Reset > Erase All Content and Settings, or through a computer using Finder or iTunes.
- Before erasing, back up your data through iCloud or a computer if you want to keep photos, messages, or other information.
- After erasing, your iPhone will ask you to sign in with an Apple ID during setup, which is required to use the phone.
- If you forget your Apple ID password, you will need to reset it before you can complete setup on the erased phone.
Back up your data before you erase
If you want to keep your photos, messages, contacts, or app data, create a backup before you erase. The two main backup methods are iCloud and a computer. iCloud backs up automatically if you are signed in and connected to Wi-Fi, but you can also start a backup manually by going to Settings > [Your Name] > iCloud > iCloud Backup > Back Up Now. The backup includes photos, messages, contacts, calendar events, notes, reminders, and app data, but not apps themselves — those read fresh from the App Store during restore.
If you prefer to back up to a computer, connect your iPhone to a Mac with Finder (macOS Catalina or later) or to any computer with iTunes (Windows or older Mac). Open Finder or iTunes, select your iPhone, and click Back Up Now. A computer backup includes everything on your phone and takes up space on your computer, but it is faster than iCloud if you have a large amount of data.
After you erase and set up your iPhone again, you can restore from either backup. During setup, you will see the option to restore from iCloud backup or from a computer backup. Choose the backup you created, and your photos, messages, and other data will return to your phone.
Erase through Settings on your iPhone
The simplest way to erase your iPhone is through the Settings app on the phone itself. Open Settings, tap General, then scroll down and tap Transfer or Reset. On newer iPhones (iOS 16 and later), you will see Erase All Content and Settings. On older iPhones, the option may be called Reset. Tap it, then tap Erase iPhone.
Your phone will ask you to confirm that you want to erase. It will also ask for your Apple ID password — this is a security feature to prevent someone else from erasing your phone without permission. Enter your password, then tap Erase again. Your iPhone will begin the erase process, restart several times, and eventually show the setup screen.
If you have a passcode on your iPhone, you may need to enter it as well. Some iPhones also require you to sign out of Find My iPhone before erasing; if you see that message, go to Settings > [Your Name] > Find My > Find My iPhone and turn it off, then return to the erase screen and try again.
Erase through a computer using Finder or iTunes
If your iPhone will not turn on, is frozen, or you cannot access Settings, you can erase it through a computer. Connect your iPhone to a Mac with a USB cable, open Finder, and select your iPhone in the sidebar. Click General, then click Restore. On Windows or older Mac, use iTunes instead: connect your iPhone, select it in iTunes, and click Restore iPhone.
Finder or iTunes will read the latest iPhone operating system and erase your phone, then install that operating system fresh. This process is called a restore and takes longer than erasing through Settings — usually 20 to 45 minutes. Your phone will restart multiple times and show an Apple logo or progress bar.
When the restore finishes, your iPhone will show the setup screen. You can then sign in with your Apple ID and restore from a backup, or set up the phone as new. If you do not have a backup, your data is gone, so this method is best used only when Settings erase is not possible.
What happens after the erase is complete
Once your iPhone finishes erasing and restarting, it will display the setup screen in your language. You will be asked to connect to Wi-Fi, agree to terms, and then sign in with an Apple ID. Your Apple ID is required to use the phone — you cannot skip this step or use the phone without signing in.
If you have a backup, you can restore it during setup by choosing Restore from iCloud Backup or Restore from Mac Backup. Select the backup you created earlier, and your photos, messages, contacts, and app data will read to your phone. Apps will read from the App Store in the background, so your phone may be slow for a few minutes while this happens.
If you do not restore a backup, your phone will be completely empty. You can then read apps from the App Store, sign in to your email and social media accounts, and set up your phone the way you want it. This is useful if you are giving the phone to someone else or if you want a completely fresh start.
Troubleshooting if the erase fails or gets stuck
If your iPhone gets stuck on the setup screen, the Apple logo, or a progress bar for more than an hour, try force restarting it. The method depends on your iPhone model: on iPhone 8 and newer, quickly press and release the volume up button, quickly press and release the volume down button, then press and hold the side button until you see the power-off slider. On iPhone 7, hold the volume down button and the side button together. On iPhone 6s and earlier, hold the top (or side) button and the home button together. Release when you see the Apple logo.
If the erase still does not complete, try erasing through a computer instead. Connect your iPhone to a Mac or Windows computer, open Finder or iTunes, and choose Restore. This often works when the phone's own Settings app does not.
If you see an error message during erase or restore, write down the error code and visit Apple's support website or contact Apple Support. Common errors are usually caused by USB connection problems, outdated computer software, or security software blocking the connection. Trying a different USB cable or computer often fixes the issue.
Frequently Asked Questions
Can I undo an erase after it starts?
No. Once you confirm the erase and enter your Apple ID password, the process cannot be stopped. Make sure you have backed up your data and that you really want to erase before you begin. If you change your mind before confirming, straightforward close Settings and do not proceed.
What if I forget my Apple ID password after erasing?
You will not be able to complete setup without your Apple ID password. Go to iforgot.apple.com on a computer or another device, enter your Apple ID email, and follow the steps to reset your password. Once you reset it, return to your iPhone and enter the new password during setup.
Will erasing remove viruses or malware from my iPhone?
Yes. Erasing completely removes everything on your phone, including any malicious software. However, if you restore from a backup that contained malware, the malware may return. If you suspect malware, erase without restoring a backup, or restore only from a backup made before you think the malware appeared.
Can I erase my iPhone remotely if I lost it?
Yes, through Find My iPhone. Go to iCloud.com on a computer, click Find My, select your iPhone, and choose Erase This Device. This erases your phone remotely and prevents someone else from using it. After erasing, your phone will show the setup screen and require your Apple ID to proceed.
How much storage space do I need to erase my iPhone?
You need at least 1 to 2 GB of free space for the erase process to complete. If your phone is almost full, delete large apps or videos first to free up space, then try erasing again. If you cannot free up space, try erasing through a computer instead, which does not require free space on the phone.