October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk3 min

How to Format an SSD in Command Prompt (Windows 10 and 11)

Use Windows’ format command for an SSD volume with a drive letter, or DiskPart to erase its partition layout and create a new one. Learn the commands and risks.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can format an SSD from Command Prompt using Windows’ built-in format command if the SSD already has a drive letter, or DiskPart if you need to create a new partition layout. The DiskPart route can erase the selected disk’s partition layout, so identify the correct drive before running any destructive command.

Before you format: choose the right method

Formatting an existing volume and rebuilding a disk’s partition layout are different tasks. Use the volume command when the SSD already appears with a drive letter. Use DiskPart when you need to remove the existing layout and create a new partition.

As an Amazon Associate I earn from qualifying purchases.

Task Tool and target Effect
Format an existing volume format followed by its verified drive letter Formats that volume using the file system and options you specify.
Create a new partition layout DiskPart, with the SSD selected by disk number clean removes partitions or volume formatting from the selected disk; you then create and format a partition.

Back up files you need before formatting. Microsoft documents DiskPart for Windows 10 and Windows 11 and notes that it requires membership in the local Administrators group, or equivalent privileges. Its commands act on the object currently in focus, so list and select the intended object before issuing commands: Microsoft Learn: diskpart.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Format an SSD volume that already has a drive letter

  1. Confirm the drive letter. Check File Explorer or Disk Management, and make sure the letter belongs to the SSD volume you intend to format.
  2. Open Command Prompt as administrator.
  3. Run the format command. Replace X: with the confirmed drive letter and change the label if desired:
    format X: /FS:NTFS /Q /V:Data
  4. Wait for completion and verify the volume in File Explorer.

Microsoft’s format command supports file systems including FAT, FAT32, NTFS, exFAT, ReFS and UDF. Choose one compatible with the devices and software that will use the drive. The example uses NTFS; it is not a requirement for every SSD or use case. Microsoft documents /Q as quick format: it deletes the file table and root directory of a previously formatted volume without performing a sector-by-sector scan for bad areas. That behavior is not a secure-erasure guarantee. See Microsoft Learn: format.

#1 Best Overall
Sale
Samsung SSD 990 PRO 2TB, PCIe 4.0 M.2 2280, Up to 7,450 MB/s | NVMe Internal Solid State Hard Drive for High End Computing, Gaming, and Heavy Duty Workstations, (MZ-V9P2T0B/AM)
  • MEET THE NEXT GEN: Consider this a cheat code; Our Samsung 990 PRO Gen4 SSD helps you reach near max performance with lightning-fast speeds; Whether you’re a hardcore gamer or a tech guru, you’ll get power efficiency built for the final boss
  • REACH THE NEXT LEVEL: Gen4 steps up with faster transfer speeds and high-performance bandwidth; With a more than 55% improvement in random performance compared to 980 PRO, it’s here for heavy computing and faster loading
  • THE FASTEST SSD FROM THE WORLD'S FLASH MEMORY BRAND: The speed you need for any occasion; With read and write speeds up to 7450/6900 MB/s you’ll reach near max performance of PCIe 4.0 powering through for any use
  • PLAY WITHOUT LIMITS: Give yourself some space with storage capacities from 1TB to 4TB; Sync all your saves and reign supreme in gaming, video editing, data analysis and more
  • IT’S A POWER MOVE: Save the power for your performance; Get power efficiency all while experiencing up to 50% improved performance per watt over the 980 PRO; It makes every move more effective with less consumption

Create and format a new partition with DiskPart

Use this procedure only when you intend to remove the selected SSD’s current partition or volume formatting and make a new partition. DiskPart’s clean command removes all partitions or volume formatting from the disk in focus.

  1. Open Command Prompt as administrator and start DiskPart:
    diskpart
  2. List disks:
    list disk
  3. Identify the SSD from the displayed details. Do not assume it is Disk 1 or copy a disk number from an example. If you need more information, select the candidate disk and inspect it before proceeding:
    select disk N
    detail disk
    Replace N with the number you have verified.
  4. Remove the current layout only if that is your intention:
    clean
  5. Create a primary partition:
    create partition primary
  6. Format the new partition:
    format fs=ntfs quick
    You can add a label, for example format fs=ntfs label=Data quick.
  7. Assign a drive letter if needed, then exit:
    assign
    exit

Microsoft’s DiskPart example uses list disk, select disk 1, create partition primary and format fs=ntfs label=Backup quick. The example’s disk number and label are illustrative, not values to copy blindly: Microsoft Learn: diskpart.

