SD card recovery is the process of getting back photos, videos and files that were deleted, formatted or lost on a memory card. In most cases, deleted files are still on the card. The card only marks their space as free, and the files stay there until new data takes that space.
This guide shows you how to recover deleted files from an SD card on Windows and Mac, how to get photos back from a camera or phone card, and when software will not help. It also covers a few things most guides skip, like the hidden Mac Trash folder on the card and why you should not run CHKDSK first.
Can You Recover Data from an SD Card?
Yes, in most cases. If the card still shows up on your computer with the right size, free tools can usually bring your files back. Follow this order:
- Stop using the card and take it out of the camera or phone.
- Check the Mac Trash or your phone gallery recycle bin.
- Scan the card with Windows File Recovery, PhotoRec or a recovery app.
- Save the recovered files to your computer, never back to the card.
- Repair or format the card only after your files are safe.
If the card is not detected at all, shows 0 bytes or is cracked, software cannot reach the data. That case needs a recovery lab.
Stop Using the Card Before You Do Anything Else
Every new photo, video or file you save can land on the space where your deleted files sit. Once that happens, those files are gone for good. So remove the card from the camera or phone right away.
If you use a full size SD card or a microSD adapter, slide the small lock switch on its side down to the Lock position. Most computers then treat the card as read only, so nothing gets written to it during the scan.
Also hold off on formatting the card, running CHKDSK or using Disk Utility First Aid. These tools repair the file system. They do not bring files back, and they can change the card in ways that make recovery harder. CHKDSK, for example, can turn broken files into a FOUND.000 folder full of unnamed CHK files.
What Happened to Your Card? Check Your Chances
Your chances depend on what caused the loss. Find your situation below, then go to the method that fits.

| Situation | Chance | What to do |
| Files deleted, card still works | High | Use a recovery app or PhotoRec |
| Card was quick formatted | Good | Run a deep scan |
| Card shows RAW or asks to format | Good | Click Cancel, then run a deep scan |
| Card was used after the files were deleted | Low to medium | Scan right away and stop saving to it |
| Full format or overwrite format | Very low | Data is usually gone |
| Card set up as phone internal storage | Very low on a computer | Put it back in the same phone |
| Not detected, 0 bytes or physically broken | Software cannot help | Use a professional lab |
Quick Format vs Full Format
A quick format only clears the file list. Your files are still on the card, so a deep scan can find most of them. A full format is different. On Windows, a full format (with Quick Format unticked) writes zeros over the whole card, and no software can recover the files after that.
Most cameras do a quick format. Some also offer a low level or overwrite format, which wipes everything. The SD Card Formatter tool has a similar Overwrite option.
Cards Set Up as Phone Internal Storage
Some Android phones let you format an SD card as internal storage. The phone then encrypts the card with a key that stays on that phone. On a computer, the card looks empty or unreadable, and recovery software cannot read it. Put the card back in the same phone. If that phone was reset or is broken, the data is usually lost.
Check These Places Before You Use Recovery Software
Sometimes the files are not fully deleted yet. These checks take a few minutes and need no software.
The Mac Trash
When you delete files from an SD card in Finder, macOS moves them to a hidden .Trashes folder on the card. They appear in your Trash only while the card is plugged in. Insert the card, open Trash, right click the files and choose Put Back. This only works if you have not emptied the Trash.

