Inside the lab: 2M+ followers on YouTube, TikTok & Instagram  We buy phones, tablets & laptops, working or broken Get your offer
Data Recovery Guide

Can You Recover Deleted Files from an SD Card?

Updated November 24, 2026
In this article

Yes, you can recover deleted files from an SD card. If deleting or formatting only marks the space as available, the photos and videos stay on the NAND flash until something erases or overwrites them. Stop using the card and run recovery software.

  • Stop writing to the card — new files are what actually erase your data
  • Deleted or quick-formatted — scan the card for files that are still there
  • Card is damaged or unreadable — use professional SD card data recovery

Yes, you can recover deleted files from an SD card. Computers use TRIM to tell SSDs which blocks are free. SD cards have their own erase command, and some also support discard. If the device only clears the file index when you delete photos from your camera, format the card in your drone, or accidentally erase vacation footage, the data stays physically on the card's NAND flash memory. The file system simply marks that space as "available," but nothing actually erases the underlying data until new files overwrite it or the device sends an erase command. So recovery software can scan the card and find your photos, videos, and documents long after you deleted them.

At MDRepairs' data recovery lab, we work on deleted files as well as damaged cards. Whether you accidentally hit "Delete All" on your camera, need to recover photos from an SD card, formatted the card by mistake, or the card just stopped working entirely, the data can still be there. We'll walk you through everything here: the best free tools to recover deleted files, step-by-step instructions, when to call a pro, and how to prevent SD card data loss going forward.

The Short Answer: What's Recoverable

Here's the quick breakdown of common SD card data loss scenarios and what to do in each one.

ScenarioWhat to doNotes
Accidentally deleted photos from cameraStop using the card immediately.Data stays on card until erased or overwritten.
Formatted SD card in cameraSet the card asideA quick format only erases the file table, not the data. Some cameras also offer a full or low-level format.
Card not recognized by deviceTry another reader if the card is undamagedA reader problem or an unreadable file system can keep a card from showing up.
Physically damaged or cracked cardKeep it out of the readerKeep any broken pieces together. Success depends on NAND chip condition.
Card from crashed droneLook for cracks or water firstIf the card is wet or damaged, leave it out of the reader.
Card used in phoneKeep the card with the phoneAndroid phones may encrypt SD card data. An encrypted card needs its original phone.
Key takeaway: The single most important thing you can do after losing data from an SD card is stop using the card immediately. Turn off the device once it has finished writing to the card. Remove it from your device and don't take any more photos or videos. Every new file you save risks overwriting the deleted data. Set it aside and start the recovery process on a computer. The computer steps are for undamaged, unencrypted cards.

Why SD Card Recovery Works

If you've read about SSD data recovery or iPhone data recovery, you might think flash storage is always tough to recover. SD cards are a completely different story though. Here's why.

Do SD Cards Support TRIM?

TRIM is a command a computer uses to tell an SSD which blocks it no longer needs. The drive's controller can then erase those blocks in the background. Once the drive stops returning the deleted data, recovery software can't read it. That's a huge problem for SSD data recovery.

SD cards have their own erase command, and some also accept a discard command. When your camera only marks a deleted photo's space as free, the picture itself stays on the card. The actual NAND flash cells still contain your photo's data, completely intact. If the device tells the card to erase or discard that space, a scan can come back empty even if you haven't taken another picture.

Illustration: A deleted photo's space shows as free in the card's file table while the photo itself is still visible in the storage area.Illustration
When you delete a photo, the card may just mark its space as free and leave the picture itself in place.

Simple, Well-Understood File Systems

Older SD cards up to 2 GB use FAT12 or FAT16 by default. The standard file systems for larger cards are FAT32 for SDHC (over 2 GB through 32 GB) and exFAT for SDXC and SDUC (over 32 GB). Both have been around for decades and recovery software knows them inside and out. The data structures are simple, well-documented, and predictable, so recovery tools know exactly where to look for file tables, directory entries, and raw file data.

Compare that to the proprietary, encrypted file systems on iPhones or the complex wear-leveling algorithms on enterprise SSDs. With an unencrypted camera card, you can put it straight into a reader and look for the photos on your computer.

Is Your SD Card Encrypted?

