Skip to main content

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.

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.

how to wipe a hard drive choose get started
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.

how to wipe a hard drive windows clear data
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.

apple macbook problems starting up macos utilities
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.

2622585 the best ssd mounts mount
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
Jon Martindale is the Evergreen Coordinator for Computing, overseeing a team of writers addressing all the latest how to…
How to resize an image
A bird's eye view of a person working on a laptop.

There is a seemingly endless number of tools to choose from when it comes to resizing pictures. Your Windows 10 desktop or Chromebook already has the vast majority of these handy tools, so you can edit your images quickly without paying for expensive editing software that hogs precious memory space.

Read more
How to take a screenshot on your Mac: the best methods in 2023
The keyboard and trackpad of the MacBook Pro 14-inch.

If you're new to the Mac, the first question people have is how to take a screenshot. There's no Print Screen key, so you'll be forgiven if it's not immediately obvious. Or hey, maybe you just forgot the keyboard shortcut or want to go deep into the very best screenshot apps available. We got ya.

There are plenty of options and customizations, so there's plenty to dig into. Here’s everything you could ever want to know about taking a screenshot on your Mac.
How to take a screenshot using keyboard shortcuts
MacOS keyboard shortcuts are the quickest ways to take screenshots, whether you're capturing the entire screen or just a portion. By default, Apple's methods save your screenshot to the desktop, but if you want to copy the screenshot to the clipboard, there's a keyboard shortcut you can use instead.
How to capture a selected area

Read more
The best Mac keyboard shortcuts for 2023
Apple iMac with Retina 5K Display review hand on mouse

Many Mac owners swear that keyboard shortcuts help simplify their lives. If you’re new to a Mac, learning all the available keyboard shortcuts can be a real challenge. Quite a few of these shortcuts will now work in iPadOS, too, thanks to the Magic Keyboard available to iPad Pro users.

We’ve put together a list of the most important shortcuts you should know. You can also take a look at our list of the best Mac apps for even more Apple shortcuts.
The most important shortcuts

Read more