How To Erase An Old iPhone | Securely Wipe Before Selling

Erasing an old iPhone the right way requires signing out of iCloud first, then using Settings > General > Transfer or Reset iPhone to cryptographically wipe all data and remove Activation Lock for the next owner.

One wrong tap and your personal data becomes the next owner’s find. The built-in “Erase All Content and Settings” option does more than delete photos and apps — it performs a cryptographic wipe that shreds the encryption key, making every file unrecoverable by standard forensic tools. But that only works if you complete the steps in the right order, starting with the one people skip most often: signing out of iCloud.

What “Erase All Content and Settings” Actually Does

The feature, available on every iPhone running iOS 15.4 or later, destroys the device’s encryption key. Without that key, the data on the flash storage is mathematically unintelligible, equivalent to a hardware shred. This is not a “delete and hope” method — it is the same level of protection Apple uses for its own device-recycling process. The phone then restarts to its factory “Hello” setup screen, ready for a new owner without any trace of your accounts, messages, or app data.

Pre-Erase Checklist: Do These First

Skip any of these steps and the erase may fail its core purpose. Apple’s official documentation confirms each one.

  • Back up your data. Open Settings > [Your Name] > iCloud > iCloud Backup > Back Up Now. Alternatively, connect to a computer and use Finder (macOS Catalina or later) or iTunes (Windows or older macOS). Without a backup, your photos, messages, and app data are gone permanently the moment you tap Erase.
  • Unpair your Apple Watch. Open the Watch app, tap My Watch > All Watches, tap the (i) next to your watch, and choose Unpair Watch. This removes Activation Lock from the watch and creates a backup you can restore later.
  • Sign out of iCloud. This is the non-negotiable step. On iOS 18 and newer, go to Settings > [Your Name] > scroll to Sign Out. Choose “Erase this iPhone” to automatically disable Find My and remove Activation Lock from Apple’s servers. On iOS 15–17, after tapping Sign Out, enter your Apple ID password and tap Turn Off. If you skip this, the phone remains locked to your Apple ID and the new owner cannot activate it.
  • Deregister iMessage if switching to Android. Go to Apple’s self-service Deregister iMessage page or sign out of iMessage under Settings > Messages > Send & Receive. Otherwise, texts from other iPhone users will continue landing on your old Apple ID rather than reaching your new phone.
Pre-Erase Step Where to Find It Why It Matters
Back up the iPhone Settings > [Your Name] > iCloud > iCloud Backup Preserves your data before permanent wipe
Unpair Apple Watch Watch app > My Watch > All Watches > (i) > Unpair Removes watch from your account and creates a backup
Sign out of iCloud Settings > [Your Name] > Sign Out Disables Find My and prevents Activation Lock
Deregister iMessage Apple’s Deregister iMessage page or Messages settings Ensures texts route to your new phone, not your old Apple ID
Remove physical SIM Eject tray with SIM tool Software erase does not remove the SIM card itself
Charge to 50%+ Power loss mid-erase can corrupt the operating system
Know Screen Time passcode Settings > Screen Time Erase requires it if Screen Time is enabled

How To Erase the iPhone Step by Step

Once the checklist is complete, the actual wipe takes about two minutes of taps, followed by a brief restart.

  1. Open Settings.
  2. Tap General.
  3. Tap Transfer or Reset iPhone.
  4. Tap Erase All Content and Settings. If the phone suggests a backup first, tap Erase Now since you already backed up.
  5. Enter your Device Passcode. If Screen Time is enabled, you will also need that separate passcode.
  6. Tap Continue to confirm.
  7. Choose what to do with the eSIM: tap “Erase eSIM” for selling or trading in, or “Keep eSIM” if you plan to transfer it to a carrier that supports eSIM porting.
  8. Enter your Apple ID password. This finalizes the removal of Activation Lock from Apple’s servers.
  9. Tap Turn Off in the top-right corner.
  10. Tap Erase iPhone.

The Apple logo appears briefly, then the phone restarts and shows the “Hello” setup screen in multiple languages. If you see that screen, your data is gone and the device is ready for someone else.

Two Mistakes That Keep The Phone Locked

The most common reason a wiped iPhone arrives at a buyer still locked to the seller’s account: the seller never signed out of iCloud. Apple’s own support guidance is explicit — signing out before erasing is the only way to release Activation Lock. If you complete the erase while still signed into iCloud, your Apple ID remains bound to that serial number. The new owner cannot activate it, and a support agent will not bypass the lock without the original proof of purchase.

The second mistake is leaving the physical SIM in the tray. The erase process does not touch the SIM card itself. Pull it out with the eject tool and keep it or destroy it before handing the phone over.

Mistake What Happens Instead The Fix
Erased without signing out of iCloud Activation Lock stays active; new owner cannot use the phone Sign out via Settings > [Your Name] > Sign Out before erasing
Forgot the physical SIM inside SIM contains your number and carrier data Eject the SIM tray before the erase process
Skipped the backup All photos, messages, and app data are permanently gone Run one iCloud backup or computer backup before erasing
Did not deregister iMessage iMessages still route to your old Apple ID, not your new phone Use Apple’s Deregister iMessage page after the switch

What To Do With The “Hello” Screen

When the restart finishes and the “Hello” screen appears, your job as the seller is done. The iPhone is fully wiped, Activation Lock is released, and the next owner can begin setup by following the on-screen prompts — choosing a language, connecting to Wi-Fi, and signing in with their own Apple ID. If you plan to recycle the phone instead of selling it, you can simply power it off by holding the side button and either volume button, then dragging the slider. Either way, no personal data remains on the device.

One final check: open Apple’s Find My website or the Find My app on another Apple device and confirm the old device no longer appears in your device list. That is the definitive sign that Activation Lock is gone and the phone is clear for its next life.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.