The best way to wipe a phone before selling it is to back up your data, unpair your watch, remove your Google or Apple account to clear the activation lock, remove the SIM and memory card, then run the built-in factory reset. On iPhone that is Settings, General, Transfer or Reset iPhone, Erase All Content and Settings; on Android it is Settings, System, Reset options, Erase all data.
Key takeaways
- Back up first and move two-factor codes to your new phone — a factory reset cannot be undone.
- Remove your Apple or Google account before resetting, or the buyer will be locked out by Activation Lock or Factory Reset Protection.
- The built-in factory reset is enough on modern phones: encryption means erasing the keys destroys the data, so no third-party wiping app is needed.
Selling a phone without wiping it properly has two consequences: your personal data stays on the device, or the buyer cannot activate it because it is still locked to your account. Both are avoidable, and the fix takes about 20 minutes.
What is the best way to wipe a phone before selling it?
The best way to wipe a phone before selling it is to back up your data, unpair your watch, remove your Google or Apple account, take out the SIM and memory card, then run the built-in factory reset. On iPhone, that is Settings, General, Transfer or Reset iPhone, Erase All Content and Settings. On Android, it is Settings, System, Reset options, Erase all data.
The order matters. If you reset first and remove the account second, the phone can end up locked to your account — and a locked phone is worth less, gets returned, or gets rejected by a trade-in program. Do the preparation first, then the reset, then check the phone shows its welcome screen.
One more thing before you start: a factory reset cannot be undone. Anything on the phone that is not in a backup or already synced to the cloud is gone once the erase starts. Work through the checklist below first.
What should you do before wiping a phone?
Five jobs come before the erase itself. Skip one and you will either lose data or hand the buyer a problem.
- Back up the phone. On iPhone, go to Settings, your name, iCloud, iCloud Backup, Back Up Now — or back up to a computer with Finder on a Mac or the Apple Devices app on Windows. On Android, use Settings, Google, Backup, Back Up Now. If you already moved everything to a new phone with Quick Start or the Android transfer tool, check that photos, messages and Health data actually arrived before you wipe the old one.
- Move two-factor codes. If you use an authenticator app, transfer those accounts to your new phone first. Codes stored only on the old phone are gone after the erase, and you can be locked out of your accounts.
- Unpair your Apple Watch. In the Watch app, tap My Watch, All Watches, the info button next to the watch, then Unpair Apple Watch. Unpairing backs the watch up and removes its Activation Lock.
- Know your passwords. You need the device passcode to start the erase, and your Apple Account or Google password to turn off the lock. If you have forgotten a password, reset it first.
- Check your new phone works. Make a test call, open your banking app and confirm your photos are there. Only wipe the old phone when the new one is fully working.
The best ways to wipe a phone, compared
There is no single best method for every phone — the right one depends on the phone and the situation. Here is how the six methods below compare.
| Method | Best for | Needs the phone in hand? | Clears the lock? | Effort |
|---|---|---|---|---|
| iPhone on-device erase | Any iPhone you still hold | Yes | Yes, with your password | 5 minutes |
| Android factory reset | Pixel and most Android phones | Yes | Yes, if account removed first | 5 minutes |
| Samsung Galaxy reset | Samsung phones | Yes | Yes, if accounts removed first | 5 minutes |
| Remote erase | Phone already sold or lost | No | Yes | 2 minutes |
| Computer restore | Broken screen or forgotten passcode | Yes | Only if Find My is off | 20 minutes |
| Encrypt, then reset | Older Android phones | Yes | Yes | 10 minutes |
For most people selling a working phone, the first method that matches their phone is the answer. The rest of this guide walks through each one.
1. iPhone: Erase All Content and Settings — best for any iPhone
This is the best way to wipe an iPhone, and it is the method Apple itself recommends before selling, giving away or trading in a device. It deletes your data, signs the phone out of your Apple Account, and turns off Find My and Activation Lock.
- Steps: Settings, General, Transfer or Reset iPhone, Erase All Content and Settings, Continue. Enter your passcode, then your Apple Account password when asked, and tap Erase iPhone.
- What it wipes: apps and their data, photos, messages, settings, Apple Wallet cards and Find My settings. The phone restarts at the Hello setup screen, the same screen it showed when it was new.
- What it does not wipe: your iCloud data, which stays in your account, and anything on a physical SIM you left in the tray.
- eSIM: during the erase, the phone asks whether to keep or delete the eSIM. Delete it if the phone is leaving your hands. If you are moving to a new iPhone, transfer the eSIM first.
- Watch out: the phone must be online during the erase so it can contact Apple's servers to clear Activation Lock. Connect to Wi-Fi first.
Who should use it: anyone selling, trading in or giving away a working iPhone. It takes a couple of minutes and needs no computer or extra software.
2. Android factory reset — best for Pixel and most Android phones
On a Pixel or a stock Android phone, the built-in factory reset is the best method. Google's own guide confirms that resetting removes all accounts, installed apps and stored data, returning the phone to the state it was in when you bought it.
- Steps: first remove your Google account in Settings, Passwords, passkeys and accounts — this turns off Factory Reset Protection. Then go to Settings, System, Reset options, Erase all data (factory reset), and tap Erase everything.
- What it wipes: accounts, apps and their data, messages, contacts, photos and files stored on the phone, plus all settings.
- What it does not wipe: data on an SD card, data in your Google account, or the Android system itself — the phone keeps its current software version.
- Watch out: if you reset without removing the Google account first, Factory Reset Protection asks the next owner for your Google password. There is no way to remove that lock remotely afterwards except from your Google account's device list, so remove the account first.
Who should use it: anyone selling a Pixel, Motorola, OnePlus or other near-stock Android phone.
3. Samsung Galaxy factory reset — best for Samsung phones
Samsung phones follow the same idea with different menus, and they add a second account to remove. Samsung's trade-in rules say Reactivation Lock, Google Factory Reset Protection and any other anti-theft locking software must be disabled before you hand the phone over.
- Steps: turn off Find My Mobile in Settings, Samsung account, Find my mobile. Remove your Samsung account in Settings, Accounts and backup, Manage accounts. Remove your Google account the same way. Then go to Settings, General management, Reset, Factory data reset, and tap Reset.
- What it wipes: the same as any Android reset — accounts, apps, data and settings — plus Samsung-specific data such as Secure Folder contents.
- Watch out: Secure Folder is easy to forget. Open it before the reset and check nothing you need is stored inside it, because its contents are deleted with everything else.
- Screen lock: remove passwords, patterns, PINs and fingerprint locks before the reset. Google's trade-in page lists this as a requirement for a refund.
Who should use it: anyone selling or trading in a Samsung Galaxy phone.
4. Remote erase — best if the phone is already gone
If you already sold, posted or lost the phone, you can still wipe it remotely — as long as it is switched on and connected to the internet at some point.
- iPhone: sign in to iCloud.com, open Find Devices, select the phone and choose Erase This Device. The phone wipes itself the next time it connects.
- Android: sign in to your Google account, open Find Hub, select the phone and choose Erase device. The same applies: the wipe happens when the phone next comes online.
- What it does: the remote erase deletes the phone's data and, on iPhone, keeps Activation Lock on — which is what you want for a lost phone, but not for a sold one. If you sold the phone, contact the buyer and ask them to erase it from Settings instead, so the lock clears properly.
- Watch out: a remote erase cannot reach a phone that never connects again, and it cannot remove a SIM card or memory card. It is a safety net, not a substitute for wiping before you hand the phone over.
Who should use it: anyone who lost a phone, or who sold one and forgot to wipe it first.
5. Erase with a computer — best for a broken screen or forgotten passcode
When you cannot get into Settings — a broken screen, a forgotten passcode, or a phone stuck on the lock screen — a computer can do the erase for you.
- iPhone: connect to a Mac and use Finder, or to a Windows PC and use the Apple Devices app. Put the phone in recovery mode, choose Restore, and the computer downloads fresh software and erases the phone.
- Android: switch the phone off, then hold Power and Volume Up (or Volume Down, depending on the manufacturer) to enter recovery mode. Use the volume buttons to select Wipe data/factory reset, confirm, then choose Reboot system now.
- Watch out: a computer restore does not turn off Find My or Factory Reset Protection by itself. Turn those off first if you can. If you cannot, the buyer will be asked for your account password, so remove the device from your Apple or Google account online afterwards.
Who should use it: anyone whose phone cannot be wiped from Settings.
6. Encrypt, then reset — best extra step for older Android phones
Modern phones encrypt their storage by default, so a factory reset destroys the encryption keys and the data is gone. Older Android phones — roughly Android 9 and earlier, or phones where encryption was never switched on — may not be encrypted, and a reset alone can leave data recoverable with forensic tools.
- Steps: on the old phone, go to Settings, Security, Encrypt phone, and let it finish. Then run the factory reset as normal. Encryption scrambles the data first, so even if fragments survive the reset, they are unreadable without the key — which the reset destroys.
- Who needs it: only owners of old, unencrypted Android phones. On any phone from the last five years, encryption is already on and this step adds nothing.
- What not to do: do not buy a third-party "secure erase" app. On a modern encrypted phone they do nothing the built-in reset does not already do, and some of them are malware in disguise.
Who should use it: owners of older Android phones who want maximum certainty before selling.
What does a factory reset not erase?
A factory reset is thorough, but it has limits, and knowing them stops nasty surprises. It does not erase an SD card — remove the card and wipe it separately, or keep it for your next phone. It does not remove a physical SIM card. It does not delete anything from your cloud accounts: photos in iCloud or Google Photos, emails and contacts all stay in your account, which is what you want.
It also does not cancel your carrier plan or your AppleCare plan. Deleting an eSIM does not cancel the mobile plan — contact your carrier to move or cancel the service. And it does not remove the phone from your list of trusted devices for two-factor authentication, so remove it from your Apple Account or Google account settings afterwards. Apple also suggests deregistering iMessage if you are switching to a non-Apple phone, or texts from iPhone users may keep going to iMessage instead of SMS.
Finally, a reset does not remove the phone from the manufacturer's trade-in or warranty records, and it does not undo a repair history. If the phone shows a "Finish Repair" message in its parts and service history, Apple says to finish that repair before trading it in.
How do you check the wipe worked?
After the reset, the phone should show its welcome screen — Hello on iPhone, or the Android setup wizard asking you to choose a language. That screen is your proof the wipe finished. Do not sign in to anything on the phone after the reset; the moment you sign in, your accounts are on it again.
Then check your accounts online: the phone should no longer appear in your Apple Account's device list or your Google account's devices. If it still appears, remove it there. That is the final step that guarantees the next owner can activate it.
If you are trading the phone in, take a photo of the welcome screen before you post it — it is useful evidence if the buyer later claims the phone was locked. And keep the phone switched off once it is wiped, so it stays on the welcome screen until the buyer turns it on.
When you set up your replacement phone, connect it to a trusted network first. Our guide on how to secure your Wi-Fi explains what to check on a home network before you start signing into accounts on a new device.
Common mistakes when wiping a phone
Most wiping problems come from the same few mistakes. Avoid them and the process is painless.
- Deleting photos by hand instead of resetting. Manually deleting photos, messages and apps is slow, incomplete, and — if iCloud or Google Photos sync is on — deletes them from the cloud too. Always use the factory reset.
- Resetting before backing up. There is no undo. Back up, verify the backup, and only then erase.
- Forgetting the authenticator app. Moving two-factor codes is the most commonly forgotten step, and the lockout it causes can take days to fix.
- Leaving the SD card in. A factory reset does not touch the memory card. A buyer who finds your card gets your photos.
- Resetting a phone that is still financed or under a repair. Some trade-in programs reject phones with outstanding finance or an unfinished repair. Sort those out first.
- Signing back in to test it. Testing the wiped phone by signing into your accounts puts your data straight back on it. The welcome screen is the test.
The bottom line
The best way to wipe a phone before selling it is the boring way: back up, move your two-factor codes, unpair your watch, remove your accounts, take out the SIM and memory card, then run the built-in factory reset and check for the welcome screen.
On a modern phone that is enough — encryption does the secure-erasing work for you, and no third-party app can improve on it. The mistakes that cost people money are not about the reset itself, but about the steps around it: the forgotten account, the lock left on, the backup never made.
Do the checklist in order and the phone is ready for its next owner. If you want to check the device you are keeping is clean too, our guide on how to know if your phone is hacked covers the signs to look for.
Frequently asked questions
What is the best way to wipe a phone before selling it?
Back up your data, unpair your Apple Watch, remove your Google or Apple account, take out the SIM and memory card, then run the built-in factory reset. On iPhone use Erase All Content and Settings; on Android use Erase all data (factory reset). Finish by checking the phone shows the welcome setup screen.
Is a factory reset enough to wipe a phone before selling?
Yes, on modern phones. iPhones and most Android phones encrypt storage by default, so a factory reset destroys the encryption keys and the data becomes unreadable. You do not need a third-party wiping app, and repeatedly overwriting the storage adds nothing on a modern encrypted phone.
What happens if I forget to remove my Google account before a factory reset?
Factory Reset Protection will ask the new owner for your Google account password after the reset, and they will not be able to set the phone up. Remove the account in Settings before resetting. If the phone is already gone, remove it from your Google account's device list online.
Does a factory reset remove the SIM card or SD card data?
No. A factory reset does not erase a memory card, and it does not remove a physical SIM. Take the SIM and SD card out before handing the phone over. On iPhone, decide whether to keep or delete the eSIM during the erase.
Can I wipe a phone I have already sold or lost?
Yes, if it is still online and linked to your account. Use Find My on iCloud.com for an iPhone, or Find Hub on your Google account for Android, and choose Erase. The phone will wipe itself the next time it connects to the internet.
Should I remove my Apple Watch before wiping my iPhone?
Yes. Unpair the Apple Watch in the Watch app first. Unpairing backs the watch up to the iPhone and removes its Activation Lock. If you erase the phone first, the watch stays locked to your account.
How do I wipe a phone with a broken screen?
Use a computer. Connect an iPhone to a Mac or Windows PC and restore it with Finder or the Apple Devices app. For Android, use recovery mode with the volume and power buttons, or the manufacturer's desktop tool. Remove your accounts online first if you can.
Does wiping a phone remove my photos from the cloud?
No, if they are backed up. A factory reset only erases the phone itself. Photos in iCloud or Google Photos stay in your account. But be careful: if you manually delete photos from the phone while iCloud sync is on, they are deleted from iCloud too, so use a backup, not manual deletion.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Apple's official pre-sale checklist, Android's factory reset guide, and the trade-in requirements published by Google and Samsung.
How we write and fact-check →