What happens when you erase an iPhone
Erasing your iPhone removes all your photos, messages, contacts, apps, and settings — everything on the device goes. The phone itself stays usable; you are just wiping the data off it. After the erase completes, the iPhone will either restart as a blank device ready for setup, or it will be locked until you sign in with your Apple ID, depending on which method you use.
Most people erase an iPhone for one of three reasons: selling or giving it away, preparing it for repair, or starting completely fresh because the device has slowed down or you want a clean slate. The method you choose depends on whether you still have access to the phone and whether you remember your Apple ID password.
Before you erase, understand that this is permanent. You cannot undo it from the phone itself. If you have not backed up your data to iCloud or your computer, you will lose it. Take time now to back up anything you want to keep.
Key Takeaways
- Erasing through Settings is the fastest method if you remember your Apple ID password and still have the phone in your hands.
- You must have your Apple ID password to complete the erase — the phone will ask for it before finishing, even if you erase from Settings.
- If you cannot access the phone or forgot your Apple ID password, you can erase it through iCloud.com from any computer or another device.
- After erasing, the iPhone will either show the setup screen or lock behind set up Lock, depending on your Apple ID settings.
- Backup your data to iCloud or your computer before erasing, because the erase cannot be reversed.
Erase your iPhone through Settings if you have the device
Open Settings on your iPhone and tap General. Scroll down and tap Transfer or Reset. Tap Erase All Content and Settings. The phone will warn you that this action cannot be undone and ask you to confirm. Tap Erase again.
The iPhone will ask for your Apple ID password. Type it in. This is a security step — Apple requires your password to prevent someone else from erasing your phone without permission. If you do not remember your Apple ID password, stop here and use the iCloud method instead (see the next section).
The erase will take a few minutes. Your phone will restart several times. Do not turn it off or unplug it during this process. When it finishes, you will see the Hello screen, which means the erase worked. You can now set up the phone as new, or give it to someone else to set up.
Erase your iPhone through iCloud if you cannot access it
Go to iCloud.com from any computer or another device and sign in with your Apple ID. Click Find My iPhone (or Find My on newer devices). A map will appear showing your devices. Click the iPhone you want to erase.
A panel will open on the right side. Click Erase iPhone. Confirm that you want to erase it. iCloud will send a command to your phone telling it to erase itself. The phone does not have to be turned on or connected to the internet right now — it will receive the command the next time it connects.
This method works even if you cannot physically reach the phone, if it is lost, or if you forgot your Apple ID password on the device itself. The phone will erase using your iCloud account credentials instead. After the erase finishes, the phone will be locked behind set up Lock and will require your Apple ID password to set up again.
What to do if set up Lock appears after erasing
set up Lock is a security feature that locks the iPhone to your Apple ID after an erase. If you see a screen asking for an Apple ID and password after the erase, that is set up Lock. You have two options: sign in with your Apple ID to unlock it, or remove the device from your account so someone else can set it up.
To sign in, enter your Apple ID email and password. The phone will unlock and take you to the setup screen. To remove the device from your account instead, go to iCloud.com, sign in, click Find My, select the iPhone, and click Remove from Account. This erases the set up Lock so the next person can set up the phone without your credentials.
If you forgot your Apple ID password and cannot sign in, you will need to reset it. Go to iforgot.apple.com, enter your Apple ID email, and follow the steps to reset your password. You can then sign back into the phone.
Erase your iPhone using a computer if Settings does not work
If your iPhone is frozen, will not turn on, or Settings is not responding, you can erase it using a computer. Connect the iPhone to a Mac or Windows PC with a USB cable. On a Mac, open Finder and click the iPhone in the sidebar. On Windows, open iTunes.
Click Restore. Your computer will read the latest iPhone software and erase the phone while installing it. This takes 10 to 20 minutes depending on your internet speed. Do not disconnect the phone during this process.
When it finishes, the phone will restart and show the Hello screen. You will still need your Apple ID password to complete setup if set up Lock appears. This method is more thorough than erasing through Settings because it reinstalls the entire operating system, not just deletes your data.
Back up your data before you erase
If you want to keep your photos, messages, or other data, back up your iPhone before erasing. The easiest way is iCloud backup. Open Settings, tap your name at the top, tap iCloud, tap iCloud Backup, and tap Back Up Now. Wait for the backup to finish — it may take several minutes depending on how much data you have.
You can also back up to a computer. On a Mac, connect the iPhone and open Finder, then click Back Up Now in the General tab. On Windows, open iTunes, connect the phone, and click Back Up. After you erase and set up the phone again, you can restore from this backup and your data will return.
Understand that a backup is separate from an erase. Backing up saves a copy of your data. Erasing removes it from the phone. You can do both — back up first, then erase — and your data will be safe in the backup.
What to expect after the erase is complete
After your iPhone finishes erasing, it will show the Hello screen in your language. From here, you can set it up as a new phone, restore it from a backup, or hand it to someone else to set up. If you are selling or giving away the phone, let the new owner set it up with their own Apple ID.
If you are keeping the phone, you can sign in with your Apple ID and restore your backup. Your apps, photos, messages, and settings will come back. This takes time — anywhere from 15 minutes to an hour depending on how much data you are restoring and your internet speed.
If you see set up Lock and cannot remember your Apple ID password, you will need to reset it before you can proceed. Go to iforgot.apple.com and follow the password reset steps. You cannot bypass set up Lock without the correct credentials.
Frequently Asked Questions
Can I erase my iPhone if I forgot my Apple ID password?
You can start the erase through Settings, but the phone will ask for your Apple ID password before it finishes. If you do not have it, use iCloud.com instead — sign in there with your Apple ID, find your phone, and erase it remotely. You can also reset your Apple ID password at iforgot.apple.com.
Will erasing my iPhone remove it from my family plan?
Erasing the phone does not remove it from your family plan. You will need to remove it separately through iCloud.com or Settings on another device. Go to iCloud.com, click Find My, select the phone, and click Remove from Account. This also removes it from your family plan.
What if my iPhone is off and I want to erase it?
If the phone is off, use iCloud.com to erase it remotely. Sign in, go to Find My, select your iPhone, and click Erase iPhone. The phone will receive the erase command the next time it turns on and connects to the internet. You do not need the phone to be powered on.
How long does it take to erase an iPhone?
An erase through Settings usually takes 5 to 10 minutes. An erase through iCloud can take longer because the phone has to receive the command and process it, which may take hours if the phone is off. A computer-based erase takes 10 to 20 minutes depending on your internet speed.
Can I undo an iPhone erase?
No. Once the erase finishes, it cannot be undone from the phone. Your only option is to restore from a backup if you created one before erasing. If you have no backup, your data is gone. This is why backing up before you erase is important.