The Windows Recycle Bin
Windows works differently. Files you delete from an SD card or USB drive skip the Recycle Bin and are removed right away. On Windows, go straight to the recovery methods below.
Phone Gallery and Cloud Backups
If the card was in a phone, open the gallery app and look for Recycle Bin, Trash or Recently Deleted. Many gallery apps keep deleted items for around 30 days. Also check Google Photos, OneDrive, iCloud or Dropbox if any of them backed up your photos.
Your Computer and Photo Apps
If you ever imported the card into Lightroom, Apple Photos or a camera app, the files may already be on your computer. Search your Pictures folder by the date you took the photos.
How to Recover Files from an SD Card on Windows
You have two good options on Windows. Windows File Recovery is free and made by Microsoft, but you run it with typed commands. A recovery app with a preview is easier to use, but the free version often limits how much you can recover.
Method 1: Use Windows File Recovery (Free)
Windows File Recovery works on Windows 11 and Windows 10 version 2004 or later. For SD cards, you need its Extensive mode, because cards use the FAT32 or exFAT file system.
- Connect the SD card with a card reader. Open File Explorer and note the drive letter of the card, for example E.
- Open Microsoft Store, search for Windows File Recovery and install it.
- Open the app from the Start menu and click Yes when Windows asks for permission.
- Type the command below and press Enter. Replace E with your card letter. C is the drive where the files will be saved.
winfr E: C: /extensive /n *.jpg /n *.mp4
- Type Y to start the scan. The time depends on the size and speed of the card.
- Open the Recovery folder the tool creates on the C drive and check your files.

To look for other file types, change the filter. For example, use *.mov for iPhone and many camera videos. If you leave out the filter, the tool looks for all files, but the scan takes longer and returns more clutter. The tool does not handle every camera RAW format well, so if your RAW photos do not show up, try PhotoRec instead.
Microsoft lists every mode and switch on its Windows File Recovery support page.
Method 2: Use a Recovery App with a File Preview
If you prefer clicking over typing commands, a recovery app with a visual interface is the easier path. Most of these apps follow the same three steps.
- Install the app on your computer, not on the SD card. Then select the card and run a deep scan.
- Preview the files you need. A file that previews well will usually open after recovery.
- Recover the files to your computer or another drive.

Free versions usually let you scan and preview everything, but they cap how much you can recover. That cap often sits between 100 MB and 2 GB, which covers a few dozen photos but very little video. Scan first. If your files do not appear in the preview, paying for the full version will not help.
Suggested Read: Best Free Photo Recovery Software for Windows in 2026
How to Recover Files from an SD Card on Mac
Start with the Trash check above. If your files are not there, PhotoRec is the best free option for SD card recovery on Mac. Most Mac recovery apps let you scan for free but ask you to pay before you recover anything.
Recover Files with PhotoRec on Mac
PhotoRec is free and open source. It reads the raw data on the card and ignores the file system, so it works on deleted, formatted and RAW cards. It runs in Terminal with simple menus that you move through with the arrow keys and Enter.
- Install Homebrew if you do not have it yet. Then open Terminal and run the first command below. PhotoRec comes as part of TestDisk.
- Plug in the card and run the second command. Type your Mac password when asked. If macOS asks to let Terminal access removable volumes, click Allow.
brew install testdisk
sudo photorec
- Pick the disk that matches your card size and press Enter.
- Select the card partition and choose Search.
- Choose Other as the file system type. This option covers FAT32 and exFAT cards.
- Choose Free to look only for deleted files, or Whole if the card was formatted or corrupted.
- Pick a folder on your Mac to save the files, then press C to start.

