How to Delete Everything on Your iPhone: A Complete Guide to Factory Reset

Deleting everything on your iPhone — wiping it completely back to factory settings — is one of the most straightforward things you can do, but it pays to understand exactly what happens, what gets erased, and what the process looks like before you commit. Whether you're preparing to sell your device, troubleshooting a serious software problem, or just starting fresh, the steps and considerations differ depending on your setup.

What "Deleting Everything" Actually Means

When you erase an iPhone, you're performing what Apple calls an Erase All Content and Settings operation. This:

  • Removes all your apps, photos, videos, messages, and personal data
  • Signs you out of your Apple ID and iCloud account
  • Disables Find My iPhone
  • Restores the device to its original out-of-box software state
  • Erases saved Wi-Fi passwords, accounts, and preferences

What it does not do on its own: delete data stored in iCloud. Your iCloud backups, photos synced to iCloud Photos, and other cloud-stored content remain on Apple's servers unless you delete them separately.

Before You Erase: Back Up or Lose It

This is the variable most people underestimate. Once you erase, local data is gone. If you want to restore your content later — on the same device or a new one — you need a backup first.

Two main backup options:

Backup MethodWhere Data Is StoredWhat It Covers
iCloud BackupApple's serversApps, settings, photos (if not using iCloud Photos), messages
iTunes / Finder BackupYour Mac or PCFull device snapshot, including Health data

iCloud Photos works differently — if enabled, your photos live in the cloud continuously and aren't part of the standard iCloud Backup. If iCloud Photos is off, your photos only exist locally until backed up.

To back up via iCloud: go to Settings → [Your Name] → iCloud → iCloud Backup → Back Up Now.

To back up via Mac or PC: connect your iPhone, open Finder (macOS Catalina and later) or iTunes (Windows/older macOS), select your device, and choose Back Up Now.

How to Erase Your iPhone 📱

Option 1: From the iPhone Itself

This is the most common method and works without a computer.

  1. Open Settings
  2. Tap General
  3. Scroll to Transfer or Reset iPhone
  4. Tap Erase All Content and Settings
  5. Enter your passcode if prompted
  6. Confirm your Apple ID password (required to turn off Activation Lock)
  7. Confirm the erase

The process takes several minutes. The device will restart and display the setup screen when complete.

Option 2: Via a Mac or PC (Recovery Mode)

If your iPhone is disabled, frozen, or you've forgotten your passcode, you can erase it using a computer.

  1. Connect your iPhone to a Mac or PC
  2. Force restart the device into Recovery Mode (button combination varies by model — iPhone 8 and later use Volume Up, Volume Down, then hold the Side button)
  3. Open Finder or iTunes when prompted
  4. Choose Restore in the software

This performs a full erase and reinstalls iOS. Note: this method bypasses the usual iCloud sign-out flow, but Activation Lock will still be active if the Apple ID isn't removed beforehand.

Option 3: Remotely via iCloud.com ⚙️

If your iPhone is lost or you no longer have physical access:

  1. Go to iCloud.com on any browser
  2. Sign in with your Apple ID
  3. Go to Find My → All Devices
  4. Select your iPhone
  5. Choose Erase iPhone

This sends an erase command the next time the device connects to the internet.

What Happens to Activation Lock

Activation Lock is the feature that ties your iPhone to your Apple ID. If you erase an iPhone without signing out of your Apple ID first — or without entering your Apple ID credentials during the erase process — the device remains locked to your account. This is intentional: it prevents thieves from simply wiping and reselling stolen devices.

If you're selling or giving away your iPhone, always sign out of iCloud (Settings → [Your Name] → Sign Out) before or during the erase. The erase process on-device will prompt you for this automatically.

Factors That Affect Your Specific Situation

The right approach depends on several things that vary by user:

  • iOS version: The menu path has shifted slightly across iOS versions. On older iOS (below 15), the option sits under Settings → General → Reset
  • Whether you remember your passcode: Determines if you can erase on-device or need a computer
  • Whether Find My is enabled: Affects whether you'll need your Apple ID password to complete the erase
  • What data you want to keep: Shapes which backup method makes sense before you proceed
  • Why you're erasing: Selling the device, fixing a software issue, and handing it to a family member each involve slightly different prep steps

Data That Lives Outside the iPhone

Erasing the device is clean and complete for local data. But several data types persist elsewhere:

  • iCloud Drive files remain in iCloud
  • iCloud Photos remain in your photo library
  • App data synced to iCloud (notes, contacts, calendars) stays in the cloud
  • App purchases remain tied to your Apple ID and can be re-downloaded

If you want to delete iCloud data as well, that's a separate process done through Settings → [Your Name] → iCloud → Manage Account Storage or via iCloud.com.

Whether a full wipe — local and cloud — makes sense, or whether keeping cloud data is the right call, depends entirely on what you're trying to accomplish and what devices you use that iCloud account with.