How to Recover Deleted Files From an SD Card on Mac for Free

If you accidentally deleted files from an SD card, stop using the card immediately. Do not take more photos, copy files to it, format it, or run unnecessary repair operations.

A deleted file may still be recoverable until new data overwrites the space it occupied. TestDisk's documentation specifically recommends not using the affected media during recovery and saving recovered files to a different disk

Can I Recover Deleted SD Card Files on Mac for Free

Yes. PhotoRec/TestDisk provides a free recovery option for macOS, and its documentation specifically covers recovering deleted files from filesystems commonly used by memory cards, including FAT and exFAT.

For a free recovery method on Mac, PhotoRec is a practical option. It is included with the TestDisk project and can recover files using their underlying data signatures when normal filesystem recovery is insufficient.

Recovery is not guaranteed, however. The key factor is whether the deleted data has been overwritten.

Prepare Before Attempting Recovery

You need:

  • The affected SD card
  • Your Mac
  • A second storage location with enough free space for the recovered files

The second location could be your Mac's internal storage or another external drive.

Do not save recovered files back to the SD card. Doing so can overwrite other deleted files that you are still trying to recover.

Use PhotoRec to Recover the Deleted Files

PhotoRec is designed for file recovery and is available for macOS through the TestDisk project. Its signature-based approach can be useful when the filesystem's directory information is no longer sufficient to locate the files.

The general workflow is:

  1. Connect the SD card to your Mac.
  2. Install or launch PhotoRec/TestDisk from the official CGSecurity distribution.
  3. Select the SD card rather than your Mac's internal drive.
  4. Select the appropriate partition or storage area.
  5. Choose the filesystem/recovery options requested by PhotoRec.
  6. Select a destination on a different drive or storage location.
  7. Start the recovery scan.
  8. Examine the recovered files after the scan finishes.

PhotoRec may recover files without their original folder structure or filenames, so you may need to sort the results afterward.

Why You Shouldn't Recover onto the SD Card

This is the most important technical detail in the process.

Suppose you deleted 500 photos from a 64 GB card. The photos' data may still occupy portions of the card even though the filesystem considers that space available. If you write recovered photos (or anything else) back to that same card, the new data can overwrite portions of the deleted files.

Once overwritten, software recovery may no longer be possible. TestDisk's documentation therefore recommends using another destination filesystem or disk for recovered data.

What if the SD Card Doesn't Appear on Your Mac

First distinguish between the card appearing but files being missing and the Mac not detecting the card at all.

If the card appears in Disk Utility but its contents are inaccessible, Disk Utility's First Aid may help with filesystem or directory-structure errors. Apple says First Aid is intended to find and repair these types of storage errors.

However, if the files were simply deleted, don't assume First Aid will undelete them. Its purpose is repairing storage-structure problems, not restoring accidentally deleted files.

If the SD card does not appear in Disk Utility at all, Apple recommends checking the physical connection, card reader, cable, and power; if the device still isn't recognized, the storage device or Mac may require service.

What if You Accidentally Formatted the SD Card

Don't write new data to it.

Formatting changes the filesystem information, but recovery may still be possible depending on what type of formatting occurred and whether the underlying data has been overwritten. A recovery scan with PhotoRec can be worth attempting when the files are important.

The sooner you stop using the card, the better your chances of preserving recoverable data.

When Free Software May Not Be Enough

Free software is reasonable for an accidentally deleted file when the SD card is otherwise functioning normally.

Consider professional data recovery if:

  • The SD card is physically damaged.
  • The card repeatedly disconnects.
  • The card is not detected by multiple known-good readers.
  • The card becomes extremely slow or causes the Mac to freeze.
  • The files are extremely valuable and you cannot risk making the situation worse.

In these cases, repeated scanning or experimentation can be counterproductive.

Common Mistakes to Avoid

Don't take more photos on the card. New photos can overwrite deleted data.

Don't copy recovered files back to the same SD card. Use another storage location.

Don't format the card just because macOS asks you to. If the data matters, stop and investigate recovery first.

Don't assume Disk Utility is an undelete tool. Apple's First Aid feature is for diagnosing and repairing storage-structure problems.

Don't keep trying random recovery programs on the original card. Every operation that writes to the card can potentially reduce recoverability.

What if I Had a Backup

Check your existing backups before doing complicated recovery work. Apple's Time Machine can restore files that were backed up, including older versions and deleted files from the Mac's backed-up data.

For files that existed only on the SD card, however, a Mac backup may not contain them.