When the ‘You need to format the disk before using it’ error appears, Windows can see your drive but can’t read what’s on it, and the Format disk button it offers would erase everything stored there. In most cases, you don’t need to click it. Instead, recover your files first and then work through the fixes below, starting with a simple cable check and working up to partition repair. Formatting is only an option once your data is somewhere safe. We’ve tested each method below on Windows 11 and ordered them by risk, so you can stop as soon as your drive works again.

What Does ‘You Need to Format the Disk in Drive’ Mean?

This message means Windows can detect the storage device but can’t recognize or properly access the file system on it. The file system is the index that tells Windows where each file is stored, so without a readable one, Windows treats the drive as blank and offers to create a new one by formatting. That’s the plain ‘format the disk in drive’ meaning, and it doesn’t mean your files are gone or that the drive must be formatted. The data is usually still there, and your chances of getting it back are best if you don’t format the drive or write anything new to it.

The error message claiming you need to format the disk before use is quite general, and it appears on all manner of storage devices, like HDDs, SSDs, USB drives, and SD cards (or other memory cards). What caused it decides what you should do next:

  • 🗃️ Corrupted file system. File system corruption is the leading cause of this error. When a file system becomes corrupted, Windows can no longer use it to locate the files on that drive or partition, and Disk Management usually shows the file system as RAW. The files themselves are usually intact, so recover them first, then try CHKDSK or format the drive. Our guide to RAW drive recovery covers this in depth.
  • 🧩 Damaged partition. Windows may still detect the physical disk but fail to interpret the partition on it, because the partition table or boot sector is damaged or missing. Disk Management shows the partition as RAW, or as unallocated space. Recover the data, then use TestDisk, which can sometimes restore the partition. Our guide on how to recover an unallocated partition has more options.
  • ❌ Interrupted write or failed format. Unplugging a drive without ejecting it, a power cut, a system crash, or an interrupted format can stop Windows halfway through writing to the drive and leave its file system unfinished. If you still need the files, recover them before anything else. If you don’t, reformatting the drive with a working file system is the quickest fix.
  • 🔌 Connection, cable, or card reader problems. A bad USB cable, a weak port, a faulty drive enclosure, or a failing SD card reader can garble the data passing through it, which makes a perfectly healthy drive look unreadable. Rule this out first with a physical check, since it costs nothing.
  • 🙅‍♂️ Incompatible file system. Windows cannot read every file system out there. If the drive was formatted on a Mac (APFS or HFS+) or on Linux (such as ext4), Windows will suggest formatting it, even though the drive is healthy and full of data. Don’t format it. Open it on the computer it came from instead, as described in the third method, and only format it for Windows once the files are copied somewhere safe.
  • 💥 Physical damage. HDDs and SSDs alike are prone to physical damage. Watch for clicking noises, repeated disconnects, overheating, or a capacity that doesn’t match the drive. If you notice any of these, stop all DIY repair attempts, because each one puts more strain on a failing drive, and go straight to a data recovery service.
  • 🦠 Malware (less common). On rare occasions, malware damages a drive’s file system or partition data. It’s worth ruling out, but it isn’t where to start. Scan and remove any malware.

Whatever the cause, hold off on troubleshooting until your files are safe, because several of the fixes write to the drive and could lead to the loss of your data for good. Instead, we’re going to show you how to recover the files on the drive first.

How to Recover Data From a Hard Drive That Says It Needs to Be Formatted

Even if you can’t access your drive because of this error message, specialized recovery tools can. They read the drive directly instead of relying on its broken file system, find your files, and copy them to a safe location. Not every data recovery tool handles a corrupted or RAW drive well, so be careful what software you use.

