How to Delete Everything From an iPhone: A Complete Guide to Factory Reset
Wiping an iPhone clean — whether you're selling it, troubleshooting a persistent problem, or simply starting fresh — is one of the most consequential actions you can take on the device. Done correctly, it removes your personal data, disconnects your accounts, and restores the phone to its out-of-box state. Done carelessly, it can leave behind linked accounts that lock the next owner out, or wipe data you hadn't backed up.
Here's exactly how the process works, what it actually deletes, and what you need to consider before you start.
What "Deleting Everything" Actually Means on an iPhone
When Apple refers to erasing an iPhone, the technical term is Erase All Content and Settings. This process does several things simultaneously:
- Removes all apps, photos, videos, messages, and documents stored on the device
- Wipes account credentials and saved passwords
- Resets all system settings (Wi-Fi networks, display preferences, accessibility options, etc.)
- Removes Apple Pay cards and associated data
- Reinstalls a clean version of iOS
On iPhones with an A12 Bionic chip or later, the erase process uses the device's dedicated security architecture to cryptographically destroy the encryption keys for your data. The files themselves aren't individually overwritten — instead, they become permanently unreadable almost instantly. On older hardware, the erase still functions effectively but may take longer to complete.
What a factory reset does not automatically do is sign you out of iCloud. This matters significantly, and we'll come back to it.
Before You Erase: The Steps That Protect You 📋
Skipping preparation is where most people run into problems — either losing data they wanted to keep or leaving the device in a state that frustrates its next user.
Back Up Your Data First
You have two primary backup options:
iCloud Backup — Go to Settings → [Your Name] → iCloud → iCloud Backup → Back Up Now. This requires sufficient iCloud storage and an active Wi-Fi connection. A full backup can take anywhere from a few minutes to over an hour depending on how much data you have.
iTunes or Finder Backup (Mac/PC) — Connect your iPhone to a computer, open Finder (macOS Catalina and later) or iTunes (older macOS or Windows), select your device, and choose Back Up Now. This stores the backup locally. You can optionally encrypt it to preserve Health data, saved passwords, and Wi-Fi credentials.
If you're not planning to restore to a new device and just want a clean slate, you can skip the backup — but be certain there's nothing irreplaceable on the phone.
Sign Out of iCloud (or Let the Erase Do It)
Activation Lock is the feature that makes stolen iPhones unattractive to thieves — it ties the device to your Apple ID so it can't be set up without your credentials. If you erase the phone without signing out of iCloud, the device will prompt for your Apple ID and password during setup. For your own device, this is merely an extra step. For someone you're selling the phone to, it can make the device unusable.
To avoid this, sign out before erasing: Settings → [Your Name] → Sign Out. You'll be asked for your Apple ID password to disable Find My.
Alternatively, during the Erase All Content and Settings process on iOS 15.2 and later, the system gives you the option to enter your Apple ID password at the time of erasure, which signs you out and disables Activation Lock in the same step.
How to Erase an iPhone 🔄
Method 1: Directly on the iPhone
- Open Settings
- Tap General
- Scroll to Transfer or Reset iPhone
- Tap Erase All Content and Settings
- Enter your passcode if prompted
- Confirm your Apple ID password to turn off Find My
- Confirm the erase
The phone will restart, display the Apple logo, and complete the process. On newer hardware, this typically takes a few minutes. On older devices, expect longer.
Method 2: Via a Mac or PC
If the iPhone is unresponsive, disabled after too many wrong passcode attempts, or you need to reinstall iOS:
- Connect the iPhone to your computer
- Open Finder or iTunes
- Select your device
- Click Restore iPhone
This downloads a fresh copy of iOS from Apple's servers and performs a full wipe. It requires internet access and can take considerably longer than an on-device erase.
Method 3: Via iCloud.com
If you don't have physical access to the device: go to iCloud.com → Find My → All Devices → select your iPhone → Erase This Device. This sends a remote wipe command. The device must connect to the internet at some point to receive it.
What Varies Between Users and Setups
| Factor | Impact on the Process |
|---|---|
| iOS version | Older versions have slightly different menu paths |
| iCloud storage | Determines whether a full cloud backup is possible |
| Device age/chip | Affects erase speed; older chips take longer |
| MDM enrollment | Work or school devices may require IT involvement to erase |
| Dual SIM or eSIM | eSIM removal may require a separate step with your carrier |
Managed devices — iPhones enrolled in a company's Mobile Device Management (MDM) system — often cannot be fully erased by the user alone. If your phone was issued by an employer or school, the MDM profile may reinstall automatically even after a reset, or the erase option may be restricted entirely.
eSIM configurations are worth noting separately. If your iPhone uses an eSIM rather than a physical SIM card, erasing the device may or may not remove the eSIM depending on your carrier and iOS version. Some carriers require you to contact them to release the eSIM before transferring to a new device.
The Variable That Determines Your Next Step
How straightforward this process is depends heavily on why you're erasing the phone. Selling to a stranger has different stakes than handing it to a family member, troubleshooting your own device, or preparing it for a trade-in program. Each scenario puts different weight on backup completeness, Activation Lock status, and whether account credentials need to be fully removed from the device.
Your iOS version, whether the device is personally owned or managed, and your iCloud storage situation all shape which method is most appropriate — and whether the process will be seamless or require some additional steps along the way.