How to recover files from a failed or unreadable SD card or USB flash drive
Summary
This guide helps you troubleshoot and resolve: How to recover files from a failed or unreadable SD card or USB flash drive. Follow the steps below to fix the issue.
Common Causes
SD cards and USB flash drives are convenient for storing and transferring files, but they can fail unexpectedly due to physical damage, file system corruption, or accidental formatting. The good news is that in many cases, your data can still be recovered using built-in operating system tools or reputable third-party recovery software. This guide walks you through the safest methods to retrieve your files before attempting any repairs or formatting.
If the drive is making clicking noises, feels unusually hot, or has visible physical damage, stop using it immediately. Further attempts to power it on can make recovery harder or impossible. In that case, consider engaging a professional data recovery service.
Quick Fix Steps
- Stop using the drive immediately to prevent overwriting recoverable data.
- Try the drive in a different USB port or card reader, or on another computer.
- Check Disk Management (Windows) or Disk Utility (macOS) to see if the drive is detected.
- Run the built-in repair tools (
chkdskon Windows, First Aid on macOS). - If the drive is detected but files are missing, use recovery software such as Recuva, PhotoRec, or Disk Drill.
- If the drive is not detected at all, try data recovery software that supports raw or deep scans.
Before You Begin
- Do not save any new files to the affected drive.
- Have a separate storage destination ready (another USB drive, external hard drive, or cloud storage) with enough free space to hold the recovered files.
- Disconnect any other unnecessary USB devices to avoid confusion about drive letters or mount points.
- If the data is business-critical and you are unsure, open a ticket with our support team before attempting recovery.
Detailed Instructions
Step 1: Confirm the Drive Is Detected
Windows 10 or 11:
- Connect the SD card or USB drive.
- Press
Win + Xand select Disk Management. - Look for the drive in the lower pane. Note the drive letter and whether the partition shows as RAW, Unallocated, or Healthy.
macOS:
- Connect the SD card or USB drive.
- Open Disk Utility (search via Spotlight with
Cmd + Space). - Select the drive from the sidebar and check whether it mounts and whether the file system is reported as readable.
If the drive does not appear at all, try a different cable, port, or reader. Some computers struggle with high-capacity SD cards (SDXC) in older built-in readers.
Step 2: Try the Built-In Repair Tools
Windows (chkdsk):
- Open Command Prompt as Administrator (search for
cmd, right-click, choose Run as administrator). - Type
chkdsk E: /f /r, replacingE:with your drive letter. - Press
Enterand allow the scan to complete. Recovered files will be placed in afound000folder or similar.
Do not run chkdsk on a drive that is making unusual noises or showing signs of physical failure. The scan can worsen physical damage.
macOS (First Aid):
- Open Disk Utility.
- Select the affected drive (not the volume underneath it).
- Click First Aid, then click Run.
- When finished, click Show Details to review any errors found.
Step 3: Recover Files Using Software
If the built-in tools cannot read the file system, recovery software can scan the raw sectors of the drive and reassemble files.
Recommended tools:
- Recuva (Windows, free for personal use) — simple interface, good for documents and photos.
- PhotoRec (Windows, macOS, Linux, free and open source) — excellent for photos, videos, and documents; works on many file systems.
- Disk Drill (Windows, macOS, free tier available) — polished interface with deep scan capability.
- TestDisk (Windows, macOS, Linux, free and open source) — powerful partition and file system recovery, command-line based.
General recovery workflow:
- Download and install the recovery tool on a different drive than the one you are recovering from.
- Launch the tool and select the affected SD card or USB drive.
- Choose a recovery destination on a separate drive with sufficient free space.
- Start a scan. A deep scan takes longer but finds more files.
- Preview recoverable files where possible and select the ones you need.
- Save the recovered files to the separate destination.
Never save recovered files back to the same failing drive. This can overwrite data that has not yet been recovered.
Step 4: Recover From a RAW or Unallocated Partition
If the drive shows as RAW in Disk Management or unmountable in Disk Utility, the file system is damaged but the data may still be present.
Windows:
- Open Disk Management and confirm the partition is RAW.
- Do not format the drive.
- Run a recovery tool such as TestDisk to rebuild the partition table, or use Recuva or Disk Drill to perform a deep scan on the RAW partition.
macOS:
- Open Disk Utility and select the drive.
- Click Mount. If it fails, do not click Erase.
- Use Disk Drill or another macOS-compatible recovery tool to scan the unmounted drive.
Step 5: Address Card Reader and Write-Protection Issues
Sometimes the card itself is fine but the reader is the problem.
- Test the SD card in another device that has a built-in reader (camera, phone with OTG support, another computer).
- Check the small Lock switch on full-size SD cards. If it is slid to the locked position, the card will appear read-only or unreadable.
- For microSD cards in an adapter, ensure the adapter's lock switch is in the unlocked position.
- Try a different USB cable or a different USB flash drive in the same port to isolate whether the port is faulty.
Troubleshooting
The Drive Is Not Detected Anywhere
- Test the drive on a second computer to rule out a port or driver issue.
- On Windows, open Device Manager, expand Disk drives, and check for any device with a yellow warning icon. Right-click and choose Update driver.
- On macOS, open System Information > USB and see if the device appears when connected.
- If the drive still does not appear, the controller or memory may have failed. Professional recovery may be required.
Files Recovered But They Will Not Open
- The file may be partially overwritten or fragmented. Try a different recovery tool, as each one uses different reconstruction logic.
- For photos, try opening them in a different viewer (such as Google Photos, IrfanView, or Preview on macOS).
- For documents, use the repair feature in the originating application. For example, Microsoft Word and Excel both offer built-in document recovery options that can repair partially corrupted files.
- For videos, tools such as VLC or HandBrake can sometimes play or remux files that other players reject.
Recovery Software Cannot See the Drive
- Confirm the drive is listed in Disk Management or Disk Utility before launching the recovery tool.
- Run the recovery software as Administrator on Windows so it has permission to access raw devices.
- On macOS, grant Full Disk Access to the recovery application in System Settings > Privacy & Security > Full Disk Access.
- If the tool still cannot detect the drive, the storage media may have a hardware fault and professional recovery is the safest next step.
Preventing Future Data Loss
- Always eject SD cards and USB drives safely before removing them.
- Keep at least two backups of important files, using different media (for example, an external drive plus a cloud service).
- Replace SD cards that are several years old or have been used heavily, as flash memory wears out over time.
- Avoid using the same USB drive across multiple operating systems without safely ejecting it each time.
If you have tried the steps above and still cannot recover your files, or if the drive shows signs of physical damage, contact our support team for further assistance. We can advise on trusted professional data recovery providers.
Still Having Issues?
💻 Open a Ticket