What clearing your iPhone actually does
Clearing everything on your iPhone means erasing all your data — photos, messages, contacts, apps, settings — and returning the phone to the state it was in when you first opened the box. Apple calls this a factory reset or erase all content and settings. The phone itself stays; the information on it disappears.
This is different from deleting individual apps or photos. A factory reset wipes the entire storage drive. Once you start the process, you cannot stop it partway through, and you cannot undo it afterward. The data does not go to a trash folder where you can recover it — it is gone.
Most people do this before selling or giving away a phone, or when the phone has become so slow or buggy that starting over is faster than troubleshooting. If you are clearing your phone to free up space or because you think you have too many files, there are faster options covered below.
Key Takeaways
- A factory reset erases everything on your iPhone permanently and cannot be undone, so back up your data first if you want to keep anything.
- You can back up to iCloud (Apple's cloud storage) or to a Mac or Windows computer using Finder or iTunes before you erase.
- The reset itself takes place in Settings under General, then Transfer or Reset, then Erase All Content and Settings.
- If you are trying to free up storage space, deleting individual apps, photos, or old messages is faster and safer than erasing everything.
- After the reset completes, you can restore from your backup to get your data back, or set up the phone as new.
Back up your data before you erase
Before you do anything, decide whether you want to keep your data. If you do, back it up now. If you are selling the phone or giving it away and do not care about the data, you can skip this step.
The easiest backup method is iCloud, Apple's cloud storage. Go to Settings, tap your name at the top, then tap iCloud. Turn on iCloud Backup if it is not already on. Tap Back Up Now. The backup runs in the background and can take anywhere from a few minutes to an hour depending on how much data you have and your internet speed. You do not have to wait for it to finish before you erase — as long as the backup started, your data is being saved.
If you want a backup on your computer instead, connect your iPhone to a Mac with a USB cable, open Finder, click your phone in the sidebar, and click Back Up Now. On Windows, use iTunes: connect the phone, click the device icon, and click Back Up. This backup lives on your computer's hard drive, not in the cloud.
How to erase your iPhone in Settings
Open Settings and scroll down to General. Tap General, then scroll to the bottom and tap Transfer or Reset. (On older iPhones, this option is called Reset instead.) Tap Erase All Content and Settings.
The phone will ask you to enter your Apple ID password. This is a security feature — it prevents someone else from erasing your phone without permission. Type your password and tap Next. The phone will also ask whether you want to keep or remove your iCloud data. If you backed up to iCloud, choose Keep, so your backup stays in the cloud. If you do not want your data in iCloud anymore, choose Remove.
Tap Erase again to confirm. The phone will restart and begin erasing. You will see a progress bar. Do not turn off the phone or disconnect it from power during this process. The erase can take 10 to 30 minutes depending on how much data is on the phone.
When it finishes, you will see the setup screen — the same screen you saw when you first turned on the phone. At this point, everything is gone.
What to do after the erase is complete
Once the phone restarts, you have two choices: set it up as a new phone, or restore from your backup.
If you backed up to iCloud and want your data back, sign in with your Apple ID during setup. When the phone asks whether you want to restore from a backup, choose Restore from iCloud Backup and select the backup you made. The phone will read your photos, messages, contacts, and apps from iCloud. This can take an hour or more if you have a lot of data, so plug in the phone and connect to Wi-Fi.
If you backed up to your computer, connect the phone to the same computer after setup is complete. Open Finder (Mac) or iTunes (Windows), select your phone, and click Restore Backup. Choose the backup you made and wait for the restore to finish.
If you do not want to restore anything — because you are giving the phone away, or because you want a truly fresh start — just skip the restore step and set up the phone as new. You will need to sign in to your Apple ID, add your Wi-Fi password, and read your apps from the App Store, but the phone will be blank otherwise.
Faster alternatives if you just need storage space
If you are erasing your phone because it is running out of storage, a factory reset is overkill. Deleting specific things is much faster and safer.
Start with photos and videos. Open Photos, tap the Albums tab at the bottom, scroll down to Recently Deleted, and tap Select. Choose the photos you want to permanently remove and tap Delete. Photos you delete here are gone for good, so be sure before you confirm.
Messages also take up a lot of space. Open Messages, swipe left on a conversation, and tap Delete. To delete messages from one person without deleting the whole conversation, open the conversation, tap Edit in the top left, select the messages you want to remove, and tap Delete.
Apps you do not use are another straightforward target. Go to Settings, tap General, then iPhone Storage. You will see a list of apps sorted by size. Tap an app and tap Offload App to remove it while keeping your data, or Delete App to remove it completely. Offload is safer if you think you might use the app again.
If none of these free up enough space, go back to iPhone Storage and look at what is taking up room. Sometimes old backups or cached data from apps you no longer use can be cleared without erasing everything.
What happens if you forget your Apple ID password
If you try to erase your phone and do not remember your Apple ID password, the phone will not let you finish. You will need to reset your password before you can proceed.
Go to iforgot.apple.com on another device and enter your Apple ID email address. Apple will send you a link to reset your password. Follow the link, create a new password, and sign back into your iPhone with the new password. Then try the erase again.
If you do not have access to the email address associated with your Apple ID, you will need to contact Apple Support. They can verify your identity and help you regain access to your account.
Frequently Asked Questions
Can I undo a factory reset after I have already erased everything?
No. Once the erase is complete, the data is gone. Your only option is to restore from a backup you made before the erase. If you did not back up, there is no way to recover the data.
Will erasing my iPhone remove it from Find My iPhone?
No. Find My iPhone is tied to your Apple ID, not to the data on your phone. Even after you erase, the phone will still show up in Find My on your other devices. You will need to sign out of your Apple ID or remove the phone from Find My manually if you are giving it to someone else.
How long does a factory reset take?
The erase itself usually takes 10 to 30 minutes. If you restore from a backup afterward, that can take another hour or more depending on how much data you have and your internet speed. Plan for at least two hours from start to finish if you are backing up and restoring.
What if my iPhone is frozen and I cannot get to Settings?
Force restart the phone first. For iPhone X and newer, press and release the volume up button, press and release the volume down button, then press and hold the side button until you see the Apple logo. For older iPhones, press and hold the top (or side) button and home button together until the Apple logo appears. Once the phone restarts, try going to Settings again. If it is still frozen, you may need to use a computer to erase it through Finder or iTunes.
Do I lose my phone number when I erase my iPhone?
No. Your phone number is stored with your carrier, not on the phone itself. Erasing the phone does not affect your phone number or your cellular service.