Windows displays “You need to format the disk before you can use it” when you try to open a USB flash drive, external hard drive, SD card, or other storage device. It means Windows cannot read the drive’s file system because the drive’s file system has become corrupted, the partition is damaged, the storage device contains bad sectors, or Windows doesn’t recognize the file system. In this guide, we’ll explain why this error appears, how to recover access to the drive without formatting it first, and when formatting the drive becomes the best option.
Why Does “You Need to Format the Disk Before You Can Use It” Appear?
This error displays when Windows detects the storage device but cannot read its file system. Instead of opening the drive normally, Windows prompts you to format it because it believes the file system is damaged, missing, or unsupported.

Several issues can trigger this error, including:
- File system corruption: The drive’s NTFS, FAT32, or exFAT file system may become corrupted due to an unexpected shutdown, power outage, or improper removal.
- Unsafe USB removal: Disconnecting a USB drive or external hard drive without using Safely Remove Hardware can interrupt write operations and damage the file system.
- Bad sectors or drive failure: Physical problems on the storage device can prevent Windows from reading data correctly. If the drive makes unusual clicking or buzzing noises, it may be failing.
- Damaged partition table: If the partition information becomes corrupted, Windows may detect the device but be unable to access the stored files.
- Unsupported file system: The drive may have been formatted with a file system that Windows doesn’t support, such as one created for Linux or macOS.
- Malware or software corruption: Malware infections or disk I/O errors can damage the file system and render the drive inaccessible.
Fix 1: Reconnect the Drive and Try a Different USB Port
Sometimes the error is caused by a temporary communication problem between Windows and the storage device rather than a corrupted drive. A loose connection, faulty USB port, or outdated USB driver can prevent Windows from reading the file system correctly.
- Close the “You need to format the disk before you can use it” message.
- Safely disconnect the USB drive or external hard drive.
- Wait a few seconds, then reconnect it.
- Plug the drive into a different USB port, preferably a USB port directly on the computer instead of a USB hub.
- If you’re using a desktop PC, try a rear USB port connected directly to the motherboard.
- Open File Explorer and check whether the drive is accessible.
If the error still appears, connect the drive to another Windows computer. If it works there, the problem is likely related to your PC’s USB drivers or Windows configuration.
Fix 2: Check the Drive in Disk Management
Disk Management can help you determine whether Windows detects the drive correctly and identify issues such as a missing drive letter, an unallocated partition, or a RAW file system.
- Press Windows + X and select Disk Management.
- Locate the affected USB drive, external hard drive, or SD card in the list.
- Check its status:
- Healthy (NTFS, FAT32, or exFAT): The file system is recognized. If the drive has no letter, assign one (see the next fix).
- RAW: The file system is corrupted or unreadable. Windows cannot access the data until the file system is repaired or the drive is formatted.
- Unallocated: The partition is missing or damaged. You may need to recover the partition or data before creating a new one.
- No Media / Unknown / Not Initialized: This may indicate a hardware problem or a failing storage device.
If the drive appears as RAW or Unallocated, avoid formatting it immediately if you need the files.
Fix 3: Assign or Change the Drive Letter
If the drive is detected in Disk Management but doesn’t have a drive letter or conflicts with another device, Windows may be unable to open it correctly. Assigning a new drive letter can sometimes restore access.
Note: This method only works if the drive shows a Healthy partition (NTFS, FAT32, or exFAT). If the file system is RAW, assigning a drive letter won’t fix the problem.
- Press Windows + X and select Disk Management.
- Right-click the affected partition and select Change Drive Letter and Paths.
- Click Add if no drive letter is assigned, or Change if you want to use a different letter.
- Choose an available drive letter and click OK.
- Open File Explorer and check whether the drive is now accessible.

If Windows still displays the “You need to format the disk before you can use it” error, move on to the next solution. The file system may be corrupted and require repair.
Fix 4: Run CHKDSK to Repair File System Errors
If the drive’s file system is damaged but still recognizable, the CHKDSK (Check Disk) utility can scan the drive for file system errors and bad sectors, then attempt to repair them.
Important: CHKDSK only works on drives with a recognized file system, such as NTFS, FAT32, or exFAT. If the drive is shown as RAW, you’ll likely see the message “The type of the file system is RAW. CHKDSK is not available for RAW drives.”
- Press Windows + S, type Command Prompt, then select Run as administrator.
- Enter the following command, replacing X with your drive letter:
chkdsk X: /f /r - Press Enter and wait for the scan to complete. This may take some time, especially for large drives.
- Once the process finishes, restart your computer if prompted.
- Open File Explorer and check whether the drive is accessible.