On an unencrypted camera card, your photos and videos are just standard files such as JPEG, RAW, MP4, or MOV. Recovery software can spot these files by their file signatures (sometimes called "magic bytes") even if the file allocation table is completely trashed.

The exception: Android phone encryption. If you used your SD card in an Android phone with the "Use as internal storage" option (Adoptable Storage), the phone encrypts the entire SD card. That encrypted data can only be read by that specific phone. The keys are stored on that phone, so keep it with the card even if the phone is broken. Don't factory reset it. Some phones also let you encrypt a card used as portable storage.
Even if your camera shows an empty card, recovery software can look for the photos themselves if the card still reads.

How to Recover Deleted Photos from an SD Card (Step by Step)

If you've accidentally deleted photos or videos from your SD card, here's exactly how to recover them yourself using free tools. This process works for an undamaged, unencrypted SD card your computer can read, whether it's from a camera, drone, dash cam, or phone.

1 Stop Using the Card Immediately

This is the most critical step. If the card activity light is on, wait for it to go out first. Remove the SD card from your device right now. Do not take any more photos. Do not record any more video. Do not save anything to the card. Every new file you write could overwrite the deleted data you're trying to recover. If your camera is still on, turn it off and eject the card.

Before you scan, look for a copy on your camera's second card if you used backup mode, or in the photo library you backed up to. If you find the photos in that library's trash, select them and use its restore option.

2 Connect the Card to Your Computer

Insert the SD card into your computer's built-in card reader. If your computer doesn't have one, use an external USB card reader. For microSD cards, use the microSD-to-SD adapter that came with your card, or a USB reader that has a microSD slot.

When the card appears on your computer, do not open it, do not browse files, and do not let your operating system "fix" any errors it finds. Cancel any prompt to format or initialize the card. Just let it mount and move on to the next step. If there's no drive letter, PhotoRec can still show the card by size. If it shows 0 bytes, keeps disconnecting, or gets unusually hot, stop there.

3 Download Recovery Software

For most situations, we recommend starting with one of these free tools:

  1. PhotoRec: Free, open-source, runs on Windows, Mac, and Linux. The interface looks rough, but it's extremely powerful. It has a text menu and recognizes over 480 file extensions, including photos and videos.
  2. Recuva: Free for personal use, Windows only. Way friendlier interface. Good for simple deletions.

Both are legitimate, trusted tools. Recuva is easier to use for straightforward situations. Download the tool to your computer. For PhotoRec, choose the stable download for your computer and extract the folder. On Windows, right-click photorec_win.exe and choose Run as administrator. On a Mac, open photorec and enter your Mac password if asked. On Linux, open a terminal in the extracted folder and run sudo ./photorec_static. For Recuva, choose the free download and run the installer.

4 Scan the SD Card

Open PhotoRec and use the arrow keys to select the SD card by its size. Press Enter, highlight the partition that held your photos, and choose Search. For a FAT or exFAT camera card, choose Other. For a simple deletion, choose Free if offered. Otherwise scan the whole partition (Whole), including if the card was formatted. A whole-partition scan searches for file signatures, which means it can find files even if the file system is completely destroyed. Choose a folder on your computer. To go up a folder, select the two dots (..) and press Enter. Press the key shown on screen to confirm the folder and start the scan.

In Recuva, choose All Files, select In a specific location, and browse to the SD card's drive letter. Click Next, select Enable Deep Scan, and click Start.

Scanning time depends on the size of the card and how fast the reader can read it. Be patient and let the scan finish completely.

5 Preview and Recover Files

After a Recuva scan completes, the software will show you a list of recoverable files. Select the files you want, click Recover, and choose a folder on your computer. PhotoRec saves files as it scans. Look in the folder you chose for recup_dir.1 and any other numbered folders. Open the photos at full size and play the videos you care about before you reuse the card.

CRITICAL: Save recovered files to your computer's hard drive or an external drive. NEVER save recovered files back to the same SD card you're recovering from. Saving to the same card will overwrite other deleted data that hasn't been recovered yet.

Illustration: A computer reads a memory card through a card reader and saves copies of the recovered photos on its own drive.Illustration
Save recovered photos to your computer so you don't overwrite any pictures you're still looking for on the card.
Don't save recovered files to the SD card! If you save recovered files back to the source SD card, you'll overwrite other deleted files that were still recoverable. Always save to a different drive: your desktop, an external hard drive, or a USB flash drive.

