Live Chat
Home » Blog » how to » Wipe NVMe Drive Completely – Step-by-Step Guide
how to

Wipe NVMe Drive Completely – Step-by-Step Guide

  author
Published By Ashwani Tiwari
Tej Pratap Shukla
Approved By Tej Pratap Shukla
Published On August 24th, 2026
Reading Time 6 Minutes Reading

There is no doubt that NVMe (Non-Volatile Memory Express) storage drives are now considered the standard in computer devices due to their incredibly high reading and writing speeds. However, when it comes to selling, donating, recycling, and repurposing the device, just removing files or formatting the drive will not do the trick. In most cases, residual data can be retrieved easily by anyone using free software, making your private and business data vulnerable. This is precisely why it is crucial to clean up the storage of NVMe drive thoroughly.

However, unlike conventional HDDs, NVMe SSDs feature different data management principles based on flash memory. Thus, conventional ways to wipe the drive such as deletion and overwriting are not effective for all types of drives. This guide provides an overview of every method of wiping an NVMe SSD, as well as the rationale behind each option.

Why You Should Wipe NVMe Drive Before Disposal?

And here’s why it’s necessary to do so:

  • Data privacy preservation – There are plenty of items one can recover from a poorly erased drive, such as financial information, passwords, private photos, business files.
  • Legal obligations – When working with personal data of customers, many businesses must adhere to certain data sanitization procedures (for instance, NIST 800-88).
  • Value preservation and safety – If done correctly, data erasing enables you to resell the drive without exposing your old files.
  • Identity protection – Just deleting the files preserves their signatures; it is possible to restore an entire folder with the help of file recovery software.

Considering this, it is vital to ensure that there is a proper method for wiping data on the NVMe drive.

#1: Using Windows Built-In Tools (Diskpart Clean)

Windows offers a command-line tool called Diskpart which can zero out partition information and, in some instances, offer a more comprehensive wipe with the use of the “clean all” option.

Steps:

  • Press Win + X and click on “Terminal (Admin)” or “Command Prompt (Admin).”
  • Type “diskpart” and hit enter to open the tool.
  • Use “list disk” command to display all the disks and find your NVMe disk according to the size.
  • Use “select disk X” command (X must be replaced with the correct disk number).
  • Use “clean” to delete partition and volume data or use “clean all” for more effective zeroing of the whole disk.
  • Once the process is completed, now exit the Diskpart window. Then, try to create a new partition if required.

Limitation: This method deletes partition tables, not the actual data blocks, making it an insecure option when it comes to forensics. The clean all method is slower but wipes all the data blocks and thus provides better (but not full-proof) protection against the recovery of data from SSDs/NVMe because of wear-leveling.

#2: Manufacturer’s Secure Erase Utility

Most companies producing SSDs develop specific software which allows communicating with the drive’s firmware in order to send an instruction to erase the drive at the hardware level. These utilities include, among others, Samsung Magician, Western Digital Dashboard, Crucial Storage Executive, and Intel Memory and Storage Tool.

Steps:

  • Find out what company manufactures your NVMe drive and install its utility.
  • Run the utility as an administrator.
  • Find the “Secure Erase” or “Sanitize” feature within it.
  • Make sure you have backed up any critical information prior to executing the procedure since it is irreversable.
  • Choose your NVMe drive and perform the secure erasing.
  • Wait for several minutes while the firmware erasure cycle completes.

It is very efficient as it involves using the drive’s firmware commands to zero out all memory cells and solve the problem of wear leveling.

Do check the article on – Does Dell Data Wipe Remove Windows

#3: Using NVMe Secure Erase via Command Line (nvme-cli)

The NVMe Secure Erase is one of the most efficient and accurate methods of wiping data off NVMe drives for users who have knowledge of working with Linux or more complex Windows environments.

The following are the steps on how to use NVMe Secure Erase in nvme-cli:

  • Install nvme-cli command line tool: sudo apt install nvme-cli (Debian/Ubuntu) or similar package name for other Linux distributions.
  • Identification of your NVMe drive via “sudo nvme list“.
  • Checking what type of sanitize/format commands the drive supports with “sudo nvme id-ctrl /dev/nvme0 -H“.
  • Executing either user data or cryptographic erasing command: “sudo nvme format /dev/nvme0n1 –ses=1” for user data or “sudo nvme format /dev/nvme0n1 –ses=2” for cryptographic erase (if supported).
  • Wait for completion.
  • Sanitize check: sudo nvme sanitize-log /dev/nvme0.

In fact, you are telling your SSD controller to erase or cryptographically destroy the encryption keys of data on the disk to make data recovery virtually impossible.

Although manual techniques and command-line utilities can be effective for tech-savvy individuals, the process can be tedious, dangerous in case the wrong command is issued, and hard to record as evidence for compliance purposes. In such scenarios, specialized software for data erasure can be an intelligent choice.

PCVITA File Eraser Software is one such software developed to delete data from NVMe SSDs, HDDs, and external storage devices using standard international sanitization techniques. The application features an intuitive, easy-to-use interface that eliminates the uncertainties in issuing manual commands, creates erasure certificates, and allows for bulk wiping. Such software can be useful to individuals looking for an automated way of data erasure that doesn’t require any interaction with the firmware or issuing of manual commands in the command line.

Verifying That Your NVMe Drive Has Been Wiped

No matter what technique you opt for, verification is absolutely key in the end. Prior to thinking about your task as complete, run a reliable data recovery program like Recuva, TestDisk, or PhotoRec to see whether or not there are any recoverable files on the drive. Once the scan produces zero results with regards to your previously existing files or folders. You’ll be able to feel relatively assured that you have managed to erase the data on your NVMe drive. In case of highly sensitive information (governmental, medical, banking, and alike), we recommend going with a certified erasure program to get a compliance report on sanitization.

Final Thoughts

Unlike erasing data on a typical HDD, wipe NVMe drive SSD is not quite simple because of specificities of flash memory structure and data handling at the controller level. If you opt for the Diskpart built-in command, Secure Erase provided by SSD manufacturers, the nvme-cli command-line tool, or some specific erasure software. Next, all you will want to make sure of is that no trace of your private or corporate information will remain after the process is complete. It will take you just a little time, but the results will be impressive!

  author

By Ashwani Tiwari

I am an Expert Technical Analyst, specialized in assisting users with complex technological challenges. Through my blogs and articles, I offer expert guidance to help tackle these technical issues effectively. My true passion lies in providing valuable insights and simplifying complicated technicalities, enhancing user understanding and confidence.