How to Wipe a Hard Drive: A Simple and Safe Guide for Beginners

Maybe you are selling an old laptop, giving a computer to a relative or throwing away a drive that no longer works. Before the device leaves your hands, there is one important job: remove your personal data so that nobody else can read it. Many people think that deleting files or pressing “format” is enough. It is not always enough. So how to wipe a hard drive in the right way?

In this guide we will explain how to wipe a hard drive step by step in simple words. We will see the difference between deleting, formatting and wiping, the safe methods for Windows, the special care needed for SSDs, a short note about Mac and what to do with a drive that is broken. If you are not sure what a drive is, you can first read our guide What Is a Hard Drive.

How to wipe a hard drive before selling an old laptop

How to Wipe a Hard Drive: What Does Wiping Mean?

Wiping a drive means removing the data in a way that makes it very hard or impossible to recover. It is also called erasing, sanitizing or securely erasing a drive.

This is different from the normal delete. When you delete a file, the computer usually just marks the space as free. The data is still on the drive until something new is written over it. Recovery software can often bring those files back. Wiping goes further, so the old data is really gone.

When people ask how to wipe a hard drive, they usually want one of two things: to clean a drive before selling or giving it away, or to start fresh with a clean drive for their own use.

How to Wipe a Hard Drive vs Delete and Format

ActionWhat it doesCan data be recovered?
DeleteRemoves the file name from the list and frees the spaceOften yes
Quick formatCreates a new empty file systemOften yes
Full formatCreates a new file system and checks the driveSometimes, depending on the system
Wipe or secure eraseOverwrites or clears the data on purposeVery hard or no
Physical destructionDestroys the drive itselfNo

So, if you only delete files or run a quick format and then give the computer away, a careful person with the right software may still read your old data. For anything private, such as photos, bank papers, passwords or ID copies, choose a real wipe.

πŸ“ŒWhat Is a Hard Drive? A Simple Guide to Types, Uses and Working

How to Wipe a Hard Drive: Steps Before You Begin

Wiping is permanent. There is no undo. So do these steps first.

  1. Back up everything you want to keep. Copy your photos, documents and other files to an external drive or online storage. Open the backup and check that the files really work.
  2. Sign out of your accounts. Sign out of Microsoft, Google, browsers, Steam and other programs, and remove the computer from your account lists if you can.
  3. Note your software licenses. Some programs need a key or an account to install again.
  4. Check the right drive. If the computer has more than one drive, make sure you know which one you will wipe.
  5. Connect the power. On a laptop, plug in the charger, because a power cut during wiping can cause problems.

If you want to know what kind of storage your computer has, you can read about HDD and SSD types in our guide What Is a Hard Drive.

External drive used to back up files before wiping

How to Wipe a Hard Drive: Choose the Right Method

The best method depends on two things: the type of drive and the reason.

SituationSuggested method
Selling or giving a Windows PCReset this PC with the clean data option, or a secure erase
Wiping a spare internal or external driveDiskpart clean all, or a full format
Old HDD with very private dataOverwrite with a trusted wiping tool
SSD or NVMe driveManufacturer tool or secure erase command, plus encryption
MacDisk Utility or Erase All Content and Settings
Broken drive that cannot be erasedPhysical destruction

Method 1: Reset This PC in Windows

For most beginners, this is the easiest way to wipe the main drive of a Windows computer. The steps may look slightly different between versions, but the idea is the same.

  1. Open Settings.
  2. Go to System, then Recovery. In Windows 10, go to Update & Security and then Recovery.
  3. Click Reset this PC.
  4. Choose Remove everything.
  5. Choose how to reinstall Windows, either from the cloud or from the local files.
  6. Open Change settings and turn on Clean data, if the option is shown. This makes the reset overwrite the drive and takes more time.
  7. Confirm and start the reset.

The computer will restart several times. When it finishes, Windows will be fresh, like a new computer. The reset may take from a short time to several hours, depending on the drive, so be patient and keep the charger connected.

This is a good answer to how to wipe a hard drive when you plan to sell a laptop, because it also gives the next person a working Windows.

πŸ“Œ Best Computer Types Bangla 2026

πŸ“Œ 8 Best Uses of Computer in Daily Life, Office & School

Method 2: How to Wipe a Hard Drive With Diskpart

Diskpart is a Windows tool that can clean a drive. It is powerful, so be very careful. It is best for a second drive or an external drive, not the drive that Windows is running from.

  1. Connect the drive you want to wipe.
  2. Click Start, type cmd, right-click Command Prompt and choose Run as administrator.
  3. Type diskpart and press Enter.
  4. Type list disk and press Enter. You will see the numbered disks with their sizes.
  5. Type select disk X, where X is the number of the drive you want to wipe. Check the size twice.
  6. Type clean all and press Enter.

