Inside the lab follow MDrepairs on YouTube, TikTok & Instagram - visit our YouTube channel ↗

Data Recovery Guide

A Professional Guide to Photo Recovery from SD Card

Updated November 19, 2026
In this article

To recover photos from an SD card, stop using the card immediately, connect it to a computer with a card reader, and run recovery software like PhotoRec or Disk Drill. In most cases, deleted photos are still sitting on the card's NAND flash memory. SD cards don't support TRIM, which means deleting a file only removes the pointer to it. The actual image data stays intact until something new overwrites it. See MDrepairs SD card recovery for device assessment.

This guide covers everything you need: free and paid recovery software options, step-by-step instructions for different scenarios, what NOT to do (seriously, some mistakes are permanent), firmware corruption issues, and how to decide between doing it yourself or sending the card to a lab.

Recover Deleted Photos from an SD Card: The 10-Minute Path

If you just deleted photos and the card itself is healthy, you do not need the whole guide. This is the shortest safe route to recover deleted photos from an SD card, exactly as we would do it at the bench:

  1. Stop shooting immediately. Deleted photos still exist on the card until new data lands on top of them. Every new photo, and even leaving the card in a running camera, risks overwriting the exact sectors you want back.
  2. Take the card out of the camera and connect it to a computer with a dedicated card reader. Recovering through the camera's USB cable is slower and flakier.
  3. Pick one recovery tool from the software comparison below and run a scan. PhotoRec is free and thorough; paid tools are easier to use.
  4. Recover to your computer, never back to the card. Writing recovered files onto the same SD card can overwrite photos the scan has not reached yet.
  5. Verify before you celebrate. Open the recovered photos at full size. Thumbnails can look fine while the full file is corrupt.

If the card is not detected at all, shows the wrong capacity, or asks to be formatted, stop here: those are the failure patterns in the firmware corruption and professional recovery sections, and scanning software will not fix them.

How SD Card Photo Recovery Works

Before we get into the how-to, it helps to understand how SD card recovery works. When you know the "why," you'll make better decisions about the "how."

Why Deleted Photos Stay on the Card

When you delete a photo on your camera or format an SD card, the actual pixel data doesn't go anywhere. Your camera (or phone, or drone) simply updates the file allocation table to say "this space is available now." Think of it like ripping the table of contents out of a book. All the chapters are still there. You just lost the index.

Illustration: Inside an SD card, the index entry for a deleted photo is cleared while the picture remains whole in memory.Illustration
Deleting a photo clears its entry in your card's index, leaving the picture in memory until something overwrites it.

Recovery software works by scanning the raw storage looking for file signatures. JPEG files always start with a specific byte sequence (FF D8 FF). RAW files from Canon start with different signatures than Nikon RAW files. Recovery tools know all of these signatures, so they can reconstruct your photos even when the file system is completely destroyed.

The No-TRIM Advantage

This is the big one. Modern SSDs and smartphones use a technology called TRIM that actively wipes deleted data in the background. When you delete a file on an iPhone, the storage controller zeros out those blocks within seconds. The data is gone for good.

SD cards don't have TRIM. The SD card specification has never included it. Your card's controller doesn't proactively erase anything. This gives you a massive window for recovery.

Simple File Systems Work in Your Favor

SD cards use either FAT32 (cards 32 GB and smaller) or exFAT (cards larger than 32 GB). Both are ancient, well-documented file systems that every recovery tool understands perfectly. There's no encryption, no journaling complications, no proprietary file formats. It's about as straightforward as data recovery gets.

Android encryption exception: If your SD card was used in an Android phone with "Adoptable Storage" (formatted as internal storage), the entire card is encrypted. Recovery requires the original phone in working condition. Standard "portable storage" mode does not encrypt the card.

The Do-Not List: Mistakes That Kill Your Data

Before we walk through recovery, we need to cover the things that can permanently destroy your photos.

These actions can make your photos unrecoverable. Read this before doing anything else.

1. Do NOT Keep Shooting on the Card

This is the number one killer. Every new photo you take has a chance of landing on top of your deleted data. If you realize photos are missing, remove the card from your camera immediately. Use a different card. We can't stress this enough: one more photo could overwrite the exact file you're trying to recover.

Illustration: A new photo from the camera lands on the space a deleted picture still occupies on the card, covering it.Illustration
If photos are missing, take out the card because your next shot could overwrite a picture you want back.

2. Do NOT Format the Card Again

Some people think formatting the card "resets" it and makes recovery easier. It doesn't. A second format overwrites the file allocation table again, and if the device writes any kind of test data or directory structures, that's more overwriting happening on top of your photos.

3. Do NOT Use the "Repair" Options in Windows or Mac

When you plug a corrupted SD card into your computer, Windows will say "This drive has errors. Do you want to scan and fix it?" Do not click yes. macOS Disk Utility will offer similar repair options. These tools rewrite file system structures and can overwrite data you're trying to recover. They're designed to fix the file system, not save your photos.

4. Do NOT Run chkdsk or fsck on the Card

Same problem as above, but from the command line. These utilities modify the file system to fix errors, potentially overwriting deleted file data in the process. If your card shows as RAW or unreadable, the computer can't read the file system. The data is likely still there.

5. Do NOT Write Recovery Software to the SD Card

This sounds obvious, but some recovery tools try to install themselves to the drive they're scanning. Never install or save anything to the SD card you're trying to recover from. Always install recovery software on your computer's internal drive and scan the SD card from there.

6. Do NOT Try to Fix a Physically Damaged Card Yourself

Direct NAND recovery can help on a supported flash device when its normal interface cannot be restored. It requires readable memory and reconstruction of the original controller's page layout, ECC, scrambling, and logical mapping. Encryption or an unsupported error-correction scheme can prevent recovery even after a successful dump.

The golden rule: When in doubt, do nothing. Set the card aside and consult a professional. Doing nothing is always safer than guessing. Every action you take on a damaged or corrupted card carries risk.

DIY Photo Recovery (Step by Step)

If your SD card is physically intact and your computer can detect it (even if it shows as "unformatted" or "RAW"), you can try scanning a copy yourself. For more detail on the delete-and-recover process, see our guide on recovering deleted files from an SD card. Here's the exact process.

1 Remove the Card and Stop All Writes

Take the SD card out of your camera, drone, or phone. Do not save anything else to it. Handle it carefully by the edges.

2 Connect to Your Computer

