Guide · Privacy settings

How to wipe your iPhone before selling it

Short answer

Back up, unpair your Apple Watch, then go to Settings › General › Transfer or Reset iPhone › Erase All Content and Settings and follow the prompts. Erasing signs you out of your Apple Account and turns off Find My and Activation Lock, so the buyer can set it up. Apple says erasing makes all your data "cryptographically inaccessible": it can't be recovered.

Wiping an iPhone is one menu. Getting ready is the part that matters, and it's where people lose photos or get stuck with a phone the buyer can't use. This checklist follows Apple's steps for iOS 26 and iOS 27, in order, with what to do if you've forgotten your passcode or already handed the phone over.

What should you do before you wipe your iPhone?

Four things, in this order:

  1. Back up. Use iCloud Backup (Settings › [your name] › iCloud › iCloud Backup › Back Up Now) or a computer. If you're moving to a new iPhone, Quick Start copies everything across directly.
  2. Check apps that keep their own data. Some apps keep data only on the phone, or in their own cloud, outside your iCloud Backup's reach. Photo vaults are the usual case. Check each one's backup before you erase; see below.
  3. Unpair your Apple Watch, in the Watch app, and cancel or transfer any AppleCare plan.
  4. Check for unfinished repairs. In Settings › General › About › Parts and Service History, a part marked "Finish Repair" must be finished before Apple will take a trade-in.

If your new phone has a different number, add it to your Apple Account as a trusted number first, so you can still get sign-in codes.

How do you erase an iPhone?

One menu does it all: Erase All Content and Settings. It signs you out, turns off Find My and Activation Lock, and erases everything.

  1. Go to Settings › General › Transfer or Reset iPhone.
  2. Tap Erase All Content and Settings, then Continue.
  3. Choose what happens to your eSIM, if you have one: Keep eSIM and Erase Data or Delete eSIM and Erase Data. Selling the phone? Delete it, and ask your carrier to move the line to your new phone.
  4. Enter your passcode, let the last iCloud backup finish, then enter your Apple Account password to turn off Activation Lock.
  5. Wait for the Hello screen. That's what the buyer should see when they switch it on.

On iOS 26 and later, you can also start from Settings › [your name] › Sign Out and choose Erase this iPhone. A physical SIM card stays in the phone through all this: take it out yourself.

Watch out

Don't just delete photos and apps by hand, and don't sell a phone that's still signed in. If Activation Lock is on, the buyer can't use it until you remove it. With Stolen Device Protection on, changing your Apple Account password away from home can mean a one-hour security delay, so do this at home.

Can someone recover data from an erased iPhone?

No, according to Apple. Every iPhone encrypts its storage, and erasing destroys the keys. Apple's deployment guide says erasing "obliterates all the keys in effaceable storage" and "renders all user data cryptographically inaccessible." The data may still be on the chip, but without the keys it's unreadable. You don't need a third-party wiping app.

What happens to your iCloud data?

It stays in iCloud. Erasing the phone removes the copy on the phone, not the copy in your account. Apple says iCloud, iMessage, FaceTime and Game Center turn off on the phone, but your content stays in iCloud. Your iCloud Photos, backups and notes are all there on your next iPhone, or at iCloud.com.

That works both ways. If you're selling because you're done with iCloud Photos too, that's a separate step: see how to turn off iCloud Photos.

What about photo vault apps?

Check each one before you erase. Vault apps don't all back up through iCloud Backup: some keep photos only on the phone, some use their own cloud with an account, some use your iCloud. If yours keeps them only on the phone, erasing deletes them for good. We checked 15 apps in do photo vault apps back up to iCloud, and the moving steps are in how to move a photo vault to a new iPhone.

Noxium, which we make, backs up an encrypted copy of your vault to your own private iCloud. On your new iPhone, you install Noxium, draw your pattern, and the vault restores. If you've forgotten the pattern, the recovery phrase you wrote down at setup opens it. Test it before you erase the old phone.

Get Noxium free on the App Store →

What if you forgot your passcode?

You can still erase it, as long as you know your Apple Account password:

  • On the iPhone (iOS 15.2 or later, Find My on, online): enter wrong passcodes until "iPhone Unavailable" appears, then tap Forgot Passcode? › Start iPhone Reset, enter your Apple Account password, and erase.
  • With a computer: put the iPhone in recovery mode and choose Restore in Finder, the Apple Devices app or iTunes.

What if you already sold or gave it away?

Erase it remotely and remove it from your account:

  1. Ask the new owner to erase it with Erase All Content and Settings, if you can reach them.
  2. Or erase it yourself at iCloud.com/find: select the iPhone, erase it, then choose Remove This Device. That removes Activation Lock straight away.
  3. Remove its Apple Pay cards and passes, and remove it from your trusted devices.
  4. Change your Apple Account password.
  5. Deregister your number from iMessage if you've moved to a non-Apple phone, using Apple's online deregistration tool, so your texts arrive.

Questions people ask

Does a factory reset delete everything on an iPhone?

Everything on the phone, yes. Erase All Content and Settings destroys the encryption keys, which makes the data unreadable. Your iCloud data stays in your account.

Do I need to turn off Find My before selling?

Erase All Content and Settings turns it off for you, with your Apple Account password. If you skip that, the buyer is stuck behind Activation Lock.

Will resetting my iPhone delete my iCloud photos?

No. Erasing the phone doesn't touch iCloud. Your photos are still there on your other devices and at iCloud.com.

What happens to my eSIM when I erase my iPhone?

You choose. The erase flow asks whether to keep or delete it. When selling, delete it and have your carrier move it to your new phone.

Should I remove my SIM card before selling?

Yes. Erasing doesn't touch a physical SIM card, so take it out and put it in your new phone.

How do I remove my Apple Account from an iPhone I already sold?

At iCloud.com/find, erase the iPhone, then choose Remove This Device. Change your Apple Account password afterwards.

Sources

How this guide was made: drafted with AI help, then checked against the sources above by Inertia Projects, which makes Noxium.

Something wrong or out of date? Email business@inertiaprojects.info and we'll fix it.