How to Clear Everything From an iPhone: A Complete Guide to Factory Resetting Your Device

Whether you're selling your phone, troubleshooting a persistent problem, or just starting fresh, knowing how to clear everything from an iPhone is one of the most useful things you can do with your device. But "clearing everything" can mean different things depending on your situation — and doing it in the wrong order can leave you locked out of the device or someone else locked in.

Here's what actually happens when you wipe an iPhone, what you need to do before you start, and why the results vary based on your specific setup.

What "Clearing Everything" Actually Means on an iPhone

When you perform a factory reset (Apple calls it "Erase All Content and Settings"), you're doing several things at once:

  • Deleting all apps, photos, messages, contacts, and files stored locally on the device
  • Removing all accounts signed into the phone (Apple ID, Google, social media, etc.)
  • Wiping saved passwords, Wi-Fi networks, and preferences
  • Returning the operating system to its out-of-box state

What it does not necessarily erase is data stored in iCloud, your Apple ID account, or third-party cloud services. Your iCloud Photos, iMessages synced to iCloud, and app data backed up remotely will still exist in the cloud — the erase only clears what's on the physical device.

This distinction matters enormously depending on why you're wiping the phone.

Before You Erase: Steps That Determine What Happens Next

⚠️ Skipping these steps is where most people run into serious problems.

1. Back Up If You Want to Keep Your Data

If you plan to restore your data to a new iPhone or return to this one later, back up first. You have two main options:

  • iCloud Backup — Go to Settings → [Your Name] → iCloud → iCloud Backup → Back Up Now. Requires sufficient iCloud storage.
  • Mac or PC Backup — Connect your iPhone via USB and use Finder (macOS Catalina and later) or iTunes (Windows and older macOS). Creates a local backup that doesn't consume iCloud space.

Local backups can also be encrypted, which preserves saved passwords and Health data — iCloud backups encrypt certain data automatically, but a manual encrypted backup gives you more control.

2. Sign Out of Apple ID / Disable Activation Lock

This is the most critical step if you're giving the phone to someone else. Activation Lock is tied to your Apple ID and will prevent a new owner from using the device — even after a full erase — unless it's disabled.

To remove it: Go to Settings → [Your Name] → Sign Out before erasing. Alternatively, the erase process itself (when initiated from Settings) will prompt you to sign out of your Apple ID as part of the flow.

If you skip this and give someone a wiped iPhone that still has Activation Lock enabled, the device will be essentially unusable for them.

3. Unpair Accessories

If you have an Apple Watch paired to the iPhone, unpair it before erasing. Unpairing automatically backs up the Watch and disconnects it cleanly. If you erase the iPhone first, you'll need to factory reset the Watch separately.

How to Perform the Erase

Once your backup is complete and you're ready to proceed:

On the iPhone itself: 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 begin the erase process, which typically takes a few minutes.

Remotely via iCloud.com: If the device is lost or you can't access it directly, you can erase it remotely through iCloud.com → Find My → select the device → Erase iPhone. This also requires your Apple ID credentials.

Via Recovery Mode (last resort): If the phone is disabled, you've forgotten the passcode, or the device won't respond normally, you can put it into Recovery Mode using a computer. This forces a full restore via Finder or iTunes and bypasses the need to enter the passcode — but it will also erase all data, and you'll need the associated Apple ID to reactivate it afterward.

What Varies Based on Your Setup

FactorHow It Affects the Erase
iCloud Backup statusDetermines whether your data is recoverable afterward
Apple ID signed inIf not signed out, Activation Lock may block reuse
iOS versionOlder versions have slightly different menu paths
Paired Apple WatchMust be unpaired separately or it loses its pairing data
MDM/Managed deviceWork or school devices may restrict erasure or require admin action
Third-party accountsGmail, Dropbox, etc. are removed from device but cloud data remains

Managed devices — iPhones enrolled in a company or school's Mobile Device Management (MDM) system — behave differently. You may not be able to erase them without administrator credentials, or the device may automatically re-enroll in the MDM profile after a reset. If your iPhone was issued by an employer, IT policy usually governs what you can and can't do.

🔄 After the Erase: What You're Starting With

Once the erase is complete, the iPhone boots to the "Hello" setup screen, exactly as it would out of the box. From there, you can:

  • Set it up as a new device
  • Restore from an iCloud backup
  • Restore from a local backup via Finder or iTunes
  • Hand it off to a new owner to set up with their own Apple ID

The experience of restoring varies significantly depending on how current your backup is, how much data you had, and your internet speed for iCloud restores. Local backups typically restore faster than iCloud backups for large amounts of data.

The Part That Depends on Your Situation

The mechanics of wiping an iPhone are straightforward — but whether it's the right move, and exactly how you should approach it, depends heavily on factors only you can assess: why you're clearing the device, what data matters to you, whether it's being handed to someone else, and how your iCloud storage and account setup are currently configured. The same process looks quite different for someone selling an old phone versus someone troubleshooting a software issue versus someone handing a device to a family member.