Evidence Wipe
Files & drives

How to Securely Erase an SSD (and Why Overwriting Isn't Enough)

How to securely erase an SSD on Windows: the manufacturer's sanitize tool, BIOS secure erase, encryption and reset, and why multi-pass wipes fall short.

Updated 5 minute read The Evidence Wipe team

The most reliable way to securely erase an SSD is to use the drive's own built-in sanitize command, usually through the manufacturer's free SSD utility or your PC's UEFI/BIOS setup, because only the drive's controller can reach every flash cell. If the drive was encrypted with BitLocker from the start, resetting or reformatting it also leaves the old data unreadable. Overwriting software and "35-pass" wipes, which work well on hard drives, cannot guarantee every copy on an SSD is gone. This guide explains why, and walks through the options from most to least thorough.

Why SSDs need a different approach

On a spinning hard drive, overwriting a location replaces the data stored there. SSDs do not work that way:

  • Wear leveling. To spread wear evenly, the SSD's controller writes new data to fresh flash blocks and remaps addresses. When software "overwrites" a file, the new data usually goes somewhere else, and the old block may still hold the original until the drive gets round to clearing it.
  • Over-provisioning. SSDs keep a reserve of flash that Windows cannot see. Data can linger there out of reach of any normal software.
  • TRIM and garbage collection. Windows tells the SSD which blocks are no longer needed (TRIM), and the drive clears them in the background. This helps a lot in practice, but you cannot see or control exactly when it happens.

The practical result: no software running in Windows can guarantee that every copy of your data on an SSD has been overwritten. The drive itself can, because its sanitize and secure erase commands act on all the flash, including hidden areas. The US government guidance on media sanitization, NIST SP 800-88, reflects this by recommending the drive's own sanitize commands for flash storage.

Step 1: Find out what kind of SSD you have

  1. Right-click Start and choose Device Manager, then expand Disk drives to see the make and model.
  2. Search Start for Defragment and Optimize Drives to confirm the Media type is Solid state drive.
  3. Note whether it is a SATA SSD or an NVMe (M.2 PCIe) drive. The model name or the manufacturer's site will tell you. The commands differ slightly between the two.

Back up anything you want to keep before going further. Every method below destroys all data on the drive.

Most SSD makers offer a free Windows utility that can run the drive's secure erase or sanitize command. Examples include Samsung Magician, Crucial Storage Executive, WD Dashboard (Western Digital and SanDisk), Kingston SSD Manager and Solidigm Storage Tool. Download it from the manufacturer's own website.

  • Look for an option named Secure Erase, Sanitize or Format (with a user data erase setting) in the tool.
  • You usually cannot erase the drive Windows is running from. Tools handle this in different ways: some create a bootable USB stick, others require the SSD to be a secondary drive.
  • SATA drives are sometimes "frozen" by the BIOS for security. The tool may ask you to put the PC to sleep and wake it, or to briefly unplug the drive's power (desktops only) to unfreeze it. Follow the tool's own instructions.
  • A secure erase usually completes in seconds to minutes, because the controller resets the flash or discards its internal encryption key rather than writing every block.

Option 2: The UEFI/BIOS secure erase

Many business laptops and some desktops have a drive erase option in their firmware setup, often labeled something like Secure Erase, Data Wipe or Drive Sanitize. You reach it by pressing the setup key (commonly F2, F10, F12 or Delete) as the PC starts. Because it runs before Windows loads, it can erase the system drive directly. Check your PC maker's support pages for the exact steps for your model.

Option 3: Encryption, then reset

If BitLocker or Windows Device Encryption has been on since the drive was set up, everything on the SSD is stored encrypted. Without the key, the leftover data is unreadable. Check this under Settings > Privacy & security > Device encryption (Windows 11 Home) or by searching Start for Manage BitLocker (Pro editions).

Then use Settings > System > Recovery > Reset PC > Remove everything, and under Change settings turn on Clean data. The reset removes the old encryption keys, and the cleaning step overwrites the drive as well. This is a sensible approach if you are selling the whole PC, and it is covered step by step in how to wipe a computer before selling it.

Turning on encryption now, just before you erase, is less effective: data written before encryption may survive in blocks the drive has not yet cleared.

Option 4: diskpart clean all (good, not complete)

For a secondary SSD, Windows' diskpart can write zeros over every addressable sector:

  1. Run Command Prompt as administrator and type diskpart.
  2. Type list disk and identify the SSD by its size. Be certain; the next steps erase the selected disk.
  3. Type select disk N (where N is the SSD's number), then clean all.

This overwrites everything Windows can see, which defeats ordinary recovery tools. It cannot reach over-provisioned space or blocks the controller has remapped, so treat it as a strong cleanup rather than a guaranteed sanitize.

What not to bother with

  • Many-pass methods on SSDs. Gutmann's 35 passes and the DoD 7-pass method were designed for hard drives. On an SSD they add wear without reaching hidden areas. See DoD 5220.22-M vs Gutmann for the background.
  • Quick format. It rewrites the file system only. TRIM may clear much of the drive afterward, but you have no confirmation.
  • Physical destruction at home. Drilling through an SSD may miss individual flash chips. If you need physical destruction, use a certified shredding service.

Where Evidence Wipe fits

For an SSD you are keeping, Evidence Wipe's SSD-Aware Erasure detects SSDs and NVMe drives automatically and uses one verified overwrite pass plus TRIM, following NIST 800-88 guidance, instead of piling on hard-drive style passes. That is useful for wiping free space or erasing a secondary SSD, and each job produces a Verification Report. We say plainly, as on our features page, that no software can guarantee every copy on an SSD is overwritten; when you are retiring an SSD completely, use the manufacturer's secure-erase or sanitize tool as described above.

Frequently asked questions

Does formatting an SSD erase the data?

A quick format only creates a new file system. TRIM may clear much of the old data afterward, but you get no confirmation, so use a secure erase or sanitize command for anything sensitive.

Does secure erase damage an SSD?

No. A secure erase or sanitize command is a normal function of the drive and causes very little wear, far less than running multiple overwrite passes.

Can I secure erase the SSD Windows is running from?

Usually not from inside Windows. Manufacturer tools often create a bootable USB stick for this, or use the PC's UEFI/BIOS erase option. Reset this PC with Clean data overwrites the drive but is not a true secure erase.

Get three guides like this every month, plus software update notices.Subscribe →