Repair a Crashed SD Card & Protect Your Data
In this article
Yes, you can often repair a crashed SD card yourself using built-in tools like chkdsk (Windows) or Disk Utility (macOS), and you can protect your data by stopping use immediately and recovering files before attempting any repair. The key is to act methodically: first recover what you can, then repair the card, and finally adopt habits that prevent future crashes.
Why SD Cards Crash in the First Place
SD cards are flash memory devices with no moving parts, but they still fail. The most common causes include:
- Improper ejection – pulling the card out while the device is writing data can corrupt the file system.
- Power loss – a camera or phone dying mid-write leaves incomplete data structures.
- Physical damage – bent pins, cracked casing, or water exposure.
- Wear and tear – every cell has a limited number of write cycles; after years of use, cells begin to fail.
- Counterfeit cards – fake cards often have incorrect controller firmware that causes random crashes.
A “crash” usually means the device no longer recognizes the card, or the card shows as RAW, unformatted, or with an error like “Please insert a disk.” The data is often still there, but the file system that organizes it is damaged.
Immediate Steps to Protect Your Data
Before you try any repair, stop using the card. Every new write can overwrite the very files you want to recover. Then:
- Remove the card from the device and set it aside.
- Check the lock switch – if it’s in the locked position, slide it back; a locked card can appear “crashed” in some readers.
- Try a different card reader – the reader itself may be faulty. Use a direct USB reader rather than a built-in laptop slot if possible.
- Connect the card to a computer – do not attempt to format or “fix” it yet.
If the card is recognized by the computer, your first priority is to copy all important files to your hard drive or cloud storage. If it isn’t recognized, proceed to recovery software before any repair tool.
How to Repair a Crashed SD Card
Once you have recovered (or attempted recovery of) your data, you can try to repair the card itself. The method depends on the symptom:
1. File System Errors (Card is visible but shows 0 bytes or RAW)
On Windows, open Command Prompt as administrator and run:
chkdsk E: /f /r
Replace E: with your card’s drive letter. The /f flag fixes errors, and /r locates bad sectors. This can take a long time on large cards. On macOS, use Disk Utility → First Aid, which performs a similar check.
2. Unreadable or “Please Insert a Disk”
If the card is not recognized at all, try the Disk Management tool on Windows (right-click Start → Disk Management). If the card appears as “Unknown” with a RAW or unallocated partition, you can assign a drive letter or initialize it – but this will erase the data. Only do this after you’ve given up on recovery.
3. Formatting as a Last Resort
If chkdsk fails, formatting the card with the SD Association’s official SD Card Formatter tool is the next step. This tool overwrites the entire card with the correct file system (FAT32, exFAT, or NTFS) and often revives cards that standard Windows formatting cannot. It is free and available from the SD Association website.
When to Stop and Buy a New Card
Not every card can be repaired. If you see any of these signs, the card is physically failing and repairs will only be temporary:
- The card works for a while, then crashes again within days.
- You hear a clicking sound (unusual for flash, but can happen with internal issues).
- The card is physically bent, cracked, or has corroded contacts.
- It is a very old card (5+ years) with heavy use.
- It is a counterfeit card – these often have a much smaller real capacity than labeled, and they fail permanently.
Professional data recovery services can sometimes rescue data from physically damaged cards, but they are expensive (often $300–$1000+) and not worth it for most personal photos or documents.
How to Choose a Reliable SD Card
Prevention is far better than repair. When buying a new card, look for:
- Brand reputation – SanDisk, Samsung, Kingston, Lexar are well-known, but even these can be counterfeited. Buy from authorized sellers.
- Speed class – Class 10 or UHS-I/UHS-II for most cameras and phones. For 4K video, look for V30 or higher.
- Capacity vs. price – If a 1TB card is suspiciously cheap, it’s likely fake. Stick to known capacity-to-price ranges.
- Warranty – Many reputable brands offer 5-year or lifetime warranties. Keep your receipt.
Also, avoid using the same card in multiple devices continuously – some devices format cards differently, which can cause corruption.
Best Practices to Prevent Future Crashes
- Always eject properly – use the “Safely Remove Hardware” option on Windows, or drag the card to the trash on macOS.
- Format in the device – format the card in the camera or phone you will use it in, not in a computer, to ensure correct file system alignment.
- Don’t fill the card to 100% – leave at least 10% free space; controllers need room for wear leveling.
- Back up regularly – copy photos/videos to your computer or cloud after each shoot. SD cards are not archival storage.
- Keep cards in a protective case – avoid extreme heat, cold, and static.
- Test new cards – use a tool like h2testw (Windows) or F3 (Mac/Linux) to verify the real capacity and write speed of a new card before trusting it.
Common Misconceptions About SD Card Repair
“Formatting always fixes a crashed card.” – Formatting only rebuilds the file system. If the card has physical damage, formatting won’t help and may make recovery harder.
“Free recovery software is a scam.” – Some free tools are legitimate and effective (e.g., PhotoRec, Recuva), but they may not handle severe corruption. Paid tools like Disk Drill or R-Studio have higher success rates, but you can often try them free to see if files are recoverable before paying.
“You can’t recover data from a card that won’t mount.” – Not true. If the card’s controller is alive, data recovery software can often read raw data directly from the flash memory, even if the file system is gone.
Frequently Asked Questions
Can I recover photos from a crashed SD card for free?
Yes, you can. Tools like PhotoRec (open source) and Recuva (free version) can often recover photos from a card that is not mounting. The success rate depends on how much new data has been written since the crash. Stop using the card immediately to maximize your chances.
Why does my SD card say “Please insert a disk” when it’s inserted?
This usually means the card is not being detected by the computer’s card reader. Try a different reader, clean the metal contacts with a soft cloth, and check if the lock switch is in the correct position. If it still fails, the card’s controller may be dead, and professional recovery is needed.
Is it safe to use chkdsk on an SD card?
Yes, chkdsk is safe for file system errors. It will not erase your data (unless you use the /f flag with a card that has severe corruption – but it will usually warn you). Always back up what you can before running it.
How long does an SD card last?
Most SD cards are rated for 10,000–100,000 write cycles per cell, but in practice, cards typically last 5–10 years with moderate use. Heavy 4K video recording can wear them out faster. The card’s controller also plays a role; cheap cards fail sooner.
Can I use a crashed SD card after repairing it?
Yes, but with caution. If the repair was successful (e.g., chkdsk fixed errors), the card may work fine for a while. However, if the crash was due to physical damage or wear, it is likely to fail again. Use it only for non-critical data, and back up frequently.
What’s the difference between FAT32 and exFAT for SD cards?
FAT32 is older and compatible with almost all devices, but it cannot store files larger than 4GB. exFAT is the modern standard for SDXC cards (64GB and above) and supports large files, but older devices may not read it. Always format using the device’s recommended format.