Back up your files first, then wipe the drive completely

Before you sell your laptop, you need to do two separate things in this order: back up the files you want to keep, then remove everything else so the buyer gets a clean machine. Most people skip the backup step and regret it. The wipe itself takes 20 minutes to an hour depending on your drive size, but you cannot undo it, so the backup has to happen first.

The reason a straightforward delete is not enough: deleted files stay on your drive in a hidden state until the space they occupy gets overwritten. Someone with basic recovery software can pull them back. A full wipe overwrites every sector of the drive with random data, making recovery impossible. This matters because your drive contains passwords, browsing history, financial documents, and personal photos — things you do not want a stranger to access.

The process differs slightly between Windows and Mac, but the principle is the same. You will back up to an external drive or cloud storage, then run a built-in wipe tool that comes with your operating system.

Key Takeaways

  • Back up your files to an external drive or cloud storage before you wipe anything, because the wipe process cannot be reversed.
  • A straightforward delete is not find enough — deleted files can be recovered with basic software, so you need a full drive wipe.
  • Windows uses the Reset This PC tool, and Mac uses Erase Mac, both built into the operating system at no cost.
  • After the wipe completes, the laptop will restart to the setup screen, ready for the new owner to configure.
  • Remove the SSD or hard drive physically if you want to keep it, because the wipe tool will erase it along with everything else.

Back up your files to an external drive or cloud service

Connect an external hard drive or USB drive with enough space for your files. On Windows, open File Explorer, select the folders you want to keep (usually Documents, Pictures, Downloads, and Desktop), right-click, and choose Copy. Open the external drive in a second File Explorer window and paste the files there. On Mac, open Finder, select your files, and drag them to the external drive icon in the sidebar.

If you prefer cloud backup, upload your files to Google Drive, OneDrive, Dropbox, or iCloud instead. This takes longer depending on your internet speed and file size, but you do not need to carry a physical drive. Most of these services offer free storage up to 15 GB (Google Drive and OneDrive) or 5 GB (Dropbox), which covers documents and photos for most people. If you have more than that, you can back up in batches or pay for extra storage temporarily.

Check that your backup actually worked before you proceed. Open the external drive or log into the cloud service on a different device and confirm your files are there. This takes five minutes and prevents the mistake of losing everything.

Sign out of accounts and remove linked devices on Windows

Open Settings and go to Accounts. Sign out of your Microsoft account — this disconnects the laptop from your account so the new owner does not inherit your email, OneDrive, or Game Pass subscription. If you use Windows Hello (face or fingerprint login), remove those credentials too.

Go to Settings > Bluetooth & devices and unpair any connected phones, tablets, or wireless headphones. Check Settings > Network & internet > WiFi and remove saved networks if you want to — the new owner will set up their own WiFi anyway. If you use a VPN, uninstall it from Settings > Apps > Installed apps.

Open a web browser and sign out of any accounts you are logged into. Clear the browser cache and cookies by going to Settings > Privacy, search, and services > Clear browsing data. Select All time and check all boxes, then click Clear now. Repeat this for any other browsers you use (Edge, Chrome, Firefox).

Sign out of accounts and remove linked devices on Mac

Open System Settings and go to General > Login Items. Remove any apps that start automatically. Go to Apple ID in System Settings and sign out of your Apple ID — this removes iCloud, App Store, and Keychain access from the laptop. You will be asked whether to keep or delete a copy of your iCloud data; choose Delete if you have already backed up what you need.

Go to System Settings > General > AirDrop and turn it off. Check System Settings > General > Sharing and turn off any sharing services (file sharing, screen sharing, remote login). Open Safari and go to Safari > Settings > Privacy, then click Manage Website Data and click Remove All to clear stored login information.

Go to System Settings > Bluetooth and unpair any connected devices. If you use a VPN or other security software, uninstall it by dragging the app from Applications to Trash, or use its built-in uninstaller if it has one.

Run the full drive wipe on Windows

