sodcalculator

10 Tech How-To

How to Wipe Your Computer Before Selling It

Guide 10-47825 · Updated · Step by step

Before you hand over your old computer, a simple delete isn’t enough. This guide walks you through securely erasing your personal data, signing out of accounts, and restoring the system to a clean state, so the next owner gets a blank device and your information stays out of reach.

What You’ll Need

  • Your computer and its power cable (keep it plugged in during the process)
  • An external backup drive or cloud storage to save any files you want to keep
  • Your account passwords (Microsoft, Apple, Google, etc.) to sign out and deauthorize
  • For Windows: a USB drive (8GB or larger) if you want to reinstall Windows from scratch
  • For Mac: internet access (for macOS Recovery)

Step-by-Step

Before You Start

  1. Back up everything you want to keep. Copy documents, photos, videos, and any other personal files to an external drive or cloud service. Double-check that the backup is complete and accessible before proceeding.
  2. Deauthorize software and sign out of accounts. For Windows, sign out of Microsoft Store, Office, and other apps. For Mac, sign out of iCloud, iTunes, and iMessage. Also deauthorize your computer in apps like Adobe or Spotify if you use them.
  3. Unlink hardware devices. If you have a Bluetooth mouse, keyboard, or other paired devices, remove them from the Bluetooth settings.

Windows 10/11

  1. Open Settings. Click the Start button, then the gear icon (or press Win+I).
  2. Go to Update & Security > Recovery. In Windows 11, it’s System > Recovery.
  3. Click “Reset this PC” and then “Get started”.
  4. Choose “Remove everything”. This will delete all files, apps, and settings.
  5. Select “Change settings” and turn on “Clean the data?” (or “Data erasure”) – this makes the reset more thorough, though it takes longer. If you don’t see this option, your PC may not support it; the standard reset is still acceptable for most cases.
  6. Click “Next” and then “Reset”. The computer will restart and begin the process. It can take an hour or more, so keep it plugged in.
  7. After the reset, go through the initial setup until you reach the desktop. Then, shut down the PC. The new owner will see the “out of box” experience when they turn it on.

macOS (Monterey and later)

  1. Restart your Mac. Click the Apple menu > Restart.
  2. Immediately hold down Command+R. Keep holding until you see the Apple logo or a spinning globe.
  3. In macOS Recovery, select “Disk Utility” and click Continue.
  4. Select your startup disk (usually named “Macintosh HD”) in the sidebar.
  5. Click “Erase” in the toolbar. Choose APFS (or Mac OS Extended for older Macs) as the format, and GUID Partition Map as the scheme.
  6. Click “Erase” again, then close Disk Utility.
  7. Select “Reinstall macOS” from the Recovery menu and click Continue. Follow the on-screen instructions to install a fresh copy of the operating system.
  8. When the installation completes, the Mac will restart to the setup assistant. At this point, shut down the Mac (hold the power button). The new owner can set it up as their own.

Alternative: Use a Data Wiping Tool

  1. If you’re extra cautious or the built-in reset fails, use a dedicated wiping tool. Download a tool like DBAN (for PCs) or use the “Erase” feature in Disk Utility on Mac.
  2. Follow the tool’s instructions to overwrite the entire drive with random data. This is more thorough than a standard reset and is recommended if you had sensitive data like financial records.

Common Mistakes

  • Not backing up first. The most common and painful mistake. Always verify your backup before wiping.
  • Choosing “Keep my files” instead of “Remove everything”. This leaves your personal data on the drive, which the next owner could recover.
  • Skipping the “Clean the data” option on Windows. A standard reset can often be undone with recovery software.
  • Forgetting to sign out of accounts. The new owner might be able to access your iCloud or Microsoft account if you don’t sign out.
  • Not deauthorizing software. You may lose a license activation, and the buyer might have trouble using the software.
  • Interrupting the reset. Let it finish completely; unplugging mid-reset can corrupt the system.

Tips

  • Use a wired keyboard and mouse. Bluetooth devices can disconnect during recovery, making it hard to proceed.
  • Keep the computer plugged in. A power loss during a wipe can render the system unbootable.
  • Check for any data on external drives or SD cards. Remove them before starting.
  • If you’re selling, include the original power adapter and any manuals. A complete package often sells faster.
  • After the wipe, do a quick test. Boot the computer once to ensure it reaches the setup screen before handing it over.

Troubleshooting

  • Reset fails with an error. Try again after restarting. If it persists, use a USB installation media (Windows) or reinstall via Internet Recovery (Mac) to perform a clean install, which also erases data.
  • Can’t access Recovery Mode on Mac. Try Command+Option+R to load Internet Recovery, or use a bootable installer on a USB drive.
  • Computer is stuck on a blue or black screen. Force a restart by holding the power button for 10 seconds, then try again. If it still fails, you may need to use a recovery drive or seek professional help.
  • You forgot to back up a file. Stop the wipe immediately if it’s still running. If it’s too late, you may need data recovery software, but success is not guaranteed after a full wipe.
  • The “Clean the data” option is greyed out. This can happen if the drive is not properly detected. Try updating your BIOS or using a third-party wiping tool.

Frequently Asked Questions

Is a factory reset the same as wiping?

Not exactly. A factory reset restores the system to its original state, but it may not completely overwrite your data. To ensure data is unrecoverable, use the “Clean the data” option or a dedicated wiping tool.

How long does a full wipe take?

It depends on the size of your drive and the method. A standard reset can take 30 minutes to 2 hours. A thorough wipe with data overwriting can take several hours.

Do I need to remove the hard drive and destroy it?

Only if the data is extremely sensitive (e.g., medical records, financial accounts) and you’re still paranoid. For most people, a proper wipe is sufficient. If you do remove it, you’ll need a replacement drive to sell a working computer.

Will wiping the computer remove the operating system?

Yes, the reset removes the OS and reinstall a fresh copy. On Windows, the reset will reinstall Windows. On Mac, you’ll need to reinstall macOS after erasing the drive.

What if I can’t boot the computer at all?

If the computer won’t start, you can still wipe the drive by removing it and connecting it to another computer as an external drive, then using a wiping tool. Alternatively, you can physically destroy the drive.

Can I just delete my files and empty the recycle bin?

No. Deleted files can be recovered with free software. A proper wipe overwrites the data so it’s unrecoverable.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →