To format an M.2 SSD, back up your data, remove old partitions, and create a new file system.
Learning how to format M.2 SSD storage is simple when you choose the right tool and file system first. This guide explains safe methods for Windows, macOS, and Linux, plus BIOS checks, partition styles, common errors, and practical tips to avoid deleting the wrong drive.

What Formatting an M.2 SSD Does
Formatting an M.2 SSD prepares it for use by creating a file system, such as NTFS, exFAT, APFS, or ext4. It may also remove old partitions, boot files, and data stored on the drive.
An M.2 drive can use either the NVMe or SATA interface. The physical shape may look similar, but the connection type affects how your computer detects the drive. Check your motherboard or laptop manual before troubleshooting a missing SSD.
Formatting is not the same as securely erasing every memory cell. A quick format removes file system records and makes space appear available. Old data may still be recoverable with specialist tools until new data overwrites it or the drive receives a secure erase command.
When you format an M.2 SSD, the process can:
• Delete files and folders
• Remove existing partitions
• Create a new file system
• Prepare the drive for Windows, macOS, Linux, or shared use
• Fix some file system errors
• Make the drive ready for a clean operating system installation

What to Do Before You Format an M.2 SSD
Before you format an M.2 SSD, confirm that you have selected the correct drive. Formatting the wrong disk can permanently remove personal files, photos, applications, or an operating system.
Back Up Important Files
Copy important files to another SSD, hard drive, cloud account, or network location. Open a few copied files to confirm that the backup works. A backup is useful only when you can restore the data.
If the M.2 SSD contains Windows, create a bootable Windows installer before you begin. If it contains Linux, save your home folder and any encryption recovery keys.
Check the Drive Size
Look at the SSD capacity in your computer’s storage tool. A 1 TB SSD may appear as about 931 GB in Windows because manufacturers and operating systems calculate capacity differently.
Use the model number as another check. The model shown in Disk Management, Disk Utility, or a Linux terminal should match the label on the drive or its product box.
Decide on the File System
Choose a file system based on how you will use the drive:
• NTFS works well for Windows applications and internal Windows drives.
• exFAT works across Windows and macOS and supports large files.
• APFS is best for modern Mac systems.
• ext4 is a common choice for Linux.
• FAT32 supports older devices but limits individual files to 4 GB.
Understand GPT and MBR
GPT is the modern partition style. It supports large drives, many partitions, and UEFI booting. MBR is older and has limits, including a practical disk size limit of about 2 TB for common setups.
Use GPT for most new computers. Choose MBR only when an older computer or operating system requires it.
Disconnect Other Drives When Possible
If you are performing a clean operating system installation, disconnecting other internal drives can reduce confusion. It also lowers the risk of deleting the wrong partition during setup.
A mistake I often see during drive upgrades is choosing a partition by its position instead of checking its size and model. Take an extra minute to verify both.

How to Format an M.2 SSD in Windows
Windows provides several ways to format an M.2 SSD. Disk Management is the easiest choice when the drive already appears in Windows. File Explorer works for a simple existing partition, while DiskPart is useful when old partitions cause problems.
Format an M.2 SSD With Disk Management
Follow these steps:
- Press Windows + X.
- Select Disk Management.
- Find the M.2 SSD by checking its capacity and status.
- Right-click the partition you want to erase.
- Select Delete Volume if you want to remove the current partition.
- Right-click the unallocated space.
- Select New Simple Volume.
- Follow the wizard.
- Choose a drive letter.
- Select NTFS for a Windows-only drive or exFAT for cross-platform use.
- Enter a volume label, such as “Games” or “Projects.”
- Select Quick Format.
- Finish the process.
If the SSD is new, Windows may ask you to initialize it. Select GPT unless you have a specific reason to use MBR.
Format an M.2 SSD in File Explorer
This method works when the SSD already has a usable partition:
- Open File Explorer.
- Select This PC.
- Right-click the SSD.
- Choose Format.
- Select NTFS or exFAT.
- Leave Allocation unit size at Default.
- Keep Quick Format enabled.
- Enter a volume label if desired.
- Select Start.
File Explorer cannot always format a drive with damaged partition data or several hidden partitions. Use Disk Management or DiskPart in that situation.
Format an M.2 SSD With DiskPart
DiskPart is powerful and should be used carefully. One wrong disk number can erase the wrong drive.
- Open the Start menu.
- Search for Command Prompt.
- Select Run as administrator.
- Type
diskpartand press Enter. - Type
list diskand press Enter. - Identify the M.2 SSD by its size.
- Type
select disk X, replacing X with the correct disk number. - Type
cleanand press Enter. - Type
convert gptand press Enter. - Type
create partition primaryand press Enter. - Type
format fs=ntfs quickand press Enter. - Type
assignand press Enter. - Type
exitand press Enter.
The clean command removes partition information from the selected disk. It does not securely overwrite every block, but the old volumes will no longer appear normally.
Format an M.2 SSD During Windows Setup
Use this method when installing Windows on the SSD:
- Start the computer from a Windows installation USB drive.
- Select your language and keyboard settings.
- Choose Install now.
- Select Custom: Install Windows only.
- Identify the M.2 SSD by size.
- Select each partition on that SSD.
- Choose Delete until the disk shows unallocated space.
- Select the unallocated space.
- Choose Next.
Windows will create the required EFI, recovery, and system partitions. Do not delete partitions on another disk unless you have verified that disk carefully.

