← All posts
·7 min read·By the DataRecover Pro team

How to Recover a Formatted SD Card on Mac (Photos + RAW)

Formatting an SD card feels final — but in most cases it isn't. If you formatted a card that still had photos on it, whether by accident in the camera or by clicking the wrong button in Disk Utility, the images are very likely still physically present on the card. A typical format clears the index, not the pictures. This guide shows how to carve those photos and RAW files back on a Mac, and what determines whether it works.

For the broader picture on how SD cards store data, the SD card recovery hub is the place to start. If your card was formatted because macOS wouldn't read it, also see SD card not showing up on Mac before doing anything else.

Quick format vs full erase: why your data usually survives

Not all formats are equal, and the difference decides your odds. A quick format — what a camera's "Format card" does, and what macOS does by default — just rebuilds the filesystem's bookkeeping. It writes a fresh, empty file table (FAT32 or exFAT) and declares the whole card available. It does not go through and erase the actual photo data, so the images stay on the card until new files overwrite them. This is the common case, and it's very recoverable.

A full or secure erase is different: it deliberately writes zeros (or random data) across the entire card, destroying the old contents. macOS offers this as a "security option" in Disk Utility, and it's not the default. If you ran a full secure erase, the photos are genuinely gone and software can't bring them back. But unless you specifically chose that, you almost certainly did a quick format — which means your photos are recoverable.

Did you format, or did the camera?

There are a few common ways a card ends up formatted with photos still on it, and they all recover the same way. You may have hit "Format card" in the camera menu out of habit, before realizing you hadn't offloaded. A new camera body sometimes insists on formatting a card before first use. Or macOS may have prompted you to initialize a card it couldn't read, and you clicked through. In each case the result is the same: a fresh, empty file table over data that's still physically present.

The one scenario that doesn't recover is a deliberate full secure erase — but that's never accidental, because you have to choose the security option explicitly. If you just clicked "Format" or "Erase" with default settings, you did a quick format, and your photos are recoverable.

Act before you reuse the card

After a format the card looks empty, which makes it tempting to start shooting on it again. Don't. Every new photo you take writes data onto space the format just freed, and it can land right on top of the images you want back. The recovery window stays open only until that space is reused.

So set the card aside, connect it to your Mac, and recover first. If you've already taken a few shots since formatting, recovery is often still partly possible — stop now and scan rather than writing anything more. The amount you get back tracks directly with how little the card was used after the format.

Connect with a reader and scan read-only

Put the card in a card reader connected to your Mac — the built-in slot or a USB/USB-C reader — rather than recovering through the camera. Open DataRecover Pro, select the card, and because a format wiped the file table, go straight to the deep scan.

The deep scan ignores the (now empty) file table and reads the card block by block, carving files out by their signatures — recognizing the byte patterns that mark the start of a JPEG, a RAW file, or a video. This is exactly the method that recovers photos after a format, because it doesn't need the directory that the format destroyed. DataRecover Pro scans are read-only, so the scan can't overwrite anything; it runs on macOS 12 and later, Apple Silicon and Intel, and is signed and notarized by Apple.

RAW formats and correct camera labeling

If you shoot RAW, formatted-card recovery handles it well. DataRecover Pro carves 47-plus formats, including Canon CR2 and CR3, Nikon NEF, Sony ARW, Fujifilm RAF, Panasonic RW2, and Olympus ORF. Because a carved file has lost its original filename (that lived in the wiped file table), DataRecover Pro reads the EXIF "Make" field inside each RAW file and labels it with the right camera extension — so a recovered Sony file comes back as .ARW and a Nikon file as .NEF, instead of a generic blob you'd have to guess at. The camera RAW recovery guide covers the per-brand details.

Download DataRecover Pro and run a free, read-only deep scan of your formatted card. The preview is free, so you'll see your recoverable photos before deciding anything.

What about filenames and folder structure?

A format wipes the file table, and that table is where filenames and the camera's folder layout (the DCIM folders) lived. So after a format you should expect recovered files to come back without their original names — carving rebuilds the image data from raw blocks, but it can't invent a name that no longer exists on the card. For photos this is rarely a problem: the EXIF metadata inside each file still holds the capture date, camera, and settings, so your editor can sort by date taken and you lose nothing that matters for the actual images.

RAW files get an extra assist here. Because DataRecover Pro reads each file's EXIF "Make" field, recovered RAW comes back with the correct extension (.CR3, .NEF, .ARW, and so on) even though the name is generic — so Lightroom or Capture One opens them without you renaming anything by hand.

Preview, recover elsewhere, and repair if needed

Preview before recovering: DataRecover Pro shows thumbnails, supports Quick Look (spacebar on a selected file), and gives each result a confidence score. Pick the shots you want, confirm they look right, and recover them to your Mac or another drive — never back onto the formatted card, since that could overwrite files you haven't pulled off yet.

Carved files sometimes come back imperfect — a RAW an app rejects, or a partly corrupted JPEG — usually where the card had been partially reused. DataRecover Pro can repair these, not just recover them: its three-tier repair engine rebuilds corrupted photos, including RAW, so the file actually opens. That repair step is what recovery-only tools can't do; they'd hand you the broken file and stop. If a recovered RAW won't open, see repairing corrupted RAW photos.

Scanning and previewing are free and need no account. Unlocking recovery plus repair is $59 per year or $89 for a Lifetime license — three devices, 30-day recovery guarantee, and everything runs locally on your Mac, so your photos are never uploaded anywhere.

Lost a file? Get it back.

Scan and preview for free. See what's recoverable before you buy.

Coming soon