When Windows says "You need to format the disk in drive E: before you can use it", click Cancel. The message means Windows cannot read the file system on that drive or partition. That can be because the file system is damaged, because it is a format Windows does not support (such as a Mac or Linux drive), because the connection is unreliable, or because the drive is failing. Formatting would make Windows happy, but it would also hide your files. Work out which cause you have first, save your data, and only then format if you still need to.
This guide explains each cause, how to tell them apart in a few minutes, and the safe way to fix it.
Click Cancel, not Format disk
The pop-up gives you two buttons: Format disk and Cancel. It is easy to click Format out of habit. Choosing Cancel leaves the drive exactly as it is, and you may then see a second message such as "E:\ is not accessible. The volume does not contain a recognized file system." That is expected. Nothing has been changed.
If you already clicked Format disk, stop using the drive straight away and do not copy anything to it. A quick format replaces the file system but leaves most of the old data in place, so recovery software can often still find your files, as long as nothing new is written.
Common causes and how to spot them
| Cause | Clues | Data safe? |
|---|---|---|
| Damaged file system | Drive worked before; was unplugged during a copy or after a power cut. Disk Management shows RAW. | Usually recoverable |
| Drive from a Mac, Linux PC, console or recorder | Drive was formatted on another device. Disk Management shows no recognized file system. | Yes, on the original device |
| Card or stick from a Raspberry Pi, Android device or similar | One small partition opens fine, a second prompts for formatting | Yes, it is a Linux partition |
| Unreliable connection | Message appears on one port or reader but not another | Yes |
| Failing drive | Slow, clicking, disconnecting, SMART warnings | At risk, act quickly |
| Fake-capacity flash drive | Cheap high-capacity stick, problems after filling it | Later files likely lost |
| Brand new, unformatted drive | Never used | Nothing to lose; format it |
Step 1: Try a different port, cable or reader
An unreliable connection can make Windows read garbage from the start of the drive, which it then reports as unformatted. Safely disconnect the drive, then try:
- A different USB port, ideally on the back of a desktop.
- A different cable, or a different card reader or adapter for SD and microSD cards.
- Another computer.
If the drive opens normally elsewhere, the original port, cable or reader is the problem, not the drive. Our guide to a USB flash drive not recognized covers driver and power fixes for the port side.
Step 2: Check what Disk Management shows
Press Win + X and open Disk Management. Find the drive and read the file system in the partition bar:
- RAW: the file system is damaged or unrecognized. See our guide to fixing a RAW drive without formatting.
- Healthy (Primary Partition) with no file system listed: usually a Mac or Linux format that Windows cannot read.
- NTFS, exFAT or FAT32 but still prompting: an intermittent read problem. Check the connection and the drive's health.
- Several partitions, one readable and one not: typical of SD cards from a Raspberry Pi or similar device. The unreadable one uses a Linux file system.
Step 3: Think about where the drive came from
Drives formatted on other devices are the most common harmless cause. Macs use APFS or HFS+, Linux uses ext4, and some TV recorders, security camera systems and older game consoles use their own formats. Windows cannot read any of these, so it offers to format.
There is nothing wrong with the drive. If you need the files, copy them off on the device that created them. If you want a drive that works on both Windows and Mac, reformat it as exFAT afterward. Our comparison of NTFS vs exFAT vs FAT32 shows which to pick.
Step 4: Check the drive's health
If the drive was working on Windows before and now asks to be formatted, check whether it is failing before trying any repair. Rising reallocated or pending sectors, clicking, or a drive that keeps disconnecting all suggest hardware trouble. In that case, copy off what you can first and avoid repair tools that put more load on the drive.
Disk Detector shows you what is damaged before you format anything. It checks the partition and file system, and reads the drive's SMART health, so you can see whether you are dealing with a damaged file system on a healthy drive, an unsupported format, or a drive that is failing. Its checks are read-only, so it does not make things worse while you find out.
For cheap high-capacity USB sticks and SD cards, Disk Detector can also test whether the drive's real capacity matches its label. Fake drives often produce exactly this format prompt once they have been filled past their real size. See how to check if a USB flash drive is fake.
Step 5: Save your files, then format
- If the drive is healthy and the file system is damaged, use file recovery software to copy your files to a different drive. Never recover onto the drive itself.
- Check the recovered files open correctly.
- Format the drive: right-click it in File Explorer or Disk Management, choose Format, pick a file system and leave Quick Format ticked.
- Copy your files back, if you want to keep using the drive.
If the drive is failing, replace it instead of formatting and reusing it.
A note on chkdsk
chkdsk is the usual fix for file system errors, but it cannot check a drive Windows does not recognize. It reports "The type of the file system is RAW. CHKDSK is not available for RAW drives." If the drive shows NTFS, exFAT or FAT32 but still behaves badly, chkdsk can help, but copy your important files first, because repairs can remove damaged data.
Preventing the error
- Eject before unplugging. Use Eject in File Explorer or the Safely Remove Hardware icon.
- Avoid moving external drives while they are busy.
- Use NTFS for drives that only connect to Windows PCs. It recovers from interrupted writes better than exFAT or FAT32.
- Keep a backup, so a format prompt is an inconvenience rather than a crisis.
Frequently asked questions
What happens if I click Format Disk?
Windows creates a new empty file system on the drive. The old files are no longer visible, and recovery becomes harder.
Why does a drive from a Mac ask to be formatted on Windows?
Windows cannot read Mac file systems such as APFS or HFS+, so it treats the drive as unformatted.
Can a bad USB port cause the format prompt?
Yes. A flaky connection or underpowered port can make a healthy drive read as unformatted. Try another port and cable first.
