A friend once handed her old iPhone to a coworker for a quick trade-in check. The coworker swiped up out of habit, and the photo library opened: beach trips, tax paperwork she had photographed, a screenshot of her bank login. Nothing was wiped. She just assumed selling the phone erased it.
That assumption is common, and it is where trouble starts. A device you no longer want still holds years of your life until you deliberately erase it. Deleting a few files or dragging photos to trash does not count.
Key takeaways
- Back up first, then sign out of every account, then erase. Order matters.
- Modern phones and laptops use encryption, so a full factory reset makes old data unrecoverable in seconds.
- Signing out of Apple, Google, and Microsoft accounts removes activation locks that can brick the device for the next owner.
- Remove SIM and memory cards by hand, because a reset never touches them.
Why a normal delete is not enough
When you delete a file, the device usually just marks that space as free. The actual data sits there until something writes over it. Cheap recovery tools can scoop it back up.

Photos are the part people forget. Your camera roll, screenshots, and downloads folder are treasure to a stranger. So are saved passwords in your browser and any app still logged in.
The good news is that erasing correctly is fast on gear made in the last decade. Both iPhones and modern Android phones encrypt storage by default, and so do most current laptops. A factory reset throws away the encryption key, which scrambles everything left behind into noise. If you want the full picture of how device protection fits together, the plain-language guide to securing your phone and computer is a good starting point.
Step one: back up what you want to keep
Erasing is permanent, so rescue anything you care about first. On an iPhone, open Settings, tap your name, then iCloud, and confirm a recent backup. On Android, check Google One or your phone maker’s backup tool.
For a computer, copy your documents, photos, and desktop to an external drive or a cloud folder. Do not trust your memory about what lives where. I have watched people wipe a laptop and only then remember the one folder of family videos that existed nowhere else.
Do the backup a day early, then actually open a few files from the backup to confirm they work. A backup you never tested is a hope, not a plan. For a fuller walkthrough, see how to back up your data so you never lose it.
Step two: sign out of your accounts
This step trips up more people than the erase itself. If you skip it, the next owner can hit an activation lock and the device becomes a paperweight, or worse, some of your accounts stay linked.
On an iPhone or iPad
Open Settings, tap your name, scroll down, and choose Sign Out. This turns off Find My and Activation Lock. Apple explains the full trade-in prep on its official erase-your-device support page.
On an Android phone
Go to Settings, then Accounts, and remove your Google account before you reset. Removing it clears the Factory Reset Protection that would otherwise ask for your old password after the wipe.
On a Windows PC or Mac
Sign out of your Microsoft or Apple account. On a Mac, also deauthorize the computer in the Music app if you ever bought songs there. Turn off Find My Mac in System Settings.
Step three: erase the device the right way
Now the satisfying part. Each system has a built-in reset that handles the encryption wipe for you.
| Device | Where to erase | Roughly how long |
|---|---|---|
| iPhone / iPad | Settings, General, Transfer or Reset, Erase All Content and Settings | 2-5 minutes |
| Android phone | Settings, System, Reset, Erase all data (factory reset) | 5-10 minutes |
| Windows 10 or 11 | Settings, System, Recovery, Reset this PC, Remove everything | 20-60 minutes |
| Mac | System Settings, General, Transfer or Reset, Erase All Content and Settings | 10-20 minutes |
On Windows, when it asks whether to clean the drive, choose the option that removes files and cleans the drive. It takes longer but leaves far less behind. That extra time is cheap insurance against a stranger recovering your files.
Older hard-drive laptops (the spinning kind, not solid state) are the one case where a simple reset can leave recoverable data. For those, use the built-in wipe and then run one full pass of the drive-cleaning option, or physically destroy the drive if the machine is being recycled rather than sold.
Step four: handle the physical bits
A reset erases the internal storage. It does not touch anything you can pop out with a fingernail or a paperclip.
Remove the SIM card from a phone. Pull out any microSD memory card. If you are selling a laptop, remember that an external SD card left in the slot travels with the machine.
Give the device a wipe with a slightly damp cloth while you are at it. A clean device sells faster, and it gives you one last look for a card you forgot.
What about donating or recycling instead of selling
The steps are identical. Whether the device goes to a resale buyer, a charity, or an electronics recycler, you erase it the same way before it leaves your hands.
For recycling specifically, many manufacturers and retailers run free take-back programs. The U.S. Federal Trade Commission has plain guidance on disposing of old devices safely at consumer.ftc.gov. If the device still works but you plan to keep it around the house, it is worth deciding whether an aging gadget is still safe for daily use before you retire it.
Whatever you do with the old device, the habit worth carrying to your next one is protecting it from day one. Setting a strong screen lock is the simplest first step, and the guide on how to lock your phone screen the smart way walks through it in a couple of minutes.
Your afternoon checklist
- Back up photos, documents, and app data to the cloud or an external drive, then open a few files to confirm the backup works.
- Sign out of iCloud, your Google account, or your Microsoft account, depending on the device.
- Turn off Find My iPhone, Find My Mac, or remove the Google account so no activation lock remains.
- Run the built-in factory reset and choose the option that also cleans the drive.
- Remove the SIM card and any microSD memory card by hand.
- Wipe the device down and double-check no cards are left in any slot.
- Choose a reputable buyer, charity, or certified recycler, and keep any trade-in receipt.
Selling or passing on a device should feel like closing a clean chapter, not leaking one. Twenty quiet minutes now buys you the certainty that whoever holds that phone next gets a blank slate and nothing of yours.