Knowing how to fix a corrupted SD card without losing your photos starts with one rule: do not panic, and do not format the card. Most corrupted cards still hold your photos intact — what is broken is the file system that points to them. With the right tools and a careful sequence of steps, you can recover images from a damaged card at home, often for free.
I have helped friends, family, and clients rescue photos from failing memory cards over the past several years. The pattern is always the same: a camera or phone suddenly refuses to read the card, Windows pops up a “format the disk” warning, or the card shows the wrong capacity. The methods below cover every common scenario I have personally tested, from quick fixes like swapping card readers to deeper recovery with PhotoRec and CHKDSK.
This guide walks through what causes corruption, how to assess the damage, and the exact steps to recover your photos without wiping the card. We will also cover Android-specific recovery, Mac steps, when to call a professional, and how to prevent the problem from happening again.
Table of Contents
- What Causes an SD Card to Get Corrupted?
- Quick Diagnostic Steps to Assess the Damage
- Method 1: Try Another Device or Card Reader
- Method 2: Use the CHKDSK Command on Windows
- Method 3: Update or Reinstall SD Card Drivers
- Method 4: Use Data Recovery Software
- How to Fix a Corrupted SD Card on Android Without Losing Data?
- How to Recover Photos from a Corrupted SD Card on Mac?
- When to Seek Professional SD Card Recovery Services
- Warning: Why You Should Not Format the Card Prematurely?
- How to Prevent SD Card Corruption in the Future
- FAQs
- Final Thoughts: Bringing Your Photos Back Safely
What Causes an SD Card to Get Corrupted?
SD card corruption happens when the file system — usually FAT32 or exFAT — gets damaged, so the device can no longer find the files stored on it. The photos are often still physically on the memory chips, but the index that points to them is broken. Understanding the cause helps you pick the right fix and avoid making things worse.
Here are the most common causes of corruption that I see again and again:
Removing the card during a write — pulling a card out of a camera or phone while it is still saving a photo is the number one cause. Always wait for the write light to stop blinking.
Improper ejection from a computer — yanking the card without using the “Safely Remove Hardware” option can scramble the file table.
Power loss mid-transfer — a laptop battery dying while copying photos interrupts the write and damages the file system.
Using the card on multiple devices — moving the same card between a camera, phone, and computer without reformatting creates conflicting file tables.
Physical damage or wear — heat, humidity, drops, and simple age degrade the flash memory cells over time.
Virus or malware infection — rare, but plugging a card into an infected computer can corrupt the file structure.
Bad sectors developing — flash cells fail after many write cycles, and the card stops being able to read those blocks.
One subtle sign I always warn people about: when a 64GB card suddenly shows up as 32MB, that points to a damaged partition table. The card has not shrunk — the operating system simply cannot read the original partition boundaries.
Quick Diagnostic Steps to Assess the Damage
Before you try any fix, spend two minutes diagnosing what is actually wrong. The wrong first move can turn a recoverable card into a permanently dead one. Run through this checklist in order.
First, plug the card into a different card reader and a different computer. If the card reads fine on another machine, the problem is your reader or USB port — not the card. This single test saves people from needless panic more often than any other.
Next, note the exact error message you see. A “format the disk” prompt usually means file system damage that CHKDSK or recovery software can fix. A card that does not appear at all in Disk Management suggests a deeper hardware issue. If the card shows up but with the wrong capacity or as “RAW,” the partition table is damaged but the data is likely recoverable.
Finally, listen for unusual behavior. If the card gets unusually hot, clicks, or causes the computer to freeze every time it is connected, stop immediately. Those are signs of physical damage, and continued use can destroy the remaining data.
Method 1: Try Another Device or Card Reader
The cheapest fix is also the most overlooked. A faulty card reader, a worn USB port, or a loose adapter can produce symptoms that look exactly like corruption. I have seen dozens of “dead” cards come back to life the moment they were plugged into a fresh reader.
Try the card in at least two different devices: another computer, a different USB port, an external card reader instead of the built-in slot, or directly in a camera with a USB cable. If the photos show up on any one of those, copy them off immediately — do not keep using the card.
If the card still fails everywhere, move on to software methods. But this quick test takes five minutes and rules out the most common false alarm.
Method 2: Use the CHKDSK Command on Windows
CHKDSK is a built-in Windows tool that scans the file system for errors and repairs them automatically. It works best for cards with minor file system corruption — exactly the kind that triggers a “you need to format the disk” message. Best of all, it does not delete your photos.
Here is the exact step-by-step process I follow on Windows:
Plug in the card and note which drive letter Windows assigns to it (for example, E:). Open “This PC” to confirm.
Open Command Prompt as Administrator. Click Start, type “cmd,” right-click “Command Prompt,” and select “Run as administrator.”
Run the repair command. Type
chkdsk E: /f(replace E with your actual drive letter) and press Enter. The/fflag tells CHKDSK to fix errors it finds.Wait for the scan to finish. It can take anywhere from a few seconds to several minutes depending on card size and damage severity.
Check the results. CHKDSK reports how many errors it found and fixed. Open the card in File Explorer and see if your photos are now visible.
Copy your photos immediately to a safe location on your hard drive before doing anything else.
If CHKDSK reports “The type of the file system is RAW,” the file system is too damaged for CHKDSK to repair on its own. Move directly to Method 4 and use data recovery software.
On Mac, the equivalent tool is Disk Utility’s “First Aid” feature. Open Disk Utility, select the SD card, and click “First Aid” to run a similar scan-and-repair pass.
Method 3: Update or Reinstall SD Card Drivers
Sometimes the SD card is fine but the driver that lets Windows talk to it has gone stale or corrupt. Outdated drivers can cause read errors, dropped connections, and false corruption warnings. Updating them is quick and completely safe for your data.
To update the driver on Windows, press the Windows key + X and select “Device Manager.” Expand the “Disk drives” section, right-click your SD card, and choose “Update driver.” Pick “Search automatically for drivers” and let Windows find the latest version. If no update appears, right-click the card, choose “Uninstall device,” then unplug and replug the card so Windows reinstalls a fresh driver.
After updating or reinstalling, check whether the card now reads correctly. If photos appear, copy them off right away. If the card still shows errors, the problem is on the card itself and you need recovery software.
Method 4: Use Data Recovery Software
When CHKDSK and driver fixes do not work, recovery software is your next step. These tools scan the raw memory on the card and rebuild files directly from the data, bypassing the damaged file system entirely. They can recover photos even when the card shows up as RAW or appears completely empty.
I recommend starting with a free tool before paying for anything. Here are the three I have used and trust:
PhotoRec is free, open-source, and incredibly powerful. It ignores the file system and recovers files by scanning for file signatures, which makes it effective even on badly damaged cards. The trade-off is a text-based interface that takes getting used to, and it recovers files with generic names so you will need to sort through them afterward. For photographers, it works on JPEG, RAW, TIFF, and most video formats.
Recuva is another free option with a friendlier interface. Made by the same company as CCleaner, it offers a wizard that walks you through recovery step by step. It is best for cards with mild to moderate corruption rather than cards that show up as RAW.
Disk Drill is a paid tool with a free trial that lets you preview recoverable files before buying. It has a clean interface, supports hundreds of file formats, and includes a “Recovery Vault” feature that can protect cards in the future. The free preview alone is useful — you can see exactly which photos are recoverable before deciding whether to purchase.
The general process for any of these tools is the same: install the software on your computer (never on the SD card itself), plug in the card, select it as the target, run a deep scan, preview the recoverable photos, then save them to a folder on your hard drive. Never save recovered files back to the same card — that can overwrite the data you are still trying to recover.
One forum tip worth passing along: temporarily disable your antivirus before running recovery software. Several users report that antivirus programs flag recovery tools or interfere with the scanning process, causing false failures.
How to Fix a Corrupted SD Card on Android Without Losing Data?
Android users face a slightly different challenge because the phone may have adopted the SD card as internal storage, which ties the card to that specific device. If your phone suddenly says the SD card is corrupt, do not tap “Format” — that is the default prompt, and it will erase everything.
Start by powering off the phone completely and removing the card gently. Insert it into a card reader connected to a computer. From a computer, you can run CHKDSK (on Windows) or First Aid (on Mac) just as you would with any other card. Most Android-formatted cards use FAT32 or exFAT, which both tools can repair.
If the card was adopted as internal storage, recovery is trickier because Android encrypted it. The only way to read an adopted card is on the original phone it was paired with. Try reinserting it into the same phone — sometimes a reboot is enough for Android to remount the card. If the phone keeps rejecting it, try booting into Safe Mode, which disables third-party apps that might be interfering.
For photos stored on a non-adopted card, Android recovery apps like DiskDigger can recover images directly from the phone without a computer. The free version recovers lower-resolution thumbnails, while the paid version restores full-resolution photos. For important images, I still recommend pulling the card and using a computer with PhotoRec for the best results.
How to Recover Photos from a Corrupted SD Card on Mac?
Mac users have a solid built-in tool in Disk Utility. Open it from Applications > Utilities, select your SD card from the left sidebar, and click “First Aid” at the top. Disk Utility scans the card for file system errors and attempts repairs automatically. This handles the same type of corruption that CHKDSK fixes on Windows.
If First Aid cannot repair the card, the Terminal offers a deeper option. Open Terminal and run fsck_exfat -y /dev/diskNsM (replacing diskNsM with your card’s identifier, which you can find in Disk Utility by clicking “Info”). This runs a more aggressive file system check on exFAT-formatted cards.
For cards that need deeper recovery, Disk Drill was originally built for Mac and remains one of the strongest options. PhotoRec also runs on Mac through Terminal. Both let you scan the card and preview recoverable photos before committing to recovery.
When to Seek Professional SD Card Recovery Services
If the card is physically damaged — snapped in half, waterlogged, or visibly burned — no software can help. This is where professional recovery services come in. These companies open the card in a dust-free clean room, remove the memory chips, and read them directly with specialized equipment.
I have spoken with readers who used clean room recovery for irreplaceable wedding photos, and the process genuinely works for physically damaged cards. The technicians extract data straight from the flash chips, bypassing the broken controller entirely. The success rate is high when the chips themselves are intact.
Cost is the main consideration. Forum users frequently mention camera stores quoting $600 or more for recovery, while dedicated data recovery labs like 300 Dollar Data Recovery advertise flat fees around $300 for SD card work. Shop around — prices vary widely, and a flat-fee lab is almost always cheaper than a camera shop acting as a middleman.
Send the card to a professional when: the card is not recognized by any device, it shows physical damage, it gets hot when connected, or recovery software finds zero files after a full scan. At that point, DIY methods have been exhausted and further attempts risk damaging the chips further.
Warning: Why You Should Not Format the Card Prematurely?
This deserves its own section because it is the single biggest mistake people make. When Windows or your camera says “Format the disk?” the answer is no — not yet. Formatting does not immediately destroy your photos, but it overwrites the file system tables that make them easy to find.
A quick format simply clears the file allocation table, which means the data is still on the card and recoverable with software. A full format, however, writes zeros across the card and can permanently destroy your photos. Neither is something you want to do before attempting recovery.
Only format the card after you have recovered your photos to a safe location, and you are ready to reuse the card. When you do format, do it in the camera you plan to use the card in — not on the computer — to ensure the file system matches the camera’s expectations.
How to Prevent SD Card Corruption in the Future
Once you have recovered your photos, take steps to make sure this does not happen again. Most corruption is preventable with a few simple habits.
Eject before removing. Always use “Safely Remove Hardware” on Windows or drag to Trash on Mac before pulling the card. On cameras, turn the camera off before removing the card.
Wait for writes to finish. Never pull a card from a camera while the write indicator light is still blinking, even if the screen shows the photo.
Buy quality cards. Cards from reputable brands like SanDisk, Samsung, and Lexar fail far less often than no-name cards. Look for the real capacity and speed class you need.
Back up regularly. Copy photos off the card after every shoot. An SD card is not permanent storage — it is a temporary transport medium.
Format in-camera, not on computer. When you want to clear a card, format it in the camera you will use it in. This prevents file system mismatches.
Use one card per device. Avoid moving a card between a camera, phone, and computer without reformatting. Each device writes file tables differently.
Replace aging cards. Flash memory wears out. Replace cards every two to three years for critical work, or sooner if you notice slow performance.
Treat your SD cards as consumable items, not permanent archives. I replace my working cards every couple of years and keep older ones only for non-critical use.
FAQs
Can you recover photos from a corrupt SD card?
Yes, in most cases. A corrupted SD card usually has a damaged file system, not destroyed data. The photos remain physically on the memory chips and can be recovered using tools like CHKDSK, PhotoRec, Recuva, or Disk Drill. Recovery fails only when the memory chips themselves are physically damaged.
How to fix a corrupted SD card?
Start by trying the card in another reader or computer to rule out hardware issues. On Windows, run CHKDSK with the command chkdsk X: /f to repair file system errors. If that fails, update the SD card drivers in Device Manager. As a last resort, use recovery software like PhotoRec or Disk Drill to extract photos directly from the card’s memory.
How much does it cost to fix a corrupted SD card?
DIY recovery using free tools like PhotoRec or Recuva costs nothing. Paid software like Disk Drill typically costs under $100. Professional clean room recovery services range from around $300 flat fee at dedicated labs to $600 or more at camera stores acting as middlemen.
Can corrupted photos be repaired?
Sometimes. If a photo file is partially overwritten or has a damaged header, repair tools like JPEG Repair or Stellar Repair for Photo can rebuild the file. However, if the data has been fully overwritten or the memory chip is physically damaged, the photo is gone permanently.
What causes an SD card to get corrupted?
The most common causes are removing the card during a write, improper ejection from a computer, power loss during file transfer, using the same card across multiple devices without reformatting, physical wear on flash memory cells, and virus infections. Interrupted writes are the number one culprit.
Can chkdsk fix SD card?
Yes, CHKDSK can fix SD cards with file system errors such as bad sectors, cross-linked files, and damaged file allocation tables. Run it with the command chkdsk X: /f in an elevated Command Prompt. If the card shows up as RAW, CHKDSK may not work and you should use dedicated recovery software instead.
Final Thoughts: Bringing Your Photos Back Safely
Learning how to fix a corrupted SD card without losing your photos comes down to working through the methods calmly and in the right order. Try a different reader first, run CHKDSK on Windows or First Aid on Mac, update your drivers, and turn to recovery software like PhotoRec or Disk Drill for deeper problems. Save formatting and professional services as the options of last resort.
The most important thing I can tell you is this: do not format the card when the prompt appears. That single decision is the difference between recovering your photos and losing them. As long as you have not formatted or overwritten the card, the data is almost certainly still there waiting to be found.
Once your photos are safely on your hard drive, back them up to a second location — an external drive, cloud storage, or both. SD cards are reliable, but they are not bulletproof, and the next corruption event is always a possibility. Treat recovery as the emergency option and good backup habits as the everyday plan.