What "completely delete" means and what actually happens

When you erase an iPhone, you're doing two separate things: removing all your data from the device, and preparing the phone to be set up fresh or sold. The process is straightforward, but the outcome depends on whether you want to keep the phone or pass it on.

Apple's erase function wipes your apps, photos, messages, contacts, and settings. It does not remove your Apple ID from the device unless you sign out first — and that's the step most people miss. If you don't remove your Apple ID, the next person who tries to set up the phone will be locked out by Activation Lock, a security feature that prevents anyone but you from using it.

The actual deletion is permanent. Once you erase, you cannot undo it. If you think you might want your data back, back it up to iCloud or your computer before you start.

Key Takeaways

  • Sign out of your Apple ID before erasing, or the next person will be locked out of the phone by Activation Lock.
  • Back up to iCloud or your computer first if you think you might need your data later — erasure is permanent.
  • The erase process takes 5 to 15 minutes depending on how much data is on the phone.
  • After erasing, the phone will restart and show the setup screen, ready for a new user or a fresh start.

How to sign out of your Apple ID before erasing

Open Settings, tap your name at the top, scroll down, and tap Sign Out. You'll be asked for your Apple ID password — this is Apple's way of confirming you own the account. Enter it and tap Turn Off when prompted about iCloud data. Choose whether to keep or delete your iCloud data on this device (this doesn't affect what's stored in iCloud itself).

If you use iCloud Keychain, you'll see another prompt asking whether to keep or remove saved passwords and payment methods. Choose based on whether you want those saved to your new device later.

Once you're signed out, you'll see your Apple ID is no longer listed under your name in Settings. Now you can safely erase.

The step-by-step erase process

Go to Settings, tap General, scroll to the bottom, and tap Transfer or Reset. Tap Erase All Content and Settings. The phone will ask you to enter your passcode and your Apple ID password again — this is a safety check to make sure you really want to do this.

You'll see a warning that all data will be erased. Tap Continue, then Erase on the final confirmation screen. The phone will begin erasing immediately. Do not turn it off or unplug it during this process.

The erase typically takes 5 to 15 minutes. When it's done, the phone will restart and show the setup screen — the same screen you saw when the phone was brand new. At this point, everything is gone.

What to do if you're selling or giving away the phone

After erasing, the phone is ready to hand over, but include a note that the new owner should set it up with their own Apple ID. When they turn it on, they'll see the setup assistant and can create a new account or sign in with their own.

If you're selling through a marketplace or trade-in program, some buyers ask for proof that the phone was erased. You can show them the setup screen — that's the proof. Keep your receipt or confirmation email from the erase in case questions come up later.

Do not leave the phone plugged in or powered on for extended periods before handing it over. If it sits for weeks, it may need a charge, but there's no harm in that.

If you forgot to sign out of your Apple ID first

If you erased the phone while still signed in to your Apple ID, the phone is now locked by Activation Lock. The setup screen will ask for the Apple ID password, and the phone cannot be used until that password is entered.

If this is your own phone, sign back in with your Apple ID and password. If you're giving the phone to someone else, you'll need to sign in first, then sign out properly, and erase again. There's no way around Activation Lock — it's a security feature designed to prevent theft.

If you've forgotten your Apple ID password, you can reset it at iforgot.apple.com using your Apple ID email address. You'll need access to a recovery email or phone number associated with your account.

Backing up before you erase

If you want to keep your data, back up to iCloud or your Mac or Windows computer before erasing. To back up to iCloud, go to Settings, tap your name, tap iCloud, tap iCloud Backup, and tap Back Up Now. Wait for the backup to finish — it can take 10 minutes to an hour depending on how much data you have.

To back up to a computer, plug the phone into a Mac or Windows PC, open Finder (Mac) or iTunes (Windows), select your phone, and click Back Up Now. This backup is encrypted and stored locally on your computer.

After you erase and set up the phone again, you can restore from either backup. During setup, you'll see the option to restore from iCloud or from a computer backup. Choose the one you created.

What data actually gets erased

The erase removes your apps, photos, videos, messages, notes, contacts, calendar events, reminders, health data, and any files stored on the phone. It also removes your saved Wi-Fi networks and Bluetooth pairings, so you'll need to reconnect to those after setup.

Your carrier plan and phone number are not erased — those are tied to your SIM card and your carrier's account, not to the phone itself. If you're keeping the phone and setting it up again, you'll be able to use the same number.

Any data stored in iCloud — photos in iCloud Photos, notes in iCloud Notes, contacts in iCloud Contacts — is not erased from iCloud itself, only from this device. If you sign back in to iCloud on the same phone or a different device, that data will reappear.

Frequently Asked Questions

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

No, the erase function removes everything at once. If you want to delete specific apps or photos, you can do that individually through Settings or the Photos app. But if you want a complete wipe, you have to erase all content and settings.

What if my iPhone is frozen and I can't get to Settings?

Force restart the phone first: on iPhone 8 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 you see the power-off slider. Let it restart. If it still won't respond, you can erase it through iCloud by going to iCloud.com, clicking Find My, selecting your phone, and choosing Erase iPhone. You'll need your Apple ID password.

Does erasing remove viruses or malware?

Yes, erasing removes everything on the phone, including any malicious software. However, iPhones are designed to prevent malware from being installed in the first place, so a complete erase is rarely necessary for security reasons. If you're concerned about malware, erasing and setting up fresh is the most thorough solution.

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

Erasing the phone removes the data from the device, but the phone remains registered to your Apple ID account until you remove it manually. Go to iCloud.com, sign in, click Find My, select the phone, and click Remove from Account. This step is important if you're selling or giving away the phone.

How long does the erase process take?

The erase itself usually takes 5 to 15 minutes, depending on how much data is stored on the phone. Larger phones with more photos and apps take longer. Don't interrupt the process — let it run until the phone restarts and shows the setup screen.