Follow these steps to recover data from a disk that needs to be formatted using Disk Drill:

  1. Download and install Disk Drill on a drive other than the one showing the error, then open it.
    Disk Drill
    Data recovery for free
    Your Companion for Deleted Files Recovery
  2. Select the drive that is displaying the ‘You need to format the disk before using it’ message, then click Search for lost data. If Disk Drill lists both the whole device and a RAW partition on it, select the whole device. Select the drive that is displaying the ‘You need to format the disk before using it’ message, then click Search for lost...
  3. Click Universal Scan if Disk Drill asks which scan to run. This looks for all files, whereas Advanced Camera Recovery is best for recovering photos and videos.Click Universal Scan if Disk Drill asks which scan to run.
  4. Click Review found items once the scan has finished. Alternatively, you can click Recover all to recover all files that Disk Drill found with its all-in-one scan.Click Review found items once the scan has finished.
  5. Select the files you wish to recover from the drive that’s asking to be formatted. Use the preview panel and recovery chances column to see what data is recoverable. Be sure to check all dropdowns, as deleted files can be found under Deleted or lost, and existing files can be found under Existing. When you’re ready, click Recover.Select the files you wish to recover from the drive that’s asking to be formatted.
  6. Select a recovery location on another storage device, then click Next.Select a recovery location on another storage device, then click Next.

How to Fix “You Need to Format the Disk in Drive Before You Can Use It” Error

With your data recovered, you can move on to troubleshooting with peace of mind. We’ve arranged the fixes from the simplest and least invasive checks to the most drastic ones. Methods 1 to 3 only look at the drive, 4 to 6 can change what’s on it, and 7 erases it. Work down them in order and stop as soon as the drive opens. It makes sense to start by ruling out a connection problem first.

Method 1: Verify Hard Drive Connectivity

A loose or faulty connection can affect the data traveling between the drive and your PC, so Windows misreads a healthy file system and asks you to format it. Many of the solutions in this article can also be used to repair a corrupted external hard drive, but none of them will work if the issue originates with connectivity. For internal hard drives, make sure the SATA cable is securely connected to both the motherboard and the drive.

Work through these checks for an external drive or memory card, testing the drive after each one:

  1. Swap the USB cable for another one, ideally the cable that came with the drive.
  2. Plug the drive straight into a USB port on the back of your desktop, directly to the motherboard, instead of a hub, dock, case port, or extension cable.
  3. Insert a memory card into another card reader or adapter. If the ‘You need to format the disk in drive before you can use it’ SD card message appears in a laptop’s built-in reader, a cheap USB card reader is a quick way to test.
  4. Move the drive to a different enclosure if it sits in one.

Method 2: Check If the Disk Is Recognized by the System

Disk Management shows how Windows sees the drive: whether it detects the disk at all, which capacity it reads, and which file system it finds. Those three details tell you which fix to use next, so this check is worth a minute before you change anything.

Follow these instructions to check if the drive that’s experiencing the ‘You need to format the disk before use’ error is visible to your system:

  1. Right-click Start and click Disk Management.Right-click Start and click Disk Management.
  2. Find the drive in the lower panel, then compare the capacity shown with the capacity printed on the drive or its packaging.Find the drive in the lower panel, then compare the capacity shown with the capacity printed on the drive or its packaging.

After confirming it’s the same capacity, read the file system and status shown on the drive’s partition, then find the matching row below.

What Disk Management shows What it means What to do
A volume with NTFS, exFAT, or FAT32 and a Healthy status Windows recognizes the partition, so the cause is more likely the connection, the computer, or minor file system errors. Check connectivity, try a different PC, then fix with CHKDSK
A volume marked RAW, at the correct capacity The partition is there, but its file system is damaged or one Windows can’t read Recover the data, then try a different computer if the drive is from a Mac or Linux PC. Otherwise, try CHKDSK, TestDisk, and formatting.
Unallocated space at the correct capacity The partition record is lost or damaged, but the data is usually still on the drive Recover the data, then repair the drive with TestDisk.
The wrong capacity, No Media, or no disk at all Windows can’t communicate with the drive properly, which points to a hardware fault Rule out the connection, then contact a data recovery service.

If the drive shows the correct storage capacity, you can still recover data from it, as well as repair it using one of the undermentioned solutions.

Method 3: Try a Different PC to Check Your Drive