The normal clean command only removes the partition information and is quick. The clean all command writes zeros over the whole drive, so it takes much longer, but it removes the data much more completely.

Warning: if you choose the wrong disk number, you will erase the wrong drive. Always check the size and name before you type the command.

After this, the drive has no partitions. To use it again, open Disk Management, create a new volume and format it.

Method 3: How to Wipe a Hard Drive With a Full Format

A full format is a simpler option for a drive that does not hold very secret data.

  1. Open File Explorer and click This PC.
  2. Right-click the drive and choose Format.
  3. Remove the tick from Quick Format.
  4. Click Start.

Because Quick Format is turned off, the system goes through the whole drive. This is better than a quick format, but for strong privacy, a dedicated wipe is still better. Also, you cannot format the drive that Windows is using while Windows is running.

Windows command prompt window on a laptop screen

Method 4: Overwrite With a Wiping Tool

For an old HDD that held private data, a wiping program writes patterns over every part of the drive. Some well-known approaches are:

  • Bootable wiping tools: you start the computer from a USB stick, and the tool wipes the drive without Windows running.
  • Command-line tools: on Linux, the shred command can overwrite a drive.
  • Windows cipher command: the command cipher /w:C:\ overwrites the free space on a drive, which is useful for removing the traces of files you have already deleted, though it does not wipe the whole drive.

For a normal HDD, one full overwrite is usually enough for ordinary home use. Older advice about many passes comes from older technology and is not needed for modern drives.

Choose software from trusted, well-known makers, and read the instructions carefully before starting, because these tools can erase a whole drive at once. Some older tools are not made for SSDs, so check that your tool supports your drive type.

How to Wipe an SSD Safely

This part is very important, because wiping an SSD is not the same as wiping an HDD. An SSD uses flash memory chips and a controller that moves data around to spread the wear. Because of this, overwriting the whole drive again and again does not guarantee that every chip is cleaned, and it also uses up the life of the SSD.

So how to wipe a hard drive that is an SSD? Use one of these safer ways.

  1. Use the maker’s tool. Brands such as Samsung, Crucial, Western Digital and others offer utilities that perform a secure erase for their drives. This is usually the easiest and safest option.
  2. Use the Reset this PC clean data option. It is a reasonable choice for a main drive in a home computer.
  3. Use a secure erase or sanitize command. SSDs support commands, such as ATA Secure Erase or NVMe format and sanitize, that tell the controller to clear the data. Some tools and the BIOS of certain computers provide it.
  4. Use encryption. If you turn on full-disk encryption, such as BitLocker, before you start using the drive, the data is stored in an unreadable form. When you later erase the encryption key or reset the drive, the data becomes unreadable. This is called crypto erase, and it is fast and effective for modern drives.

Plan this ahead when you can. Turning on encryption from the beginning makes the final wipe easy.

πŸ“ŒWhat Is a Hard Drive? A Simple Guide to Types, Uses and Working

How to Wipe a Hard Drive on a Mac

You can also wipe a Mac, though the steps depend on the model and the version.

  • Newer Macs (Apple silicon, or Intel with the T2 chip): open System Settings, go to General, then Transfer or Reset, and choose Erase All Content and Settings. This removes your data and settings by erasing the encryption keys.
  • Older Macs: start from macOS Recovery, open Disk Utility, choose the drive and click Erase, then reinstall macOS.

Also sign out of your Apple account and turn off the Find My feature before selling. If you want to check the exact steps for your model, look at the official Apple instructions, because they change with new versions.

M.2 SSD drive held in a hand

How to Wipe a Hard Drive That Is External or a Pen Drive

An external drive is easier, because it is not running Windows.

  1. Connect the drive and check its letter in File Explorer.
  2. Back up what you need.
  3. Use a full format, or use diskpart with clean all, as shown above.
  4. For an external SSD, use the maker’s tool if one is available.

Pen drives and memory cards can be formatted the same way. For private data, avoid only quick formatting.

What If the Drive Is Broken or Will Not Start?

Sometimes a drive is damaged and cannot be erased with software. In that case you have two choices.

  • Physical destruction: you can break the drive so that no one can read it. For a mechanical HDD, destroying the platters is the main goal. For an SSD, the memory chips must be destroyed. This should be done carefully, with eye and hand protection, because broken metal and glass can be sharp. Do not burn a drive, because it can release harmful fumes.
  • Professional service: many electronics recycling services destroy drives securely and may give a certificate. This is a good choice for company or very sensitive data.

Never just throw a broken drive away with household waste, because the data may still be readable and electronic waste should be recycled properly.

What Do the Standards Say?

If you work with a company, you may hear about data sanitization standards. A well-known guide is NIST Special Publication 800-88, which describes three levels: clear, purge and destroy. In simple words, clearing removes data with normal tools, purging uses stronger methods so that data cannot be recovered even with advanced tools and destroying makes the drive unusable.