How to Format an M.2 SSD on macOS
macOS uses Disk Utility to format internal and external SSDs. The correct format depends on whether the drive will stay with a Mac or move between different systems.
Format an M.2 SSD With Disk Utility
- Connect the M.2 SSD through a compatible enclosure or adapter if needed.
- Open Applications.
- Open Utilities.
- Start Disk Utility.
- Select View, then Show All Devices.
- Select the physical M.2 SSD in the left panel.
- Choose Erase.
- Select GUID Partition Map as the scheme.
- Choose APFS for Mac-only use.
- Choose exFAT for Windows and Mac compatibility.
- Enter a name for the drive.
- Select Erase.
- Select Done when the process finishes.
Selecting the physical device instead of only a volume lets you change the partition scheme. This matters when the SSD was previously used in a Windows computer.
Choose the Right Mac File System
APFS is usually the best choice for a Mac startup drive or a Mac-only internal SSD. It supports modern macOS features and works well with SSD storage.
exFAT is a better choice for a drive used between macOS and Windows. However, it does not provide all the features of APFS or NTFS, and it should always be ejected properly.
macOS can read NTFS by default in many versions, but write support is limited without third-party software. Formatting an M.2 SSD as exFAT avoids that limitation for basic file transfers.
Format an M.2 SSD From macOS Recovery
If the M.2 SSD contains the current macOS installation, you cannot normally erase the active startup volume from within that same system. Start in macOS Recovery instead.
On Apple silicon Macs, shut down the Mac, then press and hold the power button until startup options appear. On Intel Macs, restart and hold Command + R. Open Disk Utility, erase the correct drive, and reinstall macOS if needed.
Always confirm the drive name and capacity before erasing. Recovery mode may show several system volumes, so selecting the physical device is important.

How to Format an M.2 SSD in Linux
Linux offers graphical and command-line tools for formatting an M.2 SSD. Disks, KDE Partition Manager, and GParted are common graphical choices.
Format an M.2 SSD With GNOME Disks
- Open the Applications menu.
- Search for Disks.
- Select the M.2 SSD.
- Confirm its model and capacity.
- Select the existing partition.
- Choose the settings menu.
- Select Format Partition.
- Choose ext4 for Linux use.
- Choose exFAT for Windows and Linux sharing.
- Confirm the warning.
- Create a new partition if needed.
- Mount the drive.
Do not format a mounted system partition. If the SSD contains your active Linux installation, use a live USB environment instead.
Format an M.2 SSD With the Terminal
The terminal method requires care. First, list available drives:
lsblk
Find the correct device by checking its size and model. Then unmount the target partition:
sudo umount /dev/nvme0n1p1
Create an ext4 file system:
sudo mkfs.ext4 /dev/nvme0n1p1
Replace the example device with the correct partition. A command such as mkfs.ext4 destroys data on the selected partition.
To create a new partition table, use a tool such as fdisk or parted. For most modern computers, select GPT. If you want a shared storage drive, create exFAT instead:
sudo mkfs.exfat /dev/nvme0n1p1
Some Linux distributions require an exFAT package before this command works.
Secure Erase and SSD Health
A full overwrite is not the best routine method for an SSD. Flash storage manages data through a controller, so software may not overwrite every physical cell in the way users expect.
For sensitive data, use the SSD manufacturer’s secure erase tool or a trusted Linux utility that supports the drive. Check the drive’s health with SMART data before relying on it for important work.

How to Format an M.2 SSD for a Clean Install
A clean installation removes the old operating system and starts with an empty partition layout. It can solve software conflicts, but it also removes applications, settings, and personal files.
Before starting, save:
• Personal files
• Browser bookmarks and passwords
• License keys
• Device drivers
• Game saves
• Encryption recovery keys
• Software settings
For Windows, boot from an installation USB and delete the partitions on the target SSD. For macOS, use Recovery and Disk Utility. For Linux, boot from a live USB and use the installer or a partition tool.
Use GPT and UEFI on most current systems. Legacy BIOS mode may require MBR, but mixing legacy boot mode with a GPT installation can cause boot errors.
After installation, update the operating system, chipset drivers, storage drivers, and SSD firmware. Firmware updates can improve compatibility, but follow the manufacturer’s instructions and keep the computer connected to reliable power.

