Windows 11 format drive / Image: Mauro Huculak

How to format hard drive on Windows 11

Five ways to format a Hard Disk Drive (HDD) or Solid State Drive (SSD), whether it's an internal storage or external USB drive connected to Windows 11.

UPDATED 2/19/2025: On Windows 11, formatting internal or external hard drives is straightforward and essential for various scenarios. When connecting a new hard drive, it’s recommended to erase all data and apply a compatible file system, enabling the operating system to read and write data efficiently. If you’re retiring a storage drive, formatting ensures your files are erased, preventing unauthorized access. Additionally, the ability to format a drive on Windows 11 can help fix errors and other logical issues.

While the process might seem tedious, Windows 11 offers several methods to format a drive. You can use the Settings app, File Explorer, Disk Management, or execute commands through Command Prompt and PowerShell. These options provide flexibility, allowing you to choose the method that best suits your needs.

Comparison of formatting methods

Here is a quick breakdown of the different ways you can format a drive in Windows 11:

  • Settings: This is the most user-friendly option for beginners. It’s great for formatting storage drives but with limited customization.
  • File Explorer: Best for quickly formatting external drives. It is simple and fast but lacks advanced options.
  • Disk ManagementThis is great for internal and external drives. It offers more control over partitions but may feel complex for beginners.
  • Command Prompt: Ideal for advanced users. It provides the most flexibility but requires command-line knowledge.
  • PowerShell: Useful for scripting and automation. Powerful but requires familiarity with PowerShell commands.

What you need to know before formatting

It’s important to understand that the formatting process erases all files on the drive. As a result, ensure to back up any important data before proceeding.

You also have to choose the right file system:

  • NTFS: Best for Windows-only use, supports large files and permissions.
  • exFAT: Ideal for external drives, works on both Windows and macOS.
  • FAT32: Compatible with most devices but has a 4GB file size limit.

On Windows 11, you can choose the file system depending on the type of storage connected to your computer and the tool you use. For example, when formatting a secondary internal hard drive, you can only choose the “FAT32” option if the drive is equal to or less than 32GB. Of course, this is in addition to the “NTFS” option. Microsoft is expanding the file system for drives up to 2TB, but it’s not yet available. On drives larger than 32GB, you can only choose the “NTFS” file system.

If you’re connecting an external USB hard drive with more than 32GB, then you can choose between the “NTFS” and “exFAT” options. On the other hand, the “FAT32,” “NTFS,” and “exFAT” options are only available for USB flash drives with storage equal to or less than 32GB.

Also, if you use the Disk Management tool, you will have access to the “exFAT” and “NTFS” options when formatting internal and external drives larger than 32GB.

These are the differences between quick format and full format:

  • Quick format: The option only takes a few seconds to complete. It doesn’t actually erase the data. Instead, it removes the pointers that tell your computer where the files are located. This makes the files inaccessible (therefore erased), but they can still be recovered with specialized software. It also does not check for bad sectors. This is ideal when you’re reusing a drive yourself and don’t need to worry about data recovery.
  • Full format: The option is much slower than a quick format and can take several hours, depending on the size and speed of the drive. It overwrites the data with zeros, making it much harder to recover. It also scans the drive for bad sectors. This is the option for when you’re disposing of a drive or want to ensure that all data is completely erased. It’s also a good idea to perform a full format if you suspect your drive has errors.

In this guide, I’ll teach you the different ways to format an internal or USB external hard drive on Windows 11.

Format hard drive on Windows 11 from Settings

On Windows 11, depending on whether the HDD or SSD already has a partition or not, the format steps will be slightly different.

Format drive with existing partition