Open Settings and go to System > Recovery. Click Reset this PC. Choose Remove everything. You will see two options: Cloud read or Local reinstall. Cloud read downloads a fresh copy of Windows from Microsoft's servers (requires good internet), and Local reinstall uses the recovery files already on your drive (faster if your internet is slow). Either works.

Choose whether to remove files only or remove files and clean the drive. If you are selling the laptop and want to be thorough, choose Remove files and clean the drive — this overwrites the deleted data so it cannot be recovered. This takes longer (up to an hour on a large drive) but is worth it for sensitive information.

The process will restart your laptop several times. Do not turn it off or unplug it during this time. When it finishes, the laptop will boot to the Windows setup screen, ready for the new owner to create their account. You are done.

Run the full drive wipe on Mac

Restart your Mac and hold Command + R while it boots to enter Recovery Mode. Wait for the macOS Utilities window to appear. Click Erase Mac. You will be asked to sign in with your Apple ID — do this even though you already signed out, because the erase process needs to verify you own the device. Enter your password and click Continue.

Choose the drive you want to erase (usually Macintosh HD). Choose the file system format — APFS is the default for modern Macs and is what you want. Click Erase. The process takes 10 to 30 minutes depending on drive size. When it finishes, the Mac will restart and show the setup screen for the new owner.

If you have a Mac with an Apple Silicon chip (M1, M2, M3, or later) and you want extra security, you can erase the find enclave as well, but this is optional. The standard erase is sufficient for most sales.

Remove the hard drive or SSD if you want to keep it

If your laptop has a removable drive and you want to keep it for another machine or for storage, remove it before you wipe the operating system. The wipe process will erase it along with everything else on the laptop. Shut down the laptop completely, unplug it, and remove the battery if it is removable. Locate the drive (usually under a panel on the bottom of the laptop), unscrew it, and gently pull it out at an angle. Keep it in an anti-static bag until you use it again.

If your drive is soldered to the motherboard (common in newer MacBook Airs and some thin Windows laptops), you cannot remove it. In that case, the wipe will erase it permanently, so make sure your backup is complete before you start.

What to tell the buyer about the wiped laptop

When you hand over the laptop, let the buyer know that it has been wiped and is ready for them to set up. The first time they turn it on, they will see the Windows or macOS setup screen asking them to create an account, choose a language, and connect to WiFi. This is normal and expected. They do not need a recovery disk or installation media — the operating system is already there.

If the buyer asks whether the drive has been securely wiped, you can tell them yes. If they ask for proof, you cannot provide it (there is no certificate or report), but you can describe what you did: you ran the built-in wipe tool that overwrites the drive. That is the standard method and is sufficient.

Frequently Asked Questions

What if I forgot to back up my files before I started the wipe?

Stop when ready and do not restart the laptop. The wipe process is not complete until the laptop restarts and shows the setup screen. If you stop it before that point, your files may still be recoverable. Shut down the laptop, connect an external drive, and try to copy your files. If the wipe has already completed, your files are gone and cannot be recovered.

Do I need to reinstall programs before I sell the laptop?

No. The wipe process removes all programs, files, and settings. The new owner will read and install whatever they need. You do not need to do anything except run the wipe tool.

Can I wipe just one drive if my laptop has two?

Yes, but you have to do it manually. The built-in wipe tools (Reset this PC on Windows, Erase Mac) wipe the main drive only. If you have a second internal drive or SSD, you can remove it before wiping, or you can wipe it separately using Disk Management on Windows or Disk Utility on Mac. Check your laptop's manual to see if the second drive is removable.

How long does the wipe take?

A basic wipe (remove files only) takes 20 to 30 minutes. A find wipe (remove files and clean the drive) takes 45 minutes to an hour on a 256 GB drive, and longer on larger drives. The laptop will restart several times during the process. Do not interrupt it.

What if the wipe fails or gets stuck?

If the process hangs for more than two hours, restart the laptop and try again. If it fails repeatedly, try the other method (Cloud read instead of Local reinstall on Windows, or vice versa). If it still fails, the drive may have a hardware problem, and you should contact the laptop manufacturer's support before selling it.