What clearing an iPhone actually does
Completely clearing an iPhone means erasing all your personal data — photos, messages, contacts, apps, settings — and returning the phone to the state it was in when it left the factory. This is called a factory reset or erase all content and settings. When you do this, the phone itself stays the same, but everything you put on it disappears.
People clear their iPhones for different reasons: selling or giving away the phone, fixing a software problem that won't go away, or starting over after a theft. The process is the same regardless. Once you start, you cannot stop it partway through, and you cannot undo it without restoring from a backup you made beforehand.
Before you begin, understand that this erases everything. If you have photos, notes, or other data you want to keep, you must back them up first. Apple's backup system (iCloud or your computer) is the standard way to do this, and it takes minutes to set up if you have not already.
Key Takeaways
- A factory reset erases all your data and returns the iPhone to its original state, and you cannot undo it without a backup.
- Back up your iPhone through iCloud or a computer before you erase it if you want to keep any of your data.
- The erase process happens in Settings under General, and takes 10 to 30 minutes depending on how much data is on the phone.
- After erasing, the phone will ask you to sign in with an Apple ID before you can use it again — this is a security feature called Activation Lock.
- If you are selling or giving away the phone, sign out of your Apple ID and iCloud before erasing so the new owner can set it up.
Back up your data before you erase
The fastest way to back up is through iCloud, which stores your data on Apple's servers. Open Settings, tap your name at the top, then tap iCloud. Make sure the toggle next to iCloud Backup is turned on (it should be blue). Then tap Back Up Now. This backs up your photos, messages, contacts, app data, and settings. The backup runs in the background and takes as long as your internet connection allows — usually 5 to 15 minutes for a typical phone.
If you want a backup on your computer instead, connect your iPhone with a USB cable, open Finder (on Mac) or iTunes (on Windows), select your phone, and click Back Up Now. This creates a local copy on your computer that you can restore from later.
You do not need both backups. One is enough. If you are not sure whether you have backed up before, go to Settings, tap your name, tap iCloud, and look for the date next to Last Backup. If it says today or yesterday, you are covered.
Sign out of Apple ID and iCloud if you are giving away the phone
If you are selling or giving the iPhone to someone else, you must sign out of your Apple ID before you erase it. If you do not, the new owner will see a lock screen asking for your Apple ID password when they turn it on — they will not be able to use the phone until you unlock it remotely or they contact Apple with proof of purchase.
To sign out, go to Settings, tap your name at the top, scroll down, and tap Sign Out. You will be asked for your Apple ID password. Enter it. Then choose whether to keep or remove a copy of your iCloud data on the phone (it does not matter for this purpose — the erase will remove it anyway). After you sign out, go back to Settings and tap your name again. It should now say Sign In instead.
Do this step before you erase. If you forget and erase while still signed in, you will need to contact Apple or the previous owner to unlock the phone.
Erase the iPhone through Settings
Open Settings and tap General. Scroll all the way down and tap Transfer or Reset. Then tap Erase All Content and Settings. The phone will warn you that this action cannot be undone. Tap Erase again to confirm. You may be asked for your Apple ID password or your screen lock code — enter it. The phone will then begin erasing.
The erase process takes 10 to 30 minutes depending on how much data is on the phone. Do not turn off the phone or disconnect it during this time. You will see a progress bar on the screen. When it finishes, the phone will restart and show the setup screen, just like a brand-new phone.
If the phone is frozen or will not turn on, you can erase it using a computer instead. Connect it to a Mac or Windows PC with a USB cable, open Finder or iTunes, select the phone, and click Restore. This erases the phone and installs the latest version of iOS at the same time.
Set up the phone after erasing
After the erase finishes, the iPhone will show the setup screen. You will be asked to choose a language, connect to Wi-Fi, and set a screen lock code. Then comes the Apple ID screen. This is where Activation Lock comes in: the phone will ask you to sign in with an Apple ID before you can use it.
If this is your phone, sign in with your own Apple ID. If you backed up to iCloud, you can choose to restore from that backup now, and all your data will come back. If you backed up to a computer, you will restore from that backup after setup is complete.
If you are giving the phone to someone else, they will sign in with their own Apple ID at this screen. They will not be able to use the phone until they do. This is a security feature that prevents stolen phones from being used by someone other than the owner.
Restore your data from a backup
If you backed up to iCloud, the setup screen will offer to restore from your backup. Choose the backup you want (it will show the date), and the phone will download your data. This takes 10 to 30 minutes depending on the size of your backup and your internet speed. Do not turn off the phone during this process.
If you backed up to a computer, finish the setup first, then connect the phone to the computer again. In Finder or iTunes, select the phone and click Restore Backup. Choose the backup you want and click Restore. The phone will restart and restore your data.
After the restore finishes, your photos, messages, contacts, and apps will be back on the phone, exactly as they were before you erased it. Your settings and app data will also be restored.
Troubleshooting if the erase gets stuck
If the erase screen freezes or does not progress for more than an hour, force restart the phone. Press and quickly release the Volume Up button, press and quickly release the Volume Down button, then press and hold the Side button until you see the Apple logo appear. This takes about 10 seconds. The phone will restart and may continue the erase process, or it may return to the setup screen.
If the phone still will not erase, try using a computer. Connect the phone to a Mac or Windows PC with a USB cable, open Finder (Mac) or iTunes (Windows), select the phone, and click Restore. This erases the phone and reinstalls iOS in one step. You will need an internet connection for this to work.
If the phone is locked with a screen code and you cannot remember it, you will need to erase it using a computer or contact Apple. There is no way around the screen lock without erasing.
Frequently Asked Questions
Will erasing the iPhone remove the iOS operating system?
No. Erasing removes your personal data and settings, but the iOS operating system stays on the phone. If you want to update iOS at the same time, you can do that during setup after the erase is complete. If you use a computer to restore, it will reinstall the latest version of iOS automatically.
Can I erase just one app or folder instead of the whole phone?
Yes. To delete a single app, press and hold it on the home screen and tap Remove App, then tap Delete. To delete a folder, press and hold it and tap Remove Folder. To delete photos or messages, open the Photos or Messages app, tap Edit, select what you want to delete, and tap Delete. A factory reset is only necessary if you want to erase everything at once.
What happens if I erase the phone but do not have a backup?
Your data will be gone permanently. There is no way to recover it after a factory reset without a backup. This is why backing up before you erase is important. If you have already erased without a backup, contact Apple — they may be able to help in some cases, but recovery is not may provide.
Do I need to remove my SIM card before erasing?
No. The SIM card stores your phone number and carrier information, not your personal data. It will not be affected by a factory reset. You can leave it in the phone during the erase.
How do I know if the erase actually worked?
After the erase finishes and the phone restarts, it will show the setup screen asking for a language and Wi-Fi connection. This means the erase worked. If you see your old home screen with your apps and photos still there, the erase did not complete — try again from Settings.