How to Secure Erase an NVMe SSD
Why Secure Erase Matters More Than a Regular Format
When you drag files to the recycle bin or even reformat a drive, you’re not actually destroying the data. You’re just telling the drive that the space is available to write over. On an NVMe SSD, this gets even trickier because of wear leveling and over-provisioning, which means deleted files can linger in cells the operating system doesn’t even know about.
If you’re selling an old laptop, handing down a PC, or retiring a drive that once held sensitive files, a proper secure erase is the only way to be sure that data is actually gone. This guide walks through the safe way to do it on an NVMe drive, what happens to your ability to boot from that drive afterward, and where BIOS or UEFI settings come into play.
What Secure Erase Actually Does

A true secure erase on an NVMe SSD triggers the drive’s built-in sanitize or format command, which resets every memory cell, including the reserved and remapped ones that normal deletion never touches. This is different from a quick format, a full format, or even writing zeros across the drive with a disk utility.
NVMe drives support this natively through commands like Format NVM with a secure erase setting, or a Sanitize command depending on the controller. Either way, once it’s done, there’s no recovery software on earth that’s pulling your files back off that drive. That’s the whole point.
It’s worth understanding this distinction before you start: encryption-based erase (crypto erase) just discards the encryption key, which is nearly instant, while a full sanitize physically overwrites the NAND. Both are effective, but crypto erase only works if the drive was encrypted to begin with.
Before You Start: Backups and Bootability Warnings
Secure erase is permanent and unrecoverable. Do not proceed until you have verified a working backup of anything you want to keep.
Once you run a secure erase, the drive comes back completely blank, no operating system, no partitions, nothing. If this is your boot drive, your computer will not start until you reinstall Windows, macOS, or Linux, or clone a fresh image back onto it. If you’re not ready to reinstall an OS immediately after, don’t erase your only boot drive.
If you’re planning to migrate to a new drive first and erase the old one afterward, check out our guide on upgrading an SSD without losing data. It walks through cloning properly, which matters here because your destination drive needs enough capacity to hold the source drive’s used space, not just its total capacity. Also pay attention to the small EFI system partition; a botched clone that skips it will leave you with a drive full of files but nothing bootable.
If your current drive uses BitLocker or Windows device encryption, make sure you have your recovery key saved somewhere safe before you touch anything. You’ll need it if you ever want to access a cloned copy of that data, and some secure erase tools behave differently on encrypted volumes. Once you’ve cloned to a new drive, boot from it and confirm everything works, apps launch, files open, before you secure erase the old one. This verification step sounds obvious, but skipping it is the single most common regret people report.
Method 1: Manufacturer Software (Easiest for Most People)

If your NVMe drive is still installed as a secondary drive or is easily removable, the manufacturer’s own tool is usually the least frustrating route. These tools call the drive’s native secure erase command directly and are built for exactly this purpose.
- Samsung Magician for Samsung 970 EVO, 980 Pro, 990 Pro and similar drives, includes a dedicated Secure Erase function.
- WD Dashboard for WD Black SN770, SN850X and other Western Digital drives.
- Crucial Storage Executive for Crucial P3, P5 Plus, and T-series drives.
- Kingston SSD Manager for Kingston NVMe drives.
Most of these tools require the drive to not be the active boot drive, since Windows can’t erase the disk it’s currently running from. That means you’ll usually need to either boot from a USB drive, or pull the SSD and connect it externally through an NVMe enclosure.
This is where an enclosure earns its keep. Popping the drive into a USB enclosure lets you plug it into any other computer, run the manufacturer’s tool, and erase it without touching BIOS settings or creating bootable media.
NVMe USB Enclosure
A reliable way to connect a bare NVMe drive to any PC or Mac for secure erasing, cloning, or reuse as external storage.
Once connected externally, the drive shows up like any other external SSD, and most manufacturer tools will detect it and offer the secure erase option without any BIOS interaction needed at all.
Method 2: Using BIOS/UEFI or Boot Media (For System Drives)

If the NVMe drive is your active boot drive and you can’t easily remove it, you have a couple of options that don’t require pulling hardware.
Many desktop and laptop BIOS/UEFI menus include a built-in secure erase or “sanitize disk” option under storage settings, particularly on business-class laptops and workstation boards. Check your BIOS under Advanced, Security, or Storage Configuration tabs. Not every manufacturer includes this, so don’t be surprised if it’s missing on consumer boards.
If your BIOS doesn’t offer it, the more universal approach is booting from a USB drive running a Linux-based tool like Parted Magic (paid but reliable) or using nvme-cli from a Linux live USB with the command:
sudo nvme format /dev/nvme0n1 --ses=1
This runs a cryptographic or user data erase depending on the drive’s supported sanitize capabilities. Windows users can also use diskpart with the clean all command, though this performs a full overwrite rather than a native NVMe sanitize, so it takes considerably longer, sometimes hours on larger capacity drives.
Either way, once the erase finishes, your BIOS will no longer see a bootable OS on that drive. This is expected and confirms the erase worked. You’ll need to reinstall an operating system or connect a different boot drive to get the machine running again.
What to Do With the Drive Afterward
A securely erased NVMe drive still has a full lifespan ahead of it. If you’re keeping it, it’s a perfect candidate for a second working drive or scratch disk. If you’re selling it, a secure erase plus a quick functional test (checking SMART data) gives buyers confidence the drive isn’t hiding anything, and it protects you from liability if the data was sensitive.
If you’ve upgraded to a larger or faster drive and the old one is just sitting in a drawer, consider using an enclosure to turn it into portable storage instead of discarding it entirely. It’s a low-effort way to get more use out of hardware you already paid for, and it pairs well with the advice in our piece on whether an external SSD can speed up an aging laptop.
SABRENT USB 3.2 NVMe Enclosure
A well-reviewed enclosure option if you plan to reuse the erased drive as fast external storage.
If you’re deciding between repurposing the drive or replacing it entirely, our comparison of NVMe SSD vs Intel SSD options and our breakdown of what NVMe SSDs are actually best used for can help you figure out where the erased drive still fits into your setup, versus when it’s time to just recycle it.
Frequently Asked Questions
Will a secure erase remove BitLocker or device encryption?
Yes. Secure erase wipes the entire drive including the encrypted volume, so BitLocker protection is irrelevant afterward, there’s simply no data left to protect. Just make sure you’ve already backed up your recovery key and cloned any needed files before you erase, since you won’t be able to unlock or access anything on the drive once it’s done.
Can I secure erase an NVMe drive without removing it from my laptop?
Only if it’s not your active boot drive, or if your BIOS has a native secure erase feature. Since most laptops only have one NVMe slot, you’ll typically need to boot from a USB drive running a tool like Parted Magic, or remove the drive and connect it via an external enclosure to a different computer.
Does secure erase affect the drive’s lifespan or performance?
Not noticeably. Modern NVMe SSDs are rated for a specific number of total bytes written (TBW), and a single secure erase pass uses a negligible fraction of that. If anything, a secure erase often restores a drive’s write performance closer to factory levels by resetting garbage collection and wear leveling tables that build up over years of use.
This article contains affiliate links. We may earn a small commission at no extra cost to you.
James Kennedy is a writer and product researcher at Drives Hero with a background in IT administration and consulting. He has hands-on experience with storage, networking, and system performance, and regularly improves and optimizes his home networking setup.





