My SD card suddenly shows as corrupted and keeps asking me to format it before I can open anything. It has important photos and video files I really need to save, and I’m worried formatting will erase my only copy. What’s the safest way to recover data from a corrupted SD card before formatting it?
I’ve had enough SD cards go sideways to stop caring much about the exact error text. What mattered, every time, was the order of moves after it happened. I’ve tried recovery apps, repair commands, all the fast fixes people post in old threads. Some cards came out of a camera bag, some from a drone case, some from friends who thought a year of photos was gone.
The same mistake kept showing up. People hit the repair prompt first.
Bad move, in my experience.
When a card gets corrupted, your phone, camera, or PC usually pushes you toward an instant fix. You’ll see stuff like “SD card needs to be formatted,” “Drive must be repaired before use,” or “Tap to fix.” It looks harmless. If your files matter, skip it for now. Do not format the card yet.
Formatting often gets the card mountable again, sure. It also makes recovery messier. I treat this as two separate jobs. First, pull your data off. After that, deal with the card.
Recover Data from a Corrupted SD Card
I start with recovery software, not repair tools. A lot of the time, the files are still sitting on the card and the file system is what got mangled.
From the tools I’ve used myself, Disk Drill is usually my first pick. It handled the common messes well when I tested it, accidental format, damaged file system, RAW SD cards, files missing after a transfer failed.
The part I care about most is the byte-for-byte backup option before recovery starts. Some bad cards get worse each time you read from them. I’ve seen cards mount once, then act dead an hour later. Making an image first gives you a safer copy to work from while the original stays untouched. The preview tool helps too. You can check whether your photos, videos, or docs are readable before saving a pile of junk to your drive.
Once your important files are recovered and copied somewhere safe, then you move on to repair.
1. Run CHKDSK
This is the first repair step I usually try on Windows. CHKDSK looks for file system damage and tries to fix it.
Open Command Prompt as Administrator, then run:
chkdsk X: /r
Swap X for the drive letter of your SD card.
2. Try TestDisk
If the partition is gone or Windows shows the card as unallocated, I’d look at TestDisk next.
I’ve used it on cards Windows treated like blank plastic. The interface feels old and a bit rough, no point pretending othrewise, but it does a solid job finding lost partitions and rebuilding busted partition tables.
3. Format the Card
If CHKDSK didn’t help and TestDisk didn’t bring it back, formatting is the last step I’d take.
At this stage, your files should already be recovered and saved somewhere else. In File Explorer, right-click the SD card, pick Format, then choose the file system. For most current SD cards, exFAT is the one I use since it handles large files and works with a lot of devices.
After the format finishes, test the card before you trust it again.
One thing I learned the hard way, repeated corruption usually means the card is starting to fail. When a card starts doing this more than once, I stop using it for anything I care about and replace it. I’ve tried being cheap about this before. It cost me photos, so now I dont.
Yes, recover first, format later.
The first thing I would do is stop using the SD card. Don’t take more photos, don’t copy files onto it, don’t run the phone’s repair pop-up. Every write lowers your odds.
I agree with @mikeappsreviewer on avoiding the format prompt. Where I differ a bit, I would skip CHKDSK early if the card has important video files. CHKDSK is fine for fixing a filesystem, but it can rename folders, move fragments, and make media recovery messier on damaged cards. For stuff you care about, I’d do recovery from a read-only pass first.
Best order in my experince:
- Put the card in a good USB card reader, not the camera or phone.
- If it shows up at all, make an image of the card first.
- Scan the image or the card with recovery software like Disk Drill.
- Save recovered files to your computer, never back to the SD card.
- Only after your files are safe, try repair or format.
If the card disconnects, gets hot, shows 0 bytes, or reads insanely slow, stop pushing it. That points to failing hardware, not a simple file error.
Also, if you want extra reading, this thread has useful corrupted SD card recovery tips and real-world fixes:
practical corrupted SD card recovery tips for photos and videos
Short version, yes, your files still have a shot. Don’t format yet. Recover first, then retire the card if it starts doing this agian.
Don’t format it yet. That prompt is basically your device saying “I can’t read the file system,” not always “your files are gone forever.”
I mostly agree with @mikeappsreviewer and @chasseurdetoiles, but I’m a little more cautious about doing any repair attempt before a recovery pass. Even CHKDSK can “fix” things in a way that helps Windows but hurts your chance of getting clean photo/video folder structure back. If these files matter, treat the card like evidence, not storage.
What I’d do:
- Lock the SD card if it has a physical write switch.
- Use a decent card reader on a computer, not the camera/phone.
- Check Disk Management first. If the card shows the right capacity, that’s a decent sign.
- Make a full image of the card if possible.
- Recover files from the image/card with something like Disk Drill.
- Save recovered stuff to a different drive, obvously not back to the SD card.
If the card is detected but asks to format, recovery software often still sees the underlying data. Disk Drill is solid for corrupted SD card recovery, especially for photos and videos, and it’s easy enough that you don’t have to fight some ancient terminal window for an hour. If you want a comparison list, this roundup of SD card recovery software tested on real corrupted cards is worth a look.
One more thing people skip: copy the recovered files somewhere safe, then actually open a bunch of them. Don’t assume recovery worked just because filenames came back.
If the card starts disconnecting, reads super slow, or shows wrong size, that’s more like hardware failure. At that point, keep retries low or you can make it worse real fast.