Guides· Photographers · Data recovery

My memory card says it needs to be formatted. Now what?

The card is probably fine and the photos are probably still there. Here is what to do in the first ten minutes, what never to do, and how to get the files back yourself.

By Matthew Audette3 min read

The message looks final. The camera, or your computer, says the card is unreadable and offers to format it. Most of the time nothing is wrong with the photos. What broke is the card’s table of contents, the small index that says which file lives where. The pictures themselves are still sitting on the card, and recovery software can usually find them without that index.

Whether you get them back depends almost entirely on what you do next.

The first ten minutes

  1. Take the card out and leave it out. Do not try the shot again, do not “just check” by shooting a frame, and do not let the camera format it. Every write to the card can land on top of a photo.
  2. Do not click Format. Not on the camera, not on the computer. Formatting can still be recoverable, but it turns an easy job into a harder one.
  3. Flip the lock switch if it is an SD card. That stops anything from writing to it while you work.
  4. Use a card reader, not the camera’s USB cable. Readers are faster, and the camera’s own connection sometimes refuses to show a card it has decided is bad.

If the card is not showing up at all, or it is bent, cracked, or has been through a wash cycle, stop here and skip to when to call.

Recover the files yourself

Recovery software reads the card from end to end, looks for the signatures that start a JPEG or a raw file, and copies what it finds to another drive. The two rules that matter:

  • Recover to a different drive. Never to the card you are rescuing. A desktop folder is fine.
  • Make one pass and keep it. Do not run three different tools against the card hoping for a better result. Each read is wear on a card that is already unhappy.

Free and good: PhotoRec is free, open source, and runs on Mac, Windows, and Linux. It ignores the broken index entirely and carves files out by their signatures, which is exactly what you want here. The trade-off is that filenames and folders are lost, so you get a pile of files named by number. That is fine; Lightroom does not care.

Paid tools exist and some are easier to use. If the card holds a wedding, the forty dollars is not the expensive part of the decision. The expensive part is running something that writes to the card, so check that whatever you use is recovery-only.

After recovery, open a handful of the files from the start, middle, and end of the set. Raw files that open in your editor are good. Files that open as a grey block or half an image were written across a damaged area, and no software will do better with those.

Then retire the card

A card that has done this once will do it again. Label it, keep it for low-stakes use if you must, and never put it back in rotation for paid work. Cards are the cheapest part of the kit.

When software is not going to do it

Some failures are not about the index:

  • The card does not appear in any reader on any computer.
  • It appears, but as a drive of zero bytes or the wrong size.
  • It is physically damaged.
  • A spinning hard drive, rather than a card, is making clicking or grinding sounds.

Those are controller or hardware failures. Recovery software cannot read what the card will not hand over, and repeated attempts can make a lab’s job harder. This is the point to get in touch: the assessment is free, standard recovery is $250, and if it needs a clean-room lab we will say so and help you pick one.

So it never happens again

  • Shoot to two cards if your camera has two slots. Set the second slot to backup, not overflow.
  • Format in the camera, not the computer, and only after the files are on at least two drives.
  • Rotate cards and retire them on a schedule, not when they fail.
  • Copy the card the same day. Working drive, then archive, then off-site. That is the backup setup we build for studios, and it is the reason a bad card is a bad afternoon rather than a bad year.

Rather have Matthew handle it?

Data recovery, backups, and tech support for working photographers.

Get help with this