Connecting the drive to a different computer is a diagnostic step that tells us whether the issue sits with your PC or follows the drive wherever it goes. If the drive opens normally on the other computer, the original PC is at fault, most likely through a USB port, a driver, or a system issue. If the same ‘You need to format the disk in drive before you can use it’ error appears there too, the problem lies with the drive or its file system. It works the same for USB flash drives, an external HDD or SSD, and a ‘You need to format the disk in drive’ SD card error.

Trying a PC with a different operating system helps when the drive may use a file system Windows doesn’t support. If the drive was formatted on a Mac or Linux computer, Windows may ask to format a perfectly healthy drive simply because it can’t read its file system. This has proven a reliable fix for those who needed to know how to fix the ‘format disk’ error without formatting.

Method 4: Fix Hard Drive Errors Using CMD

CHKDSK is a file system repair tool that runs through Command Prompt (CMD), scans the drive for errors, and fixes them. It can repair the corruption behind the message, but only on a drive that still has a file system Windows recognizes, such as NTFS or FAT32. When Windows says you need to format the disk in drive before you can use it, RAW is often what Disk Management shows, and CHKDSK is not available for RAW drives. The one exception is an NTFS partition that turned RAW due to a damaged boot sector, which CHKDSK can sometimes rebuild from the backup copy NTFS keeps. Otherwise, when you see ‘You need to format the disk before using it,’ fix RAW drives with TestDisk or by formatting instead.

Follow these steps on how to fix ‘You need to format the disk in drive’ without formatting by repairing with CHKDSK:

  1. Right-click Start and click Terminal (Admin).Right-click Start and click Terminal (Admin).
  2. Type CHKDSK *: /r. Replace the * symbol with the letter assigned to your drive. Press Enter.Type CHKDSK *: /r.

Method 5: Scan the Hard Drive for Viruses

Malware is an uncommon cause of this error, but it’s possible if malicious software damages the file system or partition data. A RAW drive has no readable files to scan, so scan the computer the drive was connected to and remove any infection before you reconnect it. Any antimalware software will do. We’re using Microsoft Defender Antivirus because it comes included for free with Windows 10 and 11. Removing malware won’t repair the drive, so you’ll still need the other methods to fix it.

Follow these steps to scan for viruses using Microsoft Defender Antivirus:

  1. Open Start, type “Windows Security”, and open the top result.Open Start, type “Windows Security”, and open the top result.
  2. Click Virus & threat protection.Click Virus & threat protection.
  3. Click Scan options.Click Scan options.
  4. Select Full scan, then click Scan now.Select Full scan, then click Scan now.
  5. Select Microsoft Defender Antivirus (offline scan) and click Scan now for a deeper check. Your PC restarts to run it.

Method 6: Repair the Drive with TestDisk

TestDisk is a free, open-source tool that repairs the structures Windows uses to find a partition. It’s a good fit mainly when Disk Management shows the drive at its correct capacity, but the partition appears RAW or unallocated because of damaged partition data, a lost partition, or a damaged boot sector. It can’t undo a format, and it’s not a tool for a physically failing drive. Our TestDisk review covers what it can and cannot do in more depth.

Follow these steps to restore a lost or RAW partition with TestDisk:

  1. Download and extract the TestDisk ZIP file. Right-click testdisk_win.exe and click Run as administrator.Download and extract the TestDisk ZIP file.
  2. Press Enter to create a log file.Press Enter to create a log file.
  3. Select the drive showing the error with the arrow keys, using its size to identify it, then press Enter.Select the drive showing the error with the arrow keys, using its size to identify it, then press Enter.
  4. Choose your partition table type, then press Enter. TestDisk will do its best to guess the right one.Choose your partition table type, then press Enter.
  5. Press Enter on the Analyse option.Press Enter on the Analyse option.
  6. Press Enter on Quick Search.Press Enter on Quick Search.
  7. Press Enter on the screen with the partition. If you want to be certain, press P to list its files and confirm it contains your folders, then Q to go back.Press Enter on the screen with the partition.
  8. Move over to the Write option, then press Enter. If nothing was found, you may need to perform a Deeper Search instead.Move over to the Write option, then press Enter.
  9. Press Y to confirm.

