Stories, science, history, psychology and useful tools — explored with curiosity.
AR

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.

Share f 𝕏 W T
Contents
  1. First: understand what 'corrupted' means
  2. Seven actions to avoid before recovery
  3. Step 1: look for copies before touching the card
  4. Step 2: perform a minimal, non-destructive connection check
  5. Step 3: decide whether to create a full card image
  6. When to stop and use a professional recovery service
  7. Step 4: recover with Windows File Recovery when the card has a drive letter
  8. Step 5: use PhotoRec for damaged file systems
  9. Step 6: special cases on Mac, Android, and cameras
  10. On macOS
  11. On Android
  12. On cameras and drones
  13. Which recovery method should you choose?
  14. Step 7: verify every recovered photo
  15. What if recovered photos are corrupted or won't open?
  16. Can you repair the SD card after recovering your photos?
  17. Why recovery sometimes fails
  18. How to prevent another SD card disaster
  19. A safe recovery checklist
  20. The bottom line
  21. Official references and further reading
SD card beside a laptop showing recovered photo thumbnails and a camera on a desk

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 seePossible explanationSafest next step
‘You need to format the disk’Unreadable file system or partitionCancel; image the card before scanning
Card shows 0 bytes or wrong capacityReader/adapter issue or controller faultTry a compatible reader once; consider a lab
Photos visible but won’t openDamaged files or incomplete writesCopy readable files to another drive
Card disconnects repeatedlyUnstable reader or failing mediaStop repeated attempts; seek imaging help
Card not detected anywhereReader incompatibility or hardware failureCheck 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

  1. Turn the camera or device off, remove the card, and inspect it for visible cracks, bent contacts, or moisture. Do not scrub contacts aggressively.
  2. 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.
  3. Connect directly to a stable computer USB port rather than a loose hub; if possible, test one other reader or computer.
  4. 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.
  5. 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.

  1. Connect the card through a compatible reader and identify its source drive letter in File Explorer or Disk Management; for this example assume E:.
  2. Connect a healthy external or internal destination with enough space; for this example use D:. Verify that D: is not the SD card.
  3. Install and launch Windows File Recovery from Microsoft’s official documentation and Microsoft Store.
  4. Enter winfr E: D: /extensive /n *.jpg /n *.jpeg /n *.png /n *.heic /n *.dng and follow the confirmation prompts.
  5. 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.

  1. Download PhotoRec or the TestDisk package only from the official CGSecurity website.
  2. Extract and launch QPhotoRec (graphical interface, if available) or PhotoRec with the required system permissions.
  3. Select the correct physical SD card or its saved disk image by checking the size carefully.
  4. 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.
  5. Set the destination to a different healthy disk, never the SD card being recovered.
  6. 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?

MethodBest useMain limitation
Backup or imported libraryA previous good copy existsMay be missing recent shots
Windows File RecoveryReadable SD volume with a drive letterCommand-line; results vary with damage
PhotoRec / QPhotoRecDamaged file system; signature scanningOften loses filenames and folders
Sector image + recoveryImportant files; repeatable scanningNeeds storage and careful setup
Professional labUnreadable or physically unstable cardCost; 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

CauseWhat it meansPractical implication
Overwritten sectorsNew files replaced old photo dataOld content may be permanently lost
Flash/controller failureComputer cannot read underlying storageSpecialist help may be needed
Encrypted adopted storageData tied to original device or keysGeneric file carving may be ineffective
Fragmented large videoFile segments scattered across cardGeneric recovery may create unplayable files
Incomplete camera writeOriginal file never fully savedSome 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

  1. Stop all writes to the affected SD card.
  2. Check backups, imports, and secondary camera storage.
  3. Try one known-good compatible reader and note the reported capacity.
  4. Create a sector-level image if the data is valuable and the card is stable enough.
  5. Recover from the image or card to a different healthy drive.
  6. Verify full-resolution photos and keep at least two copies.
  7. 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

SD Association — SD Memory Card Formatter

SD Association — Formatter safety guidance

Mohamed Abdelmoreed Ahmed

Accountant, Programmer, and Founder of Horus Valley. Dedicated to documenting historical mysteries and psychological insights through a lens of logic and meticulous research.