PhotoRec saves files in folders named recup_dir, with numbered names like f1234567.jpg. The original names are lost, but photos keep their camera data, so you can sort them by date taken in Apple Photos or any photo viewer.
PhotoRec also runs on Windows and Linux. You can download it from the official CGSecurity PhotoRec page.
Recovery Apps for Mac
If Terminal feels too technical, a Mac recovery app with a preview is easier. Keep in mind that many Mac apps only allow free scans and previews. Run the scan first, and pay only if your files appear in the preview.
How to Recover Deleted Photos from an SD Card Used in a Camera
Camera cards often recover better than other drives. Cameras usually write each photo in one continuous block, so photo recovery tool can rebuild photos even when the file list is gone. Keep these points in mind:
- Check RAW support. Make sure your tool supports your camera RAW format, such as CR3, NEF, ARW or RAF. Some free tools only find JPEG files.
- Expect video to be harder. Long video files are often split into many pieces on the card. A recovered video may play only in part or not at all.
- Fix damaged photos after recovery. A recovered photo that opens gray, half loaded or with color bands is partly damaged, and a repair tool can often fix it.
- Skip the camera repair option. Some cameras offer to repair or rebuild the image database. Wait until you have scanned the card on a computer.
Suggested Read: How to Repair Corrupt Image Files
Recover Data from a Corrupted SD Card That Shows RAW
A corrupted card often shows up as RAW, asks you to format it or opens with an error. If the card shows the right size in Disk Management on Windows or Disk Utility on Mac, your files are usually still there.
When Windows says you need to format the disk, click Cancel. Then use PhotoRec or a recovery app with a deep scan. Both can read the card without a working file system. Once your files are safe on another drive, you can repair the card.
Recover the SD Card Itself After Your Files Are Safe
Only repair the card after recovery, since repair tools change the card and can wipe what is left. On Windows, open Command Prompt as administrator and run the command below to fix file system errors.
chkdsk E: /f
If the card shows in Disk Management without a letter, right click it and choose Change Drive Letter and Paths to add one. On Mac, open Disk Utility, select the card and click First Aid.
If the card still acts up, format it with the free SD Card Formatter from the SD Association. It sets up the card the way the SD standard expects. Test the card with a few files before you trust it with important photos again.
When Software Cannot Help: Professional SD Card Data Recovery
Software can only read a card that your computer can see. Send the card to a recovery lab if:
- The card does not appear in Disk Management or Disk Utility, even on another computer and card reader
- It shows 0 bytes or the wrong size, such as 32 MB instead of 64 GB
- The card is cracked, bent, burned or was in water
- The computer freezes or keeps disconnecting the card during a scan
Most microSD cards are monolithic. The memory and controller are sealed together in one tiny block with no separate parts. To read one, a lab grinds away the outer layer and connects to tiny test points under a microscope. This slow work is why these jobs cost more.
Lab prices for memory cards often start at a few hundred US dollars for simple cases and can go past 1,000 US dollars for monolithic or broken cards. Choose a lab that offers a free evaluation, gives a fixed quote and charges nothing if no data comes back.
Mistakes That Lower Your Chances of Recovery
- Saving recovered files back onto the same SD card
- Clicking Format when Windows asks you to
- Taking new photos or recording video on the card
- Running CHKDSK or First Aid before you recover your files
- Scanning a failing card again and again with different tools
That last point matters for cards that disconnect or read slowly. Each scan puts more stress on a weak card. Many recovery apps can make a full byte to byte backup of the card. Make that backup once, then scan the backup instead of the card.
How to Avoid SD Card Data Loss Next Time
Most memory card data loss comes from a few habits that are easy to change.

- Format the card in your camera after each backup instead of deleting files one by one.
- Test new cards with H2testw on Windows or F3 on Mac and Linux. Fake cards report more space than they have and quietly lose files once the real space runs out.
- Eject the card from your computer and switch off the camera before you remove it.
- Copy your photos to a computer or cloud storage on the same day.
- Use both card slots if your camera supports backup recording.
- Replace cards that show errors, slow down or have years of heavy use.
Wrapping Up
SD card recovery works best when you act fast and stop using the card. Check the Trash and phone backups first, then scan the card with Windows File Recovery, PhotoRec or a recovery app. Save every file to another drive, and repair or format the card only after that. If your computer cannot see the card at all, take it to a lab instead of trying more software.
FAQs
Yes, if it was a quick format. A quick format only clears the file list, so a deep scan can find most files. A full format on Windows or an overwrite format writes over the data, and recovery is rarely possible after that.
Use PhotoRec on Windows, Mac or Linux, or Windows File Recovery on Windows. Both are free and have no recovery limit. Save the recovered photos to your computer, not the card.
Only in a few cases. On Mac, check the Trash while the card is inserted. On a phone, check the gallery recycle bin and your cloud backup. Otherwise, you need recovery software or a lab.
Tools like PhotoRec rebuild files from raw data and cannot read the original names. The file content is the same. Sort photos by date taken to put them back in order.
Yes, if you install it on your computer and save results to another drive. Download tools only from the official website, because fake recovery tools are a common way to spread malware.
A quick scan takes a few minutes. A deep scan of a 64 GB card can take from about 30 minutes to a few hours, based on the card speed and the card reader.
Not with software. First try a different card reader, USB port and computer. If the card still does not show up, a recovery lab is the only option.