M.2 SSD Not Showing Up After Formatting
If your M.2 SSD does not appear, formatting may not be the real problem. The computer must detect the drive before any operating system tool can format it.
Check these areas:
• Reseat the M.2 drive and tighten its screw.
• Confirm that the slot supports NVMe or SATA, as required.
• Check whether the slot disables a SATA port or PCIe slot.
• Review storage settings in UEFI or BIOS.
• Update the motherboard firmware when appropriate.
• Test the drive in another compatible computer or enclosure.
• Check Disk Management, Disk Utility, or lsblk again.
Some M.2 slots support only one protocol. An NVMe SSD will not work in a SATA-only M.2 slot, even though the connector looks similar.
If Windows sees the disk but shows “Not Initialized,” initialize it as GPT, create a volume, and format it. If it shows “Unknown” or “Offline,” check for a connection issue or a drive health problem first.

Common Formatting Mistakes to Avoid
The most serious mistake is formatting the wrong disk. Always compare the disk number, capacity, model, and current contents before selecting Erase, Delete, Clean, or Format.
Other mistakes include:
• Formatting the system disk while Windows is running
• Choosing FAT32 for files larger than 4 GB
• Using MBR on a modern system that expects GPT
• Removing a recovery partition without understanding its purpose
• Ignoring BitLocker or FileVault recovery keys
• Interrupting the process during a firmware update
• Using an unreliable USB enclosure or adapter
• Assuming a quick format is a secure data wipe
Formatting an M.2 SSD usually takes only a few minutes. The preparation takes longer, but it protects your files and prevents avoidable setup problems.
How to Verify the M.2 SSD After Formatting
After you format an M.2 SSD, verify that the operating system can read and write to it.
Create a test folder and copy several files to the drive. Open the files from the SSD, then safely eject the drive if it is external. For an internal SSD, restart the computer and confirm that the volume remains available.
You can also check:
• The correct capacity
• The selected file system
• The partition style
• The assigned drive letter or mount point
• SSD temperature
• SMART health information
• Read and write performance
Do not judge speed from one benchmark alone. Temperatures, drive capacity, system settings, and the type of test can change the result. A nearly full SSD may also perform differently from a mostly empty one.
Frequently Asked Questions About How to Format an M.2 SSD
Does formatting an M.2 SSD delete everything?
Yes. Formatting can remove files, folders, and partition information from the selected volume or disk. Back up your data before you begin, and verify the drive identity carefully.
Should I use NTFS or exFAT for an M.2 SSD?
Use NTFS when the drive will mainly stay in a Windows computer. Use exFAT when you need simple file sharing between Windows and macOS.
Should I choose GPT or MBR when formatting an M.2 SSD?
Choose GPT for most modern computers that use UEFI. Use MBR only for older hardware or software that cannot boot from GPT.
Can I format an M.2 SSD without an operating system?
Yes. You can format it from a Windows installer, macOS Recovery, or a Linux live USB. These methods are useful when the SSD is the intended system drive.
Does a quick format damage an M.2 SSD?
A quick format does not normally damage the SSD. It changes file system information and marks the space as available, while the SSD controller manages the underlying flash memory.
Why is my M.2 SSD not visible in Disk Management?
The slot may not support the SSD’s interface, or the drive may not be seated correctly. Check the motherboard manual, UEFI settings, connections, and the drive in another compatible system.
Is formatting an M.2 SSD the same as secure erasing it?
No. Formatting removes or replaces file system information, but it is not designed to destroy every trace of old data. Use a supported secure erase feature when sensitive data must be removed.
Conclusion
Knowing how to format an M.2 SSD helps you prepare new storage, solve partition problems, or complete a clean operating system installation. Back up your files, confirm the correct drive, choose GPT for most modern systems, and select a file system that matches your devices.
Windows users can use Disk Management, macOS users can use Disk Utility, and Linux users can use Disks, GParted, or trusted terminal commands. Take your time before confirming any erase action, then test the drive after formatting.
Use these steps to set up your M.2 SSD with confidence, and share your experience or questions in the comments.

Everett Ashford is a tech reviewer at mytechgrid.com specializing in SSDs, cameras, TVs, earbuds, headphones, and other consumer electronics. He provides honest, data-driven reviews based on hands-on testing and real-world performance analysis. Everett simplifies complex tech details to help readers make smart, confident buying decisions.
