What happens when you erase your iPhone

Erasing your iPhone removes all your photos, messages, contacts, apps, settings, and personal data from the device itself. The phone returns to the state it was in when it left the factory. This is different from signing out of your Apple ID or backing up — erasing actually deletes the information from the device's storage.

Before you erase, understand that this action cannot be undone unless you have a backup. If you restore from a backup afterward, you bring back the data you just deleted. If you erase without a backup and do not restore, the data is gone from that device permanently.

People erase iPhones for three main reasons: selling or giving away the phone, fixing a software problem that won't go away, or starting completely fresh. The process is the same regardless of your reason.

Key Takeaways

  • Back up your iPhone to iCloud or a computer before erasing if you want to keep any of your data.
  • You must know your Apple ID password to erase your iPhone — without it, you will be locked out after erasing.
  • The erase process takes 10 to 30 minutes depending on how much data is on your phone.
  • After erasing, you can set up the iPhone as new or restore from a backup you made before erasing.

Back up your data before you erase

If you want to keep your photos, messages, or other data, back up your iPhone before erasing. You have two options: iCloud or a computer.

iCloud backup is the easiest method. Go to Settings, tap your name at the top, then tap iCloud. Scroll down and tap iCloud Backup. Turn on iCloud Backup if it is not already on, then tap Back Up Now. The backup runs in the background and can take several minutes depending on how much data you have. You need an active Wi-Fi connection and enough iCloud storage space — Apple gives you 5 GB free, and you can buy more if needed.

Computer backup works through iTunes on Windows or Finder on Mac. Plug your iPhone into the computer with a USB cable. On Mac, open Finder and click your iPhone in the sidebar. On Windows, open iTunes and click the device icon. Click Back Up Now. This backup stores on your computer's hard drive instead of in the cloud.

Erase your iPhone through Settings

This is the most common method and works on any iPhone. Open Settings and tap General. Scroll to the bottom and tap Transfer or Reset. Tap Erase All Content and Settings. Your iPhone will ask you to enter your Apple ID password — this is the password for the account you use with Apple, not your phone's passcode. Enter it and tap Erase.

The phone will show a progress bar and may restart several times. Do not unplug it or turn it off during this process. Depending on how much data is on your phone, erasing takes 10 to 30 minutes. When it finishes, your iPhone will show the setup screen you see on a brand-new phone.

If you do not remember your Apple ID password, you cannot complete the erase through Settings. You will need to use a computer instead (see the next section).

Erase your iPhone using a computer if you forgot your password

If you do not know your Apple ID password, you can erase through a computer using Finder (Mac) or iTunes (Windows). This method is called putting your iPhone in recovery mode.

Plug your iPhone into the computer with a USB cable. On Mac, open Finder and click your iPhone in the sidebar. On Windows, open iTunes and click the device icon. Look for a Restore button and click it. Your computer will download the latest iPhone software and erase the phone, then install that software fresh. This takes 15 to 45 minutes depending on your internet speed and how much data is on the phone.

When the process finishes, you will see the setup screen. At this point, you can set up the iPhone as new or restore from a backup if you have one. If you do not have a backup and do not remember your Apple ID password, you will be asked to sign in with that password during setup — you will need to reset it through Apple's website before you can continue.

Set up your iPhone after erasing

After erasing, your iPhone shows the Hello screen. You can choose to set it up as a new phone or restore from a backup you made before erasing.

To set up as new, follow the on-screen steps. You will sign in with your Apple ID, choose your settings, and download your apps fresh from the App Store. This takes the longest but gives you the cleanest start.

To restore from a backup, choose Restore from iCloud Backup or Restore from Mac/PC during setup. If you chose iCloud, sign in with your Apple ID and select which backup to restore. If you chose computer, plug the phone back into the computer and click Restore Backup in Finder or iTunes. Your photos, messages, contacts, and app data return to the phone, but any software problems that were on the old version may return as well.

What to do if your iPhone is locked after erasing

If you erased your iPhone and now see a screen asking for your Apple ID password, this is Activation Lock. It is a security feature that prevents someone else from using your phone if it is stolen.

Enter the Apple ID password for the account that was on the phone before erasing. If you do not remember it, go to iforgot.apple.com on another device and reset it. Once you reset your password, return to your iPhone and enter the new password.

If the iPhone belonged to someone else and you do not have access to their Apple ID account, you cannot proceed without their help. They must sign in to iforgot.apple.com, reset their password, and provide it to you. This is intentional — it prevents theft.

Erase specific apps or data instead of everything

If you do not want to erase your entire iPhone, you can delete individual apps or clear specific data. Go to Settings and tap General. Tap iPhone Storage to see how much space each app uses. Tap an app and tap Offload App to remove it without deleting its data, or tap Delete App to remove it completely. You can reinstall any app from the App Store later.

To clear specific types of data like browsing history or cached files, go to Settings, tap Safari (or another app), and look for options to clear history, cookies, or cache. This removes data without touching your photos, messages, or contacts.

Frequently Asked Questions

Can I erase my iPhone if I do not have a backup?

Yes, but you will lose all your data on that phone. If you have not backed up, stop and create a backup now through iCloud or a computer before you erase. Once you erase without a backup, the data cannot be recovered from the phone.

Will erasing my iPhone remove it from my Apple ID account?

No. Erasing the phone removes data from the device, but your Apple ID account stays active. You can sign back into the same Apple ID on this phone or any other device. To remove the phone from your account, go to appleid.apple.com, sign in, click Devices, and select the phone you want to remove.

What if my iPhone is frozen and I cannot open Settings?

Force restart the phone first. 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 power-off slider. Release the button and wait for the phone to restart. If it still will not respond, use a computer to erase it through recovery mode instead.

How long does it take to erase an iPhone?

The erase process itself takes 10 to 30 minutes depending on how much data is on your phone. If you are erasing through a computer, add another 15 to 45 minutes for the software download and installation. Do not interrupt the process or unplug the phone.

Can someone else erase my iPhone remotely?

Only if they have your Apple ID password or if you have given them permission through Find My iPhone. If you think someone has erased your phone without permission, change your Apple ID password immediately at iforgot.apple.com and review your account activity at appleid.apple.com.