You can fix a corrupted flash drive without losing data by using built-in repair tools on Windows or Mac, but only if the drive is still recognized by your computer and the damage is limited to the file system. The only documented, source-backed methods for repairing a corrupted flash drive without losing data are Windows `chkdsk` and macOS Disk Utility First Aid; no official iPhone or Android path exists.
Before you fix a corrupted flash drive without losing data: Immediate precautions
Before running any repair, protect the data you can still reach. Copy any accessible files from the flash drive to your computer or another storage device. Even if the drive shows errors, some files may still be readable, and backing them up first is the only way to guarantee they survive the repair process.
Handle the drive carefully to avoid physical damage that can make recovery harder. Keep it away from extreme temperatures, moisture, and static. Connect the flash drive directly to a USB port on your computer rather than through a hub or extension cable, which can introduce power or connection issues.
Confirm that the computer recognizes the drive at all before attempting any fix. If the drive appears in File Explorer or Finder, even with an error message, the built-in repair tools have a chance to work. If the drive does not appear at all, the problem may be physical, and no software repair will help.
Repair a corrupted flash drive on Windows with chkdsk
Windows includes the `chkdsk` command, which Microsoft documents as the tool for checking and repairing file system errors on a drive. The command can be used only for local disks, so it will not work on a drive letter redirected over the network. For a USB flash drive connected directly to your computer, it is the official no-format repair option.
- Open the Start menu, search for CMD, and run Command Prompt as administrator.
- If your version of Windows supports it, run `chkdsk /offlinescanandfix X:` first, replacing X with the flash drive's drive letter. This performs an offline scan and fix.
- If no error is reported, run `chkdsk X: /f` or `chkdsk X: /f /r`, again replacing X with the correct drive letter. The `/f` flag fixes errors, and `/r` locates bad sectors and recovers readable information.
On Windows, use the correct drive letter before running chkdsk. Make sure you use the exact drive letter assigned to the flash drive. If you run the command on the wrong letter, you may target the wrong disk. The `/r` flag implies `/f`, so you do not need to run both separately, but either command is acceptable. If the drive letter is not local, meaning it is redirected over the network, `chkdsk` will not run, and you must connect the drive directly to the computer instead.
Repair a corrupted flash drive on Mac with Disk Utility First Aid
macOS includes Disk Utility, and Apple's documented repair process uses the First Aid feature. The order matters: you must run First Aid on each volume, then each container, then the storage device itself, in that exact sequence.
- Open Disk Utility from Applications > Utilities.
- Choose View > Show All Devices so the sidebar displays volumes, containers, and the physical device.
- Select a volume in the sidebar, click First Aid, then click Run.
- Repeat First Aid on each volume, then on each container, and finally on the storage device itself.
- Click Done when First Aid finishes for each item.
On Mac, run First Aid on every volume, then every container, then the device itself. If First Aid reports an error on one item, continue to the next item in the order anyway, then repeat the process for each item in turn. The retrieved Apple pages do not list a file-size limit or model-specific restriction for First Aid on an external flash drive, so the same steps apply regardless of the drive's capacity.
What to do when repair tools don't work
If `chkdsk` on Windows or First Aid on Mac does not fix the drive, no official no-data-loss path exists beyond those tools. Professional data recovery may be the only option, and it should be considered before you format the drive, because formatting erases the data and can overwrite the very files you are trying to recover.
No native iPhone or Android method for repairing a USB flash drive without data loss is documented in any retrieved Apple or Google support page. Mobile operating systems do not expose the same disk repair tools as desktop systems, so a corrupted flash drive connected to a phone or tablet cannot be repaired through the device itself. Managing Phone Data and Storage on a mobile device does not include a flash-drive repair function, so you must connect the drive to a Windows or Mac computer to attempt any of the documented fixes.
If the drive is physically damaged, or if neither built-in tool can read the file system, do not keep running repairs on it. Every additional write attempt can reduce the chance of professional recovery. Stop using the drive and contact a data recovery service that can work on the hardware directly.
Frequently Asked Questions
Can a corrupted flash drive be fixed without formatting?
Yes, if the corruption is limited to the file system and the drive is recognized by your computer. Windows `chkdsk` and macOS Disk Utility First Aid are the only documented methods that attempt repair without erasing data. If those tools fail, formatting is the next step, but it will delete everything on the drive.
What does chkdsk /f /r actually do?
The `/f` flag fixes errors on the file system, and `/r` locates bad sectors on the drive and attempts to recover readable information from them. The `/r` flag includes the behavior of `/f`, so running both together is safe but not required.
Why does Disk Utility First Aid need to run on volumes, containers, and the device?
Each level stores different types of metadata, and a problem in one layer can prevent access to the others. Apple's documented order repairs the smallest units first, then the structures that contain them, so the device itself is checked only after its contents have been verified.
Will a corrupted flash drive always be recoverable?
No. If the drive is physically damaged, or if the file system is too badly corrupted for `chkdsk` or First Aid to repair, the data may be unrecoverable without professional help. The built-in tools do not guarantee a repair, and they are not designed for hardware failures.
For the wider topic, see phone data and storage management.