To format an internal or external drive with an existing partition on Windows 11, follow these steps:

  1. Open Settings on Windows 11.

  2. Click on System.

  3. Click the Storage tab.

  4. Click on “Advanced storage settings.”

  5. Click the “Disks & volumes” setting.

    Disks & volumes

  6. Select the hard drive from the list.

  7. Click the Properties button.

    Settings open drive properties

  8. Click the Format button.

    Windows 11 Settings drive format option

  9. Confirm a label for the storage drive (as it will appear on File Explorer).

  10. Select the NTFS option for the “File System” setting.

    Windows 11 Format settings

  11. (Optional) Check the “Enable file and folder compression” option to save space when storing files.

    Quick note: Unless you are storing files that will benefit from compression, you don’t need to enable this feature.
  12. Click the Format option.

Once you complete the steps, Windows 11 will format the drive and make it available through File Explorer.

Format drive without partition

To format a new drive without a partition, follow these steps:

  1. Open Settings.

  2. Click on System.

  3. Click the Storage tab.

  4. Click on “Advanced storage settings.”

  5. Click the “Disks & volumes” setting.

    Disks & volumes

  6. Select the hard drive.

  7. Select the “Unallocated” space, click the Create volume button, and choose the “Create Simple Volume” option.

    Windows 11 Settings create simple volume

  8. Confirm a label for the drive in the “Label” setting.

  9. Select the drive letter to make it available on File Explorer in the “Drive Letter” setting.

  10. Select the NTFS option in the “File System” setting.

    Windows 11 Settings simple volume configuration

  11. (Optional) Specify how much storage to assign to the drive in the “Size” setting.

  12. (Optional) Click on Advanced.

  13. Check the “Perform a quick format” option. (If you don’t select this option, the operation could take a long time.)

  14. (Optional) Check the “Enable file and folder compression” option to save space when storing files.

  15. Click the Format option.

After you complete the steps, a new partition will be created and formatted using the specified settings.

Format hard drive on Windows 11 from File Explorer

To format an internal or USB drive through File Explorer, follow these steps:

  1. Open File Explorer.

  2. Click on This PC from the left navigation pane.

  3. Right-click the drive under the “Devices and drives” section and select the Format option.

    Explorer drive format option

  4. Select the NTFS option in the “File System” setting.

    Explorer format settings

  5. Confirm the drive’s name in the “Volume label” setting.

  6. Check the Quick Format option.

  7. Click the Start button.

Once you complete the steps, the drive will be available in File Explorer.

If the hard drive doesn’t have a partition or drive letter, it won’t appear in File Explorer. In this case, you can use the new “Disks & volumes” settings or the legacy “Disk Management” tool to format the storage.

Format hard drive on Windows 11 from Disk Management

You can format a drive with or without a partition using the legacy Disk Management utility.

Format drive with partition

To format a hard drive with an existing partition with Disk Management, follow these steps:

  1. Open Start.

  2. Search for Disk Management and click the top result to open the app.

  3. Right-click the drive and select the Format option.

    Disk Management format drive option

  4. Confirm the drive’s name in the “Volume label” setting.

  5. Select the NTFS option in the “File System” setting.

    Disk Management format settings

  6. Check the “Perform a quick format” option.

  7. (Optional) Check the “Enable file and folder compression” option to save space when storing files.

  8. Click the OK button.

After you complete the steps, the existing partition (also referred to as a volume) will be re-formatted, deleting any previous data.

Format drive without partition

If the drive doesn’t have a partition, follow these steps:

  1. Open Start.

  2. Search for Disk Management and click the top result to open the app.

  3. Right-click the drive and select the “New Simple Volume” option.

    New simple volume option

  4. Click the Next button.

  5. (Optional) Specify how much storage to assign to the drive.

    Partition size option

  6. Click the Next button.

  7. Select the “Assign the following driver” option and choose the letter for the drive.

    Assign drive letter on Windows 11

  8. Click the Next button.

  9. Select the “Format this volume with the following settings” option.

  10. Select the NTFS option in the “File System” setting.

    Disk Management format drive settings

  11. Confirm the drive’s name in the “Volume label” setting.

  12. Check the “Perform a quick format” option.

  13. Click the Next button.

  14. Click the Finish button.

Once you complete the steps, the tool will create a partition and format it using the specified file system.

