I accidentally ejected my SD card without safely removing it, and now my phone and computer either won’t read it or say it’s corrupted. It has important photos and files on it, so I need help figuring out how to recover the data and repair the SD card without making things worse.
I’ve messed with enough broken SD cards to stop caring about the pop-up text. The message changes. The next step matters more. I’ve seen this with camera cards, drone footage, phones, and a few panic texts from friends who thought years of photos were gone.
The mistake I keep seeing is simple. People try to fix the card first. Bad move, most of the time. Your phone or PC throws out stuff like “SD card needs to be formatted,” “Repair this drive,” or “Tap to fix.” I skip all of it at first. If your files matter, don’t format the card yet.
Formatting might get the card working again. It also makes recovery messier. I treat this as two jobs. First, pull the files off. After that, deal with the card.
Recover data first
When corruption hits, the file system is often the part falling apart, not the files themselves. So I start with recovery software, not repair tools.
Out of the stuff I’ve tried, Disk Drill is usually where I start. It has done well for me with cards showing up as RAW, cards formatted by mistake, files missing after a transfer failed, and the usual “this card looks dead” cases.
The part I care about most is the byte-for-byte backup option. Some damaged cards get worse the more you poke at them. I’ve seen cards read fine for ten minutes, then drop off the system. Making an image first gives you a safer copy to work from. The preview tool helps too. You get to check whether the photos or videos open before you spend time recovering junk file names with ruined contents.
Once your stuff is recovered and copied somewhere safe, then go after the card itself.
1. Try CHKDSK
This is usually my first repair step on Windows. It checks the file system and fixes what it finds.
Open Command Prompt as Administrator, then run:
chkdsk X: /r
Swap X for the drive letter of your SD card.
I’ve had this work on cards with directory errors and ugly file system damage. I’ve also had it do nothing. Still worth the two minutes.
2. Use TestDisk if the partition is gone
If Windows shows the card as unallocated, or the partition vanished, I move to TestDisk.
It looks old and feels old. No point pretending othrwise. Still, it’s one of the few tools I’ve used which finds lost partitions and rebuilds busted partition tables without much drama. If the card looks invisible to normal Windows tools, this is often the next thing I try.
3. Format the card last
If CHKDSK didn’t help, and TestDisk didn’t bring it back, formatting is where I end up.
At this stage, your important files should already be off the card. In File Explorer, right-click the SD card, hit Format, then pick the file system. For most newer SD cards, exFAT tends to be the safe pick since it handles large files and works with a lot of devices.
After formatting, test it before trusting it. Copy a few files over. Delete them. Write again. Read them back. I’ve had cards pass a format and still act weird an hour later.
One thing I learned the annoying way, corruption often shows up before full failure. If a card starts doing this more than once, I stop using it for anything I care about. Photos, video, trip footage, client work, none of it goes back on taht card. I replace it.