Best SD Card Recovery Software

There are tons of recovery tools out there. Here's an honest look at two free tools you can use to recover deleted files from SD card storage.

SoftwarePriceBest For
PhotoRecFree (open-source)Deep recovery, formatted cards, corrupted file systems. Recognizes over 480 file extensions. Command-line interface can be intimidating but very powerful.
RecuvaFree (personal use)Simple deletions, beginners. Easy wizard-style interface. Windows only.

Our recommendation: Start with PhotoRec. It's free, and it can search a formatted card even when the file system is damaged. Yes, the interface is basic (it runs in a terminal window). If PhotoRec feels too technical and you're on Windows, try Recuva instead.

Avoid "too good to be true" software. If a recovery tool claims to recover files no other tool can find, or pushes you to buy before showing any results, it's likely overcharging for features you don't need. Try the free tools above first.

Recovering from Formatted SD Cards

Formatting an SD card by mistake can make it look empty. We have a dedicated guide on recovering data from a formatted SD card that goes deeper into this topic. The good news: you can recover files from a formatted SD card. But the type of format matters.

Quick Format vs. Full Format

A quick format only erases the file allocation table (the "index" that tells the card where each file is stored) and the file directory. If that's all the device does, the actual photos and videos remain completely intact on the NAND flash memory. Recovery software can scan the raw storage and find your files by their file signatures.

A full format in overwrite mode writes over the entire area where your files were stored. After a full overwrite, the original photos and videos are gone.

Illustration: The quick-formatted card has an empty file table and still holds old photos. The card beside it shows blank storage blocks after a full overwrite.Illustration
A quick format can leave your photos on a card that looks empty, while a full overwrite erases them.

The Good News About Camera Formats

Here's what most people don't realize: some cameras give you a choice when you format an SD card. The Canon EOS R50 has a normal format and a "Low level format" that erases the whole recording area of the card. A Sony a7CR offers both quick and full formatting.

This means if you accidentally hit "Format" on your camera instead of "Delete Last Photo," or if your camera prompted you to format the card and you said yes, a quick format can leave the photos themselves on the card. Just stop using the card and follow the recovery steps above.

Formatted in your camera? If you don't remember which option you used, leave the card as it is. If it reads normally, use PhotoRec or Recuva to scan and recover.

Formatting on a Computer

On Windows, the "Format" dialog has a checkbox for "Quick Format." If that box is checked, Windows clears the file index, but it can also tell the storage device to discard data. If you unchecked "Quick Format" and the full format overwrote your files, those files are gone.

On macOS, Disk Utility's "Erase" function reformats the card. On devices that offer "Security Options," the slider lets you choose to overwrite data. If you already erased the card and didn't choose an overwrite, leave it as it is and scan for the files.

When DIY Recovery Fails

DIY software works great when the SD card is physically healthy and your computer can read it. But sometimes software alone isn't enough.

The Card Isn't Recognized by Any Device

If you insert an undamaged SD card into your computer's reader and nothing happens (no drive letter, no notification, nothing at all), try a reader you know works with that type of card. If PhotoRec lists the card at about the size printed on it, you can scan it even without a drive letter. If neither reader detects it, stop. Could be a failed controller chip, damaged contact pins, or internal circuitry failure. Software can't help here because it needs the card to be visible to the operating system first.

Physically Damaged Cards

SD cards are small and fragile. They crack, they snap, they get stepped on. If your card is physically broken, bent, or has visible damage, don't try to force it into a reader. You'll risk further damage to the NAND chips where your data is stored. This is a job for a professional lab.

Water-Damaged Cards

If the card got wet, keep it out of the reader. Don't use a hair dryer. If only the outside of an undamaged card got splashed, let it dry completely at room temperature. If the card was submerged or you see residue on the contacts, set it aside for the lab.

Cards from Submerged Drones or Cameras

A DJI Mavic that went into a lake, a GoPro lost in the ocean, a dash cam from a flooded car. Leave the SD card out of the reader. Saltwater does require professional cleaning of the contacts and circuitry because it can leave deposits even after the card looks dry.