Format hard drive on Windows 11 from Command Prompt

To format a drive with the Diskpart command-line tool, follow these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to open Diskpart and press Enter:

    diskpart
  4. Type the following command to determine the drive to format and press Enter:

    list disk
  5. Type the following command to select the storage and press Enter:

    select disk 3

    In the command, replace “3” with the number of the flash drive you want to use.

  6. Type the following commands to delete everything from the USB thumb drive and press Enter:

    clean

    Format drive commands

  7. (Optional) Type the following command to convert the partition style from MBR (default) to GPT and press Enter:

    convert gpt
  8. Type the following command to create a primary partition and press Enter:

    create partition primary
  9. Type the following command to select the new partition and press Enter:

    select partition 1
  10. Type the following command to make the selected partition active and press Enter:

    active
  11. Type the following command to make the hard drive bootable and press Enter:

    format FS=NTFS quick
  12. Type the following command to assign a volume and a drive letter for the USB flash drive and press Enter:

    assign letter=X

    In the command, change “X” for any available letter you want to use.

  13. Type the following command to quit the tool and press Enter:

    exit
  1. Type the following command to set the drive label and press Enter:

    label X: Data

    In the command, change “X” for the letter that identifies the drive and then change “Data” for the label you want to assign the partition.

After completing the steps, the drive will be erased, formatted, and mounted with the specified drive letter.

Format hard drive on Windows 11 from PowerShell

To format a hard drive with PowerShell commands on Windows 11, use the steps:

  1. Open Start.

  2. Search for PowerShell, right-click the result, and select the Run as administrator option.

  3. Type the following command to identify the drive to repair and press Enter:

    Get-Disk
  4. Type the following command to wipe out the drive on Windows 11 and press Enter:

    Get-Disk 3 | Clear-Disk -RemoveData

    In the above command, change “3” with the disk number of the drive you want to format (see step 3). If you specify the number incorrectly, you could wipe out the wrong drive, causing data loss.

  5. Type A to confirm that you want to wipe the specified drive and press Enter.

  6. Type the following command to initialize the disk with the default GUID Partition Table (GPT) partition scheme and press Enter:

    Initialize-Disk -Number 3

    In the above command, change “3” with the disk number of the drive you want to format (see step 3).

    Important: Although it’s recommended to use a GPT partition scheme if required, you can use the Master Boot Record (MBR) scheme using this command: Initialize-Disk -Number 1 -PartitionStyle MBR.
  7. Type the following command to format and create a new partition on the drive, and press Enter:

    New-Partition -DiskNumber 3 -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel myDrive

    In the above command, change “3” with the disk number of the drive you want to format on Windows 11 and “myDrive” with the name to use for the storage.

  8. Type the following command to assign a drive letter to the disk drive and press Enter:

    Get-Partition -DiskNumber 3 | Set-Partition -NewDriveLetter H

    In the above command, change “3” to the disk number of the drive you want to format and “H” to the letter assigned to the storage. If you get the “Set-Partition: The requested access path is already in use” error message, run the command one more time or specify a different drive letter.

    PowerShell format hard drive

Once you complete the steps, the PowerShell commands will delete the current partition and create a new one with the file system and drive letter you specified.

What methods did you use? Did you have any questions? Let me know in the comments.

Update February 19, 2025: This guide has been updated to ensure accuracy and reflect changes to the process.

About the author

Mauro Huculak is a Windows How-To Expert and founder of (est. 2010). With over 21 years as a technology writer and IT Specialist, Mauro specializes in Windows, software, and cross-platform systems such as Linux, Android, and macOS.

Certifications: Microsoft Certified Solutions Associate (MCSA), Cisco Certified Network Professional (CCNP), VMware Certified Professional (VCP), and CompTIA A+ and Network+.

Mauro is a recognized Microsoft MVP and has also been a long-time contributor to Windows Central.

You can follow him on YouTube, Threads, BlueSky, X (Twitter), LinkedIn and About.me. Email him at [email protected].