For home users, a proper wipe or a secure erase is enough in most cases. Very sensitive business or government data needs stricter rules.

How Long Does It Take to Wipe a Drive?

It depends on the size and speed of the drive and the method.

  • A quick reset or a secure erase on an SSD can take only a few minutes.
  • A full overwrite of a large HDD can take many hours, even a day.
  • The Windows reset with clean data can take from one to several hours.

Whatever way you choose for how to wipe a hard drive, do not stop the process in the middle. If the computer is a laptop, keep it plugged in.

How to Check That the Drive Is Wiped

After wiping, do a simple check.

  1. Open File Explorer or Disk Management and see that the drive shows as empty or unallocated.
  2. If you reinstalled Windows, check that no old user accounts or files remain.
  3. For extra safety, some people try a recovery program to see whether it finds old files. If it finds nothing readable, the wipe worked.

Common Mistakes When You Learn How to Wipe a Hard Drive

  • Wiping before backing up. This is the most painful mistake, and it cannot be undone.
  • Selecting the wrong disk. Always check the drive size and name.
  • Trusting a quick format. It is not a real wipe.
  • Using old HDD tools on an SSD. They may not clean it fully and can wear it.
  • Forgetting other storage. A laptop may have more than one drive, and phones and memory cards also keep data.
  • Forgetting the cloud. Files in online accounts stay there until you remove them.
  • Skipping the account sign-out. The next owner may be locked out or your account may stay linked.

Wiping a Drive vs Reinstalling Windows

Some people think that reinstalling Windows removes everything. A normal reinstall may leave old data on the drive, because only the system files are replaced and the free space is not overwritten. If you only need a fresh Windows for yourself, a normal reinstall is fine. If you will give the computer to someone else, use a real wipe or the clean data option.

Other Devices With Hard Drives

Many devices keep data even if they do not look like computers.

  • Old laptops and desktops: both use internal drives.
  • External drives and pen drives: easy to forget in a drawer.
  • Phones and tablets: use the factory reset after signing out, and keep encryption on.
  • Printers and cameras: some store files or memory cards.

Before you sell or give away any device, ask yourself: where could my data be stored here? To learn how the storage fits inside a computer, you can read our guide Computer Parts and Their Functions.

A Few Words from Me

I bought my computer to earn money online. At first it looked very hard to me, but after a few days of trying I felt it was not so different from a touch phone. Now I make images in Canva and videos for Facebook. This guide is written in simple words so that a student or a beginner can follow it without fear.

Frequently Asked Questions (FAQ)

1. How to wipe a hard drive completely? Back up your files first. Then use a method that overwrites or clears the whole drive, such as the Windows Reset this PC option with clean data, diskpart clean all for a spare drive, a trusted wiping tool for an HDD or the maker’s secure erase tool for an SSD.

2. Is formatting a hard drive the same as wiping it? No. A quick format creates a new file system but often leaves the old data in place. A real wipe overwrites or clears the data.

3. How do I wipe a hard drive before selling my laptop? Back up your files, sign out of your accounts, then use Reset this PC with Remove everything and the clean data option in Windows.

4. Can deleted files be recovered after wiping? After a proper wipe, recovery is very hard or impossible. After a simple delete or quick format, recovery is often possible.

5. How to wipe an SSD? Use the maker’s secure erase tool, a secure erase or sanitize command or crypto erase with encryption. Avoid many overwrites, which are meant for HDDs.

6. Does wiping a drive damage it? Normal wiping does not damage an HDD. Many repeated overwrites on an SSD can use up its life, which is why a secure erase is better for SSDs.

7. Should I destroy the drive instead? For a broken drive or extremely sensitive data, yes. For a working drive, a proper wipe is enough, and it lets the drive be reused.

8. Why should a beginner learn how to wipe a hard drive? Knowing how to wipe a hard drive protects your photos, passwords and papers when you sell, give away or recycle a device.

Conclusion

Deleting files is not enough when your data is private. A proper wipe removes your old information so that the next person cannot read it. For a Windows PC you can use Reset this PC with the clean data option, for a spare drive you can use diskpart or a trusted wiping tool, for an SSD you should use the maker’s secure erase or encryption and for a broken drive you can choose safe physical destruction.

Now that you know how to wipe a hard drive, remember the three golden rules: back up first, choose the right method for your drive type and double-check which drive you are erasing. With these steps, you can sell, give away or recycle your old devices with peace of mind.

πŸ“ŒRelated Posts

πŸ“ŒWhat Is a Hard Drive? A Simple Guide to Types, Uses and Working

πŸ“Œ Best Computer Types Bangla 2026

πŸ“Œ 8 Best Uses of Computer in Daily Life, Office & School

πŸ“Œ Best Ways to Take Screenshots on Computer: 5 Easy Tricks (2026)

Leave a Comment

Your email address will not be published. Required fields are marked *