What "clearing everything" means and when you need it

Clearing everything from your iPhone means removing all your personal data — photos, messages, contacts, apps, settings — and returning the phone to factory condition. This is different from just deleting individual items. You are performing what Apple calls an Erase All Content and Settings, which wipes the entire device.

You might do this before selling or giving away your phone, when troubleshooting a serious software problem, or when you want a completely fresh start. The process takes 10 to 30 minutes depending on how much data is on your phone and which method you use.

Before you start: make sure you have backed up anything you want to keep. Once the erase completes, that data is gone from the phone itself. You can restore from a backup later if you change your mind.

Key Takeaways

  • Erasing all content and settings removes everything from your iPhone and returns it to factory condition, which is different from simply deleting apps or photos.
  • You must back up your data first through iCloud or a computer if you want to keep photos, messages, or other information.
  • The fastest method is Settings > General > Transfer or Reset > Erase All Content and Settings, which takes about 10 to 30 minutes.
  • If your iPhone is locked with a passcode or Face ID, you will need that passcode to complete the erase — Apple does this to prevent theft.
  • After erasing, your iPhone will restart and show the setup screen, and you can restore from your backup or set it up as new.

Back up your data before you erase

The erase process is permanent. Anything not backed up will be lost. You have two backup options: iCloud (wireless, automatic) or a computer (faster for large amounts of data).

iCloud backup is the easiest route. Go to Settings > [Your Name] > iCloud > iCloud Backup, then tap Back Up Now. Your phone will upload everything — photos, messages, app data, settings — to your iCloud account. This takes anywhere from a few minutes to an hour depending on how much data you have and your internet speed. You need a Wi-Fi connection and enough free iCloud storage (you get 5 GB free; larger backups may require a paid plan).

Computer backup is faster if you have a lot of data. On a Mac, plug in your iPhone, open Finder, click your phone in the sidebar, and click Back Up Now. On Windows, use iTunes or the Devices tab in File Explorer. A computer backup stores everything locally on your computer rather than in the cloud.

You do not need both. Pick one, complete it, and wait for the backup to finish before moving to the erase step.

Erase your iPhone through Settings

This is the standard method and works on all iPhones. Open Settings, then follow this path: General > Transfer or Reset > Erase All Content and Settings. (On older iOS versions, it may be General > Reset > Erase All Content and Settings.)

Your phone will ask you to confirm your Apple ID password. This is a security step — it prevents someone else from erasing your phone if they steal it. Enter the password you use to sign into your Apple account.

Next, your phone will ask whether you want to keep or remove your Apple ID account from the device. If you are selling the phone, choose Remove. If you are keeping it, you can choose Keep, and your Apple ID will remain on the phone after the erase (though all your data will be gone).

The erase will then begin. Your screen will show a progress bar. Do not turn off the phone or disconnect it from power during this time. When it finishes, your iPhone will restart and show the setup screen you saw when you first bought it.

Erase your iPhone using a computer if you cannot access Settings

If your iPhone is frozen, unresponsive, or you cannot remember your passcode, you can erase it through a computer instead. This method is called Finder Restore on Mac or iTunes Restore on Windows.

On a Mac running Monterey or newer: plug in your iPhone, open Finder, click your phone in the sidebar, and click Restore. Finder will download the latest iOS software and erase your phone, then reinstall iOS from scratch. On older Macs or Windows computers, use iTunes instead of Finder — the steps are the same.

This process takes 15 to 45 minutes depending on your internet speed and how large the iOS download is. Your phone will restart several times. Do not unplug it until the process is completely finished and you see the setup screen.

One important note: if your iPhone has an Apple ID account on it and you do not know the password, the computer method will still erase the phone, but you will not be able to set it up again without that Apple ID password. This is by design — it prevents theft. If you are the phone's owner and forgot your Apple ID password, you can reset it at iforgot.apple.com before you start the erase.

What happens after 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. You will be asked to choose a language, connect to Wi-Fi, and sign in with your Apple ID.

At this point, you have two choices. You can restore from the backup you made earlier (choose Restore from iCloud Backup or Restore from Mac/Windows Backup, depending on which you used). This will put all your photos, messages, apps, and settings back on the phone, but it will not restore any data that was created after the backup was made.

Alternatively, you can set up the phone as new. This means you will start with a blank iPhone and download apps fresh from the App Store. This takes longer but gives you a completely clean slate.

Erase specific content instead of everything

If you do not want to erase the entire phone, you can remove individual items. Go to Settings > General > iPhone Storage to see what is taking up space, then delete apps, photos, or other files one at a time. You can also go to Settings > Privacy to turn off location services, disable app permissions, or reset your advertising ID without erasing anything else.

If you want to remove all photos and videos but keep everything else, go to Photos, tap Select, choose all photos, and delete them. Messages work the same way — open the Messages app, swipe left on a conversation, and tap Delete.

For a middle ground between erasing everything and deleting individual items, you can also reset your iPhone's network settings (Settings > General > Transfer or Reset > Reset > Reset Network Settings), which clears Wi-Fi passwords and Bluetooth pairings without touching your photos or apps.

Troubleshooting if the erase gets stuck or fails

If your iPhone is stuck on the erase screen or the process seems to be taking much longer than 30 minutes, try force-restarting the phone. The method depends on your iPhone model: on iPhone X 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 8 and earlier, press and hold the Top (or Side) button until the slider appears.

If the erase fails repeatedly, try the computer method instead. Sometimes a direct connection to a Mac or Windows computer can complete the erase when the phone's own Settings cannot. Make sure your computer has the latest version of macOS or Windows before you try.

If you see an error message about your Apple ID, double-check that you entered your password correctly. If you are still stuck, you can visit an Apple Store or contact Apple Support — they can help you erase the phone and verify your identity if needed.

Frequently Asked Questions

Will erasing my iPhone remove my Apple ID account?

The erase process removes all your data, but your Apple ID account stays linked to the phone unless you specifically choose to remove it during the erase. If you are selling the phone, you should remove your Apple ID so the new owner can set it up with their own account. If you are keeping it, you can leave your Apple ID on and sign back in after the erase.

Can I undo an erase after it starts?

No. Once the erase begins, you cannot stop it. This is why backing up first is so important. If you realize you made a mistake after the erase finishes, you can restore from your backup, but anything created after the backup was made will be lost.

Do I need Wi-Fi to erase my iPhone?

You need Wi-Fi to verify your Apple ID password during the erase, but the erase itself does not require an active internet connection. However, if you plan to restore from an iCloud backup afterward, you will need Wi-Fi for that step.

What if I forgot my passcode and cannot access Settings?

Use the computer method instead. Plug your iPhone into a Mac or Windows computer, open Finder or iTunes, and choose Restore. This will erase the phone without needing your passcode. You will still need your Apple ID password to set up the phone again.

How long does it take to erase an iPhone?

The erase itself usually takes 10 to 30 minutes, depending on how much data is on your phone and whether you are using Settings or a computer. Restoring from a backup afterward can take an additional 30 minutes to several hours if you have a lot of photos or apps.