Curious Minds

Clear answers to science and history questions

How to Permanently Delete Your Data

· 5 min read · Science

Permanently deleting data means making it unrecoverable by any ordinary means, not just moving it to the recycle bin or trash. When you delete a file normally, the operating system only removes the pointer to the data; the actual contents remain on the storage medium until overwritten. To achieve permanent deletion, you must overwrite the data with new information or destroy the storage medium entirely. This guide covers the standard methods for different devices and explains what actually works.

What You'll Need

  • A computer with the drive you want to wipe connected (internally or via a USB adapter)
  • Data destruction software (e.g., DBAN, Eraser, or the built-in secure erase tools in your OS)
  • For SSDs: the manufacturer's secure erase utility or a tool that supports ATA Secure Erase
  • For physical destruction: a drill, hammer, or certified shredding service
  • Backup of any data you want to keep (permanent deletion is irreversible)

Step-by-Step

  1. Identify what you are deleting. Determine whether you are wiping a single file, a folder, a whole drive, or an entire device. The method differs: overwriting a single file is different from sanitizing an SSD.
  2. Back up anything you need. Once data is permanently deleted, it cannot be recovered by normal means. Copy important files to an external drive or cloud service first.
  3. For a single file or folder on a traditional hard drive (HDD): Use a file shredder tool. On Windows, right-click the file and choose a shredding option if your security software offers one; otherwise install a free tool like Eraser. On macOS, use the "Secure Empty Trash" option (available in older versions) or a third-party shredder. The tool overwrites the file's data with random patterns multiple times.
  4. For an entire HDD: Boot from a USB drive containing a wiping tool such as DBAN (Darik's Boot and Nuke). Select the drive and choose a wipe method (e.g., DoD 5220.22-M, which overwrites three times). Start the wipe and wait; a 1 TB drive can take several hours.
  5. For an SSD: Do not use overwrite-based tools; they can wear out the drive and may not reach all cells. Instead, use the manufacturer's secure erase utility or a tool that issues the ATA Secure Erase command. This resets all cells to empty in one operation. If your SSD is encrypted (e.g., BitLocker, FileVault), deleting the encryption key effectively destroys the data instantly.
  6. For a smartphone or tablet: Use the built-in factory reset with encryption enabled. On modern iOS and Android devices, data is encrypted by default; a factory reset destroys the encryption key, making data unrecoverable. Ensure you are signed out of accounts (e.g., iCloud, Google) before resetting to avoid activation locks.
  7. For optical media (CDs/DVDs): Physically destroy the disc by scratching the data surface deeply or breaking it. Software wiping does not work on read-only media.
  8. For physical destruction (any drive): If the data is extremely sensitive and you do not need the drive, dismantle it and destroy the platters (HDD) or memory chips (SSD) with a drill or hammer. Alternatively, use a certified shredding service that provides a certificate of destruction.
  9. Verify the wipe. After wiping, attempt to read the drive with a data recovery tool. If no files are found, the wipe was successful. For SSDs, check that the secure erase completed without errors.

Common Mistakes

  • Relying on the recycle bin or trash. Emptying it does not erase data; it only removes the file reference.
  • Using overwrite tools on SSDs. This can reduce lifespan and may not overwrite all cells due to wear leveling. Use secure erase instead.
  • Forgetting about backups and cloud sync. If a file is synced to cloud storage or backed up elsewhere, deleting it locally does not remove those copies. Delete from all locations.
  • Not signing out of accounts before resetting a phone. This can leave the device locked to a previous owner.
  • Assuming a single overwrite is always enough. For modern high-capacity drives, a single pass is generally sufficient for ordinary data, but some standards require multiple passes. For SSDs, overwriting is ineffective.

Tips

  • Enable full-disk encryption on laptops and phones before you need to delete data; then a simple key destruction (factory reset) permanently deletes everything.
  • For HDDs, a single pass of random data is considered sufficient by many organizations; multiple passes are only needed for older drives or paranoia.
  • Keep a record of the wipe method and date for your own records, especially if you are disposing of a work device.
  • When donating or selling a device, perform a factory reset and, for HDDs, a full wipe. For SSDs, use secure erase.
  • If you are unsure, physically destroy the drive. It is the only guaranteed method.

Troubleshooting

  • Wipe tool does not detect the drive: Check connections; try a different USB port or adapter. For internal drives, ensure the drive is not locked by BIOS or encryption.
  • Secure erase fails on SSD: The drive may be frozen (a security state). Try power-cycling the drive (unplug and replug power) and retry. Some motherboards have a "frozen" state that requires sleeping and waking the computer.
  • Data still recoverable after wipe: Some tools only overwrite free space, not the entire drive. Use a full-drive wipe. For SSDs, secure erase is required.
  • Phone reset does not remove data: Ensure encryption was enabled before reset. If not, overwrite the storage by filling it with large files, then reset again.
  • Drive is physically damaged: If the drive is failing, software wipes may not complete. In that case, physical destruction is the safest option.

Frequently Asked Questions

Is a single overwrite enough to permanently delete data?

For modern hard drives, a single pass of random data is generally sufficient to prevent recovery by ordinary means. Multiple passes are only necessary for older drives or when required by specific standards.

Can deleted data be recovered from an SSD after factory reset?

On modern SSDs with encryption enabled, a factory reset destroys the encryption key, making data unrecoverable. Without encryption, a secure erase command is needed; overwriting is not reliable.

Does formatting a drive permanently delete data?

No. Quick formatting only removes file system structures; data remains until overwritten. A full format may overwrite, but it is not guaranteed on all systems.

What is the most secure way to destroy a hard drive?

Physical destruction of the platters (e.g., drilling, shredding) is the most secure method. Software wiping is sufficient for most purposes but not for classified data.

How long does it take to wipe a drive?

It depends on drive size and method. A 1 TB HDD with a three-pass overwrite can take several hours. SSD secure erase is typically much faster, often minutes.

Do I need to wipe a drive before recycling?

Yes, to protect your privacy. Even if the recycler claims to wipe drives, you should wipe or destroy it yourself first.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions