To erase an iPhone for a trade-in, go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings, then follow the prompts. Before you tap it, do two things: make a fresh backup, and make sure you know your Apple Account password, because the erase asks for it, and Apple says Find My and Activation Lock turn off when you erase. These steps are for iOS 27 and apply to every iPhone that runs it; the same path has been in place for several iOS versions. Before you erase the iPhone, sign out of apps such as Amazon, as signing out of your Amazon account in the iPhone app explains.
This page covers the erase itself: what it wipes, what to pick for an eSIM, what to do if you’ve forgotten the passcode, and how to wipe a phone that has already left your hands. For everything else you should do before handing a phone over (unpairing an Apple Watch, the SIM card, Wallet cards and so on), work through the full checklist to reset an iPhone for trade-in first, then come back here for the final step.
Two warnings before you erase
1. The erase can’t be undone, so back up first. Erasing restores the iPhone to factory settings and removes your apps, data and settings, including privacy and network settings. The only way to get that data onto your next phone is a backup or a direct transfer. Back up to iCloud (Settings > your name > iCloud > iCloud Backup), or to a computer using Finder on a Mac or the Apple Devices app on Windows. If you already set up the new iPhone by transferring from this one, check that your photos, messages and Health data actually arrived before you wipe the old phone.
2. Know your Apple Account password (formerly called Apple ID). If Find My is on, the phone has Activation Lock, a security feature that ties the iPhone to your account so nobody else can activate it. When you erase on the phone itself, Find My and Activation Lock are turned off as part of the process, but only after you enter your Apple Account password. A phone that still has Activation Lock can’t be set up by its next owner, and most trade-in programs will reject it or pay less. If you’ve forgotten the password, sort that out first; the options are covered in factory resetting an iPhone without the Apple Account password.
Two smaller points before you start:
- If you use an authenticator app for two-factor codes, move those accounts to your new phone first. Once the old phone is erased, codes stored only on it are gone.
- Reset All Settings and Reset Network Settings are not an erase. They sit on the same screen but leave your data on the phone. For a trade-in you need Erase All Content and Settings.
Erase the iPhone on the phone itself
Use this method whenever you still have the iPhone and know its passcode. Connect to Wi-Fi first so the phone can finish any iCloud backup and contact Apple to remove Activation Lock.
- Open Settings, tap General, then scroll to the bottom and tap Transfer or Reset iPhone.
- Tap Erase All Content and Settings.
- Tap Continue.
- If your iPhone uses an eSIM, you’re asked to keep or delete it. For a trade-in, choose the option that deletes the eSIM (see the next section before you decide).
- Enter your iPhone passcode when asked.
- If an iCloud backup is still uploading, the phone offers to finish it. Let it finish unless you’ve just made a backup elsewhere.
- Enter your Apple Account password when asked, then tap the done button on the keyboard.
- Wait for the iPhone to reset. Leave it alone, ideally on a charger, until it restarts.
- When the erase is complete, the iPhone shows the Hello setup screen. Stop there and don’t set it up again.
The exact order of the eSIM, passcode and password prompts can vary a little by iOS version and depend on having an eSIM, so read each screen rather than tapping through. The erase usually takes a few minutes; a phone with a lot of data can take longer.
Other ways to start the same erase
- Sign out and erase (iOS 26 and later): in Settings > your name > Sign Out, iOS offers Erase this iPhone or Sign Out But Don’t Erase. For a trade-in, choose Erase this iPhone. The other option leaves things like Photos, Health data, passwords and Wallet passes on the phone.
- iPhone 18 Pro Max only: Settings > General > Transfer or Reset iPhone also has Prepare to Ship, which lowers the battery charge to meet shipping rules and lets you choose to erase the phone and sign out along the way. Apple’s page on preparing iPhone 18 Pro Max to ship explains it.
- From a computer: connect the iPhone to a Mac (Finder) or a Windows PC (Apple Devices app) and choose Restore iPhone. You have to sign out of Find My on the phone first, so this route only helps when the phone is working normally.
The eSIM choice: keep or delete?
An eSIM is a digital SIM stored on the phone instead of a plastic card. If your iPhone has one, the erase asks what to do with it. Apple’s instructions describe the choices as Keep eSIM and Erase Data and Delete eSIM and Erase Data; with more than one eSIM, the wording on your screen may be slightly different.
- Trading in or selling the phone: delete the eSIM. Apple’s checklist for selling or trading in an iPhone says to erase it before the phone changes hands.
- Keeping the phone (for example, wiping it to fix a problem): keep the eSIM so the line keeps working after setup.
Deleting the eSIM doesn’t cancel your plan or your number. The cleanest order is to move the line to your new iPhone first (see moving an eSIM to a new iPhone), then delete it from the old one during the erase. If you’re not keeping the line, contact your carrier to end or suspend it; Apple’s own Trade In preparation notes say to contact your wireless provider to suspend eSIM service. If your old phone uses a physical SIM card, take it out before you send the phone.
Erase without the passcode (Apple’s routes only)
If you’ve forgotten the iPhone’s passcode, you can still erase it, but only through Apple’s own options. Skip any app or website that promises to “bypass” a passcode or Activation Lock.
From the Lock Screen
This works when Find My is on, the phone is connected to Wi-Fi or cellular, and you know your Apple Account password.
- Enter the wrong passcode until the phone shows iPhone Unavailable.
- Tap Forgot Passcode?
- On the Security Lockout screen, tap Start iPhone Reset.
- Enter your Apple Account password to sign out.
- Tap Erase iPhone. You get the same keep-or-delete eSIM choice as above; delete it for a trade-in.
The Forgot Passcode? option only appears when Find My is on, the phone is online and it’s signed in to your Apple Account. If you can’t use it, Apple’s fallback is a computer: put the iPhone into recovery mode and restore it with Finder or the Apple Devices app, which erases it. Apple’s instructions for a forgotten iPhone passcode cover both routes. Apple says Activation Lock stays in place for as long as Find My is on, so after a computer restore the phone can still ask for your Apple Account during setup. The password matters even when the passcode doesn’t.
Erase a phone you already handed over
If the phone is already in the post or at the store and you didn’t erase it, you can do it remotely, as long as Find My was on. If the new owner or the store has it in hand, you can also simply ask them to erase it.
- On a computer or another device, go to icloud.com/find and sign in with your Apple Account.
- Select the iPhone from your list of devices.
- Choose Erase This Device and follow the prompts. When asked for a phone number or message, leave them blank: the phone is no longer lost, it’s sold.
- If the phone is offline, the erase starts the next time it connects to the internet.
A remote erase leaves Activation Lock on, so the next owner still can’t set the phone up. After the erase (you get an email when it’s done), return to the same device in Find Devices and choose Remove This Device; Apple says Activation Lock is then removed immediately. If you choose Remove This Device on a phone that is online and hasn’t been erased, it can’t be removed, and iCloud.com offers to mark it Ready for Repair or Trade In instead. Apple’s iCloud guide to erasing a device in Find Devices has the current wording.
Two loose ends: erasing removes Apple Pay cards from the phone, but if you can’t erase it right away, remove the cards from your account so they can’t be used on it. And once the phone is wiped, remove it from your account’s device list in Settings > your name, or at account.apple.com under Devices.
Confirm the erase worked
Before you box the phone, check three things:
| Check | What you should see | If you don’t |
|---|---|---|
| The phone itself | The Hello screen, with no apps, photos or account name | The erase didn’t run or was cancelled: start it again |
| Activation Lock | No iPhone Locked to Owner screen when the phone is set up | The lock is still on: use Remove This Device on icloud.com/find |
| Your Apple Account | The old iPhone is gone from the device list on your new phone or at account.apple.com | Select it and choose Remove from Account |
There is no way to undo an erase. Your data comes back only from the backup you made, which you restore during setup on your new iPhone. Your iCloud data (photos, contacts and the like synced to iCloud) is not touched by erasing the phone. If you want a broader walkthrough of factory resets beyond trade-ins, see how to factory reset any iPhone model.
When the erase won’t start or finish
- It insists on Face ID or Touch ID. With Stolen Device Protection on and the phone away from familiar locations such as home or work, Apple requires Face ID or Touch ID to erase, with no passcode alternative. Signing out of your Apple Account or changing its password away from those places brings a one-hour security delay. Doing the erase at home avoids both.
- It asks for a password you don’t know. That’s the Apple Account password for Activation Lock. Reset it on a trusted Apple device, or start at iforgot.apple.com, which Apple uses for password resets and account recovery, before you continue; don’t hand over the phone in this state.
- The computer won’t let you click Restore. Find My is still on. Use the on-phone erase instead, or sign out of your Apple Account on the phone first.
- The progress bar seems stuck. Keep the phone on a charger and give it time; a phone full of data takes longer. If it never finishes, contact Apple Support before you ship the phone.
- The store says the phone is still locked. Sign in at icloud.com/find, select the phone and choose Remove This Device, then ask them to check it again.
Erasing before a trade-in: questions
Does erasing the iPhone delete my photos from iCloud?
No. Erasing the phone removes what’s stored on the device, not your iCloud content. Photos, contacts and other data synced to iCloud stay in your account and appear on any device signed in to it. Don’t delete them from iCloud to “clean” the old phone, as that would remove them everywhere.
Should I erase my Apple Watch too?
If the watch is going with the phone, or you’re replacing it, unpair it first in the Watch app on the iPhone. Unpairing removes the watch’s own Activation Lock. It doesn’t do anything for the iPhone’s lock, which only clears when you erase the iPhone with your password.
Do I need to turn off Find My before erasing?
Not when you erase from Settings: entering your Apple Account password during the erase turns Find My off for you. You only need to switch it off beforehand for the computer restore route.
Will the trade-in store check that I erased it?
Apple Trade In asks you to back up and erase the phone before you send it, and a phone still tied to an Apple Account can’t be activated by anyone else. Expect the store or buyer to check that Activation Lock is off; the table above shows how to check it yourself first.
Can I erase the phone at the store?
Yes. A common order is to set up the new iPhone first, check that everything transferred, then erase the old one with the steps above before you hand it over. You’ll still need the old phone’s passcode and your Apple Account password, so bring both.
Once the old phone shows the Hello screen and is gone from your device list, it’s ready to ship or hand over. Keep your courier receipt or trade-in confirmation until the credit arrives.
Matt has been working with WordPress and creating content using this powerful content management system for years. While he has written about many other tech topics, WordPress is one of his favorites.
You can read his full bio here.