Rank #2
Sale
Samsung SSD 870 EVO SATA III 2.5” 2TB, Read Speeds Up to 560MB/s
  • THE SSD ALL-STAR: The latest 870 EVO has indisputable performance, reliability and compatibility built upon Samsung's pioneering technology.Computer Platform:PC.Encryption : Class 0 (AES 256) TCG/Opal v2.0, MS eDrive (IEEE1667), Environmental Specs - Shock : 1,500 G & 0.5 ms (Half sine).
  • EXCELLENCE IN PERFORMANCE: Enjoy professional level SSD performance with 870 EVO, which maximizes the SATA interface limit to 560/530 MB/s sequential speeds, Accelerates write speeds and maintains long term high performance with a larger variable buffer
  • INDUSTRY DEFINING RELIABILITY: Meet the demands of every task from everyday computing to 8K video processing, with up to 2,400 TBW
  • MORE COMPATIBLE THAN EVER: 870 EVO has been compatibility tested for major host systems and applications, including chipsets, motherboards, NAS, and video recording devices. Interface- SATA 6GB/s, compatible with SATA 3GB/s and SATA 1.5GB/s interfaces

What clean and quick format do—and do not do

  • clean removes all partitions or volume formatting from the disk with focus. Afterward, its prior layout is no longer available as before.
  • clean all is a separate, more destructive command: Microsoft says it sets every sector on the disk to zero and deletes the data contained on it. It is not the routine quick-format step in the procedure above.
  • A quick format removes file-system bookkeeping, including the file table and root directory, but does not scan every sector for bad areas. Do not treat it as proof that data has been securely erased or that an SSD has been sanitized.

See Microsoft’s clean command reference for the documented distinction between clean and clean all.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If the SSD is the Windows installation disk

You cannot format the currently running Windows volume like an ordinary data volume. To reinstall Windows, use the Windows Setup workflow instead. Microsoft’s UEFI setup guidance describes booting into Setup, opening Command Prompt with Shift+F10, and using DiskPart to identify and select the intended disk. In the cited UEFI path, the commands include clean and convert gpt before continuing installation. That partition-style step is specific to the documented setup path, not a general instruction for every data SSD; the correct layout depends on boot mode. Follow Microsoft’s Windows Setup guidance for MBR and GPT.

Best Value
Sale
Samsung SSD 870 EVO SATA III 2.5” 1TB, Read Speeds Up to 560MB/s | SATA Internal Solid State Drive, Upgrade PC or Laptop Memory & Storage for IT Pros, Creators, Everyday Users (MZ-77E1T0B/AM)
  • THE SSD ALL-STAR: The latest 870 EVO has indisputable performance, reliability and compatibility built upon Samsung's pioneering technology. S.M.A.R.T. Support: Yes
  • EXCELLENCE IN PERFORMANCE: Enjoy professional level SSD performance which maximizes the SATA interface limit to 560 530 MB/s sequential speeds,* accelerates write speeds and maintains long term high performance with a larger variable buffer, Designed for gamers and professionals to handle heavy workloads of high-end PCs, workstations and NAS
  • INDUSTRY-DEFINING RELIABILITY: Meet the demands of every task — from everyday computing to 8K video processing, with up to 600 TBW** under a 5-year limited warranty***
  • MORE COMPATIBLE THAN EVER: The 870 EVO has been compatibility tested**** for major host systems and applications, including chipsets, motherboards, NAS, and video recording devices
  • UPGRADE WITH EASE: Using the 870 EVO SSD is as simple as plugging it into the standard 2.5 inch SATA form factor on your desktop PC or laptop; The renewed migration software takes care of the rest
Rank #4
Sale
PNY CS900 250GB 2.5" SATA III Internal SSD | Up to 535/500MB/s R/W - PC/Laptop/HDD Upgrade for Everyday Users, Creators, Gamers, and more - SSD7CS900-250-RB
  • Upgrade your laptop or desktop computer and feel the difference with super-fast OS boot times and application loads
  • Exceptional performance offering up to 535MB/s seq. Read and 500MB/s seq. Write speeds
  • Superior performance as compared to traditional hard drives (HDD)
  • Ultra-low power consumption
  • Backwards compatible with SATA II 3GB/sec
Rank #3
Sale
Samsung SSD 990 PRO 1TB, PCIe 4.0 M.2 2280, Up to 7,450 MB/s | NVMe Internal Solid State Hard Drive for High End Computing, Gaming, and Heavy Duty Workstations (MZ-V9P1T0B/AM)
  • HUGE SPEED BOOST: Get random read/write speeds that are 40%/55% faster than 980 PRO; Experience up to 1400K/1550K IOPS, while sequential read/write speeds up to 7,450/6,900 MB/s reach near the max performance of PCIe 4.0*
  • BREAKTHROUGH POWER EFFICIENCY: Use less power and get more performance; Enjoy up to 50% improved performance per watt over 980 PRO, plus optimal power efficiency with max PCIe 4.0 performance**
  • SMART THERMAL CONTROL: Samsung's own nickel-coated controller delivers effective thermal control; With its slim size, 990 PRO is a perfect fit for desktops and laptops that meet the PCI-SIG D8 standard***
  • THE CHAMPION MAKER: Up to 65% improvement in random performance enables faster loads for an ultimate gaming experience on PS5 and DirectStorage PC games****
  • SAMSUNG MAGICIAN SOFTWARE: Get the most out of your SSD with Samsung Magician's advanced yet intuitive optimization tools; Monitor drive health, protect valuable data, and receive important updates for your 990 PRO

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.