← All guides

Wipe a drive before you sell, donate or recycle it

Beginner · 30 minutes to a few hours · Free guide

Deleting files or a quick format leaves your data recoverable. These steps follow the approach in NIST SP 800-88 (the US government guide to media sanitization): pick the right method for the drive type, then check the result. This guide follows that guidance; it is not a certification.

  1. Back up what you want to keep

    Copy anything you need to another drive or cloud storage, and open a few files from the backup to make sure they work. Nothing below can be undone.

  2. Find out what kind of drive it is

    In Windows, open Task Manager, go to Performance and click the disk: it says SSD or HDD. Spinning hard drives (HDD) and solid-state drives (SSD) need different methods.

  3. Easiest route for a whole PC: reset with drive cleaning

    Settings, System, Recovery, Reset this PC, Remove everything, then turn on Clean data. Windows overwrites the drive while it reinstalls itself. Good for a PC you are giving away in working order.

  4. Hard drive (HDD): overwrite it

    For a second drive, open Command Prompt as administrator and run diskpart, then list disk, select disk N (double-check the number), and clean all. That writes zeros to every sector and can take hours on a large drive.

  5. SSD: use the maker's secure erase

    Overwriting is unreliable on SSDs because of how they store data. Use the drive maker's free tool (Samsung Magician, Crucial Storage Executive, WD Dashboard and others) and choose Secure Erase or Sanitize. If the drive was encrypted with BitLocker from the start, deleting the encryption and resetting is also strong.

  6. Check the result

    Plug the drive into another PC. It should show as empty and unformatted. A free file-recovery tool should find nothing worth recovering.

  7. If the drive is dead or you are unsure: destroy it

    A drive that will not power on cannot be wiped. Drill through the platters of an HDD or the memory chips of an SSD, or use a certified e-waste shredding service.

Checklist

  • Backup made and tested
  • Drive type confirmed (HDD or SSD)
  • Right method chosen for the drive type
  • Wipe completed without errors
  • Drive checked on another PC: empty
  • Dead drives physically destroyed
  • Date, drive model and serial number written down
Download checklist

Rather have it done for you?

Max does this work professionally. Send a note with what you need and you will get a reply by email.