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. 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.
Before You Begin
- Stop using the drive immediately to prevent overwriting recoverable data.
- Do not install recovery software onto the affected SD card or USB flash drive. Install the programme on a separate drive, such as your computer's internal hard drive or another external 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, check with your internal IT team or Open a Ticket with our support team before attempting recovery. Free recovery tools are often licensed for personal use only and may not be suitable for company data.
Important warning about chkdsk /r: Do not run chkdsk /r on a failing SD card or USB flash drive. The /r parameter scans for bad sectors and attempts to repair them, which can worsen physical damage on flash media and make data recovery impossible. Use chkdsk /f only if you must attempt a file system repair, and prefer recovery software instead.
SSD and TRIM warning: If you are recovering data from an internal SSD, TRIM may permanently erase deleted files shortly after deletion. Stop using the drive immediately and seek professional assistance if the data is critical.
Quick Fix Steps
- Stop using the drive immediately.
- 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) only if the drive is logically accessible and you are not attempting to recover irreplaceable business data. - If the drive is detected but files are missing, use recovery software such as PhotoRec or a business-licensed alternative.
- If the drive is not detected at all, try data recovery software that supports raw or deep scans.
Detailed Instructions
Step 1: Confirm the Drive Is Detected
Windows 10 or 11:
- Connect the SD card or USB drive.
- Right-click the Start button and 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, replacingE:with your drive letter. - Press
Enterand allow the scan to complete. Recovered files may 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:
- PhotoRec (Windows, macOS, Linux, free and open source) — excellent for photos, videos, and documents; works on many file systems. Suitable for business use under its open source licence.
- TestDisk (Windows, macOS, Linux, free and open source) — powerful partition and file system recovery, command-line based.
- Recuva (Windows, free for personal use only) — simple interface, good for documents and photos. Not licensed for business use; do not use on company data without a business licence.
- Disk Drill (Windows, macOS, free tier available) — polished interface with deep scan capability. Review licence terms before using on business devices.
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 PhotoRec 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: SD Card-Specific Steps
- 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. Slide it to the unlocked position and try again.
- For microSD cards in an adapter, ensure the adapter's lock switch is in the unlocked position.
- If the SD card works in a camera or phone but not in a computer reader, the issue may be the card reader rather than the card.
- SD cards use different file systems depending on capacity. Standard SD cards typically use FAT32, while SDHC and SDXC cards typically use exFAT. When formatting an SD card for use in a camera, always format it in the camera itself rather than on a computer to ensure compatibility.
- Do not format an SD card that contains data you need to recover. Formatting will overwrite the file system and make recovery significantly harder.
Step 6: 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).
- 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 can attempt to repair a damaged document when you open it.
- If recovered files are incomplete or corrupted, stop further recovery attempts on that drive and Open a Ticket for escalation to a professional data recovery service.
Small Business Context and Next Steps
For small businesses, data on SD cards and USB flash drives is often business-critical, including client records, invoices, photos, and project files. Treat removable media as temporary storage only, not as a primary backup location.
- Label business-critical data and store copies on a central file server or cloud backup solution.
- Check with your IT provider or MSP before installing free recovery software on business devices, as many tools are licensed for personal use only.
- If recovered files contain sensitive customer or financial information, ensure they are saved to an encrypted, business-approved location.
- If recovery attempts fail or the drive shows signs of physical failure, Open a Ticket immediately. Our support team can arrange professional data recovery and help you implement a more reliable backup strategy.
Recovering files from a failed SD card or USB flash drive is possible in many cases, but the best protection is prevention. Avoid using removable drives as the only copy of important business data, and maintain regular, tested backups to reduce the risk of permanent data loss.
Still Having Issues?
💻 Open a Ticket