TechBuzzPro

How to Fix a Corrupted SD Card (Step-by-Step)

· 5 min read · Cameras & Drones

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your SD card is corrupted, you'll typically see errors like "card not recognized," "needs formatting," or files that won't open. In many cases you can fix it yourself by running built-in repair tools or reformatting the card. Start with the simplest fix (replugging the card) and move through the steps below; if the card is physically damaged or the controller chip is dead, no software fix will work and you'll need a new card.

What You'll Need

  • A computer with an SD card slot or a USB SD card reader
  • The SD card you want to fix
  • For Windows: a PC running Windows 10 or 11 (steps are similar on older versions)
  • For Mac: a Mac running macOS (steps are similar on most recent versions)
  • Optional: a different card reader to rule out reader issues

Step-by-Step

  1. Try a different port or reader. Remove the SD card and insert it into another card slot or a USB reader. Sometimes the reader or port is the problem, not the card. If the card works elsewhere, your reader is faulty.
  2. Check the physical lock switch. SD cards have a small slider on the side. If it's in the "lock" position, the card is read-only and you'll get write errors. Slide it to the unlocked position and try again.
  3. Run Windows Error Checking (Windows). Insert the card, open File Explorer, right-click the drive letter for the SD card, select Properties, go to the Tools tab, and click Check under Error Checking. If prompted, choose "Scan and repair drive." This will fix file system errors without erasing your data.
  4. Run First Aid (Mac). Open Disk Utility (in Applications > Utilities), select your SD card in the sidebar, and click First Aid at the top. Click Run and let it finish. This checks and repairs the file system.
  5. Try the CHKDSK command (Windows, advanced). Open Command Prompt as administrator (search "cmd," right-click, "Run as administrator"), type chkdsk X: /f (replace X with the drive letter of your SD card), and press Enter. Let it complete. This is a more thorough repair than the GUI method.
  6. Reformat the card (if repair fails or you don't need the data). If the card still isn't working, reformatting will erase everything but often fixes corruption. On Windows: right-click the drive in File Explorer, select Format, choose FAT32 (for cards 32GB and under) or exFAT (for 64GB and larger), and click Start. On Mac: in Disk Utility, click Erase, choose MS-DOS (FAT) for 32GB or less, or ExFAT for larger, and click Erase.
  7. Use SD Card Formatter (official tool). Download the official SD Memory Card Formatter from the SD Association website (sdcard.org). It's free and works on Windows and Mac. Insert the card, open the tool, select the card, choose "Overwrite format" if you want a deeper clean, and click Format. This is the most reliable way to fully reset the card's file system.
  8. Test the card after fixing. After any repair or format, copy a few files to the card, eject it properly, reinsert it, and verify the files open. This confirms the card is stable.

Common Mistakes

  • Using the wrong format. Formatting a 64GB card as FAT32 can cause issues on some devices; use exFAT for larger cards.
  • Ejecting without safely removing. Always use "Eject" or "Safely Remove Hardware" before pulling the card. Pulling it during a write can corrupt it again.
  • Ignoring the lock switch. If the card is locked, you'll see write errors even though the card is fine.
  • Using a low-quality card reader. A faulty reader can cause read/write errors that look like corruption.
  • Formatting when you only need to repair. If you have important data, try the repair steps first. Formatting erases everything.

Tips

  • Back up important data regularly. SD cards are not permanent storage; they wear out after many write cycles.
  • Use the official SD Card Formatter for a more thorough format than the built-in OS tool.
  • If the card is used in a camera or phone, format it in that device occasionally to keep the file system aligned with the device's expectations.
  • If the card is new and fails immediately, it might be counterfeit or defective; try a different brand.
  • Keep the card away from magnets, heat, and water. Physical damage can cause corruption.

Troubleshooting

If the card still isn't recognized after trying the steps:

  • Try another computer. If the card works on another PC, the issue is with your original system's card reader or drivers.
  • Check Device Manager (Windows). Look for the card under "Disk drives" or "Portable Devices." If there's a yellow warning icon, right-click and "Update driver."
  • If the card shows as RAW or unallocated, you may need to initialize it. In Windows Disk Management, right-click the disk and select "Initialize Disk" (this erases data). On Mac, Disk Utility may show "Unmounted" – click Mount first.
  • If CHKDSK says "The type of the file system is RAW," the file system is damaged beyond repair; you'll need to format the card (step 6 or 7).
  • If the card is physically damaged (bent, cracked, or the metal contacts are corroded), no software fix will help. Replace the card.
  • If data recovery is critical and the card is not recognized, stop using the card immediately and try a data recovery tool like Recuva or PhotoRec (free) before formatting. But note: these tools may not work if the card is physically dead.

Frequently Asked Questions

Can a corrupted SD card be fixed without formatting?

Yes, if the corruption is in the file system, running CHKDSK (Windows) or First Aid (Mac) can repair it without erasing your data. If the card is physically damaged, formatting won't help.

Why does my SD card say "card is not formatted"?

This usually means the file system is corrupted or the card was removed during a write. Try the repair steps first; if that fails, format the card.

Will formatting an SD card erase everything permanently?

Yes, formatting erases all data. However, with recovery software, some data might be recoverable if you haven't overwritten it. For sensitive data, use a secure erase tool.

How do I know if my SD card is physically damaged?

If the card is cracked, bent, has corroded contacts, or isn't detected on any computer or device, it's likely physically damaged. Software can't fix that.

What's the difference between FAT32 and exFAT?

FAT32 is older and works with almost all devices but has a 4GB file size limit. exFAT is newer, supports larger files and cards, and is best for cards 64GB and above.

Can I use CHKDSK on a Mac?

No, CHKDSK is a Windows command. On Mac, use Disk Utility's First Aid instead.