What "clearing everything" means and why you might do it

Clearing everything from your iPhone means removing all your personal data, apps, photos, messages, and settings so the phone returns to factory condition. This is different from straightforward deleting individual files — it wipes the entire device. You might do this before selling or giving away your phone, if you're switching to Android, or if you want to start fresh after malware or a compromised account.

The key thing to understand: once you clear everything, you cannot get it back unless you have a backup. Apple does not recover deleted data from iPhones. So before you start, decide what you want to keep and back it up to iCloud or your computer.

Key Takeaways

  • Back up your iPhone to iCloud or a computer before erasing, because deleted data cannot be recovered.
  • Use Settings > General > Transfer or Reset > Erase All Content and Settings to wipe the entire phone in one step.
  • You must know your Apple ID password to complete the erase — Apple locks the phone to prevent theft.
  • The erase process takes 5 to 15 minutes and the phone will restart several times during the wipe.
  • After erasing, you can set up the phone as new or restore from your backup if you kept one.

Back up your data before you erase

The fastest way to back up is through iCloud. Go to Settings > [Your Name] > iCloud and turn on iCloud Backup. Then go to Settings > [Your Name] > iCloud > iCloud Backup and tap Back Up Now. This uploads your photos, messages, app data, and settings to Apple's servers. The backup takes anywhere from a few minutes to an hour depending on how much data you have and your internet speed.

If you want a local backup on your computer instead, connect your iPhone to a Mac or PC with a USB cable. On Mac, open Finder, click your phone, and click Back Up Now. On Windows, open iTunes, select your phone, and click Back Up. A local backup gives you more control over where your data sits, but it only works if you have access to that computer later.

You can also do both — iCloud and a computer backup. This gives you two copies in case one fails. If you do not back up and you erase, your photos, messages, and contacts are gone permanently.

Erase your iPhone using Settings

Open Settings and tap General. Scroll down and tap Transfer or Reset. Tap Erase All Content and Settings. The phone will ask you to enter your Apple ID password — this is the password for the account associated with your phone, not your screen lock code. Apple requires this step to prevent someone from stealing your phone and wiping it to resell it.

After you enter your password, the phone will show a warning that all data will be erased. Tap Erase again to confirm. The iPhone will begin the wipe process. You will see a progress bar and the phone may restart several times. Do not turn off the phone or disconnect it during this time. The whole process usually takes 5 to 15 minutes.

When the erase is complete, your iPhone will restart and show the setup screen, the same one you saw when you first turned on a new phone. At this point, all your personal data is gone.

What happens if you forget your Apple ID password

If you try to erase and the phone asks for your Apple ID password but you do not remember it, you have two options. The first is to reset your password through Apple's website. Go to iforgot.apple.com, enter your Apple ID email, and follow the steps to reset your password. This usually takes a few minutes. Then return to your phone and enter the new password to complete the erase.

The second option, if you cannot access your email or reset your password, is to take the phone to an Apple Store. Bring a photo ID and proof of purchase if you have it. Apple can verify your identity and help you regain access to your account. This process can take a day or longer depending on how busy the store is and what information you can provide.

Erase your iPhone using a computer if the phone won't turn on

If your iPhone is broken, frozen, or will not turn on, you can erase it from a computer. Connect the phone to a Mac or PC with a USB cable. On Mac, open Finder, click your phone, and click Restore. On Windows, open iTunes, select your phone, and click Restore. The computer will read the latest iPhone software and install it, which erases everything in the process.

You will still need your Apple ID password when the phone restarts. If you do not have the password, the phone will be locked to your account and you will not be able to set it up. This is a security feature called set up Lock. If you are erasing a phone you own but cannot access your Apple ID, contact Apple Support with proof of purchase.

Set up your iPhone after erasing

After the erase completes and the phone restarts, you will see the setup screen. You have two paths: set up as a new phone, or restore from a backup. If you want to restore from iCloud, sign in with your Apple ID and choose the backup you want to restore from. The phone will read your photos, messages, apps, and settings from iCloud. This usually takes 15 minutes to an hour depending on how much data you have.

If you set up as new, you start with a blank phone and add apps and data manually. This is useful if you want to remove old apps you no longer use or if you want a completely fresh start. You can still restore individual items like photos or contacts from iCloud later if you need them.

Erasing before you sell or give away your phone

If you are selling your iPhone, erase it completely and do not restore from a backup. This removes all your personal data so the new owner cannot access your photos, messages, or accounts. After erasing, you can leave the phone on the setup screen or set it up as new with a temporary account — either way, the new owner will set it up with their own Apple ID.

Do not just delete your apps or turn off iCloud. These steps do not remove your data completely. A determined person with technical knowledge can sometimes recover deleted files. A full erase using Settings > General > Transfer or Reset > Erase All Content and Settings is the only way to make sure your data is gone.

If you are giving the phone to someone you trust, like a family member, you can restore from your backup so they get your apps and data. But if you are selling to a stranger, erase completely.

Frequently Asked Questions

Can I undo an erase after I start it?

No. Once you tap Erase All Content and Settings and confirm, the process begins and cannot be stopped. The only way to recover your data is if you have a backup. This is why backing up before you erase is so important.

Will erasing my iPhone remove it from Find My iPhone?

Erasing removes your data but not the set up Lock. Your Apple ID is still tied to the phone. If you want to remove it completely, go to Settings > [Your Name] > Find My > Find My iPhone and turn it off before you erase. Then the new owner can set it up with their own Apple ID without needing your password.

How long does it take to erase an iPhone?

The erase process itself takes 5 to 15 minutes. If you restore from a backup afterward, that can take an additional 15 minutes to an hour depending on how much data you have and your internet speed.

What if my iPhone is stolen — can I erase it remotely?

Yes. Go to iCloud.com, click Find My, select your iPhone, and click Erase This Device. This erases the phone remotely even if you do not have it in your hands. The phone must be connected to the internet for this to work. After you erase it remotely, the phone will be locked to your Apple ID and the thief cannot use it.

Do I need to remove my SIM card before erasing?

No. Erasing your iPhone does not affect your SIM card or your phone number. Your carrier information stays on the SIM. If you are giving the phone to someone else, you can remove the SIM card before you hand it over, or leave it in — it does not matter for the erase process.