How to Clear an iPhone Before Selling It
Selling your iPhone is a smart way to offset the cost of an upgrade — but handing over a device still loaded with your photos, passwords, and payment info is a serious privacy risk. Clearing your iPhone properly isn't complicated, but the order of steps matters more than most people realize. Do it wrong and you could lock the buyer out of the device entirely, or leave your personal data exposed.
Here's what the process actually involves, and why different situations lead to different approaches.
Why the Order of Steps Matters
The biggest mistake people make is jumping straight to a factory reset without handling Apple ID and iCloud first. iPhone security is built around a feature called Activation Lock — tied to Find My iPhone. If you erase the device without signing out of your Apple ID first, the phone will still be linked to your account. The new owner will hit a wall the moment they try to set it up, and fixing it remotely after the fact is a headache.
The correct sequence is:
- Back up your data
- Sign out of iCloud and Apple ID
- Erase all content and settings
Step 1: Back Up Your Data First 📦
Before you wipe anything, decide whether you want to preserve your data for a new device.
iCloud backup is the simplest option — go to Settings → [Your Name] → iCloud → iCloud Backup → Back Up Now. This requires enough iCloud storage to hold your data, which may mean temporarily upgrading your plan if you've never backed up before.
iTunes or Finder backup (via a Mac or PC) stores the backup locally and doesn't cost anything extra. This also lets you create an encrypted backup, which preserves saved passwords, Health data, and Wi-Fi credentials — things an unencrypted backup skips.
If you're keeping the same Apple ID and phone number on a new iPhone, the backup method you choose will affect how smoothly the transfer goes. Both approaches work, but encrypted local backups tend to carry more data across.
Step 2: Unpair Devices and Turn Off Find My
Before signing out of your Apple ID, take care of a few connected services:
- Unpair Apple Watch — if you skip this, your watch backup won't be saved properly
- Turn off Find My iPhone — go to Settings → [Your Name] → Find My → Find My iPhone and toggle it off (you'll need your Apple ID password)
On newer versions of iOS, erasing the device will prompt you to turn off Find My automatically — but doing it manually first is cleaner, especially if you're selling to someone in person and want to demonstrate the phone is fully unlinked.
Step 3: Sign Out of Apple ID / iCloud
Go to Settings → [Your Name] and scroll to the bottom — tap Sign Out. You'll be asked for your Apple ID password. This step is what removes Activation Lock.
If prompted, you can choose to keep a copy of your data on the device (it'll be erased in the next step anyway) or remove it. Either choice is fine at this point.
Also worth doing before this step:
- Deauthorize the device in iTunes (especially relevant for older purchased media)
- Remove the phone from any two-factor authentication apps if it serves as a trusted device
- Sign out of iMessage — go to Settings → Messages → Send & Receive and deregister your number, particularly important if you're switching to Android
Step 4: Erase All Content and Settings 🔄
This is the factory reset. On iOS 15 and earlier, find it at Settings → General → Reset → Erase All Content and Settings. On iOS 16 and later, it moved to Settings → General → Transfer or Reset iPhone → Erase All Content and Settings.
The process takes a few minutes. The phone will restart, display the setup screen ("Hello"), and be ready for its next owner — with no trace of your account or data.
Variables That Change the Process
Not every iPhone clearance looks identical. Here's where individual situations diverge:
| Scenario | What Changes |
|---|---|
| Selling to a stranger online | Extra care to confirm Activation Lock is fully off before shipping |
| Trading in through a carrier or Apple | Some programs handle erasure themselves — but signing out of Apple ID first is still required |
| Phone won't turn on or is damaged | Remote erase via iCloud.com is possible if Find My was enabled |
| Older iOS version (pre-iOS 12) | Menu locations differ slightly; steps are the same |
| Device was managed by an employer (MDM) | IT department may need to remove the management profile before a personal erase works fully |
What the Buyer Should See
After a proper erase, the buyer powers on the device and sees the language selection screen — the same screen a brand-new iPhone shows. They should have no prompt asking for your Apple ID credentials. If they do, Activation Lock wasn't fully removed, and you'll need to sign in remotely at icloud.com/find to erase and unlink the device from there.
The Part That Depends on Your Setup
The steps above apply broadly, but a few details shift depending on your iOS version, which iPhone model you have, whether the device has an active carrier lock, and what services you've connected over the years. Someone who uses their phone strictly for calls and photos has a simpler wipe than someone with saved passwords across dozens of apps, a linked Apple Watch, corporate email profiles, and banking apps with device-specific authentication.
The mechanics are consistent — the preparation is where your specific situation determines how much there is to untangle before you hand the device over.