How to Completely Clear an iPhone: A Full Guide to Erasing Your Device
Whether you're selling your iPhone, passing it to a family member, troubleshooting a persistent software issue, or simply starting fresh, knowing how to completely clear your device is one of the most important things an iPhone owner can do. Done correctly, it removes your personal data, unlocks the device from your Apple account, and returns it to factory settings. Done wrong, it can leave sensitive information behind — or create activation problems for the next user.
Here's what you need to know before you wipe anything.
What "Completely Clearing" an iPhone Actually Means
A complete wipe of an iPhone involves two distinct actions that are often confused:
- Erasing all content and settings — this removes your apps, photos, messages, accounts, and personal data from the device
- Removing the device from your Apple ID (signing out of iCloud) — this disables Activation Lock, which is the feature that ties your iPhone to your Apple account and prevents others from using it
Both steps are necessary for a true clean wipe. Erasing the device without signing out of iCloud first will leave Activation Lock in place, meaning the next user — including you after a reset — will need your Apple ID credentials to get past the setup screen. For a handoff to someone else, that's a dealbreaker.
Step 1: Back Up Your Data (If You Want to Keep Anything)
Before erasing, decide what you want to preserve. iCloud Backup and iTunes/Finder backups both capture your apps, settings, photos, messages, and more.
- iCloud Backup: Go to Settings → [Your Name] → iCloud → iCloud Backup → Back Up Now
- Mac/PC Backup: Connect via USB, open Finder (macOS Catalina or later) or iTunes (Windows/older macOS), select your device, and click Back Up Now
If you're clearing the phone because of a software problem you want to escape, think carefully before restoring from backup — restoring can sometimes bring the problem back with it.
Step 2: Sign Out of iCloud and Disable Activation Lock
This is the step most people skip and then regret. 📱
Go to Settings → [Your Name] → Sign Out at the bottom of your Apple ID page. You'll be prompted to enter your Apple ID password and given the option to keep a copy of certain data (like Contacts or Calendar) on the device. Since you're wiping the device anyway, this choice doesn't matter much.
Signing out accomplishes several things:
- Removes your Apple ID from the device
- Disables Find My iPhone
- Turns off Activation Lock
Alternatively, if you proceed directly to a factory reset while signed in, the reset process itself will prompt you to enter your Apple ID password before erasing — which also clears Activation Lock at the same time.
Step 3: Perform the Factory Reset
Once your backup is complete and iCloud is handled, the erase is straightforward.
On iOS 15 and earlier:Settings → General → Reset → Erase All Content and Settings
On iOS 16 and later:Settings → General → Transfer or Reset iPhone → Erase All Content and Settings
You'll be asked to enter your device passcode and Apple ID password. The phone will then spend several minutes erasing everything and reboot to the original "Hello" setup screen.
⚠️ This process is irreversible once started. There is no undo.
What Gets Erased — and What Doesn't
| What Is Removed | What Remains |
|---|---|
| Photos, videos, messages | iOS version installed |
| Apps and app data | Hardware (obviously) |
| Accounts (email, social, etc.) | IMEI and serial number |
| Saved passwords and credentials | Carrier lock (if applicable) |
| Apple Pay cards | |
| Health and fitness data | |
| Settings and preferences |
One important note: a standard erase does not remove a carrier lock. If your iPhone is locked to a specific carrier, that's a separate issue handled through the carrier directly, not through a factory reset.
Remotely Erasing an iPhone You No Longer Have
If your iPhone is lost, stolen, or you no longer have physical access to it, you can erase it remotely through iCloud.com → Find My → select the device → Erase iPhone. This triggers a remote wipe the next time the device connects to the internet.
Keep in mind: once remotely erased, you can no longer track the device through Find My, so only do this when recovery is no longer a priority.
Factors That Affect How This Works for You
The process above is consistent across modern iPhones, but a few variables shape your experience:
- iOS version: The menu path for the reset option changed in iOS 16. Older devices on older iOS may show slightly different labels.
- Whether you remember your Apple ID password: Without it, you cannot complete the erase and remove Activation Lock — this is by design, as a theft deterrent.
- Device management profiles: iPhones issued by employers or schools may have MDM (Mobile Device Management) profiles installed. These can restrict your ability to erase the device independently and may require IT department involvement.
- Storage size and amount of data: The erase process itself is generally fast on newer iPhones, but backing up large amounts of data beforehand can take significant time depending on your connection speed.
- eSIM vs. physical SIM: If your iPhone uses an eSIM, you'll want to decide whether to erase the eSIM as part of the reset or transfer it — the setup screen gives you this option.
The Gap Between the Process and Your Situation
The steps above will work for most people in most scenarios. But what "completely clear" looks like in practice — whether you're preparing a trade-in, handing off to a child, troubleshooting a glitch, or wiping a managed work device — changes which steps matter most and what order you should prioritize them.
Your Apple ID situation, your carrier, your iOS version, and whether the device has ever been enrolled in a management system all determine whether this is a five-minute process or something that requires a few more steps first. 🔍