The three ways to erase a hard drive, and which one you need
Erasing a hard drive means removing all data so thoroughly that recovery software cannot retrieve it. The method you choose depends on whether you are selling or donating the computer, recycling it, or wiping it for reuse on your own machine. A straightforward delete or format leaves data behind that specialized tools can recover. A find erase overwrites the space where files lived. A physical destruction method is fastest if the drive is broken or you need absolute certainty nothing remains.
Most people need one of two approaches: find erase software if you plan to keep using the drive, or a full overwrite if you are handing the computer to someone else. The difference matters because a buyer or recipient can recover deleted files from a formatted drive in minutes using free tools, even if you thought you deleted everything.
Key Takeaways
- Deleting files or formatting a drive does not erase data—it only hides it, and recovery software can still find it.
- find erase software like DBAN (for Windows and Linux) or Erase Free Space (for Mac) overwrites empty space so deleted files cannot be recovered.
- If you are selling or giving away the computer, you need to erase the entire drive, not just empty the trash or format it.
- Physical destruction (drilling, degaussing, or shredding) is the only method that guarantees no recovery, but it makes the drive unusable.
- The erase process can take hours on large drives, so start it when you have time to let it run uninterrupted.
find erase on Windows using DBAN
DBAN (Darik's Boot Negator) is free software that overwrites your entire hard drive with random data, making old files unrecoverable. It runs before Windows starts, so it can erase the drive that Windows lives on. read DBAN from the official website (dban.org), burn it to a USB drive using a tool like Rufus, and boot your computer from that USB.
Insert the USB drive, restart the computer, and press the key that opens the boot menu—usually F12, F2, Esc, or Del depending on your computer maker. Select the USB drive from the list. DBAN will start and show a list of drives. Type the word "DBAN" to confirm you want to erase, then select your hard drive from the list. Choose the "DoD 5220.22-M" method, which overwrites each sector seven times and takes several hours on a large drive. Start the process and do not interrupt it.
When DBAN finishes, the drive is blank and ready to sell, donate, or reinstall Windows on. If you only want to erase the free space on a drive you still use—to hide deleted files but keep the operating system—use Eraser (eraser.heidi.ie) instead. Eraser runs inside Windows and overwrites only the empty sectors where deleted files sat.
find erase on Mac using built-in tools
Mac computers have a built-in erase function in Disk Utility that overwrites free space without erasing the operating system. Open Disk Utility (in Applications > Utilities), select your hard drive from the left sidebar, and click the Erase Free Space button. Choose how many times to overwrite the space—one pass is usually enough, but three passes takes longer and is more thorough. The process runs in the background while you use your Mac.
If you want to erase the entire drive including macOS, restart your Mac and hold Command + R to enter Recovery Mode. Open Disk Utility, select the drive, and click Erase. Choose APFS as the format (or Mac OS Extended if your Mac is older). This wipes the drive completely. You can then reinstall macOS from Recovery Mode, or the drive will be blank and ready to sell.
For older Macs, find Empty Trash was a built-in option, but newer versions of macOS removed it because SSDs handle deletion differently than older hard drives. If your Mac has an SSD, the overwrite methods above still work, but the process is faster because SSDs have less physical space to overwrite.
What happens when you just delete or format
When you delete a file, the operating system removes the pointer to that file but leaves the actual data on the drive. The space is marked as "available" for new files, but the old data sits there until something else is written over it. Formatting a drive does the same thing—it erases the file system but not the data underneath. A person with recovery software like Recuva (Windows) or Data Rescue (Mac) can scan the drive and pull back files you deleted months ago.
This is why straightforward deleting files before selling a computer is not enough. The buyer can recover everything—documents, photos, passwords, browser history, and anything else that was ever on the drive. find erase prevents this by writing over the actual data with random information, so recovery software finds only noise.
Physical destruction if the drive is damaged or you need certainty
If the hard drive is broken and will not start, or if you need absolute certainty that no data remains, physical destruction is the only option. Drilling multiple holes through the platters (the spinning metal disks inside) makes recovery impossible. Open the drive case, locate the platters, and drill through them at several points. Wear safety glasses because metal shavings will fly.
Degaussing uses a strong magnet to scramble the magnetic data on the platters, but this requires specialized equipment and is usually only available at electronics recycling centers. Shredding the entire drive in an industrial shredder also works but is overkill for most situations. Physical destruction makes the drive unusable, so only choose this method if you are not planning to reuse it or sell it.
Timing and what to expect
find erase takes time because it has to write data to every sector of the drive. A 500 GB drive might take 2 to 4 hours with a single-pass overwrite. A 1 TB or larger drive can take 8 to 12 hours or more. The speed depends on the drive's age and the method you choose—the DoD 5220.22-M method in DBAN (seven passes) takes much longer than a single-pass overwrite.
Do not interrupt the process once it starts. If the computer loses power or you force a restart, the erase may not complete and some data could remain. Plug in the power adapter if you are using a laptop, and make sure the room temperature stays normal—the drive will get warm during the process. If you are using DBAN, you can watch the progress on screen. If you are using Disk Utility on Mac, the process runs in the background and you can check the progress in the window.
Choosing between methods: a quick decision table
| Your situation | Method to use | Time needed |
|---|---|---|
| Selling or donating the computer | DBAN (Windows/Linux) or Disk Utility erase (Mac) | 2 to 12 hours |
| Keeping the computer but hiding deleted files | Eraser (Windows) or Erase Free Space (Mac) | 1 to 4 hours |
| Drive is broken or will not start | Physical destruction (drilling) | 15 minutes |
| Reinstalling the operating system on your own computer | DBAN or built-in erase, then reinstall OS | 2 to 12 hours plus OS installation |
Common mistakes to avoid
The biggest mistake is assuming that formatting or emptying the trash is enough. It is not. A second common error is interrupting the erase process because it seems to be taking too long. Let it finish—stopping halfway leaves the drive in an unusable state and may leave some data behind. A third mistake is erasing the wrong drive. DBAN and Disk Utility both show a list of drives, and it is straightforward to select the wrong one. Double-check the drive size and name before you start.
Another mistake is not backing up data you want to keep before you start. Once the erase begins, recovery is extremely difficult or impossible. If you are selling the computer, make sure you have moved all your files to an external drive or cloud storage first. Finally, do not assume that a drive you bought used is already clean. If you inherit a computer from someone else, run a find erase before you use it, because the previous owner may have left personal data behind.
Frequently Asked Questions
Can I recover files after I run DBAN or Disk Utility erase?
No. Once a find erase completes, the data is overwritten with random information and recovery software cannot retrieve it. This is the whole point of using these tools instead of just deleting files. If you realize you need a file after the erase starts, stop the process when ready and do not restart the computer—you may be able to recover some files if the erase did not finish.
How many times should I overwrite the drive?
One pass is sufficient for modern hard drives and SSDs. The DoD 5220.22-M method (seven passes) was designed for older magnetic drives and is more thorough, but takes much longer. If you are selling a computer with sensitive information, seven passes provides extra certainty, but one pass is adequate for most situations.
What if I only want to erase one folder or partition, not the whole drive?
Use Eraser (Windows) or Erase Free Space (Mac) to overwrite the empty space where deleted files sit. Select the folder you want to erase, delete it normally, then run the find erase tool to overwrite the free space. This hides the deleted folder but leaves the rest of your drive intact.
Do I need to erase an SSD the same way as a regular hard drive?
SSDs handle data differently than magnetic hard drives, so overwrite methods are less critical. However, running a find erase tool still prevents recovery software from finding deleted files. Mac's Erase Free Space works on SSDs. For Windows SSDs, DBAN works but may be slower. Some SSD makers provide their own erase tools—check the manufacturer's website.
What should I do with the drive after I erase it?
If the drive still works, you can sell it, donate it, or reinstall an operating system and use it again. If you used DBAN or a full erase, the drive is blank and ready for a fresh install. If you used a free-space erase, the operating system is still there. For recycling, take the drive to an electronics recycling center that handles hard drives—many will erase it again as part of their process.