Corrupted files on a USB drive usually mean the drive’s file system (FAT32, NTFS, or exFAT) is damaged, not that your data is gone for good. In most cases, you can recover the files and bring the drive back to life using free built-in Windows tools, and the steps below walk you through the exact order I use when a flash drive stops working.
This guide covers every reliable method I have tested on real USB sticks in 2026, from a 30-second port swap to TestDisk for stubborn cases. I have also flagged the moments when you should stop and hand the drive to a professional instead.
ContentsTable of Contents›
- What Does ‘Corrupted Files on a USB Drive’ Actually Mean?
- What Causes USB Files to Become Corrupted?
- Quick Diagnostic: Match Your Symptom to the Right Fix
- Stop Here: Signs Your USB Drive Has Hardware Damage (Not Software)
- Method 1: Try a Different USB Port or Computer First (30 Seconds)
- Method 2: Use the ATTRIB Command to Recover Hidden Files
- Method 3: Run CHKDSK to Repair the File System
- Method 4: Assign a New Drive Letter in Disk Management
- Method 5: Reinstall or Update USB Drivers in Device Manager
- Method 6: Recover Files With Recovery Software Before Formatting
- Method 7: Format the USB Drive (Last Resort, After You Recover Files)
- How to Fix a Corrupted USB Drive on Mac
- When to Send Your USB to a Professional Data Recovery Service
- How to Prevent USB File Corruption in the Future
- Frequently Asked Questions
- Can a corrupted USB drive be repaired?
- Why are my files corrupted on my USB drive?
- How do I recover my files in a corrupted USB?
- My USB drive is corrupted and unreadable. How can I fix it?
- What is the best tool to repair a corrupted USB drive?
- How can I recover a corrupted USB drive without formatting it?
- Final Thoughts: A Corrupted USB Drive Is Usually Recoverable
What Does ‘Corrupted Files on a USB Drive’ Actually Mean?
When a USB drive is corrupted, it usually means one of two things has gone wrong. Either the file system (the table of contents that tells your computer where each file lives) is damaged, or individual files have errors inside them.
Both problems look similar from the outside: Windows might say the drive needs to be formatted, show it as RAW, refuse to open it at all, or display your files as 0 KB and refuse to copy. In most cases, the actual data is still on the flash memory chips, but the operating system cannot read the index that points to it.
This is good news. Software-level corruption is almost always fixable without sending the drive anywhere. Hardware-level problems (a cracked connector, dead NAND chip, or burnt controller) are a different story, and I cover the warning signs later.
What Causes USB Files to Become Corrupted?
USB corruption almost always has a cause, and knowing it changes which fix will work. The most common culprits I see in real troubleshooting threads:
- Unsafe removal: Yanking the drive out while Windows is still writing to it leaves the file system in an inconsistent state.
- Power loss during write: A laptop dying, a USB hub losing power, or pulling a cable mid-transfer can corrupt the index in milliseconds.
- Virus or malware: Some infections deliberately hide your files by setting the hidden and system attributes, which looks identical to corruption.
- Bad sectors from wear: Flash memory has a finite write count. Older drives accumulate bad sectors that the file system cannot handle.
- Counterfeit drives: Cheap no-name USB sticks often report a fake capacity (a 64 GB drive that is really 8 GB) and silently corrupt anything written past the real limit.
- Bootable media leftovers: After using Rufus or balenaEtcher, the partition table is sometimes left in a state Windows cannot read.
If your drive stopped working right after one of these events, you already have a strong hint about which method below is most likely to work.
Quick Diagnostic: Match Your Symptom to the Right Fix
Before you start running commands, identify your exact symptom. This table maps the most common errors to the method most likely to fix them without losing data.
- USB not detected at all: Try Method 1 (different port), then Method 5 (drivers).
- Drive appears but asks to be formatted: Try Method 3 (CHKDSK) first, then Method 6 (recovery software).
- Files visible but won’t open: Try Method 2 (ATTRIB), then Method 3 (CHKDSK).
- Drive shows as RAW in Disk Management: Try Method 3 (CHKDSK), then Method 6 (recovery software).
- Files missing but space used: Try Method 2 (ATTRIB), then Method 6.
- “Write Protected” error: Use DiskPart to clear attributes (covered in Method 7).
- Drive gets hot or smells burnt: Stop. This is hardware damage. Jump to the professional recovery section.
Stop Here: Signs Your USB Drive Has Hardware Damage (Not Software)
Before you spend an hour running commands, check for these physical red flags. Software fixes will not help, and forcing them can make data recovery harder.
- The USB connector is visibly bent, loose, or wobbly in the socket.
- The drive gets unusually warm or hot to the touch during use.
- You smell burning plastic or ozone.
- The plastic casing has a crack or a small bulge.
- It stopped working after being dropped, submerged, or stepped on.
- It makes a clicking or buzzing sound when plugged in.
If any of these apply, skip every method below. Unplug the drive, do not run any software against it, and contact a professional recovery service. Powering up a drive with controller damage can wipe the last chance of getting data back.
Method 1: Try a Different USB Port or Computer First (30 Seconds)
I cannot tell you how many “dead” USB drives I have revived just by moving them to another port. This takes 30 seconds and costs nothing, so do it before anything else.
- Unplug the drive.
- Try a different USB port on the same computer, preferably one on the back panel (which is wired directly to the motherboard).
- If that fails, plug the drive into a different computer entirely.
- Avoid USB hubs during troubleshooting. They add a layer that can mask whether the drive or the port is the problem.
If the drive works on another machine, the original port or hub is the issue, not your data. If it shows the same corruption on every machine you try, move on to Method 2.
Method 2: Use the ATTRIB Command to Recover Hidden Files
This is the single most effective free fix when your files appear to be missing but the drive still shows used space. The ATTRIB command removes hidden, read-only, and system flags that viruses and corruption often set on your files.
Here is the exact command that works on every Windows version from 7 through 11 in 2026:
attrib -h -r -s /s /d X:*.*
Replace X: with the actual drive letter Windows assigns your USB drive. Here is how to run it:
- Press
Windows + R, typecmd, and pressCtrl + Shift + Enterto open Command Prompt as administrator. - Find your drive letter by opening File Explorer and noting the letter next to the USB drive.
- Type the command above, replacing
Xwith your drive letter, then press Enter. - Wait for the command to finish. On a large drive this can take 10-30 minutes.
- Open File Explorer and check the drive. Your files should reappear.
If this fixes the problem, copy your data off the drive immediately, then reformat it (Method 7) to clean up the file system. If your files are still missing or the drive still asks to be formatted, move on to CHKDSK.
Method 3: Run CHKDSK to Repair the File System
CHKDSK is Windows’ built-in file system repair tool. It scans the drive, finds logical errors, and attempts to fix them. It is the right tool when the drive shows up but errors out, or when Windows asks you to format it.
Open Command Prompt as administrator (Windows + R, type cmd, press Ctrl + Shift + Enter), then run:
chkdsk X: /r
Replace X: with your USB drive letter. The /r switch locates bad sectors and recovers readable information. Here is what to expect:
- CHKDSK will scan the drive in multiple stages. It is normal to see the percentage reset several times.
- On a 32 GB drive, expect 5-15 minutes. On a 128 GB drive, expect 30-90 minutes.
- When it finishes, note the report. “Windows has scanned the file system and found no problems” means it is fixed.
- “Windows found problems but could not fix all of them” usually means the damage is severe. Move to Method 6 (recovery software).
If your drive shows as RAW (a file system Windows cannot read), CHKDSK will refuse to run. In that case, skip to Method 6 and recover your files first. CHKDSK on a RAW drive can make things worse.
There is also a GUI version of the same tool. Right-click the drive in File Explorer, choose Properties, then the Tools tab, then “Check” under Error checking. It runs the same scan but asks for confirmation before each fix.
Method 4: Assign a New Drive Letter in Disk Management
Sometimes the drive is perfectly fine but Windows has not assigned it a letter, so File Explorer cannot see it. Disk Management fixes this in under a minute.
- Press
Windows + Xand choose Disk Management. - Scroll through the list of disks until you find your USB drive. It will show up without a letter, or with a letter conflict.
- Right-click the partition on the USB drive and choose “Change Drive Letter and Paths”.
- Click Add, then pick a letter that is not already in use.
- Click OK and check File Explorer.
If the partition is missing entirely or shows as “Unallocated” with no file system, the partition table is damaged. Recovery software (Method 6) is the next step.
Method 5: Reinstall or Update USB Drivers in Device Manager
When the drive is not recognized at all, the culprit is often a driver issue rather than the drive itself. Reinstalling the USB drivers forces Windows to redetect the hardware.
- Press
Windows + Xand choose Device Manager. - Expand “Disk drives” and find your USB drive in the list.
- Right-click it and choose “Uninstall device”, then confirm.
- Unplug the USB drive, wait 10 seconds, and plug it back in.
- Windows will reinstall the driver automatically. If it does not, right-click “Disk drives” and choose “Scan for hardware changes”.
If the drive still does not show up, repeat the process on every USB controller under “Universal Serial Bus controllers”. Some users find a single broken controller blocking all USB storage.
Method 6: Recover Files With Recovery Software Before Formatting
Once the cheap fixes fail, the priority shifts to getting your files off the drive before anything destructive. Two solid free options exist, plus one paid option I recommend when the data is valuable.
Recuva (free, beginner-friendly): Download it from the official Piriform site. Run a Deep Scan on your USB drive. Recuva will list recoverable files, let you preview them, and save them to a different drive. It handles most photo, document, and video recoveries well.
TestDisk (free, power-user): This is a command-line tool, and it is intimidating if you have never used a terminal. But it can rebuild entire partition tables, which Recuva cannot. Use it when the drive shows as RAW or unallocated and Recuva cannot read it. There are excellent step-by-step guides on the CGSecurity site, and the r/datarecovery community on Reddit is helpful when you get stuck.
Disk Drill (paid, worth it for important data): If your data is critical and the free tools did not work, Disk Drill can create a byte-to-byte backup of the drive before attempting recovery. That image file can be mounted and worked on without touching the original drive again, which is the safest possible workflow.
Whatever tool you use, recover your files to a different drive, not back to the corrupted USB. Saving recovered files onto the same drive you are recovering from is a recipe for overwriting the very data you are trying to save.
Method 7: Format the USB Drive (Last Resort, After You Recover Files)
Format is the nuclear option. It erases everything on the drive and rebuilds the file system from scratch. Only do this after you have recovered your important files using Method 6, or when you have already accepted the data loss.
Before you format, choose the right file system for your use case:
- FAT32: Universal compatibility (Windows, Mac, Linux, TVs, car stereos). Max file size 4 GB, so unsuitable for movies.
- exFAT: Like FAT32 but with no file size limit. Works on Windows and Mac natively. Best choice for most modern USB drives.
- NTFS: Windows-only with full features. Use it only if the drive will live exclusively on Windows machines.
To format: open File Explorer, right-click the USB drive, choose Format, pick the file system, and click Start. The quick format option is fine for most cases. Uncheck “Quick Format” only if you want a deeper scan that catches bad sectors.
For a write-protected drive that refuses to format normally, use DiskPart to clear the read-only flag. Open Command Prompt as administrator and run these commands one at a time, pressing Enter after each line:
diskpart
list disk
select disk X (where X is your USB drive number, not letter)
attributes disk clear readonly
clean
create partition primary
format fs=exfat quick
assign
Be very careful with the select disk step. Picking the wrong disk will wipe a drive you did not intend to erase.
How to Fix a Corrupted USB Drive on Mac
Mac users have a similar set of tools, with one major advantage. Disk Utility includes a one-click repair feature called First Aid.
- Open Disk Utility (search for it in Spotlight, or find it in Applications > Utilities).
- Select your USB drive from the sidebar. Make sure to pick the drive itself, not the volume underneath it.
- Click “First Aid” at the top of the window.
- Click Run, then confirm. First Aid will check and repair the file system.
If First Aid fails, the same data recovery tools I mentioned (Disk Drill has a Mac version, Recuva does not) work on macOS. TestDisk also runs on Mac through the terminal. For bootable USBs created on Windows, Mac often shows them as read-only Windows NTFS volumes, which is normal and not corruption.
If your USB was formatted as NTFS on Windows and you need full read and write access on Mac, install a paid NTFS driver like Tuxera or Mounty, or reformat the drive as exFAT for native cross-platform support.
When to Send Your USB to a Professional Data Recovery Service
Professional recovery is not a scam upsell. It is the right call in specific situations where DIY methods can do more harm than good.
Send it out if the drive shows any of the physical red flags from earlier (heat, smell, clicking, cracked connector), or if the data is genuinely irreplaceable (tax records, business documents, the only copy of family photos). Professional labs have clean-room facilities, NAND chip readers, and proprietary tools that can pull data from drives no software can touch.
Expect to pay between a few hundred and a few thousand dollars depending on the damage. Most reputable services offer a free evaluation first, so you know the cost before committing. CleverFiles, DriveSavers, and Gillware are well-known options, but any clean-room lab with good reviews is a fair choice.
The one thing to avoid: do not keep plugging in a drive that is making noises or getting hot. Each power cycle can permanently destroy sectors that recovery might otherwise save.
How to Prevent USB File Corruption in the Future
Most USB corruption is preventable with a few small habits. Here is the checklist I share with anyone who relies on flash drives for work.
- Always use the “Safely Remove Hardware” option before unplugging. The little USB icon in the system tray exists for a reason.
- Keep at least two copies of any file you cannot afford to lose. Cloud storage plus an external hard drive is the safest combination.
- Run a reputable antivirus on any USB drive that has been plugged into other computers, especially shared office machines.
- Avoid no-name USB sticks sold for suspiciously low prices. They are often counterfeit with fake capacity and will corrupt data silently.
- If a drive starts to behave oddly (slow transfers, intermittent errors, files that won’t open), copy the data off immediately and retire the drive. Flash memory does not recover from wear.
- Use exFAT for any drive you plan to use across Windows and Mac. It avoids most cross-platform read-only confusion.
If you want to test whether a USB drive is genuine, the free FakeFlashTest tool checks whether the drive’s reported capacity matches its real capacity. Run it on any new no-name drive before trusting it with important files.
Frequently Asked Questions
Can a corrupted USB drive be repaired?
Yes, in most cases. Software-level corruption (a damaged file system, hidden files, missing drive letter) is fixable using free built-in Windows tools like CHKDSK, ATTRIB, and Disk Management. Hardware damage (a burnt chip, broken connector, clicking drive) cannot be repaired at home and needs a professional recovery service.
Why are my files corrupted on my USB drive?
The most common causes are unsafe removal (yanking the drive while Windows is writing), sudden power loss during a file transfer, viruses that hide or damage files, wear-related bad sectors on older drives, counterfeit drives that report fake capacity, and leftover partition tables from bootable media tools like Rufus.
How do I recover my files in a corrupted USB?
First, try the ATTRIB command (attrib -h -r -s /s /d X:*.*) to unhide files. If that fails, run CHKDSK X: /r to repair the file system. If the drive is RAW or unreadable, use recovery software like Recuva (free), TestDisk (free, advanced), or Disk Drill (paid) to copy your files to a different drive before doing anything destructive.
My USB drive is corrupted and unreadable. How can I fix it?
Work through these steps in order: try a different USB port and a different computer, then run the ATTRIB command to unhide files, then run CHKDSK X: /r from an administrator Command Prompt, then reinstall the USB drivers in Device Manager, then use recovery software to copy your files off, and only then format the drive as a last resort.
What is the best tool to repair a corrupted USB drive?
For free repairs, CHKDSK is the most effective built-in Windows tool and handles most logical file system errors. For data recovery, Recuva is the easiest free option for beginners, TestDisk is the most powerful free option for partition and RAW drive problems, and Disk Drill is the best paid option when you need a byte-to-byte backup of a failing drive.
How can I recover a corrupted USB drive without formatting it?
Yes. Run CHKDSK X: /r to repair logical errors, run ATTRIB to unhide files a virus may have hidden, assign a new drive letter in Disk Management, or reinstall USB drivers in Device Manager. If those do not work, use Recuva or TestDisk to recover your files first, and only format the drive as the absolute last resort after your data is safely copied elsewhere.
Final Thoughts: A Corrupted USB Drive Is Usually Recoverable
If you remember nothing else from this guide, remember the order: try another port, then ATTRIB, then CHKDSK, then driver reinstall, then recovery software, and only then format. That sequence solves the majority of corrupted USB drive cases I have seen, and it does so without risking your files.
Knowing how to fix corrupted files on a USB drive saves real money and real stress. Most situations do not need a professional service, just patience, the right command, and the discipline to recover your data before doing anything irreversible. Keep your backups current, eject safely, and your flash drives will keep working for years.