What happens when you erase your iPhone

When you erase an iPhone, you are wiping the device back to factory settings — removing all your photos, messages, apps, contacts, and settings in one action. The phone itself stays functional; you are just clearing the storage. This is different from locking your device or hiding data. Erasing is permanent and cannot be undone, so the data will not come back even if someone gains access to the phone later.

There are two main reasons to do this: you are selling or giving away the phone, or you believe it has been compromised and you want to start fresh. The method you choose depends on whether you can still access the phone normally or whether it is locked, lost, or not responding.

Key Takeaways

  • A full iPhone erase removes all data and settings, and the process cannot be reversed once started.
  • If you can access your phone normally, use Settings > General > Transfer or Reset > Erase All Content and Settings, which takes 15 to 30 minutes.
  • If you have a passcode or Face ID enabled, the phone will ask you to enter your Apple ID password before erasing, which prevents someone else from wiping your phone remotely.
  • If you cannot access the phone, you can erase it from another device using Find My iPhone, but this requires that Find My was turned on before the phone became inaccessible.
  • After erasing, the phone will restart and show the setup screen, and you will need to decide whether to set it up again or leave it for someone else to configure.

Erasing your iPhone when you can still use it

Open Settings and tap General. Scroll down and tap Transfer or Reset. You will see two options: Reset and Erase All Content and Settings. Choose Erase All Content and Settings.

The phone will warn you that this action cannot be undone and will ask you to enter your Apple ID password. This password requirement is a security feature — it prevents someone who has physical access to your phone from erasing it without your permission. If you do not remember your Apple ID password, you can reset it through iforgot.apple.com before you start the erase process.

Once you enter your password, the phone will begin erasing. This takes 15 to 30 minutes depending on how much data is stored. Do not turn off the phone or disconnect it during this time. When the erase is complete, the phone will restart and show the setup screen, as if it were brand new.

Erasing a phone you cannot access

If your iPhone is lost, stolen, or you cannot unlock it, you can erase it remotely using Find My iPhone. You will need access to another device — a computer, tablet, or another phone — and you must know your Apple ID and password.

On a computer, go to iCloud.com and sign in with your Apple ID. Click Find My, then Find My iPhone. Select your device from the list. If the phone is online, you will see an option to Erase This Device. Click it and confirm. The phone will begin erasing as soon as it connects to the internet, even if it is powered off at that moment.

On another iPhone or iPad, open the Find My app, tap the Devices tab, select your iPhone, and tap Erase This Device. The process is the same — the erase will happen as soon as your phone connects to the internet.

This method only works if Find My was turned on before the phone became inaccessible. If Find My was never enabled, you cannot erase the phone remotely, and you will need to take it to an Apple Store or contact Apple Support for other options.

What to do before you erase

Before you erase, back up your data if you think you might need it later. Open Settings, tap your name at the top, then tap iCloud. Scroll down and tap iCloud Backup, then tap Back Up Now. This creates a copy of your photos, messages, contacts, and app data stored in your iCloud account. The backup takes a few minutes to an hour depending on how much data you have.

If you are giving the phone to someone else, you do not need to back up. Just erase it and let them set it up with their own Apple ID. If you are selling it, erasing is all you need to do — the new owner will set it up themselves.

If you are concerned the phone has been compromised, do not back up. Erasing without backing up means any malware or unauthorized access is also removed. Back up only if you trust that your data is clean.

After the erase is complete

Once the erase finishes, your iPhone will show the setup screen. At this point, you have three choices: set it up with your own Apple ID if you are keeping it, set it up with someone else's Apple ID if you are giving it to them, or leave it at the setup screen if you are selling it and want the buyer to configure it themselves.

If you are selling the phone, do not set it up again. Leave it at the setup screen. This proves to the buyer that the phone has been erased and is ready for their own use. If you set it up with your Apple ID again, the buyer will have to remove your account before they can use the phone, which creates friction and trust issues.

If you are giving the phone to someone you know, you can set it up with their Apple ID right away, or you can leave it at the setup screen and let them do it. Either way works — the phone is now blank and ready for whoever uses it next.

If the erase fails or gets stuck

If the erase process starts but does not finish after an hour, or if you see an error message, force restart the phone. The method depends on your iPhone model. For iPhone X and newer, press and quickly release the Volume Up button, press and quickly release the Volume Down button, then press and hold the Side button until the Apple logo appears. For iPhone 8 and earlier, press and hold the Top (or Side) button and the Volume Down button together until the Apple logo appears.

After the restart, the phone may complete the erase on its own, or it may return to the setup screen. If it returns to setup, the erase was successful. If you see your data again, the erase did not work, and you should try again from Settings.

If the phone is completely unresponsive and will not restart, you may need to connect it to a computer with iTunes or Finder and restore it from there. This is a more technical process — contact Apple Support or visit an Apple Store if you reach this point.

Frequently Asked Questions

Can someone recover my data after I erase my iPhone?

No. When you erase an iPhone, the data is removed in a way that makes recovery extremely difficult without specialized tools that are not available to ordinary people. For most purposes, erasing is final. If you are concerned about data security before selling or giving away the phone, erasing is sufficient.

Do I need to remove my SIM card before erasing?

No. Erasing the iPhone does not affect the SIM card. The SIM card stores your phone number and carrier information, not your personal data. You can leave it in the phone or remove it — either way, the erase will work the same. If you are giving the phone to someone else, remove your SIM card before handing it over.

What if I forgot my Apple ID password and cannot erase?

Go to iforgot.apple.com on any device and reset your password using your email address or phone number. Once you have reset it, return to your iPhone and try the erase again. You will need the new password to complete the process.

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

No. Erasing removes the data from the phone, but the phone itself stays linked to your Apple ID until you remove it manually. After erasing, go to iCloud.com, sign in, click Find My, and remove the device from your list. This step is important if you are selling the phone — it prevents the new owner from seeing your account information.

Can I erase just part of my iPhone instead of everything?

Not with a single action. You can delete individual apps, photos, or messages one at a time, but there is no middle ground between that and a full erase. If you want to remove sensitive data without erasing everything, delete the specific apps or photos you are concerned about, then back up the rest.