What happens when you erase an iPhone

Erasing an iPhone removes all your data — photos, messages, contacts, apps, settings — and returns the phone to factory condition. The process wipes the device's storage and reinstalls the operating system. After erasure, the phone is blank and ready to set up as new or hand off to someone else.

Apple offers two main paths: erasing through the phone's Settings app, or using a computer with Finder (Mac) or iTunes (Windows). Both methods accomplish the same result, but the computer route works if your phone won't turn on or respond to touch.

Before you erase, back up anything you want to keep. Once the process finishes, recovery is extremely difficult. Most people back up to iCloud or a computer, then erase, then restore from that backup on the same phone or a different one.

Key Takeaways

  • Erasing an iPhone through Settings takes about 10 minutes and removes all data permanently.
  • You must know your Apple ID password before erasing, or the phone will lock you out after the wipe completes.
  • Back up to iCloud or a computer before erasing if you want to save photos, messages, or other data.
  • If your phone won't respond, you can erase it using a computer running Finder (Mac) or iTunes (Windows).
  • After erasure, the phone asks for your Apple ID credentials before you can set it up again — this is a security feature.

Erasing through Settings on your iPhone

Open Settings, then tap General. Scroll to the bottom and tap Transfer or Reset. Select Erase All Content and Settings. The phone will ask you to confirm and may request your Apple ID password. Once you confirm, the erasure begins and typically takes 5 to 15 minutes depending on how much data is stored.

During erasure, the screen shows a progress bar. Do not turn off the phone or disconnect it from power. Let the process run to completion. When finished, the iPhone restarts and shows the setup screen, as if it came from the factory.

If you see a message asking for your Apple ID password after the wipe, enter it. This is Activation Lock, a security feature that prevents someone else from using your phone if it is stolen. You must provide the password associated with the Apple ID that was on the phone before erasure.

Erasing using a computer

Connect your iPhone to a Mac running macOS 13.1 or later, or a Windows PC with iTunes installed. On Mac, open Finder and select your iPhone from the sidebar. Click General, then Restore. On Windows, open iTunes, select your device, and click Restore.

The computer downloads the latest iPhone software and installs it on the phone. This process erases all data and takes 10 to 30 minutes depending on your internet speed and the phone model. Do not disconnect the phone during this time.

After restoration completes, the phone shows the setup screen. If you are asked for an Apple ID password, enter the credentials that were on the phone before erasure. If you do not remember the password, you will need to recover your Apple ID through Apple's account recovery process before you can proceed.

Backing up before you erase

To save your data, back up to iCloud or a computer before erasing. For iCloud, open Settings, tap your name at the top, select iCloud, then tap iCloud Backup. Turn on iCloud Backup and tap Back Up Now. The backup runs in the background and can take several minutes to several hours depending on how much data you have and your internet speed.

To back up to a computer, connect your iPhone to a Mac or Windows PC. On Mac, open Finder, select your iPhone, and click Back Up Now. On Windows, open iTunes, select your device, and click Back Up. The computer stores an encrypted copy of your phone's data locally.

After backing up, you can erase the phone. When you set it up again, you will be asked whether to restore from a backup. Choose the backup you just created, and your photos, messages, contacts, and other data will return to the phone.

What to do if your phone won't turn on or respond

If your iPhone is frozen, unresponsive, or won't power on, you can still erase it using a computer. Connect the phone to a Mac or Windows PC with a USB cable. On Mac, open Finder and select your iPhone. On Windows, open iTunes and select your device.

Look for a Restore button. Click it and confirm that you want to erase and restore the phone. The computer will download the latest software and install it, erasing all data in the process. This method works even if the phone's screen is black or the device is stuck on the Apple logo.

If the computer does not recognize the phone, try a different USB cable or port. If the phone still does not appear, restart the computer and try again. Some older cables or ports may not work reliably.

After erasure: what to expect

Once erasure finishes, the iPhone displays the setup screen in the language and region you last selected. You will be asked to connect to Wi-Fi, sign in with your Apple ID, and choose whether to restore from a backup or set up as new.

If you are selling or giving away the phone, do not sign in with your Apple ID. Instead, leave it at the setup screen so the new owner can set it up with their own account. If you are keeping the phone, sign in and restore from your backup to get your data back.

The entire setup process takes 10 to 30 minutes depending on how much data you are restoring and your internet speed. Keep the phone plugged in and connected to Wi-Fi during this time.

Removing your Apple ID before you sell or give away the phone

Before handing off your iPhone to someone else, sign out of your Apple ID. Open Settings, tap your name at the top, scroll down, and tap Sign Out. Enter your Apple ID password when prompted. This removes your account from the phone and disables Activation Lock.

After signing out, you can erase the phone. The new owner will then be able to set it up with their own Apple ID without needing your password. If you skip this step and erase without signing out, Activation Lock will still be active, and the new owner will be stuck at the setup screen.

If you have already erased the phone and forgot to sign out first, you can remove Activation Lock through Apple's Find My website or by contacting Apple Support with proof of purchase.

Frequently Asked Questions

Can I recover data after I erase my iPhone?

Recovery is extremely difficult once erasure completes. If you backed up to iCloud or a computer before erasing, you can restore that backup to get your data back. If you did not back up, the data is gone. Some data recovery services claim to recover erased iPhone data, but success rates are very low and costs are high.

What if I forget my Apple ID password before erasing?

You will need the password to complete setup after erasure due to Activation Lock. Go to iforgot.apple.com and follow the recovery process to reset your password before you erase. If you have already erased and are locked out, you can recover your account through Apple's website or contact Apple Support.

Does erasing my iPhone remove it from Find My?

Erasing removes the phone's data but does not remove it from Find My until you sign out of your Apple ID first. Before erasing, open Settings, tap your name, and sign out. This removes the phone from your Find My account so it will not appear in the app after erasure.

How long does it take to erase an iPhone?

Erasure through Settings typically takes 5 to 15 minutes. Erasure through a computer takes 10 to 30 minutes depending on your internet speed and the phone model. Do not interrupt the process or turn off the phone during erasure.

Can I erase just some apps or photos instead of everything?

No. The erase function wipes the entire phone. To remove individual apps or photos, delete them one at a time through the phone's normal interface. If you want to clear space without erasing everything, delete large apps, old photos, or cached data from individual apps through Settings.