How to Wipe a Phone or Laptop Before You Sell It
A colleague of mine bought a used ThinkPad on a marketplace app for about 180 dollars last March. The seller had deleted his files and emptied the recycle bin, which he honestly believed was the job done.

A colleague of mine bought a used ThinkPad on a marketplace app for about 180 dollars last March. The seller had deleted his files and emptied the recycle bin, which he honestly believed was the job done. The laptop arrived with a signed in browser profile holding saved passwords for a bank and a payroll portal, a mail client with four years of messages still cached, and a photo folder that had survived in a second user account nobody had noticed.
Nothing was recovered with forensic tools. It was all just sitting there, visible to anyone who turned the machine on. That is the normal outcome, not an unlucky one, because every device sold today has at least three places data hides: the user account, the cloud sessions, and the device identity that ties the hardware to you. Deleting files addresses none of them, and the steps that do take about half an hour if you do them in the right order.
Encryption does the real work, not deletion
Here is the part that makes everything else simpler. If a device's storage is encrypted, a factory reset destroys the key, and what is left on the chips becomes mathematically useless. You are not erasing data so much as throwing away the only copy of the decoder.
Every iPhone since the 5s is encrypted, always, with no setting to check. Android has had storage encryption on by default since version 6, released in 2015. Macs with Apple silicon or a T2 chip are encrypted at the hardware level whether or not you switched FileVault on. Windows is the inconsistent one: Home editions on older hardware frequently have no encryption at all, while Pro editions and most machines sold since about 2021 ship with BitLocker or device encryption active.
So the first thing to check on a Windows laptop is Settings, then Privacy and security, then Device encryption or BitLocker. If it says on, a reset with the option to remove files is genuinely sufficient. If there is no such setting, or it says off, you have an unencrypted drive and you need the extra step described further down. That one check decides whether this takes twenty minutes or ninety.
Do these in order, because two of them lock the device if you get it wrong
The sequence matters more than any individual step. Signing out of the wrong account at the wrong moment can leave a device that boots to a screen demanding credentials the new owner does not have, which turns a sale into an argument.
- Back up first, and verify the backup. Open the backup and look at an actual file or photo from it. A backup you have not opened is a hope, not a backup. Give yourself a day between the backup and the wipe if you can.
- Deauthorise anything with a seat limit. Audio software, design suites, some password managers and a few games tie a licence to the machine. Remove the device from your account while you still can, or you spend an afternoon on support chat later.
- Turn off the find and lock features. On iPhone and Mac, sign out of iCloud, which releases Activation Lock. On Android, remove your Google account from Settings before resetting, or Factory Reset Protection can lock the phone to an account the buyer cannot reach. This is the step people skip, and it is the single most common reason a used phone arrives unusable.
- Unpair companion devices. Watch, earbuds, car, fitness band. An unpaired watch can keep working with cached health data and a paired watch can block its own reset later.
- Remove the physical bits. SIM tray, memory card, any attached storage. An SD card inside an Android phone is often not encrypted and is almost never wiped by a factory reset.
- Sign out of the operating system account. Microsoft account, Google account, Apple account, in that order relative to the reset, meaning after the lock features and before the wipe.
- Reset the device. Erase All Content and Settings on Apple hardware. Reset Phone with the option to erase all data on Android. Reset this PC with Remove everything, and choose the cleaning option if it offers one.
- Boot it once and stop at the setup screen. If it asks for a previous owner's password, the reset did not take. Leave it at the welcome screen for the buyer, since a machine that boots into a fresh setup is the only proof either of you gets.
- Remove the device from your account lists afterwards. Your Apple, Google and Microsoft account pages all keep a device roster, and an old entry can still receive sign in prompts. The same housekeeping logic applies to the accounts themselves, which our guide on deleting old online accounts you forgot about covers properly.
The seven pass wipe advice is twenty years out of date
Search for how to erase a drive and you will still be told to overwrite it seven or thirty five times, usually with a reference to a 1990s defence standard. I think repeating that advice now does more harm than good, and not because it is too cautious.
On a spinning hard disk, one full overwrite has been sufficient since drive densities passed the point where residual magnetism could be read back, which was roughly 2006. The thirty five pass scheme was designed for drive encodings that no longer exist. Running it on a 2 TB disk takes multiple days and achieves nothing the first pass did not.
On an SSD or a phone's flash storage, overwriting is actively the wrong tool. The controller spreads writes across spare blocks you cannot address, so an overwrite pass fills the blocks it can reach while leaving others untouched, and meanwhile you burn through write cycles. The correct action on flash is the built in erase, which tells the controller to discard the encryption key and mark every block free. Windows calls this part of Reset this PC, macOS does it through Disk Utility or Erase All Content and Settings, and most SSD vendors ship a tool that issues the drive's own sanitise command.
The real risk with modern storage is not recoverable fragments. It is the three accounts you forgot to sign out of, and a browser profile full of saved logins. I have never once seen data pulled off a reset phone outside a lab. I have seen a signed in email client on a sold laptop twice in two years.
Spend the extra half hour on account sessions, not on overwrite passes. That is where the exposure actually is.
The unencrypted Windows drive, and the things nobody counts as devices
If the device encryption check came back off and the machine has a mechanical hard disk, add one step. Before the reset, open Command Prompt as administrator and run the free space wipe built into Windows with the command cipher followed by the slash w switch and the drive letter, for example on the C drive. It takes one to four hours on a 500 GB disk and overwrites unallocated space, which is where deleted files live. For an unencrypted SSD, skip that and use the manufacturer's secure erase utility instead.
Then there is the category people forget entirely. A home router holds your wifi password and often a log of connected devices, so reset it with the pinhole button for ten seconds and confirm the network name reverts to the sticker default. An office printer with 2 GB of internal memory can hold scanned documents for months. A games console stores payment methods and a signed in account. A fitness tracker holds location history. A smart speaker holds voice recordings and your address. Any of these sold on without a reset passes your data along with the hardware, and the device page for each is usually under a settings menu called something like reset or deregister.
One last habit worth keeping: photograph the serial number and keep the receipt or sale message for a year. If the device turns up in a dispute, or a stolen property enquiry, that photograph is the cheapest insurance available. If instead you are dealing with a device you no longer have, the priority order is quite different and our guide on a lost or stolen phone and the first hour is the one to work through. More step by step walkthroughs of this kind sit in our guides section.
FAQ
Is a factory reset enough to protect my data?
On any encrypted device, yes. That covers all iPhones, Android 6 and later, Macs from 2018 onward, and most Windows laptops sold in the last five years. On an unencrypted Windows machine with a mechanical hard disk, add a free space overwrite before the reset.
Do I need to remove my Google account before resetting an Android phone?
Yes, and this is the step worth doing carefully. Factory Reset Protection can tie the phone to the last signed in account, and the buyer then cannot get past the setup screen. Remove the account in Settings first, then reset.
Should I physically destroy the drive instead?
Only if the device is dead or holds something you would be sued over. Drilling a disk or shredding a drive is final and it also removes the resale value, which on a working laptop is usually 100 to 400 dollars. For ordinary personal data, an encrypted reset is the proportionate answer.
What about the data my old phone left in the cloud?
Wiping the phone does not touch it. Photos, messages, call history and app backups stay in your account until you delete them there, which is correct if you want them and a problem if you were trying to reduce what is stored about you. Check the backup section of your account separately.
More in Guides
Guides
Lost or Stolen Phone and What to Do in the First Hour
Your pocket is empty, the phone is not in the car, and the panic is about more than the device.
Guides
How to Delete Old Online Accounts You Forgot About
Somewhere out there is a forum login you made in 2012, a shopping account from a store that closed, and a fitness app you used...
Guides
Social Media Privacy Settings to Change on Every Account
Your social media accounts probably share more than you think: your phone number, where you were last weekend, who your friends...