A Professional Guide to Photo Recovery from SD Card
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:
- 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.
- 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.
- Pick one recovery tool from the software comparison below and run a scan. PhotoRec is free and thorough; paid tools are easier to use.
- 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.
- 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.
IllustrationRecovery 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.
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.
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.
Illustration2. 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.
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.
Illustration4 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.
| Software | Price | Platform | Best For |
|---|---|---|---|
| PhotoRec | Free | Win/Mac/Linux | Best free option. No GUI. Finds photos by file signature. |
| TestDisk | Free | Win/Mac/Linux | Recovering lost partitions. Works alongside PhotoRec. |
| Disk Drill | Free (500MB) / $89 | Win/Mac | User-friendly GUI with good preview. Great for non-technical users. |
| R-Studio | $80 | Win/Mac/Linux | Advanced users. Best for corrupted file systems and formatted cards. |
| Recuva | Free / $20 | Windows | Simple and fast for recently deleted files on Windows. |
| ReclaiMe | $80 | Windows | One-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.
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.
- Download PhotoRec from cgsecurity.org (it comes bundled with TestDisk)
- Run
photorecfrom the terminal or command prompt - Select your SD card from the list of drives
- Choose the partition type (usually "Intel" for SD cards)
- Select the file system type. Pick "Other" for FAT/exFAT
- Choose "Whole" to scan the entire partition
- Select a destination folder on your computer's internal drive
- 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.
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.
IllustrationSigns 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.
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.
| Factor | DIY Recovery | Professional Lab |
|---|---|---|
| Card is physically intact | Yes, try software first | Not needed unless software fails |
| Card is cracked/bent/water damaged | No, do not attempt | Requires readable NAND and supported ECC, scrambling, translation, and encryption handling |
| Card shows as RAW/unformatted | Yes, deep scan can work | Try software first |
| Card not detected at all | No, controller/firmware issue | Requires readable NAND and supported ECC, scrambling, translation, and encryption handling |
| Shows wrong capacity | No, firmware corruption | Requires readable NAND and supported ECC, scrambling, translation, and encryption handling |
| Deleted photos, card unused since | Scan a copy first | Usually not needed |
| Formatted, then used heavily | Partial recovery possible | Requires readable NAND and supported ECC, scrambling, translation, and encryption handling |
| Cost | Free to $89 | Quote after diagnosis |
| Turnaround | Minutes to hours | 4–6 weeks until diagnostics start. Recovery takes extra time. |
| Risk of making things worse | Low (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
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.
- Diagnostic. After diagnosis, you approve the estimate before recovery work begins.
- 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.
- 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.
- 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 Type | Typical Cost | Recovery Method |
|---|---|---|
| Logical (deleted/formatted) | $299 (16GB–64GB) to $1,500 (512GB) | Software-based recovery |
| Firmware corruption | $299-$2,000 | Firmware repair + data extraction |
| Supported flash reconstruction | $1,750 - $2,000 | Requires 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
- 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.
- 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.
- Use a card reader, not a camera cable. Card readers are faster and more reliable. Camera USB connections can disconnect mid-transfer.
- 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.
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.
How MDrepairs can help
- Flash Drive & USB Data Recovery Chip-off recovery from snapped and unreadable USB drives. Learn more
- Data Recovery Services Every device and failure type, recovered in our New Jersey lab. Learn more
- Hard Drive Data Recovery Mechanical, firmware and logical HDD recovery on every brand. Learn more
- RAID Data Recovery Array reconstruction for RAID 0/1/5/6/10, NAS and servers. Learn more
