Before you sell, swap or give away an iPhone, erase it properly. Just deleting photos isn’t enough, and if you don’t sign out, the next owner will be locked out by Activation Lock.

Step 1: Back up

Settings → your name → iCloud → iCloud Backup → Back Up Now, or back up to a computer. Back up WhatsApp separately in WhatsApp settings.

Step 2: Erase

  1. Go to Settings → General → Transfer or Reset iPhone.
  2. Tap Erase All Content and Settings.
  3. Enter your passcode and your Apple Account password when asked. This signs you out and turns off Find My and Activation Lock.
  4. Choose whether to erase your eSIM (erase it if selling).
  5. Wait until the iPhone restarts to the Hello screen.

Forgot the passcode?

You can still erase the iPhone using a computer (recovery mode) or Find My on another device. You will need your Apple Account password afterwards to remove Activation Lock. See forgot your iPhone passcode?.

If you are buying a used iPhone

This guide was checked in October 2026. Menus and services change, so if something looks different on your phone, check with your provider.

Common questions

Does factory reset remove my Apple Account?

Erase All Content and Settings asks you to sign out of your Apple Account, which removes Activation Lock. Do this before selling.

What is Activation Lock?

A security feature that stops anyone using your iPhone without your Apple Account password. If it isn’t removed, the buyer can’t use the phone.

Can I reset an iPhone without the passcode?

Yes, using recovery mode on a computer or iCloud’s Find My, but you need your Apple Account password to remove Activation Lock.

Will resetting remove my eSIM?

You’ll be asked whether to keep or erase your eSIM. Erase it if you are selling the phone.

Sources