How to Wipe Your Phone or Laptop Before You Sell It
A factory reset is the last step of selling a device, not the first. Do it in the wrong order and you can brick the phone for its new owner, leave your accounts signed in on a stranger’s hardware, or — the classic — erase the only copy of five years of photos. Here’s the full prep-then-wipe sequence, for every major platform.
A couple I know in Denver sold their old MacBook at a garage sale last spring, wiped and ready — or so they thought. Two weeks later the buyer knocked on their door, polite but frustrated: the laptop booted to a screen demanding the previous owner’s Apple Account password. It was Activation Lock, doing exactly what it’s designed to do, which is make a used Apple device worthless to anyone who isn’t the original owner. The seller had erased the Mac without signing out of iCloud first, and the machine was now an expensive paperweight with somebody else’s name welded to it. They sorted it out in an afternoon, but the awkwardness was entirely avoidable, and it illustrates the central truth of selling electronics: the erase button is the easy part. The hour of preparation before you press it is where every real mistake lives. This guide is that hour, laid out in the correct order — back up, sign out, unlock, unpair, deauthorize, remove the SIM — and then the actual erase instructions for iPhone, Android, Windows, and Mac, plus an honest explanation of how thoroughly your data is really gone.
Why the Order Matters More Than the Erase
Every modern device fights you a little, on purpose
Once upon a time, wiping a computer meant formatting the drive and walking away. Modern devices are deliberately more stubborn. Apple, Google, and Microsoft all now tie hardware to your online account with anti-theft locks: Apple’s Activation Lock, Android’s Factory Reset Protection, and Microsoft’s device registration in your account dashboard. These are excellent features — they’re why phone theft is less profitable than it was a decade ago — but they have a side effect. If you erase a device without properly releasing it from your account first, the device still belongs to you as far as its maker is concerned, and the next owner hits a wall at the setup screen.
The second ordering problem is data. Erasing is one-way. Whatever wasn’t backed up beforehand is gone the moment the wipe finishes, and people routinely discover the gap weeks later: the photos that never synced, the two-factor authenticator app whose codes lived only on the phone, the password manager export nobody made. There’s no undo, no recovery tool that reliably helps on a modern encrypted device — which, as we’ll see, is the very thing that makes the wipe effective in the first place.
So the sequence below isn’t fussy ritual. It’s the only order that avoids the three classic disasters: a bricked device the buyer can’t activate, an account still signed in on hardware you no longer control, and personal data that vanished with the old phone. Follow it top to bottom and the erase itself takes five minutes and zero anxiety.
Step 1: Back Up Everything, Then Verify the Backup
Not “I think it syncs” — actually check
Before anything else, make a complete backup and then prove to yourself that it works. This is the step everyone rushes and the only step with no recovery path if skipped.
iPhone and iPad: Go to Settings > your name > iCloud > iCloud Backup and tap Back Up Now, on Wi-Fi, plugged in. When it finishes, note the timestamp it shows — “last successful backup: just now” is what you want to see. If your new iPhone is already in hand, the even better route is Quick Start: hold the new phone next to the old one and transfer everything directly, device to device, which captures things cloud backups occasionally miss. If you’re moving to Android, Google has a Switch to Android app that walks your photos, contacts, and calendar across.
Android: Open Settings > Google > Backup (the path varies slightly by manufacturer) and confirm backup is on and current. Samsung owners have a second option, Smart Switch, which can back up everything — including app layouts and call logs — to a computer or an SD card. For photos, open Google Photos and scroll to the top: if it says “Backup complete,” you’re fine; if it shows a count of items waiting, plug in and let it finish.
Windows: The honest answer is that Windows has no single full-device backup most people use, so do it in layers. Make sure your Documents, Pictures, and Desktop are syncing to OneDrive or copied to an external drive, and export your browser passwords and bookmarks if you’re not signed into a sync account. If you want the belt-and-suspenders version, Windows’ built-in Backup app (or a full system image to an external drive) captures the lot.
Mac: Time Machine to an external drive is the canonical answer — connect the drive, let the backup complete, and confirm the latest snapshot exists by entering Time Machine and browsing a folder or two. If you live in iCloud Drive and Photos already, spot-check that recent files actually appear on another device or at icloud.com.
Whichever platform you’re on, spend two minutes on the verification half of this step. Open the backup — browse the photos from another device, find a recent file, confirm your contacts synced. A backup you’ve never looked inside is a rumor, not a backup. Pay special attention to anything that lives only on the device: two-factor authenticator apps are the notorious one (export or transfer them per the app’s own instructions before you wipe), along with voice recorder apps, note apps with local-only storage, and game saves that never touched the cloud.
Step 2: Sign Out of iCloud, Google, and Microsoft
This is what actually releases the device from your name
Signing out of your primary account is the step that matters most, because on modern platforms it does double duty: it removes your account and data from the device, and it begins releasing the anti-theft lock.
iPhone and iPad: Go to Settings > your name, scroll all the way to the bottom, and tap Sign Out. You’ll be asked for your Apple Account password — this is the moment Find My iPhone and Activation Lock get switched off, which is exactly what you want before a sale. Choose not to keep local copies of anything; you’re about to erase the device anyway.
Android: Open Settings > Passwords & accounts (or Accounts), tap your Google account, and choose Remove account. On Samsung phones, remove your Samsung account the same way. Removing the Google account before a factory reset matters because of Factory Reset Protection: a phone reset without the account removed will demand that same Google login during the next setup, and your buyer will be staring at a screen they can’t pass.
Windows: Sign out of your Microsoft account in Settings > Accounts, then — importantly — visit account.microsoft.com/devices from any browser after the wipe and remove the PC from your device list. Also deauthorize the device from any app store purchases that count installations, and sign out of your browser’s sync profile.
Mac: On modern macOS, open System Settings > your name, scroll down, and click Sign Out. Keep in mind this turns off Find My Mac and releases Activation Lock on Apple silicon and T2-chip Macs. If you’re running the current macOS with Erase All Content and Settings (covered below), the erase assistant handles most of this for you — but signing out manually first is never wrong, and on older systems it’s essential.
Step 3: Confirm Find My and Activation Lock Are Off
The garage-sale disaster, prevented in sixty seconds
Signing out usually disables Find My automatically, but “usually” isn’t good enough when the consequence is a bricked device and an unhappy stranger at your door. Verify explicitly.
On iPhone, go to Settings > your name > Find My and confirm Find My iPhone is off. On Android, there’s no separate toggle to kill — removing the Google account is the release — but if you ever enabled a manufacturer service like Samsung’s Find My Mobile, turn that off in Settings > Security and privacy too. On Mac, check System Settings > your name > iCloud > Find My Mac and make sure it shows off.
There’s one more belt-and-suspenders move worth doing after the erase: remove the device from your account’s device list entirely. For Apple, sign in at account.apple.com (or open Find My on another Apple device) and remove the sold hardware. For Google, visit myaccount.google.com/device-activity and sign the device out. This severs the last thread connecting your identity to a machine that now belongs to someone else.
Step 4: Unpair, Deauthorize, and Cut the Loose Ends
The small stuff that bites later
Now the mop-up list. None of these take more than a minute, but each one is a known gotcha that surfaces after the device is gone.
Unpair your wearables and accessories. An Apple Watch is the critical one: open the Watch app on your iPhone, tap All Watches > the info button > Unpair Apple Watch. This isn’t just tidiness — unpairing through the app is what removes the watch’s own Activation Lock, and it creates a fresh backup of the watch in the process. Unpair Bluetooth accessories in Settings as well, mostly so they connect cleanly to your next device.
Deregister iMessage if you’re leaving the iPhone world. If you’re switching to Android, turn off iMessage in Settings > Apps > Messages before you remove your SIM, or your iPhone-owning friends’ texts will vanish into a blue-bubble void for weeks. If the iPhone is already wiped, Apple has a web-based deregistration tool, but doing it on the device is far less painful.
Deauthorize your computer from media purchases. Apple’s Music and TV apps allow a limited number of authorized computers per account. Open the Music or TV app on the Mac or PC you’re selling, go to Account > Authorizations > Deauthorize This Computer. If you forget, it’s fixable — you can deauthorize all computers from your account page once per year — but it’s cleaner to do it while the machine is in front of you.
Remove the SIM and deal with the eSIM. Physical SIM: eject the tray, pocket the card. It carries your phone number and carrier identity, and it has no business in a sold phone. eSIM: on iPhone, the erase flow asks whether you want to erase the eSIM — say yes (your carrier moves your number to the new phone separately, so this only clears the sold device). On Android, look for the eSIM erase option during reset or in Settings > Network & internet > SIMs. And don’t forget the microSD card if your Android has one — pop it out, or erase it separately if it’s going with the phone.
Sign out of everything else and scrub the leftovers. Log out of your password manager, your email apps, your social accounts — anything that keeps a live session. If you set up the device as a trusted device for two-factor codes, remove it from those lists now, from the service’s security page, while you can still reach the settings.
Step 5: Erase the Device, Platform by Platform
Finally — the easy part
iPhone and iPad
Go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. The phone shows you a summary of what’s about to be removed, asks for your passcode and Apple Account password, and then wipes itself and reboots to the “Hello” setup screen. That Hello screen is your finish line: when the device boots to a multilingual welcome instead of a home screen, it’s ready to sell. If the phone isn’t in your hands — you shipped it already, say — you can erase remotely from Find My at icloud.com, then remove it from your account, which is the correct long-distance version of this whole procedure.
Android
The path is Settings > System > Reset options > Erase all data (factory reset) on stock-ish Android, or Settings > General management > Reset > Factory data reset on Samsung. Confirm, enter your PIN, and the phone reboots into a clean setup wizard. Two Android-specific notes. First, if you ever encrypted the SD card or set a separate work profile, those get wiped too — fine, but make sure the backup caught them. Second, if the phone runs anything older than Android 6 (rare now, but they exist in drawers), encrypt the phone manually in Settings before resetting, because those old versions didn’t encrypt by default and a plain reset on them is genuinely recoverable. Anything modern is encrypted out of the box.
Windows
Open Settings > System > Recovery > Reset this PC and choose Remove everything. You’ll get a choice between cloud download and local reinstall — either is fine — and then a crucial extra screen: click Change settings and turn on Clean data. That toggle makes Windows overwrite the drive rather than just deleting file references, which matters if the machine has an older spinning hard drive (more on why below). On a machine with a solid-state drive, the normal reset combined with default device encryption is sufficient for almost everyone. When it finishes, the PC boots to the out-of-box setup experience — stop there. Don’t create a test account “just to check”; the buyer should be the one to walk through first-run setup.
Mac
Macs split into two generations, and the right procedure depends on which you have. Click the Apple menu > About This Mac: if it lists a chip (M1, M2, M3, M4), you have Apple silicon; if it lists a processor (Intel Core something), you have an Intel Mac.
Apple silicon Macs (and T2 Intel Macs) on recent macOS get the best erase feature Apple has ever shipped: Erase All Content and Settings, found in System Settings > General > Transfer or Reset. It works like the iPhone version — an assistant walks you through signing out, then cryptographically destroys the data volume and leaves you at a fresh setup screen, all in a few minutes with no reinstall marathon. If your Mac offers this option, take it. It’s the single least painful wipe in this entire article.
Older Intel Macs without that option need the traditional route: sign out of iCloud and iMessage, deauthorize Music/TV, then restart into macOS Recovery (hold Command-R at the chime), open Disk Utility, erase the startup volume as APFS (or Mac OS Extended on genuinely old systems), quit Disk Utility, and choose Reinstall macOS. The reinstall downloads a fresh copy of the OS over Wi-Fi, so allow an hour or two. When it finishes and shows the setup assistant, press Command-Q to shut down — again, the buyer gets the first-run experience.
| Platform | Erase path | The one thing to check first |
|---|---|---|
| iPhone / iPad | Settings > General > Transfer or Reset > Erase All Content and Settings | Find My iPhone off via Apple Account sign-out |
| Android | Settings > System (or General management) > Reset > Factory data reset | Google account removed first, or the buyer hits Factory Reset Protection |
| Windows | Settings > System > Recovery > Reset this PC > Remove everything | Enable “Clean data” on HDD machines; remove PC from account.microsoft.com after |
| Mac (Apple silicon / T2) | System Settings > General > Transfer or Reset > Erase All Content and Settings | Signed out of iCloud; Find My Mac off |
| Mac (older Intel) | Recovery (Command-R) > Disk Utility > erase > Reinstall macOS | iCloud sign-out, iMessage, and Music/TV deauthorization first |
SSD vs. HDD: Is a Factory Reset Really Enough?
Short answer: on anything modern, yes — encryption does the heavy lifting
This is the question that launches a thousand forum arguments, so let’s settle it plainly. Old advice said deleting files isn’t enough because data lingers on the drive until overwritten — and that advice was correct, for spinning hard drives without encryption. Two things have changed.
First, everything is encrypted now. Every iPhone since roughly forever, every Android phone since about 2016, every Apple silicon Mac, every modern Windows laptop with device encryption enabled — all of them encrypt their storage by default, with keys tied to your passcode. When you factory-reset an encrypted device, the reset destroys the encryption keys. Without the keys, the data underneath is indistinguishable from random noise, permanently, to anyone. This is why “erase” on a modern phone takes two minutes instead of two hours: nothing needs to be overwritten because nothing readable existed in the first place. For the overwhelming majority of people selling a phone or laptop, the standard factory reset is genuinely, technically sufficient.
Second, SSDs changed the overwrite game. The classic secure-erase tools — the ones that overwrite a drive with random data seven times — were designed for magnetic hard drives, where overwriting a sector actually overwrote that sector. Solid-state drives don’t work that way. They shuffle data around internally through wear-leveling and keep spare blocks you can’t address, which means an overwrite tool can’t guarantee it hit every physical cell — and every extra full-drive write also burns a noticeable slice of the SSD’s finite write lifespan. So on SSDs, the old tools are both less effective and mildly harmful. The correct modern tools are the drive’s own firmware commands (a “Secure Erase” or crypto-erase issued to the drive itself) or, more practically, the encryption trick: if the data was encrypted before the wipe, key destruction beats overwriting anyway.
Where does that leave the edge cases? If you’re selling an older desktop with a spinning HDD, use the overwrite option — Windows’ “Clean data” toggle during reset, or Disk Utility’s Security Options slider on an old Mac. If the device held genuinely sensitive material and you want certainty beyond “encrypted, keys destroyed,” a Mac’s FileVault plus Erase All Content and Settings, or a BitLocker-encrypted Windows reset with clean-data enabled, puts you well past any realistic forensic recovery. And if the drive itself is dead or the data was catastrophic enough that you can’t trust any software path, the industry-standard answer is physical: remove the drive and destroy it, and sell the machine without storage. For a normal person’s photos, messages, and tax PDFs on an encrypted modern device, though, the built-in erase is the whole job. The people telling you to run seven-pass overwrites on your iPhone are describing a threat model from 2009.
Before You Hand It Over
A two-minute final inspection
The device is wiped. Two last checks before it changes hands. First, power it on and confirm it boots to the first-run setup screen — Hello on iPhone, the setup wizard on Android and Windows, the language chooser on Mac — and that no point in that setup asks for your account credentials. If it does, the activation lock is still attached; sign in, release it properly, and erase again. Second, after the buyer walks away happy, spend one minute at your account’s device list — account.apple.com, myaccount.google.com, account.microsoft.com — and remove the sold hardware. Your old devices accumulate in those lists like trophies, and each one is a small dangling thread between your accounts and a stranger’s shelf.
Then wipe your hands of it, literally and figuratively. The person who bought your phone got a clean device that activates without drama, you got a sale with no follow-up knock at the door, and the photos of your dog are safe in a backup you actually verified. That’s the whole job — and now that you’ve done it once in the right order, every future upgrade gets an hour easier.
This article is educational and reflects iOS, Android, Windows, and macOS behavior as of August 2026; menu names shift slightly between versions and manufacturers. Official references: Apple Support (erase, Activation Lock, unpairing, deauthorization), Google Support (factory reset, Factory Reset Protection), and Microsoft Support (Reset this PC). No affiliate links or sponsored content. External links verified live at publication, August 2026.