How to wipe a hard drive on your PC or Mac

Many people spend a lot of time trying to preserve their hard drives or even upgrade them, but it isn’t every day that you try to completely wipe it clean. If you’re planning to replace your computer, you probably don’t want all the sensitive information to end up in the hands of a stranger. 

While it can be tricky to wipe your hard drive on a PC or Mac, we’ve provided all the steps you need to get the job done to keep your identity and information safe.

How to wipe a drive in Windows

Step 1: Download Eraser

Several applications will do an excellent job of wiping your hard drive or SSD, but Eraser is our favorite. It’s free, intuitive, and comprehensive. Since it needs to run within Windows, you can’t wipe the drive you’re running it from. If you don’t have an alternative drive to boot from, you might want to consider an alternative tool like DBAN.

Download Eraser from the official site and install it as you would any other application.

Step 2: Create a new task

Open the Eraser application. Right-click (or tap and hold) in the main Erase Schedule window. Select New Task. In the window that appears, make sure Run Manually is selected, and then select the Add Data button at the bottom of the window. Change the Target Type to your drive of choice.

Step 3: Select an erasure method

There are several erasure methods to choose from, each with their particular benefits. To keep things simple, a Pseudorandom Data (1 Pass) is sufficient for basic personal information and SSDs. However, if you’re wiping a hard drive or are concerned about anything particular being recovered from your drive, more passes mean there is less of a chance of that data being recoverable, so pick one with more passes for greater peace of mind.

Step 4: Run the task

Although you can set up tasks to run automatically or at a scheduled time, we’ve set this one up manually to give us a chance to double-check everything. Make sure any data you can’t afford to lose is safely backed up and that you have selected the right drive and erasure method for this task.

When you’re satisfied that everything is ready, right-click the task in Eraser, then select Run Now.

Alternative: Wipe a Windows drive with internal tools

Format HDD

There is a native option to wipe an extra drive in Windows 10. It’s not the same full suite of options that Eraser has, but it’s a handy option for cleaning out a secondary drive. I’s quick, too.

Step 1: In your Windows 10 search bar, type, “This PC.” Look for the option to go to the This PC app and select it.

Step 2: In the new window, look at the bottom section for Devices and Drives, where all your current drives will be displayed. Right-click on the drive you want to wipe, then select Format. This will wipe and reformat the drive to your specifications. You cannot format the drive you are current using.

Step 3: A new formatting window will pop up. This will provide options to check the capacity of the drive, allocation, name, and more. When applicable, choose the correct options for the drive, and then select Start when you are ready. Keep in mind that you should not check Quick Format if you want your data to be impossible to recover.

You should now have an empty and formatted drive. Keep in mind this won’t work for your primary Windows drive — that would make it a little too easy for Windows t0 delete itself. There are ways to factory reset even the primary drive, though.

How to wipe a drive on a Mac

Step 1: Run Disk Utility


MacOS’ built-in disk erasure tool is fantastic and more than enough for the average hard drive wiping. Access it by booting to MacOS Recovery by turning your Mac on and holding Command + R. Continue holding until you see the Apple logo or a globe. The MacOS utility window should open shortly after.

From the list of options, select Disk Utility.

Step 2: Choose the disk to erase

Select View from the top menu bar, followed by Show All Devices. Using the left-hand menu, select the disk you want to erase.

Step 3: Choose the erase options


Select the Erase tab in the top menu. Select the new name for the volume after it’s been erased. Choose the APFS format, unless you plan on installing a version of MacOS before High Sierra on the drive afterward (in which case, select Mac OS Extended). For the Scheme, choose GUID Partition Map.

If you’re erasing an SSD, skip to the next step. If you’re using an HDD, you can make the erasure a little more productive. To do so, select Security Options, and use the slider on the ensuing page to change the number of passes that the erasure tool makes over the drive. More than one is enough, and anything over three is probably considered overkill.

Step 4: Erase the data

If you’re sure that you’ve backed up all of your important data (there’s no going back after this step), select Erase.

Physically destroy the drive

In case the methods above didn’t give you adequate peace of mind that your data was successfully removed and eliminated, you could be even more sure by destroying the drive physically.

If you’re not sure how to remove the hard drive, you can find great tutorials on YouTube to walk you through the process. If you want to erase the drive, take the disks that store data and physically sand down all surfaces or break them with a hammer. If you happen to have a rare-earth magnet, you can wreck the drive with almost one swoop. Just rub the magnet over the entirety of the drive. Any of these methods will work to completely destroy the drive and make your data inaccessible.

To destroy an SSD would require a different approach. Modern SSDs have a sturdier build and store data differently than older hard drives, so it’s more difficult to wipe the drive. If you try to ruin the device by drilling or smashing it, hackers are still able to recover the data since this model of drive is so secure. If you want to be certain that your information is unreadable beyond doubt, you have to take your destruction a step further. Some users will fully encrypt the SSD and then physically destroy it. That way, your data will stay indecipherable for hackers since they won’t have the encryption key. 

If you’re not sure you can securely encrypt the drive yourself, a professional can do it for you. Some companies use industrial blenders or devices that thoroughly rupture the SSD until it’s unsalvageable.

Editors' Recommendations