How to Clear Your iPhone Before Selling It
Selling your iPhone is one of the most common reasons people wipe a device — but doing it wrong can leave your personal data, Apple ID, and payment information accessible to a complete stranger. The process is straightforward once you understand what you're actually clearing, and why the order of steps matters.
What "Clearing" an iPhone Actually Means
When you erase an iPhone, you're not just deleting files. A full factory reset removes:
- All personal data (photos, messages, contacts, notes)
- App data and login credentials
- Your Apple ID association
- Payment methods stored in Apple Pay
- Network settings (Wi-Fi passwords, VPNs, Bluetooth pairings)
- Any configuration profiles installed by employers or schools
The goal is to return the device to the same state it was in when it left the factory — so the next owner can set it up as new, with no trace of your account.
Before You Wipe: The Prep Work That Matters
Skipping the preparation steps is where most people run into problems. If you erase the device before removing your Apple ID, the next owner will be blocked by Activation Lock — a security feature tied to Find My iPhone that makes the device nearly unusable without your credentials.
Step 1 — Back Up Your Data
Before erasing anything, decide what you want to keep.
iCloud Backup: Go to Settings → [Your Name] → iCloud → iCloud Backup → Back Up Now. This saves your data wirelessly to Apple's servers, provided you have enough iCloud storage.
Mac or PC Backup: Connect your iPhone via cable, open Finder (macOS Catalina or later) or iTunes (Windows/older macOS), select your device, and choose Back Up Now. This stores the backup locally on your computer and can include health data and passwords that iCloud backups may handle differently.
If you use both methods, local backups tend to be more complete — but iCloud backups are more accessible when setting up a new device.
Step 2 — Unpair Any Connected Devices
If you have an Apple Watch paired to this iPhone, unpair it first. Unpairing automatically backs up the watch and removes Activation Lock from it. You can't do this after the iPhone is wiped.
Step 3 — Sign Out of iCloud and Disable Find My
This is the most critical step. Go to Settings → [Your Name] → scroll down → Sign Out. You'll be prompted to enter your Apple ID password. This action:
- Removes your Apple ID from the device
- Disables Find My iPhone (which disables Activation Lock)
- Gives you the option to keep a copy of certain iCloud data on the device before erasing
If you skip this and erase the phone directly, Activation Lock may still be tied to your account depending on iOS version and settings. The new owner — or even you, if you decide to keep the phone — will need your Apple ID password to activate it.
Performing the Factory Reset 🔄
Once your data is backed up and your Apple ID is removed, erasing the device is a simple process.
On iOS 15 and later:Settings → General → Transfer or Reset iPhone → Erase All Content and Settings
On older iOS versions:Settings → General → Reset → Erase All Content and Settings
You'll be prompted for your passcode and possibly your Apple ID password as a final confirmation. The process takes a few minutes. When complete, the iPhone restarts to the "Hello" setup screen — the same screen a new device shows out of the box.
Variables That Affect How You Should Approach This
Not every iPhone owner is in the same situation, and a few factors meaningfully change which steps apply to you.
| Situation | What Changes |
|---|---|
| iPhone purchased through a carrier installment plan | Confirm the device is fully paid off and unlocked before selling |
| Work or school-managed iPhone | A configuration profile may need to be removed by the MDM administrator |
| iPhone with an eSIM | You may need to erase or transfer the eSIM separately through your carrier |
| Selling to someone still on iCloud backup | Remind buyer to restore from their own account, not yours |
| iPhone running iOS 11 or earlier | Menu paths and some features differ slightly |
eSIM considerations are increasingly relevant on newer models. If your iPhone uses an eSIM (rather than or in addition to a physical SIM), check with your carrier about whether the eSIM transfers automatically or needs to be deactivated on your account.
What the Buyer Will See
After the erase, the next person to power on your iPhone sees the standard setup assistant. They'll be prompted to select a language, connect to Wi-Fi, and sign in with their own Apple ID. There should be no prompt for your credentials — if there is, Activation Lock wasn't fully cleared.
You can verify Activation Lock status before selling by visiting Apple's Activation Lock status page with the device's serial number, or by checking that Find My is disabled in Settings → [Your Name] → Find My.
The Part That Depends on Your Setup 📱
How straightforward this process is depends heavily on your specific situation — which iOS version you're running, whether the device is managed by an employer, whether you have an eSIM, how your iCloud storage is configured, and whether you've already backed up everything you need.
Someone selling a personal iPhone with a current iOS version and standard iCloud setup will move through these steps quickly. Someone on a corporate device, or one with an eSIM on a carrier that requires manual deactivation, has additional steps that don't apply to everyone.
The sequence above covers the standard path — but your specific device configuration is what determines whether that path applies cleanly, or whether one of those variables requires extra attention first.