sodcalculator

10 Tech How-To

How to Format NVMe SSD: Full Guide

Guide 10-49567 · Updated · Step by step

Formatting an NVMe SSD prepares it for use by creating a file system, which lets your operating system store and retrieve files on the drive. This guide covers the steps for Windows, macOS, and Linux, plus how to securely erase the drive if you plan to sell or repurpose it. Before you start, back up any data you want to keep—formatting permanently deletes everything on the drive.

What You’ll Need

  • An NVMe SSD installed in your computer or connected via a USB enclosure (make sure the enclosure supports NVMe, not just SATA).
  • Administrator or root access to the computer.
  • A backup of any data you want to preserve.
  • For a secure erase: the manufacturer’s NVMe utility (e.g., Samsung Magician, WD Dashboard) or a bootable USB with a tool like Parted Magic.

Step-by-Step

Windows 10/11

  1. Open Disk Management: right-click the Start button and select “Disk Management,” or press Win+X and choose it.
  2. Locate your NVMe drive in the lower list. It will be labeled “Disk 1,” “Disk 2,” etc. Be careful not to pick your system drive (usually Disk 0).
  3. If the drive is Unallocated: right-click the unallocated space and choose “New Simple Volume.” Follow the wizard, assign a drive letter, and choose a file system (NTFS for general use, exFAT for external drives that need to work with Macs).
  4. If the drive already has partitions: right-click each partition and select “Delete Volume” to remove them, then repeat step 3.
  5. To format an existing partition without deleting it: right-click the partition and choose “Format,” set the file system, check “Quick Format” (or uncheck for a full format), and click OK.
  6. Wait for the process to finish. A full format may take a few minutes on large drives.

macOS (Ventura and later)

  1. Open Disk Utility (Applications > Utilities > Disk Utility).
  2. In the sidebar, select your NVMe drive (the top-level item, not the volume underneath).
  3. Click Erase in the toolbar.
  4. Choose a name, then select a format: APFS for internal drives (or macOS Extended Journaled for older Macs), exFAT for cross-platform external drives.
  5. Choose a scheme: GUID Partition Map for Intel and Apple Silicon Macs.
  6. Click Erase and wait for it to finish. The drive will be formatted and mounted.

Linux (using GParted or fdisk)

  1. Open a terminal and check the drive name with lsblk or sudo fdisk -l. It will be something like /dev/nvme0n1.
  2. If using GParted (GUI): install it (sudo apt install gparted), launch it, select the drive from the dropdown, and go to Device > Create Partition Table (choose GPT). Then right-click the unallocated space and select New to create a partition, and choose a file system (ext4 for Linux, NTFS for Windows compatibility, exFAT for cross-platform).
  3. If using the command line: run sudo mkfs.ext4 /dev/nvme0n1p1 (replace ext4 with your file system and the partition name with your actual one).
  4. Mount the partition with sudo mount /dev/nvme0n1p1 /mnt to verify it works.

Secure Erase (for selling or repurposing)

  1. Back up any data you need.
  2. Use the manufacturer’s utility (e.g., Samsung Magician, WD Dashboard, or Intel SSD Toolbox) to run a Secure Erase or Sanitize command. This resets the drive to factory state and ensures data cannot be recovered.
  3. If you don’t have a utility, create a bootable USB with Parted Magic and use its built-in NVMe Secure Erase tool.
  4. After secure erase, you’ll need to initialize the drive again (create a partition table) before you can use it.

Common Mistakes

  • Formatting the wrong drive—always double-check the disk number and capacity before proceeding.
  • Choosing the wrong file system—NTFS won’t work natively on Macs, and APFS won’t work on Windows. Use exFAT for external drives that need cross-platform compatibility.
  • Forgetting to initialize a new drive—some drives show as “Unknown” or “Not Initialized” in Disk Management. Right-click and select “Initialize Disk” (choose GPT) first.
  • Assuming a quick format is enough for secure deletion—quick format only removes the file index, not the data. Use a full format or secure erase if privacy matters.
  • Not unplugging the drive during a system crash—interrupting a format can corrupt the drive’s partition table.

Tips

  • Always use GPT (GUID Partition Table) rather than MBR for NVMe drives—it supports larger capacities and is required for UEFI boot.
  • For Windows, use NTFS for system drives and exFAT for external drives. For Linux, ext4 is a solid default.
  • If you’re using the drive as a secondary storage drive, consider leaving a small unallocated space (about 10%) to help with wear leveling, though modern SSDs handle this automatically.
  • After formatting, run a quick benchmark (e.g., CrystalDiskMark) to confirm the drive is performing as expected.
  • Keep your NVMe firmware updated via the manufacturer’s tool—this can fix bugs and improve performance.

Troubleshooting

  • Drive not showing up in Disk Management / Disk Utility: Check the physical connection (reseat the drive or try a different M.2 slot or enclosure). In Windows, open Device Manager and see if the drive appears under “Disk drives” with a yellow warning—if so, update the driver. In macOS, try resetting the NVRAM (Intel Macs) or SMC.
  • “Cannot format” or “Format failed” error: This often happens if the drive is in use. Close all programs that might access it, and try again. In Windows, you may need to use diskpart to clean the drive: open Command Prompt as admin, type diskpart, then list disk, select disk X, clean, and then format it in Disk Management.
  • Drive shows as read-only: Check if the drive has a physical write-protect switch (rare on NVMe) or if it’s locked by BitLocker (Windows) or FileVault (macOS). Unlock it first.
  • Formatting takes forever: A full format on a large drive can take over an hour. If it’s stuck, cancel and try a quick format instead. If the drive is failing, it may hang—check the SMART status with the manufacturer’s tool.
  • Drive becomes unresponsive after formatting: Reboot the system. If it still doesn’t appear, the drive may be faulty—try it in another computer or contact the manufacturer.

Frequently Asked Questions

Does formatting an NVMe SSD reduce its lifespan?

No. Formatting writes a small amount of data (the file system structure) and does not significantly affect the drive’s endurance. Even a full format writes far less than a typical day of use.

What’s the difference between quick format and full format?

A quick format just creates a new file system index, marking all space as empty. A full format also checks each sector for errors and writes zeros to the entire drive, which takes much longer. For a new drive, a quick format is sufficient.

Can I format an NVMe SSD with a USB adapter?

Yes, as long as the adapter supports NVMe (not just SATA). The drive will appear as an external drive, and you can format it using the same steps as an internal drive.

Which file system should I choose for a dual-boot system?

Use NTFS if you’ll primarily use Windows, or exFAT for a drive that needs to be read/written by both Windows and macOS. Linux can read/write NTFS with the ntfs-3g driver.

Do I need to partition an NVMe SSD before formatting?

Yes, you need at least one partition. Most operating systems will automatically create a partition when you format a new drive. You can also create multiple partitions to separate OS and data.

How do I securely erase an NVMe SSD without a manufacturer utility?

On Linux, you can use the nvme-cli tool: sudo nvme format /dev/nvme0n1 --ses=1 (secure erase). On Windows, you can use the built-in diskpart clean all command, but it’s slower and not as secure as a proper NVMe secure erase.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →