What "completely wipe" actually means and why it matters

A completely wiped hard drive means the data on it cannot be recovered, even with specialized tools. When you delete a file normally — or even when you format a drive — the file markers disappear but the actual data stays on the disk. Someone with the right software can still read it. A complete wipe overwrites that data with random information, making recovery impossible.

This matters when you sell, donate, or recycle a computer. Your drive may contain passwords saved in browsers, tax documents, medical records, or photos you thought you deleted years ago. A buyer or refurbisher with basic recovery tools can access all of it. A complete wipe prevents that.

The method you use depends on your operating system and whether your drive still works. If the drive is physically damaged or won't power on, physical destruction is the only reliable option.

Key Takeaways

  • Normal deletion and formatting leave your data readable to recovery software; a complete wipe overwrites it with random data so it cannot be recovered.
  • Windows includes Cipher for wiping free space and Reset This PC for wiping the entire drive; macOS includes Erase Free Space and Reinstall macOS; Linux includes shred and dd.
  • If your drive still powers on and boots, use your operating system's built-in wipe tool rather than third-party software.
  • If the drive does not power on or shows signs of physical damage, physical destruction (drilling, degaussing, or professional shredding) is the only reliable method.
  • After wiping, reinstall the operating system or leave the drive blank so the next owner cannot recover anything.

Wiping a working drive on Windows

If your Windows computer still powers on and runs, use the built-in Reset This PC tool. Go to Settings > System > Recovery and select Reset This PC. Choose "Remove everything." Windows will ask whether to remove files locally or cloud-based files; select the option that matches where your files are stored. The process takes 30 minutes to several hours depending on drive size.

Reset This PC overwrites your files and reinstalls Windows. If you want to wipe only the free space (data you already deleted), use Cipher instead. Open Command Prompt as Administrator and type cipher /w:C: (replace C with your drive letter). This overwrites empty space with random data. It takes longer but leaves Windows intact if you plan to keep using the computer.

For maximum security, run Cipher multiple times. One pass is usually enough for personal use, but running it three times makes recovery harder even for someone with professional tools.

Wiping a working drive on macOS

On a Mac that still works, the safest method is to reinstall macOS from scratch, which wipes the drive in the process. Restart your Mac and hold Command + R to enter Recovery Mode. Select Disk Utility, choose your drive, and click Erase. Name it anything you want and select APFS as the format (or Mac OS Extended if your Mac is older). Then exit Disk Utility and select Reinstall macOS.

If you want to wipe only free space without reinstalling, open Disk Utility, select your drive, and look for the Erase Free Space option (available on some macOS versions). This overwrites deleted files with random data. Like Cipher on Windows, it leaves your operating system intact.

After erasing, your drive will be blank or have a fresh copy of macOS. Either way, no previous data can be recovered.

Wiping a working drive on Linux

Linux users have two main tools: shred and dd. Shred overwrites individual files or free space. Open a terminal and type shred -vfz -n 3 /path/to/file to shred a specific file three times (the -n 3 flag). To shred all free space, type shred -vfz -n 3 /home (or whichever partition holds deleted files).

The dd command is more thorough but also more destructive. It overwrites the entire drive with random data. Type dd if=/dev/urandom of=/dev/sdX bs=1M (replace sdX with your drive letter, found by running lsblk). This takes hours on large drives and cannot be undone, so verify the drive letter before running it.

After using either tool, reinstall Linux or leave the drive blank.

When the drive does not power on or shows physical damage

If your computer will not start, the drive makes clicking sounds, or you see visible damage, software wiping will not work. Physical destruction is the only reliable method.

The simplest option is to drill through the drive platters. Remove the drive from the computer (usually four screws), use a power drill with a metal bit, and drill multiple holes through the metal casing and the shiny platters inside. This destroys the data physically and takes five minutes. Wear safety glasses and gloves.

If you do not want to drill, take the drive to a professional data destruction service. They use industrial shredders or degaussers (machines that erase magnetic data). Search for "hard drive destruction near me" or "e-waste recycling" in your area. Most charge $10 to $30 per drive. This is worth the cost if the drive contains sensitive business or medical information.

Do not throw an undestroyed drive in the trash or recycling bin. Recycling centers do not wipe drives before reselling them.

What to do after wiping

After you wipe the drive, decide what to do with the computer. If you are selling it, reinstall the operating system so the buyer has a working machine. If you are donating it, the organization usually handles the reinstall. If you are recycling it, you can leave the drive blank.

Before handing over the computer, power it on one more time and verify that no personal files appear. Check the Documents, Downloads, and Desktop folders. Look in the browser history and saved passwords (Settings > Passwords on most systems). If anything personal remains, wipe again.

Keep a record of what you wiped and when, especially if the computer contained business or medical data. This protects you if someone later claims to have recovered information from it.

Frequently Asked Questions

Does formatting a drive do the same thing as wiping it?

No. Formatting removes the file system but leaves the actual data on the disk. Recovery software can still read it. A complete wipe overwrites the data itself, making recovery impossible. Always use a wipe tool, not just format.

How many times should I overwrite the data?

For personal use, one pass is usually enough. For sensitive information, three passes makes recovery much harder. The military standard is 7 passes, but that is overkill for most people and takes much longer. One to three passes is a reasonable balance.

Can I wipe a drive while it is still inside the computer?

Yes, as long as the computer powers on. Use your operating system's built-in wipe tool (Reset This PC on Windows, Reinstall macOS on Mac, or dd on Linux). You do not need to remove the drive. If the computer will not power on, remove the drive and either drill it or take it to a professional service.

What if I only want to wipe certain files, not the whole drive?

Use shred on Linux or Cipher on Windows to overwrite free space, which destroys deleted files without touching the operating system. On Mac, use Erase Free Space. This is faster than wiping the entire drive if you want to keep the computer working.

Is it safe to drill a hard drive myself?

Yes, if you take basic precautions. Wear safety glasses and gloves. find the drive so it does not spin. Use a metal drill bit and drill multiple holes through the platters. The drive will be destroyed and unrecoverable. If you are uncomfortable doing this, a professional service costs $10 to $30.