Use a USB card reader (not the camera's USB cable, which can be unreliable). Plug the SD card into the reader and connect it to your computer. If your laptop has a built-in SD slot, that works fine too.

3 Create a Disk Image First (Recommended)

Before running any recovery software directly on the card, create a bit-for-bit copy (disk image) of the entire card. This gives you a backup to work from if anything goes wrong. Use Win32 Disk Imager (Windows) or dd (Mac/Linux) to create the image. Save it to your computer's hard drive, not back to the SD card. Then run recovery software on the image file instead of the physical card.

Illustration: A laptop saves the entire SD card as an image file. The recovery scan runs on that copy.Illustration
If your laptop detects your intact SD card, save a full disk image there and scan that copy for your photos.

4 Run Recovery Software

Open your chosen recovery tool (we cover the best options below). Select the SD card or disk image as the target. Run a deep scan rather than a quick scan. Deep scans take longer but find far more files because they search for file signatures across the entire card rather than just checking the file table.

5 Preview and Recover

Most tools let you preview recovered files before saving them. Look through the results, select the photos you want, and save them to your computer's internal drive or an external hard drive. Never save recovered files back to the same SD card.

6 Verify Your Recovered Files

Open every recovered photo to make sure it's intact. Check for corruption (gray areas, missing bottom halves, color distortion). If some files are corrupted, a professional lab may be able to do better with specialized tools.

Best SD Card Recovery Software Compared

Here's what actually works.

SoftwarePricePlatformBest For
PhotoRecFreeWin/Mac/LinuxBest free option. No GUI. Finds photos by file signature.
TestDiskFreeWin/Mac/LinuxRecovering lost partitions. Works alongside PhotoRec.
Disk DrillFree (500MB) / $89Win/MacUser-friendly GUI with good preview. Great for non-technical users.
R-Studio$80Win/Mac/LinuxAdvanced users. Best for corrupted file systems and formatted cards.
RecuvaFree / $20WindowsSimple and fast for recently deleted files on Windows.
ReclaiMe$80WindowsOne-click recovery with minimal technical knowledge needed.

Our Recommendation

Start with PhotoRec. Yes, the interface looks like it's from 1995. It runs in a terminal window and there are no pretty buttons. But it's free, open source, and its file signature scanning is genuinely excellent. It recovers photos, videos, and RAW files from every camera manufacturer.

If you want something more visual, Disk Drill is the best paid option. It lets you preview recovered photos before saving them, which is really useful when you're looking at thousands of files and only need specific ones. The free version recovers up to 500 MB, which is enough to test whether your photos are recoverable before paying.

Pro tip: Recovery software can only find files that haven't been overwritten. If you formatted your card and then shot 200 more photos on it, those 200 new photos may have landed on top of the old data.

How to Use PhotoRec (Quick Guide)

PhotoRec intimidates people because of the text-based interface, but it's actually simple once you know the flow.

  1. Download PhotoRec from cgsecurity.org (it comes bundled with TestDisk)
  2. Run photorec from the terminal or command prompt
  3. Select your SD card from the list of drives
  4. Choose the partition type (usually "Intel" for SD cards)
  5. Select the file system type. Pick "Other" for FAT/exFAT
  6. Choose "Whole" to scan the entire partition
  7. Select a destination folder on your computer's internal drive
  8. Press Enter and wait. PhotoRec will create folders named recup_dir.1, recup_dir.2, etc.

The recovered files will have generic names (f0001.jpg, f0002.jpg) because PhotoRec recovers the data, not the original filenames. You'll need to sort through them manually.

Recovering from Formatted SD Cards

Formatting sounds scary, but what matters is what got overwritten. The key is understanding the difference between format types.

Quick Format vs Full Format

Formatting outcomes depend on the actual device and operation. SD Association Formatter Quick format initializes file-system structures without overwriting the file contents; its Overwrite format overwrites the user area. Camera and operating-system formatting may behave differently or issue erase/deallocation commands. Recoverability depends on the remaining data, not a universal success percentage.

A full format overwrites every sector on the card with zeros. This takes much longer (proportional to the card's capacity) and actually destroys the data. Windows 10 and 11 perform a full format by default unless you specifically check the "Quick Format" box.

Some cameras use a quick format. If you formatted the card in your camera, stop shooting so nothing gets overwritten. We have a full walkthrough on recovering data from a formatted SD card.

Recovery Process for Formatted Cards

The steps are the same as above. Connect the card, create a disk image if possible, and run recovery software with a deep scan. The deep scan is essential here because the file allocation table is gone. Software needs to search for file signatures across the entire card rather than following the directory structure.

PhotoRec is actually ideal for formatted cards because it ignores the file system entirely. It does raw file signature scanning by default, so whether the card is formatted, corrupted, or showing as RAW, PhotoRec treats it the same way.

If you used the card after formatting, a scan can still look for your earlier photos. The new data may have overwritten some of the old files. Run the recovery and see what comes back. Partial recovery is better than no recovery.

Firmware Corruption: When Software Can't Help

Sometimes an SD card fails in a way that goes beyond file system corruption. The card's internal firmware, the tiny program that manages how data is read and written on the NAND chips, can become corrupted. This is a different category of failure entirely, and it's one of the most misunderstood types of SD card problems.

What Is SD Card Firmware?

Every SD card has a small controller chip soldered inside it. This chip runs firmware that translates the requests from your camera ("read file DSC_4567.JPG") into physical operations on the NAND flash chips ("read blocks 45,238 through 46,102"). When this firmware fails, the card may behave in strange ways that look like data loss but are actually a communication breakdown.

Illustration: Inside an SD card, a failed controller chip breaks the link between the camera and the photos stored on the memory chip.Illustration
If this chip stops passing along requests, your camera can lose access to photos still stored on the card.

Signs of Firmware Corruption

  • Card shows wrong capacity (64 GB card appears as 31 MB or 0 bytes)
  • Card is detected by the computer but shows as "unknown device"
  • Card reader light blinks but nothing mounts
  • Card intermittently disconnects and reconnects
  • Write protection is "stuck" even though the physical switch is in the correct position
  • Card works briefly, then becomes unresponsive

Why Software Recovery Fails Here

When firmware is corrupted, recovery software can't read the raw data because the controller chip won't cooperate. The software sends a "read sector 1000" command, and the controller either returns garbage, returns nothing, or crashes the connection. It's like trying to read a book when the librarian won't let you into the building.

The Solution: Chip-Off Recovery

A card or USB drive must be identified before choosing chip-off. Separate NAND packages can sometimes be read externally; monolithic devices may require access to technological pads or traces. Neither method guarantees files: the dump still needs supported error correction, descrambling, and translation, and encryption remains a separate limit.

Flash recovery cost and timing depend on whether the card needs logical recovery or chip-level reconstruction. The memory, ECC, scrambling, translation, and encryption determine feasibility. Obtain a firm quote and estimate after diagnosis; chip-off does not guarantee a higher recovery rate.

Counterfeit cards and firmware corruption: Fake SD cards (especially cheap ones from Amazon Marketplace or eBay) are a common cause of firmware issues. These cards often claim to be 256 GB but only have 16 GB of NAND inside. The firmware lies about the capacity, and when you fill the card past its real size, it starts overwriting previously saved data. If you bought a suspiciously cheap high-capacity card, this might be your problem.

DIY vs Professional Recovery: Decision Guide

Not every SD card needs to go to a lab. But some definitely do. Here's a straightforward comparison to help you decide.

FactorDIY RecoveryProfessional Lab
Card is physically intactYes, try software firstNot needed unless software fails
Card is cracked/bent/water damagedNo, do not attemptRequires readable NAND and supported ECC, scrambling, translation, and encryption handling
Card shows as RAW/unformattedYes, deep scan can workTry software first
Card not detected at allNo, controller/firmware issueRequires readable NAND and supported ECC, scrambling, translation, and encryption handling
Shows wrong capacityNo, firmware corruptionRequires readable NAND and supported ECC, scrambling, translation, and encryption handling
Deleted photos, card unused sinceScan a copy firstUsually not needed
Formatted, then used heavilyPartial recovery possibleRequires readable NAND and supported ECC, scrambling, translation, and encryption handling
CostFree to $89Quote after diagnosis
TurnaroundMinutes to hours4–6 weeks until diagnostics start. Recovery takes extra time.
Risk of making things worseLow (if following guidelines)Very low

When to Skip DIY and Go Straight to a Lab

On a failing card, a DIY scan can do more damage. Skip the software and contact a lab if:

  • The card has any physical damage (cracks, bent pins, water exposure)
  • The card isn't detected by any computer or card reader
  • The data is irreplaceable (wedding photos, legal evidence, professional work)
  • You've already tried software and it found corrupted files or nothing at all
  • The card makes clicking sounds or gets hot in the reader
About irreplaceable data: If these are the only copies of your wedding photos, your kid's first steps, or evidence for a legal case, we'd recommend going straight to a professional lab. DIY recovery is great for "nice to have" files. For "must have" files, the small risk of making things worse isn't worth it. A lab will image the card before doing anything, protecting your data throughout the process.

Professional SD Card Photo Recovery

If DIY recovery didn't work, or you'd rather have professionals handle it from the start, here's what to expect from a lab recovery.

What Happens at a Data Recovery Lab

When your card arrives at MDrepairs, we follow a standard process.

  1. Diagnostic. After diagnosis, you approve the estimate before recovery work begins.
  2. Forensic imaging. We create a bit-for-bit clone of the card using professional imaging hardware. This protects the original card and gives us a working copy to recover from.
  3. When a supported NAND reconstruction is appropriate, the lab preserves physical dumps, addresses correctable read errors, and reconstructs logical sectors before extracting files. The result must be validated. Intact-looking chips, a recognized header, or a completed read do not guarantee complete photos, video, or documents.
  4. Delivery. We return your recovered photos on a new USB drive or provide a secure download link.

How Much Does Professional SD Card Recovery Cost?

At MDrepairs, SD card recovery pricing depends on the failure type.

Failure TypeTypical CostRecovery Method
Logical (deleted/formatted)$299 (16GB–64GB) to $1,500 (512GB)Software-based recovery
Firmware corruption$299-$2,000Firmware repair + data extraction
Supported flash reconstruction$1,750 - $2,000Requires readable NAND and supported ECC, scrambling, translation, and encryption handling

The $100 diagnostic is credited toward a successful recovery. You approve the estimate before recovery work starts. A phone consultation before shipping is free. Check our full data recovery pricing page for details.

Recovery by Device Type

Different devices use SD cards differently, which affects recovery. Here's what you need to know for common scenarios.

Camera SD Card Recovery (Canon, Nikon, Sony, Fuji)

Cameras are the best-case scenario for recovery. They use simple FAT32/exFAT file systems, they write files sequentially, and they never encrypt data. Whether you deleted photos in the camera menu or formatted the card, stop shooting so nothing gets overwritten. Camera RAW files (CR2, CR3, NEF, ARW, RAF) are all well-supported by recovery tools.

One thing to know: if your camera wrote video files (especially 4K), those large files may have fragmented across the card. Recovery software can try to reassemble them, but very long clips may have some corruption at fragment boundaries.

Drone SD Card Recovery (DJI, Autel, Skydio)

Drone SD card recovery is essentially the same as camera recovery. Drones record video in standard MP4/MOV containers and store photos as JPEG or DNG files. The good news about drone crashes: SD cards are extremely durable. Even if your DJI Mini 3 went into a lake, the card itself often survives if it was inside the drone's memory slot. Let the card dry completely before attempting recovery (at least 48 hours, do not use heat).

GoPro and Action Camera Recovery

We have a dedicated guide on GoPro SD card recovery that covers every model. GoPro cameras use exFAT and write large video files. If you deleted a GoPro video or formatted the card, recovery depends on whether the footage was overwritten. One GoPro-specific issue: GoPro splits long recordings into multiple 4 GB chunks (due to FAT32 limitations on older models). Recovery software may find these as separate files that you'll need to join manually using video editing software.

Android Phone SD Card Recovery

Android adoptable storage encrypts the card and depends on key material held by the adopting device. A broken phone does not automatically mean the key was destroyed: restoring its original hardware may still allow access. A reset, lost required keys or irreparable security hardware can make the card unrecoverable. Portable-storage cards must be assessed separately.

Dash Cam SD Card Recovery

Dash cams continuously overwrite old footage with new recordings, so recovery depends on timing. If the cam hasn't looped over the clip yet, it may still be readable. But dash cams write constantly, so the longer you wait, the more likely important footage has been overwritten. Remove the card immediately if you need specific footage.

Preventing SD Card Photo Loss

The best data recovery is the one you never need. Here are practical steps to protect your photos going forward.

Backup Strategy for Photographers

  1. Use two card slots if your camera supports them. Set the second slot to mirror or backup mode. You'll have a real-time copy of every shot.
  2. Download and verify before formatting. Never format a card until you've confirmed the files are safely copied to your computer and backed up to a second location.
  3. Use a card reader, not a camera cable. Card readers are faster and more reliable. Camera USB connections can disconnect mid-transfer.
  4. Follow the 3-2-1 backup rule. Three copies of your data on two different media types with one stored off-site (cloud storage counts).

SD Card Maintenance

  • Format in-camera, not on computer. Always format SD cards inside the camera that will use them. This ensures the card uses the optimal file structure for that specific camera.
  • Don't fill cards to 100%. Leave at least 10% free space. Full cards are more prone to corruption.
  • Eject properly. Always "safely remove" the card from your computer before unplugging. Pulling the card during a write operation can corrupt the file system.
  • Replace old cards. SD cards have a limited number of write cycles. If a card is several years old and you use it regularly, replace it. They're cheap insurance.
  • Buy from reputable sellers. Counterfeit SD cards are everywhere on Amazon and eBay. Buy from authorized retailers. A "SanDisk 256 GB" card for $8 is fake. Period.
Quick backup workflow for photographers: Shoot on card. Copy to laptop. Verify files open. Copy to external hard drive. Upload selects to cloud storage. Only then, format the card. Three copies before you wipe anything.

What About "Locked" SD Cards?

The small switch on the side of a standard SD card controls write protection. If photos seem to have "disappeared" after the switch was accidentally moved, your data is fine. The lock switch is read by the card reader, not the card itself. Move the switch back, and you'll see everything again. No recovery needed.

Frequently Asked Questions

Can I recover photos from an SD card that was formatted?

Yes. Camera formats (and most quick formats) only erase the file allocation table, not the actual photo data. Recovery software can scan the card for file signatures and rebuild your photos. Stop using the card after formatting so nothing new gets written over your photos.

How long do deleted photos stay on an SD card?

Indefinitely, until something overwrites them. Unlike SSDs that use TRIM to proactively erase deleted data, SD cards leave deleted data in place. If you delete photos and immediately remove the card, those photos could technically stay on the NAND flash for years. The moment you start taking new photos or saving new files, you risk overwriting the old data.

Is SD card photo recovery free?

DIY recovery can be completely free using open-source tools like PhotoRec and TestDisk. Paid software like Disk Drill and R-Studio cost $80-$90. Professional lab recovery typically runs $299-$2,000 depending on the failure type. At MDrepairs, a phone consultation is free.

Can water-damaged SD cards be recovered?

A card or USB drive must be identified before choosing chip-off. Separate NAND packages can sometimes be read externally; monolithic devices may require access to technological pads or traces. Neither method guarantees files: the dump still needs supported error correction, descrambling, and translation, and encryption remains a separate limit.

What's the difference between photo recovery software and general file recovery software?

Photo recovery software specifically scans for image file signatures (JPEG, RAW, TIFF, PNG). However, tools like PhotoRec handle both photos and other file types. For SD card recovery, the distinction matters less because SD cards use simple file systems that most tools handle well. If you're only looking for photos, a dedicated photo recovery tool may present results in a more organized way.

Can I recover photos from a counterfeit SD card?

It depends. Counterfeit cards often have less physical storage than advertised. A fake "128 GB" card might have only 8 GB of real NAND. Photos within the actual capacity may still survive. Photos that the card "pretended" to store beyond its real capacity were never actually saved to begin with. There's nothing to recover because the data was never written to real storage cells.

My SD card shows as "RAW" in Windows. Are my photos gone?

No. "RAW" means Windows can't read the file system, not that the data is gone. This usually happens when the file allocation table is corrupted. Your photos are very likely still intact on the card. Run a deep scan on a copy of the card to look for file signatures.

Should I try recovery myself or send the card to a lab?

If the card is physically intact and your computer detects it, try DIY software first. It's free and low-risk as long as you follow the guidelines (create a disk image first, never write to the card). If the card isn't detected, has physical damage, or contains irreplaceable data that you can't risk losing, go straight to a professional lab. Check our full SD card recovery guide or read about formatted SD card recovery for more details.

Lost your data?
Let's assess your options.

With standard service, we usually start your diagnostic in 4–6 weeks. Recovery takes additional time depending on what we find. Start with a free initial quote. $100 diagnostic, credited toward a successful recovery. The $100 diagnostic is non-refundable once diagnostics start, and donor drives or replacement parts you approve are non-refundable once ordered, even if recovery fails. If we can't get any files back, there's no recovery fee.

Split the cost of your recovery with Affirm. Explore financing Subject to eligibility.

Devices recovered at our lab

These rows come from BenchKey, the ticket system we built for our own shop. Customer names, contact details and descriptions are left out.

Opened laptop hard drive with platter and heads visible at our Lincroft lab
An opened laptop hard drive shows its platter and heads at our Lincroft lab.
4.6 · 345 Google reviews$100 diagnostic, credited toward a successful recovery
Start your mail-in recovery