If your SD card is corrupted, you’ll usually see errors like “card needs formatting,” files disappearing, or the card not mounting at all. The fix depends on the cause, but for most logical corruption you can recover your files and repair the card using built-in tools before giving up on it.
What “Corrupted” Actually Means
SD cards store data as tiny magnetic or electrical charges in flash memory cells. The card’s controller keeps track of where each file lives using a file allocation table (FAT32 or exFAT). When that table gets damaged, the operating system can’t find the files even though the data may still be physically present. Corruption is rarely physical damage to the memory chips; it’s usually a broken index.
Common causes include:
- Removing the card while the device is writing to it
- Power loss during a write (battery died mid-save)
- Using the card across devices with different formatting (cameras, phones, PCs)
- Fake or counterfeit cards with a smaller real capacity than advertised
- Physical damage from bending, water, or extreme heat
Knowing the cause helps you choose the right fix. Logical corruption (broken file table) is often repairable; physical damage is not.
First Steps: Stop Using the Card
As soon as you notice corruption, remove the card from the device and do not write anything new to it. Every new write can overwrite the very files you’re trying to recover. If the card is in a camera or phone, turn the device off before removing it.
Insert the card into a computer using a card reader. Laptop SD slots work, but a USB reader is often more reliable. If the computer recognizes the card at all, you have a good chance of recovery. If it doesn’t, try a different reader and a different USB port before assuming the card is dead.
Recover Files Before Repairing
Never format a corrupted card before attempting file recovery. Formatting rebuilds the file table and can make recovery much harder. Use recovery software that scans for raw data rather than relying on the existing table. Many free tools can recover photos, videos, and documents from FAT32/exFAT cards.
Steps to follow:
- Download a reputable recovery tool (e.g., PhotoRec, Recuva, or a similar free option).
- Select the SD card drive letter, not a folder.
- Choose “deep scan” if available; it takes longer but finds more.
- Save recovered files to your computer’s hard drive, never back to the same card.
- Check the recovered files by opening a few. If they’re corrupt, the card may have physical issues.
Recovery success depends on how much new data was written after corruption. The sooner you stop using the card, the better.
Repair the File System (Windows, Mac, Linux)
Once your files are safe, you can try to repair the card’s file system. Each operating system has a built-in tool.
Windows:
- Open Command Prompt as administrator.
- Type
chkdsk E: /f(replace E: with your card’s drive letter). - Let it run; it will attempt to fix file system errors.
- If it says the card is RAW or cannot be read, skip to formatting.
Mac:
- Open Disk Utility (in Applications/Utilities).
- Select the card in the sidebar.
- Click “First Aid” and then “Run.”
Linux: Use fsck on the device node, e.g., sudo fsck /dev/sdb1. Unmount the card first.
If the repair tool reports errors but completes, try reading the card again. If it still fails, the file system is too damaged and a full format is the next step.
Formatting: The Last Software Fix
Formatting erases the file table and rebuilds it from scratch. It does not necessarily erase the underlying data (that’s why recovery is still possible after a quick format), but it makes the card usable again.
Choose the correct file system:
- FAT32: Works with almost everything, but individual files can’t exceed 4GB. Good for older cameras and devices.
- exFAT: No file size limit, works with modern cameras, phones, and Windows/Mac. Best default for cards 32GB and larger.
- NTFS: Mostly for Windows; many cameras and phones can’t read it. Avoid unless you know you need it.
Use the SD Association’s official formatting tool (SD Card Formatter) rather than the OS’s built-in formatter. It properly resets the card’s protected areas and often revives cards that Windows refuses to format. In Windows, you can also use diskpart to clean the card if the normal format fails, but this is more advanced.
When It’s Physically Dead
If the card still won’t mount after recovery, repair, and formatting, the controller chip or memory cells may be physically damaged. Signs of physical failure include:
- The card gets hot in the reader
- It mounts and then disconnects randomly
- Recovery software sees the card but reads all zeros
- The card is visibly cracked or bent
In these cases, professional data recovery may work but is expensive (often hundreds of dollars). For most consumer cards, it’s more cost-effective to replace the card. However, if the photos are irreplaceable, a professional service can sometimes read the raw memory chips directly. Never attempt to open the card yourself; you’ll likely destroy it.
Preventing Future Corruption
Most corruption is preventable. Simple habits reduce the risk dramatically:
- Always “eject” or “safely remove” the card before pulling it out.
- Use the camera’s “format” function rather than deleting files individually; it refreshes the file table.
- Buy cards from reputable brands and retailers. Counterfeit cards are a major cause of mysterious corruption.
- Replace cards every few years if used heavily; flash memory has a finite write cycle.
- Keep cards away from magnets, extreme heat, and moisture.
- Back up important files to a second drive regularly.
Frequently Asked Questions
Can I fix a corrupted SD card without losing data?
Yes, if the corruption is logical. Use recovery software to copy files to your computer first, then run chkdsk or format the card. The data is usually recoverable unless the physical chip is damaged.
Why does my SD card say “card not formatted” when I know it has files?
This message appears when the file allocation table is unreadable. The files may still be there. Do not format immediately; try recovery software first. If the card is from a camera, the camera may have its own recovery option.
Is a corrupted SD card permanently damaged?
Not necessarily. Logical corruption (broken file table) is common and repairable. Physical damage (broken controller, dead memory cells) is permanent. If the card mounts at all, it’s likely logical.
How do I know if my SD card is fake?
Fake cards often show a capacity that doesn’t match actual storage. Test with a tool like H2testw (Windows) or F3 (Mac/Linux). If the card fails to write/read the full advertised capacity, it’s counterfeit and will corrupt repeatedly.
Should I use a full format or quick format?
For repairing a corrupted card, a full format is better because it checks for bad sectors and remaps them. It takes longer but gives a more reliable card. After a full format, the card is usually safe to reuse.
Can I use a corrupted SD card in another device?
Yes, but don’t. If a card corrupts in one device, using it in another may cause the second device to also have read/write errors. Repair and format the card on a computer first, then reformat it in the target device before use.
Related
Formula used
in t | Finish time | min | 50 | 0 in d | Distance | km | 10 | 0 | 100000 out pace | Average pace | min/km | t / d | 2 out speed | Average speed | km/h | d / (t / 60) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Connect Phone to Controller for Cloud Gaming
- Python Search Highlighting: Snippets & Matches
- Secure Boot Battlefield 6 ASUS: Fix & Enable Guide
- Best Tech Websites to Follow for Pros & Beginners
- Second Wind Quest Walkthrough: Where Winds Meet6.00 min/km
- Enshrouded Weapon Upgrade Guide: How to Improve Gear5.00 min/km