Don't try to "fix" a physically damaged SD card yourself. Opening the card's casing, bending it back into shape, or cleaning corroded contacts with household products can cause permanent data loss. If the card has physical damage, contact a professional lab before doing anything else.

Professional SD Card Recovery

When software won't cut it, a professional lab can go further. Here's what we do at MDrepairs that home software can't touch.

Chip-Off Recovery

For physically damaged SD cards, you may hear the term chip-off recovery. On a one-piece SD or microSD card, the memory chip is built into the card. We read it directly through tiny contact points on the card itself.

The NAND chips are where your data actually lives. Even if the card's controller or contacts are damaged, the chip that holds your photos can still be intact. If we can read the raw data from these chips and reconstruct the file system, we can copy the photos and videos we find.

Illustration: A broken SD card lies open. Its contacts and controller are damaged, while the memory chip that holds the photos is intact.Illustration
The chip that holds your photos can survive even when the card's contacts and controller are damaged.

Our Process

  1. Diagnostic: You send us the card (or drop it off in Lincroft, New Jersey). We charge $100 when the card arrives. Once the diagnostic starts, the fee is nonrefundable. The standard wait is 4 to 6 weeks before we reach your device in line and start the diagnostic. If you need us sooner, we start the diagnostic within 5 to 7 days with Priority, within 1 to 2 days with Urgent, or the same day with Emergency. We diagnose the problem and give you an estimate.
  2. Recovery attempt: If you approve, we begin recovery. The recovery takes additional time depending on what we find.
  3. File list review: We send you a recovery report. You can click through the folders to see which files came back and which may be damaged before you pay for the recovery.
  4. Recovery fee: The $100 diagnostic is credited toward a successful recovery. If we can't get any files back, there's no recovery fee.

Check our data recovery pricing page for detailed cost information.

Need Professional SD Card Recovery?

If your card is damaged, formatted, or corrupted, tell us what happened and which files you need back.

(732) 933-7717

SD Card Recovery Services

SD Card Recovery by Device

Not all SD card situations are the same. Some devices have quirks that affect recovery. Here's the breakdown by device type.

Camera (DSLR and Mirrorless)

Cameras write standard JPEG and RAW files (CR2, CR3, NEF, ARW, RAF, etc.) to the card. When you delete photos on a camera, their names can disappear from the file list while the pictures remain. If you formatted the card in-camera, what remains depends on the format you chose.

Pro tip: If your camera has dual card slots (many professional cameras do), set one slot to backup mode. This writes every photo to both cards simultaneously, giving you a built-in backup that protects against card failure.

Drone (DJI, Autel, etc.)

A sudden power loss during recording can corrupt the last clip, or the drone can crash and damage the card itself.

For corrupted cards that still read normally, use DIY software to recover the clips. The DJI Mavic 3 records MP4 and MOV video files that are easy for recovery tools to identify. The tricky part with drone footage is that large video files span many sectors on the card. Those sectors aren't always next to each other. If the file wasn't properly closed (like during a crash), the last video might be incomplete. That said, recovery tools can salvage a partial version of that last clip if the footage is still readable. Open the recovered copy on your computer and play it through to the end.

If the drone crashed into water, see the section above on submerged devices.

Dash Cam

Dash cams are hard on SD cards. With loop recording on, they write continuously, overwriting the oldest unprotected footage as the card fills up. All that constant writing wears the card over time. If your dash cam says the SD card needs to be formatted, it may have reached the end of its write endurance.

For dash cam recovery, time is critical. Dash cams are constantly overwriting old data, so the footage you need might already be partially overwritten. Stop recording and turn the dash cam off. Remove the card as soon as you realize you need old footage.

Android Phone

Android phones throw a wrench into SD card recovery when they encrypt the card. If your phone was set up to use the SD card as "internal storage" (Adoptable Storage), the entire card is encrypted with a key tied to that specific phone. If the phone is broken, keep it with the card. A factory reset erases the keys you need. Encryption also matters on a phone's built-in storage, as we explain in our iPhone data recovery guide.

However, if your phone used the SD card as "portable storage" and you didn't encrypt it, you can scan it just like a camera SD card. Seeing the card's capacity on a computer doesn't tell you whether it's encrypted. If you turned on SD card encryption on a Galaxy phone, keep that phone with the card.