If CHKDSK reports that the drive uses a RAW file system or fails to repair the errors, continue with the next solution. At this point, you may need to recover your files before formatting the drive.
Fix 5: Recover Your Files Before Formatting the Drive
If the drive is detected as RAW, Unallocated, or CHKDSK cannot repair it, your next priority should be recovering important files before formatting the drive. Once a drive is formatted, recovering data becomes more difficult and may not always be successful.
You can use a trusted data recovery tool to scan the drive and restore accessible files to another storage device.
- Install a reputable data recovery application on your computer. Do not install it on the affected drive.
- Launch the software and select the problematic USB drive, external hard drive, or SD card.
- Run a Quick Scan first. If it doesn’t find your files, perform a Deep Scan.
- Preview the recovered files, if the software supports it.
- Save the recovered files to a different drive, not the damaged one.
After recovering your important data, you can safely format the drive to create a new file system.
Tip: If the recovery software cannot detect the drive or the drive makes clicking, grinding, or buzzing noises, stop using it immediately. These symptoms often indicate physical hardware failure, and continued use could permanently damage the drive.
Fix 6: Format the Drive (Last Resort)
If none of the previous methods work and you’ve already recovered your important files or there isn’t any data you need the final solution is to format the drive. Formatting creates a new file system, allowing Windows to use the drive again.
Warning: Formatting permanently removes the existing file system and makes previously stored data difficult to recover. Make sure you’ve backed up or recovered any important files before proceeding.
- Open File Explorer and locate the affected drive.
- Right-click the drive and select Format.
- Choose a file system:
- NTFS – Best for Windows-only use.
- exFAT – Recommended if you use the drive with both Windows and macOS.
- FAT32 – Suitable for smaller drives and older devices.
- Leave Quick Format checked unless you suspect bad sectors and want Windows to perform a full format.
- Click Start, then confirm the warning.

Once the formatting process is complete, reopen the drive in File Explorer to verify that it works normally.
What if Windows Can’t Format the Drive?
If formatting fails or you receive errors such as “Windows was unable to complete the format,” the drive may have severe file system corruption or hardware problems. In that case:
- Try formatting the drive using Disk Management or DiskPart.
- Test the drive on another computer.
- Check the drive manufacturer’s diagnostic tool for hardware issues.
- Replace the drive if diagnostics report bad sectors or hardware failure.
How to Prevent the “You Need to Format the Disk Before You Can Use It” Error
While file system corruption can’t always be avoided, following a few best practices can reduce the chances of encountering this error in the future.
- Always eject USB drives safely. Use Safely Remove Hardware and Eject Media before disconnecting external storage devices.
- Avoid unplugging a drive while files are being copied. Interrupting read or write operations can corrupt the file system.
- Keep your computer protected from sudden power loss. If you use an external hard drive, consider using a UPS for desktop PCs.
- Scan removable drives for malware. Viruses can corrupt files and damage the file system.
- Regularly check drive health. Use SMART monitoring tools or your drive manufacturer’s diagnostic utility to detect hardware issues early.
- Back up important files regularly. Even a healthy storage device can fail unexpectedly, so keeping backups is the best protection against data loss.
Frequently Asked Questions
Windows displays this message when it cannot read the drive’s file system. This is usually caused by file system corruption, a damaged partition, bad sectors, an unsupported file system, or a failing storage device.
Yes. Formatting creates a new file system and makes existing data inaccessible. If the drive contains important files, recover them before formatting whenever possible.
Yes. In many cases, you can resolve the issue by reconnecting the drive, checking it in Disk Management, assigning a drive letter, or repairing file system errors with CHKDSK (if the file system is still recognized).
A RAW drive has no readable file system, so CHKDSK cannot repair it. You’ll need to recover your data first and then format the drive to restore normal functionality.
Not always. The error is often caused by file system corruption rather than hardware failure. However, if the drive repeatedly becomes inaccessible, disappears from Windows, or makes unusual noises, it may be reaching the end of its lifespan and should be replaced.
