How to Recover Data from a Corrupted SD Card — Step by Step (2026)
Recovery Guide · SafeRestore Team
SD card showing RAW, unreadable, or asking to format? Here is every method to recover your photos, videos, and files from a corrupted or damaged SD card without losing data.
You plug in your SD card and your computer says it needs to be formatted. Or worse — it does not show up at all. Whether it is from a camera, drone, dashcam, or phone, a corrupted SD card does not necessarily mean your data is gone.
This guide covers every practical recovery method, from basic fixes to deep file carving — and when it is time to stop trying and use a proper recovery tool.
Why SD Cards Get Corrupted
Understanding why corruption happens helps you pick the right fix:
- Unsafe ejection: Removing the card while files are still being written is the most common cause.
- File system errors: The FAT32 or exFAT table gets damaged, making the card appear RAW or unformatted.
- Power loss during write: Camera or phone died mid-save, leaving partial file headers.
- Physical wear: NAND flash has limited write cycles. Older cards develop bad sectors.
- Virus or malware: Less common on SD cards, but possible when used in multiple devices.
Step 1: Stop Using the Card Immediately
This is the single most important rule. Every new file written to the card risks overwriting the deleted or corrupted data you are trying to recover. Remove the card from the device and set it aside until you are ready to attempt recovery.
Do not:
- Format the card (even if your computer asks you to)
- Take more photos or videos on it
- Run Windows CHKDSK unless you have already imaged the card
Step 2: Try a Different Reader or Port
Before assuming corruption, rule out hardware issues:
- Try a different SD card reader (USB readers are cheap and often more reliable than built-in laptop slots).
- Try a different USB port (preferably a direct port, not a hub).
- Try a different computer entirely.
- Clean the card contacts gently with a dry microfiber cloth.
If the card appears normally on a different reader, your original reader is the problem, not the card.
Step 3: Check Disk Management (Windows) or Disk Utility (Mac)
If the card shows up but is not accessible:
Windows: Open Disk Management (right-click Start > Disk Management). Look for the SD card. If it shows as RAW or unallocated, the file system is damaged but the card is physically readable — recovery software can work with this.
Mac: Open Disk Utility (Applications > Utilities > Disk Utility). If the card appears but is grayed out, click it and try First Aid. If First Aid fails, the file system is damaged but data may still be intact underneath.
Step 4: Create a Disk Image First
Before running any recovery tool, create a bit-for-bit copy of the card. This preserves the original data exactly as it is, so you can attempt recovery multiple times without risk.
SafeRestore Recovery includes built-in disk imaging (E01 and raw formats). You can also use free tools like dd on Mac/Linux:
sudo dd if=/dev/diskN of=~/Desktop/sd-card-image.img bs=4m status=progress
Replace /dev/diskN with your actual SD card device path (find it via diskutil list).
Step 5: Run Recovery Software
With a disk image or the original card, scan for recoverable files:
- Quick scan: Looks at the file system table for recently deleted entries. Fast but only finds files deleted normally.
- Deep scan / file carving: Reads every sector of the card, looking for file signatures (JPEG headers, MP4 atoms, etc.). Slower but recovers files even from formatted or RAW cards.
SafeRestore Recovery does both automatically — scan the card (or disk image), preview what is recoverable, and export only the files you need. The free trial lets you scan and preview before paying.
Step 6: Recover Specific File Types
Most SD card recovery involves photos and videos. Here is what to expect:
- JPEG photos: Very high recovery rate. JPEG has clear start/end markers that carving tools detect reliably.
- RAW photos (CR2, ARW, NEF): Moderate to high recovery rate. Larger files, but headers are distinct.
- MP4/MOV videos: Moderate recovery rate. Video files are large and easily fragmented. Short clips recover better than long recordings.
- Documents: High recovery rate for PDF, DOCX, and XLSX — small files with distinct signatures.
When to Use Professional Recovery
Software cannot help if the SD card has physical damage:
- Card is cracked, bent, or has visible damage to the connector pins
- Card is not detected by any reader on any computer
- Card was submerged in water (dry it completely first — recovery may still work)
In these cases, a professional data recovery lab can sometimes desolder the NAND flash chips and read them directly. This typically costs $300-$1,500.
Preventing Future Corruption
- Always eject the card properly before removing it
- Use the "safely remove hardware" option on Windows
- Format the card in the device that will use it (format in-camera, not on your computer)
- Replace SD cards every 2-3 years if used heavily
- Keep a backup — automatically upload photos to cloud storage as a safety net
Bottom Line
A corrupted SD card is usually a software problem, not a hardware one. In most cases, your photos and videos are still sitting on the card — the file system just cannot see them anymore. Recovery software that does deep file carving (like SafeRestore Recovery) can bypass the damaged file system entirely and pull files directly from the raw storage.
Download SafeRestore Recovery to scan your SD card for free. You will see exactly what is recoverable before deciding whether to purchase a license.