How to Wipe iPhone Data Before a Trade-In, Step by Step
Back up, sign out, erase with the eSIM, ship: Apple's wipe order for a trade-in, what the erase does, and what stays in iCloud.
Quick answer
Back up, sign out of your Apple Account, then use Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. Apple says the erase destroys the keys that unlock your data, so what is left on the chip cannot be read.
- The wipe itself
- Erase All Content and Settings. It turns off Find My and Activation Lock, and erases photos, contacts, apps and Apple Pay cards on the phone.
- Before the wipe
- Back up, unpair an Apple Watch, deal with AppleCare, and sign out of iCloud and the Store.
- What it misses
- Anything in iCloud. Apple says erasing the phone does not delete your content from iCloud.
- When to use a vault
- When private photos and files should travel to the next phone outside iCloud Photos, behind a PIN of their own.
Best overall: Stash
Erase All Content and Settings makes the old phone's data unreadable, but it leaves iCloud Photos, iCloud Drive and old backups as they were, and the new phone pulls the library straight back. Stash keeps private photos, videos and files in a vault outside the Photos library: items are encrypted on the iPhone with AES-256, iCloud Photos does not upload them, and an optional encrypted backup goes to your own iCloud Drive or Google Drive when you start it. Stash is free to download with no ads.
What "wiping" an iPhone actually does
People picture a wipe as overwriting every byte. On an iPhone it works differently, and faster. Apple's deployment guide Erase Apple devices, checked as of 2 December 2026, says erasing "obliterates all the keys in effaceable storage and renders all user data cryptographically inaccessible."
In plain words: the data on an iPhone is stored encrypted, and the keys sit in a small area of storage built to be wiped securely. Erase All Content and Settings destroys those keys. Without those keys, the encrypted data left on the chip cannot be read. That is why the erase takes minutes, not hours, and why no extra "secure wipe" app is needed for the phone itself.
Apple's consumer page What to do before you sell, give away, or trade in your iPhone or iPad (published 29 May 2026) describes the result: the erase removes your data from the device, including Apple Pay cards, photos, contacts, music and apps; it turns off iCloud, iMessage, FaceTime and Game Center on the phone; and it turns off Find My and Activation Lock. The same page adds the sentence that matters most for privacy: your content is not deleted from iCloud.
This page is about wiping the whole phone. If your main worry is the photos, the photo-by-photo checklist is in before selling or trading in an iPhone.
Step 1: Back up and move what you keep
- Back up the iPhone. iCloud Backup, or Finder on a Mac, or the Apple Devices app on Windows. Apple suggests backing up again just before you erase, so the last days are included.
- Move your data to the new phone. On iOS 11 or later, Quick Start copies it across. If your phone number changes with the new phone, add the new number as a trusted number on your Apple Account first.
- Check what the backup holds. If iCloud Photos is on, the photos are in iCloud, not in the backup. The details are in what is in an iPhone backup.
- Move private items you want to keep out of iCloud. Do this now, while the old phone still has everything; see the Stash steps further down.
Step 2: Unhook the phone from your accounts
Do these before the erase, while you can still open every setting:
- Check for unfinished repairs. Look at the iPhone's Parts and Service History. Apple's trade-in page says that if a part shows Finish Repair, you need to finish that repair first, or the phone cannot be traded in (Prepare your device for trade-in, published 17 September 2026).
- Unpair your Apple Watch, if one is paired with this iPhone.
- Cancel or transfer AppleCare, if the phone has a plan.
- Sign out of your Apple Account.
- iOS 26 or later: Settings > your name > scroll down > Sign Out. Apple then offers Erase this iPhone or Sign Out But Don't Erase. If you are asked which account, tap Sign out of iCloud and Store.
- iOS 18 or earlier: Settings > your name > Sign Out, enter your Apple Account password and tap Turn Off.
- Deregister iMessage if the next phone is not an iPhone, so texts from iPhone users reach the new number.
- Remove cards and passes in Wallet, if you want them gone before the erase. The erase removes Apple Pay cards from the phone anyway.
If you will hand the phone over at an Apple Store, know your Apple Account password. Apple warns that with Stolen Device Protection on, changing that password in the store can mean a one-hour security delay.
Step 3: Erase All Content and Settings
- Open Settings > General > Transfer or Reset iPhone.
- Tap Erase All Content and Settings.
- Enter the iPhone passcode, or the Restrictions passcode if you are asked for it.
- If Find My is still on, enter your Apple Account password.
- When asked about the eSIM, choose to erase the device and the eSIM profile. Apple's page names this as the choice to make when the phone is sold or traded in.
- Tap Erase iPhone and wait. The phone restarts to the setup screen.
That screen is the sign that the wipe is done. Do not sign in again "just to check": a sign-in links the phone to your account once more.
Step 4: Cellular service, the SIM and the box
Apple's trade-in page lists the last physical steps:
- Physical SIM: take it out.
- eSIM: contact your carrier to suspend or move the service. A phone with no SIM card needs the carrier to transfer service to the new owner, per Apple's selling page.
- Pack only the phone: no case, adapter, cables or other accessories, in the box or mailer Apple sent, with the Quote ID on the label matching your confirmation email.
- Keep the drop-off receipt. Apple's page says it is not responsible for damage in shipping.
Finally, remove the old phone from your list of trusted devices on your Apple Account, as Apple's selling page lists last.
If the phone is broken, lost or already gone
A dead screen or a phone you no longer have is not the end of the wipe. Apple's selling page covers both:
- You still have it, but cannot use it: if it is lost or stolen, erase it from Find Devices on iCloud.com. Apple's deployment guide lists iCloud among the ways a remote wipe can start.
- You already handed it over: ask the new owner to run Erase All Content and Settings.
- Either way: remove it from your trusted devices, deregister iMessage if you left the iPhone platform, remove cards in Wallet, and change your Apple Account password with two-factor authentication on. Apple notes that a password change does not remove data from the old phone, but it stops the new owner from deleting your iCloud information.
What the wipe reaches, and what it does not
| Data | Removed by Erase All Content and Settings? | Where it can still be |
|---|---|---|
| Photos, apps, contacts, music on the phone | Yes, made unreadable with the keys | Your backup, iCloud |
| Apple Pay cards on the phone | Yes | Wallet on your other devices |
| Find My and Activation Lock | Turned off | Not applicable |
| eSIM profile | Yes, if you choose to erase it too | Your carrier account |
| iCloud Photos library | No, Apple says iCloud content is not deleted | Every device on the account, iCloud.com |
| iCloud Drive files | No | Finder on a Mac, iCloud.com |
| iCloud Backup and computer backups | No | iCloud, your computer |
| Photos you sent to others | No | Their phones and chats |
The table is the whole argument of this page: the wipe protects the next owner from your data on the device, and does nothing for copies elsewhere. Those copies are yours to keep or clean up. If you want a photo gone from iCloud as well, it has to leave the iCloud Photos library itself; does a factory reset erase iCloud photos shows how.
When the built-in wipe is enough
For most trade-ins, Apple's steps are all you need:
- You signed out, erased the phone and the eSIM, and saw the setup screen.
- You are fine with the library coming back on the new phone from iCloud Photos.
- Nothing on the phone needs a lock beyond your Apple Account and the new phone's passcode.
When you need more than a wipe
The wipe deals with the old phone. It says nothing about where your private items live next. Think about a separate place for them when:
- The new phone will be shared or handed around. Every photo in iCloud Photos arrives on it, Hidden album included, and opens with that phone's passcode.
- Private photos should not be in iCloud Photos at all. Apple's iCloud data security overview lists Photos and iCloud Backup under standard data protection as encrypted on the server with keys held by Apple; only Advanced Data Protection makes them end-to-end encrypted.
- Documents and notes need their own code on the next phone, not only the phone's passcode.
How to carry private items to the next iPhone with Stash
Stash opens as a calculator that really calculates; your PIN opens the vault. Photos, videos and files you import are encrypted on the iPhone with AES-256, with the key in the iOS Keychain, and they stay inside the app rather than in the Photos library, so iCloud Photos does not upload them.
- On the old phone, install Stash from the App Store. It runs on iPhone and iPad with iOS 15 or later.
- Choose a PIN that differs from your iPhone passcode, and write down the recovery key that Stash shows once during setup.
- Tap + and import the private photos, videos and documents. Import makes a copy.
- Delete the originals in Photos and Files, then empty Recently Deleted in both, so the library that syncs to the new phone no longer holds them.
- In Premium, start an encrypted backup to your own iCloud Drive or Google Drive, and restore it in Stash on the new phone before you erase the old one.
- Then follow Steps 2 to 4 above.
The full move between phones is in transfer a photo vault to a new iPhone.
FAQ
Does Erase All Content and Settings permanently delete my data?
On the phone, yes in practice: Apple says the erase destroys the keys in effaceable storage and leaves user data cryptographically inaccessible. It does not touch iCloud or your backups.
Do I have to turn off Find My before a trade-in?
Signing out of your Apple Account and erasing both turn it off; Apple says the erase turns off Find My and Activation Lock. If Find My is still on, the erase asks for your Apple Account password.
Should I erase the eSIM?
Yes, when the phone is sold or traded in. Apple says to choose the option to erase the device and the eSIM profile, and to contact your carrier about the service.
Can I trade in a phone with an unfinished repair?
No. Apple's trade-in page says a part marked Finish Repair must be completed first, or the phone cannot be traded in.
What if my iPhone screen is broken?
Erase it remotely from Find Devices on iCloud.com, then remove it from your trusted devices.
Will my photos be gone from iCloud after the wipe?
No. Apple says erasing the phone does not delete your content from iCloud. The library comes back on any device signed in to the same account.
Do I need a data-wipe app?
Not for the phone itself. Erase All Content and Settings is Apple's own wipe, and its result is described in Apple's deployment guide.
The Bottom Line
To wipe iPhone data before a trade-in, back up, unpair the Watch, sign out of your Apple Account, and run Erase All Content and Settings with the eSIM. Apple says that erase destroys the keys that unlock the data, so what is left on the phone cannot be read, and it turns off Find My and Activation Lock on the way. That handles the device.
It does not handle iCloud. The table of what the wipe reaches shows the copies that stay: the iCloud Photos library, iCloud Drive, backups and photos you sent to others. Decide what happens to those before the new phone pulls them straight back, and give private items a place of their own, behind a PIN that is not the new phone's passcode.
·Written by the developer of Stash
Save this guide
Download this guide as an image