Method 7: Format the Hard Drive If Nothing Helps

If you’ve tried all of the above methods and the hard disk still needs to be formatted before use, formatting is the only fix left. Formatting is the step where you deliberately recreate the file system from scratch, which is exactly what Windows has been asking you to do all along. It also makes everything still stored on the drive inaccessible, so only do it once you’re comfortable losing access to whatever remains.

The instructions below show how to format a hard drive using Disk Management:

  1. Right-click Start and click Disk Management.Right-click Start and click Disk Management.
  2. Right-click the partition that’s encountering the problem, then click Format.Right-click the partition that’s encountering the problem, then click Format.
  3. Specify a name and file system for the format. Make sure Perform a quick format is ticked, then click OK.Specify a name and file system for the format.
  4. Click OK again.

If the drive shows as Unallocated, there’s no partition to format. Instead, you should right-click the space, click New Simple Volume, then follow the wizard. Formatting is also the right fix when the error is caused by an incompatible file system, once the files are copied somewhere safe.

Method 8: Contact Data Recovery Service

For this error, a data recovery service usually isn’t the next step. In most cases, the problem is logical (software-related), like a damaged file system or partition rather than a broken drive. DIY solutions, like the ones above, are cheaper, faster, and less trouble.

Professional recovery is the right choice when there are signs of deeper problems. Go back and check if the drive is recognized. If Disk Management shows the drive at its correct capacity and it stays connected, DIY recovery and repair are worth trying first. Stop using the drive if you notice any of these instead:

  • The drive appears with the wrong capacity.
  • It disconnects repeatedly.
  • Windows doesn’t detect it reliably.
  • An HDD makes clicking, grinding, or other strange mechanical noises.
  • There are other clear signs of physical failure, such as a drive that doesn’t spin up or gets unusually hot.

These all point to a hardware fault, and every scan or repair attempt can make it worse. These issues require a specialist with the knowledge and tools to perform high-level recovery in cases that can’t be resolved with software. We’ve compiled a list of the best data recovery services available if you want to compare them, and we’ll show you how to use one below:

  1. Go to cleverfiles.com/data-recovery-center and click Start Recovery.Go to cleverfiles.com/data-recovery-center and click Start Recovery.
  2. Choose how fast you need the data recovered from the drive displaying the ‘You need to format the disk before using it’ error message.Choose how fast you need the data recovered from the drive displaying the ‘You need to format the disk before using it’...
  3. Fill in your personal information and any details relating to the drive and its damage. When you’re finished, click Complete my work order.Fill in your personal information and any details relating to the drive and its damage.

Conclusion

The ‘You need to format the disk before using it’ error rarely means your files are gone. It means Windows can see the drive but can’t read its file system. For a physically healthy drive, here’s how to fix ‘You need to format the disk before using it’ the simplest and most reliable way, in two steps:

  1. Recover the most important data first with a reliable data recovery tool like Disk Drill.
  2. Once the files are safe, do what Windows is asking and format the drive with a suitable file system: NTFS for Windows only, or exFAT for use across Windows, macOS, and Linux.

The other methods are worth trying if you’d rather repair the drive in place. If it shows the wrong capacity, keeps disconnecting, or makes unusual noises, skip the DIY route and contact a data recovery service.

FAQ

jordan-jamieson-mane-pfp
Jordan Jamieson-Mane

Jordan Jamieson-Mane is a technology content writer with a passionate interest in technology. Starting from a young age, this interest gradually turned into a career, with Jordan studying in the field of IT and moving int...

Read full bio
Avatar
Approved by
Brett Johnson

This article has been approved by Brett Johnson, Data Recovery Engineer at ACE Data Recovery. Brett has a Bachelor's Degree in Computer Systems and Network, 12 years of experience.