Nintendo Switch and Gaming Devices

The Nintendo Switch stores downloaded games and screenshots/video captures on microSD cards. Your saved game progress stays in the console's system memory. However, screenshots and video captures are stored as standard JPEG and MP4 files.

Other handheld gaming devices (Steam Deck, older 3DS, PSP) have varying levels of SD card encryption. Keep the original handheld with its card.

How to Prevent SD Card Data Loss

You'd obviously rather not need recovery in the first place. A few simple habits go a long way.

1. Format the Card in Your Camera, Not on a Computer

Back up your files first. Always format your SD card using the device it's going to be used in. Cameras create specific folder structures and file numbering systems (DCIM folder, etc.) that they expect to find. Formatting on a computer can create incompatible file systems or folder structures that confuse the camera and lead to errors. Format in-camera, every time.

2. Use Quality SD Cards from Reputable Brands

Choose a card your device supports. For cameras and drones, get cards rated for video recording (look for V30, V60, or V90 speed ratings). Match the video speed rating to the recording mode you use. For dash cams, get cards specifically rated for "high endurance" or "continuous recording." Those are built for the constant write cycles that dash cams demand.

3. Back Up After Every Shoot

Make it a habit: when you get home from a shoot, copy everything from the SD card to your computer and an external drive before you do anything else. Don't review photos on the camera. Don't delete the "bad" shots on the card. Just dump the entire card to your computer first. Then you can sort, edit, and delete at your leisure with a backup safely stored.

4. Don't Fill the Card Completely

Before you run out of room in the middle of a shoot, swap it out or offload your files. Most cameras show a remaining shots counter. Pay attention to it.

5. Eject Properly Before Removing

If the SD card is in a computer, always use "Safely Remove Hardware" (Windows) or "Eject" (Mac) before pulling the card out. Removing a card while files are being written can corrupt the file system and potentially damage the data. In cameras and drones, turn the device off before removing the card.

6. Replace Cards Periodically

NAND flash memory has a limited number of write cycles. A card that's been used hard for several years is more likely to develop errors and die on you. If a card keeps giving you write errors, retire it once your files are backed up. They're cheap compared to the value of the data they hold.

The photographer's golden rule: An SD card is a temporary transport for your photos, not a permanent storage device. Shoot, transfer, backup, format, repeat. Never store your only copy of important photos on an SD card long-term.

Frequently Asked Questions

Can you recover photos from a formatted SD card?

Yes, if the format left the photo data on the card. A quick format only erases the file directory, not the actual photo data. The photos remain on the card's NAND memory until new data overwrites them or the device erases them. Using free tools like PhotoRec, you can scan the card and recover the photos. A completed overwrite erases them. The key is to stop using the card immediately after formatting to prevent overwriting.

How much does SD card data recovery cost?

For software-based DIY recovery, it's free using tools like PhotoRec or Recuva. At MDRepairs, the $100 diagnostic is credited toward a successful recovery. The estimate depends on the card's size and whether we can read it as it is or need to work directly with the memory chip. You approve the estimate before recovery work starts. See our data recovery pricing page for details.

How long do deleted files stay on an SD card?

There's no set time. If deletion only freed up the space, deleted files stay on an SD card until new data gets written over them or the device erases them. A device can also tell the card to discard the space when it deletes a file. The danger is continued use: every new photo you take could overwrite a deleted one.

Can I recover videos from my drone's SD card?

Yes. If your drone footage (MP4 and MOV files from DJI, Autel, and other manufacturers) is stored unencrypted on the SD card, you can recover it with standard tools. Some DJI enterprise drones let you encrypt the card's photos and videos with a code. If you used that option, keep the code. The last video file may be incomplete if the drone lost power or crashed mid-recording. Recovery software can salvage a partial version of that last clip if the footage is still readable.

Is it safe to use an SD card after recovering data from it?

It depends on why the data was lost. If you simply deleted files by accident, the card is fine to keep using. Just format it in your camera first. If the card had errors, corruption, or was making your device show error messages, it may be failing and should be replaced. SD cards are inexpensive; if there's any doubt about the card's reliability, replace it rather than risk losing more data.

