Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Recover Files from a Corrupted USB Flash Drive

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

When a USB flash drive becomes corrupted, the files on it can seem lost forever, but in many cases they are still recoverable. This guide walks you through practical steps to retrieve your data, from simple software fixes to more advanced recovery methods. Before you start, stop using the drive immediately—any new writes can overwrite the data you're trying to save. You'll also need a computer with an available USB port and, ideally, another healthy USB drive or a cloud storage service to save the recovered files to.

What You'll Need

  • A computer (Windows, macOS, or Linux) with a USB port
  • The corrupted USB flash drive
  • A second storage location (another USB drive, external hard drive, or cloud storage) for recovered files
  • Optional: data recovery software (free or paid) like Recuva, PhotoRec, or TestDisk
  • Optional: a different USB port or another computer for troubleshooting

Step-by-Step

  1. Stop using the drive immediately. Unplug it from your computer. Do not format it, run 'chkdsk' or 'fsck' yet, or copy new files to it. Every write operation risks overwriting the data you want to recover.
  2. Try a different USB port and computer. Sometimes the issue is the port or the computer's USB controller. Plug the drive into a different port, and if possible, try it on another computer. If it shows up in the file explorer, copy your files right away.
  3. Check if the drive is detected. On Windows, open Disk Management (right-click the Start button and select 'Disk Management'). On macOS, open Disk Utility (from Applications > Utilities). If the drive appears but with no file system or as 'RAW', it's corrupted but likely recoverable.
  4. Use built-in repair tools (only if the drive is recognized). On Windows, open Command Prompt as administrator and run chkdsk X: /f (replace X with your drive letter). On macOS, run fsck_hfs or fsck_exfat in Terminal. These tools can fix file system errors, but they may also cause further damage—proceed with caution and only if you have a backup or are willing to risk it.
  5. Try data recovery software. If the drive is still not accessible, download a reputable recovery program. For Windows, Recuva (free) or TestDisk (free, open-source) are good starts. For macOS, use Disk Drill or PhotoRec. Install the software on your computer's internal drive, not on the corrupted USB.
  6. Run a deep scan. Open the recovery software, select the USB drive, and choose a 'deep scan' or 'thorough scan' option. This can take a long time (hours for large drives), but it scans for remnants of files even if the file system is damaged.
  7. Preview and recover files. After the scan, the software will list recoverable files. Preview them to confirm they're intact, then select the ones you need and recover them to your second storage location—never back to the same USB drive.
  8. If the drive is physically damaged, seek professional help. If the drive makes clicking sounds, is not detected at all, or shows a very small capacity (e.g., 4 MB instead of 16 GB), it may have a hardware failure. In that case, stop all attempts and consider a professional data recovery service.

Common Mistakes

  • Formatting the drive when Windows or macOS prompts you to 'format' it. This destroys the file system and makes recovery much harder.
  • Running chkdsk or fsck without a backup. These tools can sometimes cause more harm than good, especially if the corruption is severe.
  • Recovering files back to the same USB drive. This can overwrite the very data you're trying to save.
  • Using the drive after noticing corruption. Even a single new file can overwrite a deleted file's data.
  • Panicking and trying every free tool you find. Some 'free' tools are malware or can further damage the drive.

Tips

  • Always keep a backup of important files. A second USB drive or cloud storage is cheap insurance.
  • When using recovery software, scan the entire drive, not just the visible files. Deleted files often hide in unallocated space.
  • If the drive is recognized but you get an 'access denied' error, try running the recovery software as administrator (Windows) or using 'sudo' in Terminal (macOS).
  • For RAW drives (no file system), PhotoRec is particularly effective because it scans for file signatures, not file system metadata.
  • Consider using a live Linux USB to access the drive if Windows or macOS won't mount it. Linux can sometimes read drives that others cannot.

Troubleshooting

The drive is not detected at all. Try a different USB port, a different computer, and a different cable (if it's a portable drive). If it still isn't detected, the drive may have a hardware failure. Check Device Manager (Windows) or System Information (macOS) to see if it appears with an error. If it shows as 'Unknown Device' or with a yellow exclamation mark, try updating the USB controller drivers. If it's still not recognized, professional recovery may be the only option.

Recovery software cannot find any files. Try a different tool. PhotoRec and TestDisk are more powerful but less user-friendly. Also, ensure you're scanning the correct drive—not your internal hard drive. If the drive is physically damaged, software cannot help.

Files are recovered but won't open. The files may be corrupted beyond repair, or the recovery software may have misidentified them. Try recovering with a different tool, or look for a 'raw' recovery option that scans by file signature.

chkdsk or fsck fails. This often indicates severe file system damage. Stop and use recovery software instead. Running these tools repeatedly can worsen the situation.

Frequently Asked Questions

Can I recover files from a USB drive that won't mount?

Yes, often you can. If the drive is detected by the operating system but not mountable, data recovery software can still read raw data from it. If it's not detected at all, the problem is likely hardware, and software may not help.

How much does data recovery software cost?

Free tools like Recuva, PhotoRec, and TestDisk can handle many cases. Paid tools like Disk Drill or EaseUS Data Recovery Wizard offer more features and support, typically costing $50–$100 for a license. Professional lab recovery can cost hundreds to thousands of dollars.

Is it safe to use chkdsk on a corrupted USB drive?

It can be safe if the drive is only slightly corrupted, but it can also cause further damage. Always try recovery software first, or make a disk image before running chkdsk. If you have irreplaceable data, skip chkdsk and go straight to recovery.

How long does a deep scan take?

It depends on the drive's size and speed. A 16 GB drive might take 30 minutes to an hour; a 256 GB drive could take several hours. The scan time also depends on the software's algorithm.

Can I recover files from a USB drive that was formatted?

Yes, formatting doesn't immediately erase data—it only marks the space as available. Recovery software can often restore files from a formatted drive, especially if you haven't written new data to it.

What should I do if the USB drive is physically damaged?

Stop using it immediately. If you hear clicking sounds or the drive gets hot, it's likely a hardware failure. Do not attempt to open it yourself. Contact a professional data recovery service—they have cleanroom facilities to repair or read the memory chips.