How to wipe an NVMe SSD: Sanitize vs Format

NVMe drives can erase themselves at the controller level. The trick is knowing whether to reach for Sanitize or Format — and how to prove the result.

t tScrub Team Last updated 22 Sep 2026 6 min read

The golden rule with NVMe drives is the same as anywhere else: let the drive erase itself. Writing zeros from the host with dd is slow, incomplete, and misses the drive's internal structures. NVMe's own commands reach everything.

The NVMe Sanitize command

Sanitize is the strongest erasure an NVMe drive supports. It tells the controller to render all stored data unrecoverable, and it comes in three modes:

If a drive offers Sanitize, it's almost always the right choice — particularly crypto erase, which completes in seconds.

The Format NVM command

Format NVM clears the drive's namespace — the logical structure the host sees. It's a step below Sanitize (it maps to NIST 800-88 Clear), but it's the fallback when a drive doesn't implement Sanitize, which is more common on older or budget NVMe drives.

Sanitize vs Format at a glance

SanitizeFormat NVM
ReachesAll user data + over-provisioningLogical namespace
SpeedSeconds (crypto) to minutesFast
NIST 800-88Purge / ClearClear
Use whenDrive leaves your controlReuse, or no Sanitize support

Wiping an NVMe drive with tScrub

  1. Boot the tScrub appliance (USB or PXE) with the drive installed.
  2. tScrub discovers the drive and checks what it supports — Sanitize modes, Format, and the drive's capability strings.
  3. It runs the strongest supported method and watches the SSTAT sanitize-status register to confirm the operation actually completes.
  4. The report records the method, the final status, and pre/post-wipe SMART data for the drive.

Verifying the wipe actually worked

A wiped NVMe drive should show no partition table and no readable data. More importantly, tScrub confirms completion at the controller level — it reads back the sanitize status, so a drive that reports success but never finished doesn't get marked clean. That's the difference between a green checkbox and genuine proof of erasure.

FAQ

Can I just use nvme format from the command line?

You can, and it works — but it only Clears the namespace, and you'll be assembling the audit trail yourself. tScrub does the capability detection, status verification, and reporting in one pass.

Why does crypto erase complete in seconds?

Because the data was always stored encrypted with a key the drive holds. Destroying the key is enough — nothing needs to be overwritten, so the erase is instant.

Keep reading

Wipe NVMe drives with a verifiable trail

tScrub runs the strongest supported erase and records it — with SMART data — in every report.

Get tScrub