Still using the DoD 5220.22-M 3-pass method for erasing your drives? Use NIST 800–88 instead to securely erase your HDD/SSD/NVMe drives…

I’ve been aware of the ATA Secure Erase method for some time, but did not know if it was implemented in any official gov-related data erasure procedures or what the new “standard” was.


Instead of referencing DoD 5220.22-M, reference NIST 800–88. The former is no longer considered relevant nor referenced by industry-leading data-erasure companies and agencies.


  • Use ATA Secure Erase


  • Use ATA Crypto Sanitize, Crypto Erase if supported by SSD
  • Use ATA Secure Erase otherwise


  • Use Crypto Sanitize, Crypto Erase if supported by NVMe
  • Use Secure Erase otherwise
  • Note: NVMe's do not contain the ATA prefix; the commands are identified under "NVM Express Format"

Windows/Linux folks:

Mac folks:

I have seen some sites stating that SSD/NVMe drives are best erased using Disk Utility (which is capable of the above commands) and that the use third-party tools may make your Mac angry. Not sure.


This chart may be useful when considering the different methods of media sanitation. You can find this chart and more details on page 23–24 of the NIST 800–88 guidelines.

Sanitization and Disposition Decision Flow


Primary source can be found starting on page 35 of the NIST 8088–88, link provided at bottom.

Sanitize vs Secure

Article on Wiping Standards

Additional Information on SSD Erasure

Additional Information on Common Misconceptions and Erasure

Official NIST 800–88 PDF — see page 35

Final note:

I chose to include this preview image because “ATA Secure Erase” and “NVMe Secure Erase” are plainly visible to bring about awareness AND because Parted Magic is a software that easily enables you to run both commands on Win/Linux. I am not promoting or endorsing any software mentioned 😊.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store