Deleting files or even quick-formatting a drive does not remove the data—it just hides the map to it, and free recovery tools can pull back documents, photos, and passwords in minutes. Before a hard drive leaves your hands to be sold, donated, or recycled, it needs a proper wipe. The correct method depends on whether it is a mechanical HDD or an SSD, because they erase very differently.

Mechanical hard drives: overwrite the platters

Spinning HDDs store data magnetically, so the reliable approach is to overwrite every sector. A single full pass of zeros or random data is enough for modern drives; the old myth that you need 7 or 35 passes comes from decades-old low-density media and wastes hours. A one-pass overwrite of a 4 TB drive takes roughly 6–12 hours depending on drive speed.

Use a disk-wipe utility that writes to the whole device, or the drive maker’s own tool. Confirm afterward with a recovery scan—if nothing comes back, the wipe worked.

SSDs: use secure erase, not overwrite

Overwriting an SSD is both slower to guarantee and harder on the drive, because wear leveling scatters writes and spare blocks may still hold old data. Instead use the drive’s built-in ATA Secure Erase or NVMe Format / Sanitize command, available in most SSD manufacturer toolboxes and many BIOS utilities. It resets every cell electrically in seconds to a couple of minutes and clears the spare area an overwrite would miss.

If the SSD used hardware encryption from day one, a cryptographic erase—discarding the encryption key—renders all data instantly unrecoverable, which is the fastest option of all.

Drive type Correct method Typical time Verify how
HDD Full single-pass overwrite 6–12 hr per 4 TB Recovery scan finds nothing
SATA SSD ATA Secure Erase Seconds–2 min Drive reports blank
NVMe SSD NVMe Format / Sanitize Seconds–2 min Drive reports blank
Encrypted SSD Cryptographic key erase Seconds Key gone, data garbage
Any (destroying) Physical shred/drill Minutes Media unreadable

When to physically destroy instead

If a drive is dead, will not respond to erase commands, or held highly sensitive material you refuse to risk, physical destruction is the last word. For an HDD, drilling several holes through the platters or shredding it makes recovery impractical. For an SSD, the NAND chips must actually be crushed or shredded—snapping the board is not enough. Many electronics recyclers offer certified shredding with a destruction receipt.

Do not forget the little details

Before wiping, deauthorize software licenses and sign out of accounts tied to the machine. Remove any hidden recovery partitions. And if the drive was part of a RAID array, wipe each member disk individually—pulling one drive does not clear the data striped across the others.

Frequently asked questions

Is a quick format enough before selling a drive?

No. A quick format only clears the file table; the actual data stays on the platters or cells and is trivially recoverable. Use a full overwrite (HDD) or secure erase (SSD) instead.

Does a magnet erase a hard drive?

Ordinary fridge magnets do nothing. Only an industrial degausser generates a field strong enough, and it permanently destroys the drive’s servo tracks—so it is a destruction method, not a reuse one, and it does not work on SSDs at all since they are not magnetic.

Bottom line

Match the method to the media: overwrite HDDs once, secure-erase SSDs with their built-in command, and cryptographically wipe encrypted drives instantly. Verify with a recovery scan, and physically destroy anything dead or too sensitive to risk. A few minutes of the right process is all that stands between recycling a drive and handing a stranger your data.

Related guides

Browse all Storage & Memory guides →