ISO-certified Class 100 cleanroom • Secure chain of custody • 30,000+ successful recoveries
ClearQuote Data Recovery
Home›Guides›Prevention
Prevention

How to Wipe or Destroy a Hard Drive So Data Can't Be Recovered

Updated October 2, 2026 •7 min read

We spend our days getting data back from drives people thought were empty, so we know which “erase” methods actually work. If you’re selling, donating, recycling, or throwing out a computer, here’s how to wipe a hard drive properly, why SSDs need a different approach, and when physical destruction or professional hard drive shredding is the better call.

What doesn’t erase your data

These feel final but leave the data in place:

  • Deleting files and emptying the Trash or Recycle Bin. This only marks the space as available. The files stay on a hard drive until something overwrites them.
  • A quick format. It writes a fresh, empty file system and leaves the old data underneath. Recovery software can often read it straight back.
  • Reinstalling the operating system. It overwrites some areas but leaves much of the old data untouched.

See quick format vs full format for exactly what each option does.

How to wipe a hard drive (HDD)

On a traditional spinning hard drive, overwriting every sector is what defeats recovery. You don’t need dozens of passes. NIST’s media sanitization guidelines (SP 800-88) treat a single overwrite pass, such as writing zeros, as sufficient to “clear” data from modern hard drives against software and lab recovery techniques. The old advice about 7 or 35 passes was designed for drive technology that’s decades out of date.

Windows: reset this PC with drive cleaning

To wipe the computer’s own drive before selling or donating it:

  1. Open Settings and search for Reset this PC.
  2. Choose Remove everything.
  3. Turn on the drive-cleaning option. In Windows 11 it’s under Change settings > Clean data; in Windows 10 it appears as Clean the drive (or Data erasure), depending on version.
  4. Let it run. Cleaning can take hours on a large hard drive.

Windows: full format or diskpart for a second drive

  • Full format: in File Explorer or Disk Management, format the drive with Quick Format unchecked. Since Windows Vista, a full format writes zeros to every sector of the volume.
  • diskpart clean all: in an administrator Command Prompt, diskpart, then list disk, select disk N, and clean all writes zeros to the entire disk, not just one partition. Triple-check the disk number. This is irreversible.

macOS: Disk Utility security options

For a hard drive, select it in Disk Utility, click Erase, and open Security Options. Choose a setting that overwrites the drive at least once. Apple doesn’t show these options for SSDs, and for good reason.

One limitation of overwriting

Sectors a drive has already retired as bad (see Reallocated Sector Count) are no longer addressable, so a normal overwrite can’t reach them. They usually hold only small fragments, but for sensitive data, the drive’s built-in ATA Secure Erase or Sanitize command (available through many manufacturer tools and some BIOS/UEFI setups) also covers those areas. When in doubt, combine a wipe with physical destruction.

How to wipe an SSD

SSDs don’t work like hard drives. Wear leveling constantly moves data between flash cells, and every SSD has hidden spare capacity the computer can’t address. Overwriting the drive from Windows or macOS can leave old copies of data in blocks you never touched.

Use one of these instead:

  • Manufacturer Secure Erase or Sanitize. Most SSD toolkits (Samsung Magician, WD Dashboard, Crucial Storage Executive, and others) include a Secure Erase or Sanitize function that tells the drive’s controller to erase all of its flash, including spare areas. Many business laptops also include a drive-wipe utility in the BIOS/UEFI setup.
  • Crypto-erase. If the drive was encrypted with BitLocker or FileVault, the data is unreadable without the key. Erasing the drive (or resetting the computer) destroys the key, which leaves the remaining data as noise. This works best when encryption was turned on from the start, before the sensitive data was written.
  • Macs with Apple silicon or a T2 chip encrypt internal storage at all times. Erase All Content and Settings (in System Settings > General > Transfer or Reset) wipes the drive by discarding the keys.

Phones and tablets

Modern iPhones and Android phones encrypt their storage by default, so a factory reset destroys the encryption keys and is effective on its own. Before resetting:

  • Back up anything you want to keep.
  • Sign out of your accounts (Find My on iPhone, your Google account on Android) so the next owner isn’t blocked by activation lock.
  • Remove SIM and memory cards; a microSD card is separate storage and needs its own wipe or destruction.

When to destroy the drive instead

Physical destruction makes sense when a drive won’t power on (so you can’t wipe it), when it held highly sensitive business or regulated data, or when you simply want certainty.

Professional hard drive shredding

For secure data destruction at any scale, a professional shredding service is the most thorough option. Industrial shredders reduce drives to small fragments, and reputable services provide a certificate of destruction listing each drive’s serial number, which matters for businesses with compliance requirements. Many offer on-site shredding so drives never leave your premises. Look for a provider with recognized industry certification, such as NAID AAA. ClearQuote doesn’t offer shredding; this is a job for a dedicated destruction provider.

Destroying a hard drive yourself

If you want to destroy a hard drive at home:

  • Drill several holes straight through the platters, not just the circuit board. Wear eye protection; some platters are glass and shatter.
  • Smashing only the circuit board doesn’t work. Labs replace boards routinely.

DIY destruction makes recovery impractical for almost anyone, but it isn’t complete: undamaged sections of a platter can still hold data. For SSDs, every flash chip on the board must be physically destroyed, and a hole through the case can miss them entirely.

Degaussing erases hard drives magnetically (and makes them unusable) but has no effect on SSDs or flash memory.

How to dispose of old hard drives

  1. Copy off anything you need, and confirm the copy opens on another device.
  2. Wipe the drive using the right method for its type, or destroy it if it’s dead or highly sensitive.
  3. Recycle it as e-waste. Drives contain metals and electronics that shouldn’t go in household trash. Many electronics retailers and local programs accept them.

Before you wipe, make sure you have your data

A proper wipe is permanent by design, and that includes for us: once a hard drive has been fully overwritten, no lab can bring the files back. The real risk is wiping a drive before you’ve confirmed the backup is complete. Before you erase anything, check that your backup actually contains what you need; the 3-2-1 backup rule is a good standard. If the drive is encrypted, make sure you also have your BitLocker recovery key for any copies that depend on it.

The bottom line

Deleting and quick formatting don’t erase anything. For a hard drive, one full overwrite (a Windows full format, Reset this PC with drive cleaning, or Disk Utility’s security options) is enough under NIST’s guidelines. For an SSD, use Secure Erase, Sanitize, or crypto-erase rather than overwriting. For sensitive or dead drives, use a professional shredding service with a certificate of destruction.

And if a drive failed before you could copy your files off, get the data back first, then destroy it. Our hard drive recovery service recovers failed drives for one flat $1,200 price per device, with free prepaid shipping, and you pay nothing unless the recovery succeeds.

Get your data back for one clear price.

Confirm online, ship free, and pay nothing unless we succeed.

Confirm & get my free label