How to Delete Everything From an iPhone: A Complete Guide to Factory Resetting

Wiping an iPhone clean is one of those tasks that sounds simple but carries real consequences if done wrong — or in the wrong order. Whether you're selling your device, troubleshooting a persistent software issue, or starting fresh, understanding exactly what happens when you erase an iPhone helps you do it safely and confidently.

What "Deleting Everything" Actually Means

When you erase an iPhone, you're performing what Apple calls an Erase All Content and Settings. This process does several things simultaneously:

  • Removes all personal data: photos, messages, contacts, apps, and files
  • Signs you out of your Apple ID and iCloud account
  • Disables Find My iPhone
  • Wipes the device back to factory default settings
  • Removes the association between your Apple ID and that device's hardware

It's not the same as deleting apps one by one or clearing browser history. A full erase is a deep wipe — the iPhone comes back as if it just left the factory. Crucially, this process does not destroy the hardware or flash storage — it cryptographically invalidates the encryption key, making all previously stored data unreadable. That's why it's both fast and genuinely effective at protecting your privacy.

Before You Erase: What to Do First 🔑

Skipping these steps is where most people run into problems. Do them in order.

1. Back Up Your Data

If you want to keep anything — photos, app data, messages — back up first. You have two options:

  • iCloud Backup: Go to Settings → [Your Name] → iCloud → iCloud Backup → Back Up Now. Requires sufficient iCloud storage and a Wi-Fi connection.
  • Mac or PC Backup: Connect your iPhone via USB. On a Mac (macOS Catalina or later), open Finder. On Windows or older macOS, use iTunes. Select your device and choose Back Up Now.

Local backups are faster and don't depend on cloud storage limits. iCloud backups are convenient if you're setting up a new phone remotely.

2. Sign Out of Apple ID (or Let the Erase Do It)

If you're erasing from within Settings, the process will prompt you to sign out of your Apple ID automatically. However, it's worth understanding why this matters: signing out disables Activation Lock. If Activation Lock stays enabled, whoever receives the phone next — including you, on a restored device — will need your Apple ID credentials to activate it.

3. Remove SIM Card (If Applicable)

If you're handing the device to someone else, remove your SIM card before passing it on. Your SIM isn't erased by the factory reset process.

How to Erase an iPhone: The Methods

Method 1: From the iPhone Itself (Most Common)

This works on all iPhones running iOS 15 and earlier, and also on iOS 16 and later with a slight path difference:

iOS 15 and earlier: Settings → General → Reset → Erase All Content and Settings

iOS 16 and later: Settings → General → Transfer or Reset iPhone → Erase All Content and Settings

You'll be prompted to enter your passcode and Apple ID password. The device will then restart and begin the erase process, which typically takes a few minutes.

Method 2: Via a Mac or PC

If your iPhone is disabled, in recovery mode, or you can't access Settings, you can erase it using a computer:

  • Connect the iPhone via USB
  • Open Finder (Mac) or iTunes (Windows)
  • Select the device and click Restore iPhone

Note: Restoring via computer also installs the latest version of iOS. If the device is in Recovery Mode (indicated by the connect-to-iTunes screen), this may be your only option to erase and restore.

Method 3: Erase via iCloud (Remote Wipe)

If the iPhone is lost, stolen, or otherwise inaccessible:

  • Go to iCloud.com and sign in
  • Open Find My → All Devices
  • Select the iPhone and choose Erase iPhone

This triggers a remote wipe the next time the device connects to the internet. The phone must have Find My enabled for this to work.

What Happens to Your Apple ID, Apps, and Subscriptions

Erasing your iPhone removes your personal data but does not cancel subscriptions. App Store purchases remain tied to your Apple ID and can be re-downloaded at no cost. iCloud subscriptions (like iCloud+ storage plans) continue billing unless you cancel them separately through Settings → [Your Name] → Subscriptions.

Your phone number is tied to your carrier account and SIM — not the device — so it's unaffected by an erase.

Variables That Affect the Process 📱

Not every erase goes identically. Several factors shape the experience:

VariableHow It Affects the Process
iOS versionMenu paths differ between iOS 15 and iOS 16+
Activation Lock statusMust be disabled before giving phone to someone else
iPhone modelOlder models may take longer; Face ID vs Touch ID changes verification step
Storage amountMore data = longer backup time, not longer erase time
iCloud storage availableDetermines whether iCloud backup is feasible
Device accessibilityDisabled or broken screen may require computer-based restore

After the Erase: What You'll See

Once complete, the iPhone shows the Hello setup screen — the same screen a brand-new device displays. From here, it can be set up as new, restored from a backup, or handed to a new owner to configure with their own Apple ID.

If restoring from backup, the time it takes varies considerably based on backup size and connection speed. An iCloud restore over Wi-Fi for a heavily used phone can take anywhere from 20 minutes to a couple of hours.

The Part That Depends on Your Situation 🔄

The steps above cover the mechanics clearly — but which path is right for you depends on details that vary from person to person. Are you wiping a device that still powers on normally, or one with a cracked screen and forgotten passcode? Are you keeping the same phone number and plan, switching carriers, or handing the device to a family member in a different country? Is the goal a fresh start on the same device, or a clean handoff to a new owner?

Each of those situations changes which method to use, which steps to prioritize, and what to watch out for along the way.