How to Recover Photos From a Corrupted SD Card Without Making Things Worse
Recover photos from a corrupted SD or microSD card safely. Follow practical Windows, Mac, and PhotoRec steps without formatting or overwriting your pictures.
Contents
- First: understand what 'corrupted' means
- Seven actions to avoid before recovery
- Step 1: look for copies before touching the card
- Step 2: perform a minimal, non-destructive connection check
- Step 3: decide whether to create a full card image
- When to stop and use a professional recovery service
- Step 4: recover with Windows File Recovery when the card has a drive letter
- Step 5: use PhotoRec for damaged file systems
- Step 6: special cases on Mac, Android, and cameras
- On macOS
- On Android
- On cameras and drones
- Which recovery method should you choose?
- Step 7: verify every recovered photo
- What if recovered photos are corrupted or won't open?
- Can you repair the SD card after recovering your photos?
- Why recovery sometimes fails
- How to prevent another SD card disaster
- A safe recovery checklist
- The bottom line
- Official references and further reading

If your SD card suddenly asks to be formatted, shows an empty folder, or displays an unreadable-card error, stop using it immediately. Do not format the card, run repair commands, or take more photos on it. Those actions may change the very data you want to recover. This guide gives you a risk-first recovery workflow for SD and microSD cards used in cameras, phones, drones, and computers.
The safest order is: stop writing → check backups → rule out a faulty reader → make a sector-level image if possible → recover to another drive → repair or replace the card only after the files are safe. Success depends on whether the memory remains readable and whether data has been overwritten; no recovery utility can guarantee every photo.
First: understand what ‘corrupted’ means
A card can appear corrupted because of a damaged file system, interrupted write, incompatible reader, unstable USB connection, bad adapter, failed controller, or worn-out flash memory. These causes need different responses. A file-system error may leave image data intact; a card that never identifies itself may require a specialist.
| What you see | Possible explanation | Safest next step |
| ‘You need to format the disk’ | Unreadable file system or partition | Cancel; image the card before scanning |
| Card shows 0 bytes or wrong capacity | Reader/adapter issue or controller fault | Try a compatible reader once; consider a lab |
| Photos visible but won’t open | Damaged files or incomplete writes | Copy readable files to another drive |
| Card disconnects repeatedly | Unstable reader or failing media | Stop repeated attempts; seek imaging help |
| Card not detected anywhere | Reader incompatibility or hardware failure | Check a known-good reader; avoid DIY electrical fixes |
Seven actions to avoid before recovery
- Do not click Format when Windows, macOS, or a camera offers it.
- Do not take another photo or video on the affected card, even to test it.
- Do not save recovered files back to the same SD card.
- Do not run CHKDSK /f, First Aid repair, or filesystem repair first if the only copy of important files is on the card; these can write changes.
- Do not initialize or repartition the card in Disk Management or Disk Utility.
- Do not repeatedly unplug a card during active reads; use safe removal when possible.
- Do not trust software promising 100% recovery or pay before reviewing its limitations and privacy policy.
Step 1: look for copies before touching the card
Check your camera’s second card slot, imported photo libraries, Google Photos, iCloud Photos, OneDrive, external backup drives, editing catalogs, and previous phone transfers. Search for both JPEG and RAW originals, because an editor may have imported previews while leaving the originals on the card. If a complete copy exists, your recovery plan becomes much less risky.
Step 2: perform a minimal, non-destructive connection check
- Turn the camera or device off, remove the card, and inspect it for visible cracks, bent contacts, or moisture. Do not scrub contacts aggressively.
- Use a known-good SD or microSD reader that supports the card’s capacity and format; an old reader may not support SDXC or newer standards.
- Connect directly to a stable computer USB port rather than a loose hub; if possible, test one other reader or computer.
- On Windows, inspect Disk Management to see whether the physical disk and approximate capacity appear. On macOS, inspect Disk Utility with ‘Show All Devices’ enabled.
- If the card is recognized, stop testing and move to imaging or recovery. If it repeatedly disconnects, grows hot, or vanishes, avoid repeated scans.
Important: A full-size SD adapter’s lock tab can make a card read-only, which is useful during recovery, but it is not a guarantee of hardware-level write protection. Some readers ignore it.
Step 3: decide whether to create a full card image
A sector-level image is a file containing a copy of the readable sectors on the card. Scanning that image reduces repeated stress on the original and preserves a snapshot for additional recovery attempts. It is especially valuable for irreplaceable photos. You need free space at least equal to the card’s reported capacity on a healthy destination drive.
An image is not the same as copying the visible DCIM folder. File copying relies on the card’s file system, which may be damaged. Imaging tools read sectors directly; on a failing card, a specialist-grade imaging workflow may be necessary to handle errors safely.
When to stop and use a professional recovery service
If the card is not detected by multiple compatible readers, reports wildly incorrect capacity, disconnects during imaging, or contains irreplaceable wedding, legal, or professional work, consider a reputable recovery lab. Ask whether the evaluation is non-destructive, what fees apply if recovery fails, and how personal photographs are handled.
Step 4: recover with Windows File Recovery when the card has a drive letter
Microsoft provides the free Windows File Recovery command-line utility. Microsoft documents that FAT and exFAT media should use Extensive mode. A readable source drive letter is needed, and the destination must be a different drive. A severely damaged card may not be accessible to this tool.
- Connect the card through a compatible reader and identify its source drive letter in File Explorer or Disk Management; for this example assume E:.
- Connect a healthy external or internal destination with enough space; for this example use D:. Verify that D: is not the SD card.
- Install and launch Windows File Recovery from Microsoft’s official documentation and Microsoft Store.
- Enter
winfr E: D: /extensive /n *.jpg /n *.jpeg /n *.png /n *.heic /n *.dngand follow the confirmation prompts. - Check the recovery folder created on D:. If you need other camera RAW formats, repeat with appropriate file extensions or use a signature-based tool.
Do not blindly copy the example drive letters. Verify both letters first; reversing source and destination can defeat the safety precautions. The command searches for named file patterns and may miss photos whose metadata or filenames are damaged.
Step 5: use PhotoRec for damaged file systems
PhotoRec is a free, open-source recovery utility from CGSecurity. Unlike tools that depend entirely on directory structures, it can identify certain file types from their signatures. That can help when a partition or file system is badly damaged. Its limitations matter: filenames and original folder hierarchy are often lost, and fragmented files may be incomplete.
- Download PhotoRec or the TestDisk package only from the official CGSecurity website.
- Extract and launch QPhotoRec (graphical interface, if available) or PhotoRec with the required system permissions.
- Select the correct physical SD card or its saved disk image by checking the size carefully.
- Choose the relevant partition or whole-device scan according to the tool’s instructions; select photo formats in file options if you want to reduce unrelated output.
- Set the destination to a different healthy disk, never the SD card being recovered.
- Start the scan, then review recovered folders and verify that the images actually open at full resolution.
The official PhotoRec documentation explains why recovered filenames and folders may differ from the originals. If your original directory structure is important, an image-first workflow and specialist assistance may be preferable to multiple experiments.
Step 6: special cases on Mac, Android, and cameras
On macOS
Use Disk Utility to check whether the physical card appears, but avoid clicking Erase or running repair operations on the only copy of important photos. Try a compatible reader, consider imaging the card, and run a reputable recovery tool against the image. Save recovered files to the Mac’s internal drive or another healthy external disk.
On Android
Some Android devices encrypt removable storage or use an SD card as adoptable/internal storage. If the card was adopted and encrypted by the phone, a normal computer scan may not recover usable files without the original device and keys. Do not factory-reset the original phone or reformat the card while investigating. For a portable, unencrypted microSD card, a computer and reader may provide more recovery options.
On cameras and drones
Stop shooting and remove the card only after the device has finished writing and is powered down. Search for a second-slot backup and any low-resolution proxy files on a controller or phone. Video files may be fragmented or require specialized reconstruction; do not assume a photo-recovery scan will recover playable footage.
Which recovery method should you choose?
| Method | Best use | Main limitation |
| Backup or imported library | A previous good copy exists | May be missing recent shots |
| Windows File Recovery | Readable SD volume with a drive letter | Command-line; results vary with damage |
| PhotoRec / QPhotoRec | Damaged file system; signature scanning | Often loses filenames and folders |
| Sector image + recovery | Important files; repeatable scanning | Needs storage and careful setup |
| Professional lab | Unreadable or physically unstable card | Cost; no guarantee of success |
Step 7: verify every recovered photo
A recovered filename does not prove that the image is intact. Open the file at full size, zoom into different areas, check its dimensions, and confirm the full frame is present. Look for half-gray images, abrupt color blocks, missing thumbnails, or files that open only partially. RAW files should be tested in a compatible photo editor, not only in the operating system preview.
- Copy successfully recovered files to two separate healthy locations.
- Sort files by actual capture date or embedded EXIF metadata when available; PhotoRec may assign new names.
- Compare file counts and sample images against camera previews or editing catalogs.
- Keep the original card or disk image unchanged until you are satisfied with the results.
What if recovered photos are corrupted or won’t open?
Some files were already damaged before recovery, or their sectors were overwritten. Others are partially reconstructed or missing metadata. Test with another compatible viewer and verify whether a thumbnail is present but full image data is absent. Photo repair tools may rebuild headers or salvage portions, but they cannot recreate missing photographic detail with certainty. AI-generated fill is not a faithful restoration of the original image.
Can you repair the SD card after recovering your photos?
Only after you have secured and checked your files should you consider formatting the card. The SD Association’s SD Memory Card Formatter is designed for SD-family media, and the association explicitly advises copying data elsewhere before formatting. Formatting is a maintenance step, not a data recovery step.
If the card suffered repeated corruption, unusual capacity readings, or intermittent disconnections, replace it rather than trusting it with new irreplaceable work. A successful format does not prove the flash memory or controller is healthy.
Why recovery sometimes fails
| Cause | What it means | Practical implication |
| Overwritten sectors | New files replaced old photo data | Old content may be permanently lost |
| Flash/controller failure | Computer cannot read underlying storage | Specialist help may be needed |
| Encrypted adopted storage | Data tied to original device or keys | Generic file carving may be ineffective |
| Fragmented large video | File segments scattered across card | Generic recovery may create unplayable files |
| Incomplete camera write | Original file never fully saved | Some image data may not exist |
How to prevent another SD card disaster
- Keep a 3-2-1 backup strategy: multiple copies, different media, and at least one off-site copy for important work.
- Copy and verify photos after every major shoot before deleting anything from the card.
- Use reputable, compatible cards and readers; be cautious of counterfeit high-capacity cards.
- Stop recording and wait for the camera’s activity light before powering down or removing media.
- Format a verified, backed-up card in the intended camera when the manufacturer recommends it, rather than moving the same card repeatedly between incompatible devices.
- Retire cards that repeatedly disconnect, become unreadable, or produce corrupt files.
A safe recovery checklist
- Stop all writes to the affected SD card.
- Check backups, imports, and secondary camera storage.
- Try one known-good compatible reader and note the reported capacity.
- Create a sector-level image if the data is valuable and the card is stable enough.
- Recover from the image or card to a different healthy drive.
- Verify full-resolution photos and keep at least two copies.
- Only then consider formatting or replacing the card.
The bottom line
Do not format first. Most recoverable SD card incidents are made harder by continued writing, premature repair, or saving recovered files to the source card. Work from the least destructive option to the more invasive ones, verify each recovered photo, and stop DIY attempts when hardware instability appears. Recovery is possible in some cases, but never guaranteed.
Official references and further reading
Microsoft — Windows File Recovery
CGSecurity — PhotoRec documentation
CGSecurity — PhotoRec step-by-step guide
