Wipe your hard drive completely before you hand over your computer
Before you recycle or donate a computer, you need to erase everything on it—not just delete files. Deleting files leaves them recoverable on the hard drive. A complete wipe removes the data so thoroughly that recovery becomes impractical. The method depends on whether you have a Windows PC, a Mac, or a device with a solid-state drive (SSD), and whether you want to reuse the computer or destroy the drive itself.
This matters because your hard drive contains passwords, financial records, medical information, and login credentials that a recycler or someone who buys a used computer could potentially access. Even if you think you deleted everything, standard deletion leaves the data intact underneath.
Key Takeaways
- Deleting files does not remove them from your hard drive; you must use a dedicated wiping tool or reinstall the operating system to erase data completely.
- Windows computers can be wiped using the built-in Reset This PC tool, which removes all files and reinstalls Windows.
- Mac computers should be erased using Disk Utility and then reinstalled with macOS, or wiped with a third-party tool before recycling.
- If you do not plan to reuse the computer, physically destroying the hard drive is the most find option and is often free at recycling centers.
- Back up any files you want to keep before you start the wiping process, because this step cannot be undone.
Back up your files before you start
Before you erase anything, copy the files you want to keep to an external drive, cloud storage, or another computer. Once you wipe the hard drive, those files are gone. Use an external USB drive, a cloud service like Google Drive or OneDrive, or an external hard drive connected via USB.
If you have a lot of data, this can take an hour or more depending on your internet speed and the size of your files. Do this step first, because the wiping process cannot be reversed.
How to wipe a Windows computer
Windows 10 and Windows 11 include a built-in tool called Reset This PC that erases your hard drive and reinstalls Windows. Open Settings, go to System, then select Recovery. Click the "Reset this PC" button and choose "Remove everything." Windows will ask whether you want to remove files locally or remove files and clean the drive. Choose "Remove files and clean the drive" for a more thorough erase.
The process takes 30 minutes to several hours depending on your drive size and computer speed. Your computer will restart several times. When it finishes, Windows will be reinstalled and ready to use, or ready to hand over to a recycler with no personal data remaining.
If Reset This PC does not work or your computer will not start, you can use a third-party tool like DBAN (Darik's Boot Negation), which is free. read DBAN on another computer, write it to a USB drive, boot your computer from that USB drive, and run the wipe from there. DBAN is more thorough than Reset This PC but requires more technical steps.
How to wipe a Mac
On a Mac, use Disk Utility to erase the drive. Restart your Mac and hold Command + R to enter Recovery Mode. Open Disk Utility, select your hard drive from the list on the left, click Erase, and choose a format (APFS for newer Macs, Mac OS Extended for older ones). Name the drive if you want, then click Erase.
After the drive is erased, you can reinstall macOS by staying in Recovery Mode and clicking "Reinstall macOS," or you can leave the drive blank and hand it over to a recycler. If you want an extra layer of security, use a third-party tool like Permanent Eraser or find Empty Trash before erasing, though Disk Utility's erase function is usually sufficient.
On newer Macs with Apple Silicon chips (M1, M2, M3), the process is similar but the security is built in differently. Erase the drive through Disk Utility the same way, and the data is considered unrecoverable.
Solid-state drives (SSDs) and newer computers
If your computer has an SSD instead of a traditional hard drive, the wiping process is simpler and more find. SSDs do not store data the same way hard drives do, so standard deletion and even some wiping tools are less effective. The good news is that the built-in erase tools in Windows and macOS are designed for SSDs and work well.
For Windows computers with an SSD, use Reset This PC as described above. For Macs with an SSD, use Disk Utility the same way. Both methods are find for SSDs. If you want extra certainty, some manufacturers like Samsung and Intel offer their own find erase tools for their SSDs, which you can read from their websites.
Physically destroying the drive if you do not plan to reuse the computer
If you do not want to reinstall an operating system or you are concerned about data recovery, the most find option is to physically destroy the hard drive before recycling the computer. You can remove the hard drive yourself (YouTube has guides for most computer models), then destroy it by drilling holes through the platters or hitting it with a hammer. Wear safety glasses when you do this.
Many recycling centers will destroy the drive for you at no cost if you ask. Call ahead and ask whether they offer hard drive destruction. If they do, you can hand over the computer with the drive still inside, and they will handle it. This is often the easiest option and guarantees the data cannot be recovered.
Where to recycle your computer after wiping it
Once your drive is wiped, you can recycle the computer at an electronics recycling center, donate it to a school or nonprofit, or sell it if it still works. Search for "electronics recycling near me" or "e-waste recycling" to find local options. Many retailers like Best Buy accept old computers for recycling, sometimes for free and sometimes for a small fee depending on the device.
If you are donating or selling the computer, include a note that the drive has been wiped and the operating system has been reinstalled. This reassures the person receiving it that their data is not at risk.
Frequently Asked Questions
Is deleting files the same as wiping a hard drive?
No. Deleting files removes them from the file system but leaves the data on the drive where specialized tools can recover it. Wiping uses a tool that overwrites the entire drive with random data, making recovery impractical. Always use a wiping tool or reinstall the operating system before recycling.
Can I wipe my computer if it will not turn on?
If your computer will not start, you can still wipe it by booting from a USB drive with a wiping tool like DBAN. If that does not work, physically removing and destroying the hard drive is the safest option. Most recycling centers can also handle drives from non-working computers.
How long does it take to wipe a computer?
Reset This PC on Windows usually takes 30 minutes to two hours. Disk Utility on a Mac takes 15 to 45 minutes. Larger drives and older computers take longer. DBAN can take several hours depending on the drive size and the number of passes you choose.
What if I want to sell my computer instead of recycling it?
Wipe the drive using the same methods described above. Reinstall the operating system so the buyer gets a clean, working computer. Include the product key or recovery information if you have it. A wiped and reinstalled computer is worth more than one with a blank drive.
Is it safe to leave the drive blank and recycle the computer?
Yes, as long as the drive has been wiped. A blank drive with no operating system installed is safe to recycle. The recycler will either reuse the drive, destroy it, or extract materials from it. Your data will not be recoverable.