Why does my camera say "Card Error" or "Card Not Initialized"?

This can mean the SD card's file system is corrupted. It can happen from removing the card while the camera is writing or from normal wear and tear on older cards. Your photos can still be on the card. The camera just can't read the file system index anymore. A card formatted for a different device or a problem with the contacts can cause the same error. Cancel any format prompt. If the card is undamaged and a computer reader shows the right capacity, try recovery software. If a second compatible reader doesn't detect it either, contact us about professional SD card recovery.

Can I recover photos from a microSD card?

Yes. microSD cards use the exact same NAND flash technology and file systems as standard SD cards. They're just physically smaller. For a readable, unencrypted card, the recovery process is identical. Use the microSD-to-SD adapter that came with the card (or a USB reader with a microSD slot) to connect it to your computer, then follow the same recovery steps.

What's the difference between SD card recovery and SSD recovery?

The biggest difference is TRIM. It tells an SSD which space it can clear, which matters for SSD data recovery when you're looking for a deleted file. SD cards have their own erase command, and some accept discard commands too. SDHC and SDXC cards use FAT32 and exFAT by default. Recovery also depends on what's still readable when you look for deleted files on hard drives or deleted files on USB flash drives. Our complete guide to recovering deleted files breaks it down by device type.

Lost Photos on Your SD Card?

Whether it's a formatted camera card, a crashed drone, or a card that stopped working, we can help. Call us before you try the card again.

(732) 933-7717

Ask About SD Card Recovery

How to Recover Deleted SD Card Files Without Making the Card Worse

Deleted SD card files can be recovered if you stop using the card immediately. Cameras, drones, dashcams, phones, and handheld consoles all write new data quickly, and new writes are what destroy deleted files. Time by itself is not the main problem. Taking more photos, recording more video, letting a dashcam loop, or letting a device rebuild folders on the card is the problem.

Start by removing the SD or microSD card from the device. Do not put it back in the camera to check thumbnails. Do not format it because the camera says it needs formatting. Do not take a test photo. Use a quality card reader connected to a computer, then confirm whether the card appears at the correct capacity. If it mounts and the deleted files are the only issue, scan it with recovery software and save the recovered files to your computer or an external drive, not to the SD card.

For photos, software can look for the file signatures of JPEG, HEIC, TIFF, and many RAW formats. Video is more fragile. GoPro, drone, DSLR, and mirrorless camera video may be fragmented across the card, and a simple file-carving tool can find pieces without rebuilding a playable file. If the recovered videos will not open, do not keep running scans over and over. At that point, the card image and file system metadata matter.

If the card is not detected in a working reader, shows 0 bytes, shows a much smaller or larger capacity than it should, gets unusually hot, or has physical damage, software is not the right tool. The computer cannot recover files from storage it cannot reliably read. A lab can work at the controller or NAND level, depending on the card construction. MDRepairs handles SD card recovery for damaged and deleted-file cases in our New Jersey lab, with mail-in service for customers nationwide. The practical rule is simple: if the card reads normally, scan once carefully. If it does not read normally, stop and protect the original media.

Can deleted SD card files come back with their original names?

Sometimes. If the file system records are still intact, recovery software or lab tools may preserve folder names, file names, and timestamps. If the file system is damaged or overwritten, recovery may rely on file signatures instead. That can recover the content but may return generic filenames, especially for photos and videos.

Should I format an SD card before trying recovery?

No. Formatting is only for making a card usable again after you no longer need the missing data. If you need deleted photos, videos, or documents, do not format, initialize, repair, or take new pictures. Remove the card, scan it from another device if it reads normally, and save recovered files elsewhere.

Sources

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 quote. $100 diagnostic, credited toward a successful recovery. 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.

Phone logic board with three removed chips at our Lincroft lab
A phone logic board sits behind three removed chips, solder pads up, at our Lincroft lab.
  • Hard drive from an iMacClicking · mailed in from Virginia
  • RAID 1 arrayArray failure · mailed in from Georgia
  • External hard driveDropped · mailed in from Alabama
  • PhoneLiquid damage · mailed in from Michigan
See real case studies
4.6 · 345 Google reviews$100 diagnostic, credited toward a successful recovery
Start your mail-in recovery