Can't Format USB Disk? Fix It Step by Step
In this article
If you can't format a USB disk, the cause is usually one of three things: the drive is write-protected, it is in use by another program or Windows service, or its partition table or file system is damaged. The quickest fix is to open Disk Management, delete the existing volume, and create a new simple volume. If that fails, use Diskpart from an elevated Command Prompt to clean the disk and format it. This guide walks through the safe order of fixes, from the simplest checks to the commands that repair a stubborn drive.
What You'll Need
- The USB disk you want to format, plus its cable if it is an external drive rather than a stick.
- A Windows PC with an administrator account. The steps below are written for Windows 10 and Windows 11; menu labels can differ slightly by version, device, and region.
- Backup of anything on the drive you want to keep. Formatting erases all data on the selected volume.
- Optional: a second USB port or a different cable to rule out a bad connection.
Step-by-Step
- Back up your data first. Copy anything you need to another drive or to cloud storage. Formatting deletes the files on the volume you format, and some of the repair steps below wipe the whole disk.
- Close programs that might be using the drive. File Explorer windows, backup tools, sync clients, antivirus scans, and media players can hold a lock on the disk. Close them, then try formatting again from File Explorer: right-click the drive and choose Format.
- Check the write-protection switch. Some USB sticks and SD card adapters have a tiny physical lock switch on the side. Slide it to the unlocked position. If the switch is missing or already unlocked, move on.
- Open Disk Management. Right-click the Start button and choose Disk Management. Find your USB disk in the list at the bottom. Check whether it shows as RAW, unallocated, or with a file system such as FAT32 or exFAT.
- Delete the existing volume. In Disk Management, right-click the volume on the USB disk and choose Delete Volume. This removes the partition and its data. The space should then appear as unallocated.
- Create a new simple volume. Right-click the unallocated space and choose New Simple Volume. Follow the wizard: accept the default size, assign a drive letter, and choose a file system. For a drive used on both Windows and macOS, choose exFAT. For a drive used only on Windows, NTFS is fine. For a small stick used in older devices, FAT32 may be needed.
- If Disk Management refuses, use Diskpart. Right-click Start, choose Terminal (Admin) or Command Prompt (Admin), and approve the prompt. Type
diskpartand press Enter. Typelist diskand identify your USB disk by its size. Typeselect disk N, replacing N with that number. Double-check the number before continuing, because the next command erases the selected disk. Typeclean, thencreate partition primary, thenformat fs=exfat quick(orfs=ntfs quick), thenassign, and finallyexit. - Confirm the result. Open File Explorer and check that the drive appears with the correct capacity and file system. Copy a small test file to it and delete it again to confirm the disk is writable.
Common Mistakes
- Formatting the wrong disk. In Disk Management and Diskpart, disks are listed by number and size. Confirm the size matches your USB drive before deleting or cleaning anything, because internal drives appear in the same list.
- Skipping the backup. Even a quick format removes the file table, and a full format or clean command wipes everything. There is no undo.
- Choosing the wrong file system. FAT32 cannot hold a single file larger than 4 GB, and Windows may refuse to format a large drive as FAT32. exFAT avoids both limits and works across Windows and macOS.
- Pulling the drive during the format. Wait for the progress bar and the completion message before removing the disk, or the file system can end up corrupted.
- Assuming the drive is dead. A drive that cannot be formatted is often locked, partitioned oddly, or failing, not necessarily beyond repair. Work through the troubleshooting steps before discarding it.
Tips
- Use the quick format option unless you specifically want a full format. Quick format is much faster and is enough for normal use.
- Give the drive a clear volume label so you can identify it later in Explorer and in Disk Management.
- Eject the drive safely using the Safely Remove Hardware icon before unplugging it, especially after writing files.
- If the drive will be used in a car stereo, TV, or older camera, check the device manual for the supported file system before formatting.
- Keep a note of the drive's capacity. A USB stick that suddenly reports a much smaller size than its label may be failing or counterfeit.
Troubleshooting
If the format still fails, work through these checks in order, stopping when the drive formats successfully.
- Try a different port and cable. Use a rear USB port on a desktop rather than a hub or front-panel port. A flaky connection can cause format errors that look like drive faults.
- Check for write protection in Diskpart. Open Diskpart as administrator, select the disk, and type
attributes disk clear readonly. Then try the format again. - Run a surface check. In Disk Management, right-click the volume and choose Properties, then the Tools tab, and run the error-checking tool. If Windows reports bad sectors, the drive may be failing.
- Reinitialize the disk. In Disk Management, right-click the disk label (not the volume) and choose Initialize Disk if Windows offers it. Choose the partition style, then create a new volume. This erases the disk.
- Test on another computer. If the drive formats on a second PC, the problem is with the original port, cable, or Windows installation rather than the drive.
- Consider replacement. If the drive disappears from Disk Management, makes clicking noises, or reports errors after cleaning, it is likely failing. Replace it rather than trusting it with important files.
Frequently Asked Questions
Why does Windows say the disk is write-protected?
Either the physical lock switch on the drive is set, or Windows has marked the disk read-only. Check the switch first, then clear the read-only attribute in Diskpart with attributes disk clear readonly.
Will formatting delete everything on the USB disk?
Yes. Formatting removes the file system and the files on the volume you format. Back up anything you need before starting.
Which file system should I choose?
Use exFAT for drives shared between Windows and macOS, NTFS for Windows-only drives, and FAT32 only when a device such as an older TV or car stereo requires it.
Can I format a USB disk on a Mac?
Yes. Use Disk Utility on macOS: select the drive, choose Erase, and pick a format such as exFAT or MS-DOS (FAT). The steps here are for Windows, but the result is the same.
What does the clean command in Diskpart do?
It removes all partition information from the selected disk, leaving it unallocated. You then create a new partition and format it. It erases the entire disk, so confirm the disk number first.
Is it safe to format a USB drive that shows as RAW?
Yes, formatting is the normal fix for a RAW drive, but any data on it will be lost. If the files matter, try data recovery software before formatting.