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.

Recommended Videos

Difficulty

Moderate

Duration

30 minutes

What You Need

  • Mac or Windows PC or laptop.

  • Hard drive or SSD

Wiping your hard drive on Mac or PC is a fairly simple process as long as you follow the right steps. While you can use third-party tools like Eraser or Disk Wipe, the easiest method is to use internal tools to quickly get the job done. We’ve provided all the steps you need to keep your identity and information safe.

How to wipe a drive in Windows

Windows has a built-in method to quickly wipe your hard drive using native tools. Before you begin, it's always a good idea to back up your data if you haven't already done so. These steps are similar across both Windows 10 and Windows 11, except Windows 11 will have you start in System instead of Update & Security.

Step 1: Start by going to or searching for Systems in Windows 10. Then choose Update & Security. On the left-side menu, choose the Recovery section.

Step 2: In Recovery, look for the Reset this PC option. Here, choose Get Started to begin.

Image used with permission by copyright holder

Step 3: In the next pop-up window, you will want to choose Remove Everything.

Step 4: Next, choose Local Reinstall. This will cause Windows to reinstall a blank version of itself onto the computer after the hard drive has been wiped.

Step 5: Now go to Change Settings in the next window. In the option Clean Data?, make sure the toggle is flipped to Yes. This ensures that Windows will do a full wipe.

Image used with permission by copyright holder

Step 6: You should now be ready to wipe. Confirm your decision, and choose Reset to initiate the process. It will take some time, possibly hours, to complete. If you're on a laptop, you'll want to make sure its charger is connected so the battery doesn't run out.

How to wipe a drive on a Mac

MacOS’ built-in disk erasure tool is fantastic and more than enough for the average hard drive wiping. Be sure to backup any data using Time Machine before you begin.

Step 1: If necessary, turn your Mac completely off. Then turn it on and, as you do, hold down the Command + R keys. Continue holding them until you see an Apple logo appear, shortly followed by the MacOS Utilities menu.

Image used with permission by copyright holder

Step 2: Select Disk Utility and choose Continue.

Step 3: Choose View on the top menu bar to see all your drives, and select Show All Devices. The left-side menu will show all the drives on your Mac. Since you are wiping your Mac entirely, you will want to choose the foremost Internal drive.

Step 4: Go to the top menu and select Erase. You will now have a few different options to choose from before wiping your drive.

You can rename the drive if you want, which you may want to do if the current drive includes your own name or any personal information.

You can also choose a Format, which should be set to APFS.

You can select a Scheme, which should be set to GUID.

Apple

Step 5: Select Erase to begin. Again, this can take a long time, and if you are on a MacBook, it should be plugged into power while it's working.

Image used with permission by copyright holder

About destroying your hard drive

Most modern computers use SSDs. SSDs are very durable, and with the right software, some data can be pulled from them even after wiping, and sometimes even when they are damaged.

The solution to this problem is to use a shredding service that will shred your hard drive completely. If you are reselling your computer, you don't want to do this. But privacy and security regulations may mandate hard drive destruction for businesses getting rid of computers and similar situations. In this case, look for a data destruction service that provides certification of destruction.

Editors' Recommendations

Jon Martindale is the Evergreen Coordinator for Computing, overseeing a team of writers addressing all the latest how to…
How to find a Wi-Fi password on Mac

Forgotten your Wi-Fi password? We've all been there, but you can find your Wi-Fi password on your Mac if you have it to hand. You can just reset your Wi-Fi password if you want, but if you'd rather just take a look at it, here's how to recover your Wi-Fi password in macOS in a few quick steps.

Read more
How to forget a network on a Mac

Most web-connected devices have the convenient ability to remember Wi-Fi networks you connect to everyday, along with networks you only link to on occasion. Macs and MacBooks are no exception to this rule, but what do you do if you own one a macOS machine and want it to forget a Wi-Fi network? Simple: Manually remove it from your computer altogether.

Read more
How to increase fps and smooth gameplay on your PC

Modern PC gaming is a true sky-is-the-limit world that never rests. New gaming hardware and accessories (and games!) are being released all the time, but one thing you definitely don’t want to ignore are your drivers and gameplay settings. Believe it or not, one adjustment to something as innocuous-sounding as “frame rate” could make all the difference the next time you fire up Call of Duty.

Read more