The phone sitting in your junk drawer or the laptop headed to a donation box isn’t just old hardware — it’s still logged into your email, your banking apps, your photos, and years of saved passwords. A factory reset feels like the finish line, but done in the wrong order it either leaves a new owner locked out of a device that isn’t theirs, or leaves your data sitting on a drive that’s no longer in your hands. Here’s the order that actually protects you, whatever happens to the device next.

Decide where it’s going first

The destination changes a couple of the steps, so settle it before you touch a setting. Selling or trading it in means it needs to boot up clean and pass an activation check for the next owner. Donating means the same, plus making sure it’s actually in working condition — a charity can’t use a device that won’t turn on. Recycling means the data matters far more than the cosmetics, since the device itself is headed for parts. Either way, the data steps below are non-negotiable.

Back up everything before you touch a setting

Once a device is wiped, anything you didn’t save is gone. Before you do anything else, make sure your photos, contacts, messages, and files are backed up somewhere else — a cloud backup, an external drive, or both. Give the backup a minute to actually finish syncing rather than trusting a progress bar; open it on another device afterward and confirm the recent stuff is really there.

Sign out and unlink it from your accounts

This is the step people skip, and it’s the one that causes the most headaches for whoever gets the device next — including a future you. Before resetting anything:

  • Sign out of your cloud, email, and app-store accounts on the device itself, not just on the account website.
  • Remove the device from your account’s trusted-device or “find my device” list. Left in place, this feature can lock a factory-reset device to your account permanently, which is exactly the mess that turns a clean sale or donation into a returned, unusable brick.
  • Unpair connected accessories — a watch, earbuds, or a smart-home hub that’s still tied to this device’s account.
  • Deauthorize the device in any subscription or media apps that limit how many devices can be signed in at once, so you don’t burn a slot on a device you no longer own.

Do the actual wipe

Once you’re backed up and signed out, the built-in factory reset or “erase all content” option is the right tool for almost every modern phone, tablet, and laptop. Current devices encrypt their storage by default, so resetting the encryption key makes the old data unreadable even before the reset finishes overwriting anything. For most people, that single step is genuinely enough.

The one exception is an older laptop with a traditional spinning hard drive rather than solid-state storage, or a device that ever held something unusually sensitive. In those cases, a standard reset can leave recoverable fragments behind. A dedicated disk-wiping tool that overwrites the whole drive closes that gap, and it’s worth the extra twenty minutes if the drive is going somewhere you can’t fully vouch for, like a recycler rather than a person you trust.

Whichever path it takes next — a new owner, a charity, or a recycler — the wipe checkpoint comes first.

Don’t forget the small stuff

  • Remove the SIM card and any memory or SD card — these aren’t touched by a factory reset and can carry contacts, texts, and files on their own.
  • Take off cases, screen protectors, and stickers if you’re keeping them for the replacement, and check for anything tucked in a laptop bag pocket — a stray adapter or cable that should stay with you.
  • Double-check paired peripherals one more time — a wireless mouse, a printer, or a car’s Bluetooth pairing list that still remembers the old device.

Choose a responsible next stop

A wiped, working device has real value, so it’s worth a few minutes matching it to the right destination instead of defaulting to the trash:

  • Sell it through a local marketplace or an electronics retailer’s trade-in program if it still works well — even a few generations old, it’s usually worth more than you’d guess.
  • Donate it to a school, shelter, or community organization that accepts working electronics; a device that’s outdated for you can still be someone’s first computer or backup phone.
  • Recycle it responsibly if it’s broken or too old to be useful. Many electronics retailers and local municipalities run e-waste drop-off programs specifically because these devices contain materials that shouldn’t go in household trash.

Whichever path it takes, never toss a phone, laptop, or tablet in with regular garbage — the batteries inside are a genuine fire and environmental hazard when they end up crushed in a landfill truck instead of handled properly.

An old device doesn’t need to sit in a drawer out of worry about what’s still on it, and it doesn’t need to leave your hands with your accounts still attached. Back it up, sign it out, wipe it properly, and hand it off to wherever it’ll actually get used again.

TLDR / Start hereBefore an old phone or laptop leaves the house: back up your photos and files, sign out and remove it from your “find my device” list, then run a full factory reset (add a disk-wiping tool for an older hard-drive laptop). Pull the SIM and memory cards, then sell, donate, or recycle it — never bin it.