keepcalculator

06 Numbers and Powers

OS X SD Card Recovery: How to Get Files Back

Card No. 06·27081 · Updated · Standard formula, shown below

If you’ve lost photos or documents from an SD card on a Mac, you can recover them using built-in macOS tools or free third-party software, provided you stop using the card immediately. This article explains the most reliable recovery methods, what to do first, and how to avoid common mistakes.

Why Files Disappear from SD Cards

SD cards fail more often than internal drives because they have no moving parts but are subject to physical stress, static electricity, and frequent insertion/removal. Common causes of data loss include:

  • Accidental deletion or formatting (including “quick format” on a camera)
  • Removing the card while the camera or card reader is still writing data
  • Power loss during a write operation
  • Corrupted file system (often appears as “The disk you inserted was not readable by this computer”)
  • Physical damage to the card’s contacts or controller

When you delete a file on an SD card, the data isn’t erased immediately—the space is simply marked as available. Until new data overwrites it, recovery is often possible. The same applies to formatting: a quick format only clears the file table, not the actual data.

First Steps: Stop Using the Card

The most critical rule is to stop writing to the card as soon as you notice data loss. Any new photo, file copy, or even the camera’s thumbnail generation can overwrite the deleted files, making recovery impossible. Remove the card from the device and set it aside.

Do not run First Aid (Disk Utility) on the card yet. While First Aid can fix file system errors, it can also alter the very structures that recovery software relies on. Only run First Aid if you don’t care about recovering specific files and just want the card to work again.

Method 1: Check the Trash and Time Machine

Before reaching for recovery software, check the simplest places:

  • Trash: If you deleted files while the card was connected to your Mac, they may be in the Trash. Right-click the Trash icon and select “Open” to check.
  • Time Machine: If your Mac was backing up while the card was connected, Time Machine may have copies. Connect the card, open Time Machine, and browse the timeline for the card’s contents.

These methods only work if the files were deleted while the card was mounted on your Mac and the backup was running. If you deleted files on a camera, they won’t be in the Trash.

Method 2: Use Disk Utility First Aid

If the card is unreadable or shows as “not initialized,” Disk Utility’s First Aid can sometimes repair the file system so you can access the files again. Here’s how:

  1. Connect the SD card to your Mac (use a built-in slot or a USB card reader).
  2. Open Disk Utility (in /Applications/Utilities/).
  3. Select the SD card in the sidebar (not the volume underneath it).
  4. Click “First Aid” and then “Run.”

This will check and repair the card’s file system. If it succeeds, the card may mount normally and your files may reappear. If First Aid fails, the card may be physically damaged or the file system is too corrupted—proceed to recovery software.

Method 3: Use a Free Recovery Tool

Several free and paid tools can recover files from SD cards on macOS. The most reliable free option is PhotoRec, which is command-line based but works well. A more user-friendly free option is Disk Drill (free for the first 500 MB of recovered data).

Here’s a general workflow that applies to most recovery tools:

  1. Download and install the recovery software on your Mac’s internal drive, not on the SD card.
  2. Insert the SD card into your Mac.
  3. Open the recovery tool and select the SD card as the target drive.
  4. Choose a scan type (quick or deep). Deep scan takes longer but finds more files.
  5. Preview the found files and select the ones you want to recover.
  6. Recover them to a different drive (your internal drive or an external HDD), never back to the same SD card.

PhotoRec specifically works by scanning the raw data on the card and identifying file signatures, so it can recover files even if the file system is severely damaged. However, it doesn’t preserve original file names—you’ll get a list of files like f1234567.jpg.

How to Choose the Right Recovery Software

When selecting a recovery tool, consider these factors:

  • File system support: Ensure the tool supports the card’s format (FAT32, exFAT, or APFS).
  • File type support: If you need RAW photos, check that the tool lists your camera’s RAW format.
  • Ease of use: GUI tools are easier for beginners; command-line tools like PhotoRec are more powerful but require some comfort with Terminal.
  • Cost: Free tools often have limits (e.g., recovery size, or no preview). Paid tools like Disk Drill Pro, EaseUS Data Recovery Wizard, or Stellar Data Recovery offer full features but cost money.

For most users, starting with a free tool like PhotoRec or the free version of Disk Drill is a reasonable first step. If the free version doesn’t find your files, a paid tool with a deeper scan might, but there’s no guarantee.

What to Do If Recovery Fails

If recovery software can’t find your files, you have a few options:

  • Try a different tool: Different tools use different algorithms; one may succeed where another fails.
  • Send to a professional: If the data is critical, a data recovery service can open the card in a clean room and read the memory chips directly. This is expensive (hundreds of dollars) but can recover data from physically damaged cards.
  • Accept the loss: If the card is dead and the data isn’t worth the cost, it may be time to move on.

Remember: recovery is never guaranteed. The best way to avoid this situation is to back up your SD card regularly. Copy photos to your Mac or cloud storage after each shoot.

Frequently Asked Questions

Can I recover files from a formatted SD card?

Yes, in many cases. A quick format only clears the file table, not the data. Recovery software can scan for file signatures and rebuild the files. A full format (which writes zeros) makes recovery impossible.

Is it safe to use recovery software on my Mac?

Yes, as long as you download from the official website and don’t install it on the SD card itself. Be cautious of fake “free” tools that bundle malware—stick to well-known names.

How long does a deep scan take?

It depends on the card size and speed. A 64 GB card can take anywhere from 30 minutes to several hours on a deep scan. Quick scans are faster but only find recently deleted files.

Can I recover files from a physically damaged SD card?

If the card is physically broken (cracked, bent, or has corroded contacts), standard software won’t work. Professional data recovery services can sometimes read the memory chips directly, but it’s costly and not always successful.

Will recovery software damage my card?

No, recovery software only reads the card. It doesn’t write to it. However, if the card has a hardware failure, the act of reading might stress it further—that’s why professionals make a disk image first.

What if my Mac says the card is not readable?

This usually means the file system is corrupted. Try First Aid in Disk Utility first. If that fails, use recovery software that can scan raw data, like PhotoRec. Do not reformat the card before attempting recovery.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →