keepcalculator

06 Numbers and Powers

Recover Corrupted SD Card: Step-by-Step Fix

Card No. 06·69086 · Updated · Standard formula, shown below

Yes, you can often recover a corrupted SD card yourself using built-in tools like Windows chkdsk or macOS First Aid, and if those fail, free data recovery software can usually retrieve your files. This guide walks you through the exact steps, explains why corruption happens, and tells you when to stop and seek professional help.

What Does “Corrupted” Actually Mean?

An SD card becomes corrupted when the file system that maps where data is stored becomes damaged or unreadable. The card may show as RAW, ask to be formatted, or display errors like “You need to format the disk before you can use it.” Corruption is not the same as physical damage—a card with a broken controller chip or cracked circuit board cannot be fixed by software. Logical corruption, which is the recoverable kind, happens when the file allocation table (FAT32/exFAT) or directory entries are overwritten or partially deleted.

Why Do SD Cards Get Corrupted?

  • Improper ejection: Pulling the card out while the camera or computer is still writing data is the most common cause.
  • Power loss: A camera battery dying mid-write or a laptop shutting down during a transfer can leave the file system in an inconsistent state.
  • Card reader issues: A faulty or cheap card reader can interrupt data flow and cause write errors.
  • Virus or malware: Some malware targets removable drives and can corrupt the boot sector or file entries.
  • Age and wear: SD cards have a limited number of write cycles; as they age, bad sectors can appear, leading to corruption.
  • Cross-device use: Using the same card in a camera, phone, and laptop without proper formatting can cause file system conflicts.

Step 1: Stop Using the Card Immediately

The moment you notice corruption, remove the card from the device and do not write anything new to it. Every new photo or file you save risks overwriting the very data you are trying to recover. If the card is in a camera, turn it off and take the card out. If it is in a phone, unmount it via settings before removing it. This is the single most important step—many recoverable cards become unrecoverable because people keep using them.

Step 2: Try Built-In Repair Tools First (Windows and macOS)

Before buying any software, try the free repair tools that come with your operating system. These tools fix file system errors without touching your actual files.

On Windows (chkdsk)

  1. Insert the SD card into your computer’s card reader.
  2. Open File Explorer, note the drive letter (e.g., E:).
  3. Open Command Prompt as Administrator (type “cmd” in Start, right-click, select “Run as administrator”).
  4. Type chkdsk E: /f (replace E: with your drive letter) and press Enter.
  5. Wait for the scan to finish. It will report if it fixed errors.

On macOS (First Aid)

  1. Insert the SD card.
  2. Open Disk Utility (from Applications > Utilities).
  3. Select your SD card in the sidebar (not the volume below it).
  4. Click “First Aid” and then “Run.”

If the tool reports that it fixed errors, your card may work again. If it fails or says the card is unreadable, move to the next step.

Step 3: Use Data Recovery Software (Free Options Work)

If chkdsk or First Aid cannot fix the card, your files are likely still there but the file system is too damaged. Data recovery software scans the raw card and rebuilds files from the remaining data. Free tools like Recuva, PhotoRec, and TestDisk are widely used and effective for logical corruption.

  • Recuva (Windows): User-friendly, good for photos and documents. Download, run, select your card, and scan. It shows which files are recoverable.
  • PhotoRec (Windows, macOS, Linux): Command-line based but very powerful. It ignores the file system and looks for file signatures, making it excellent for severely corrupted cards.
  • TestDisk (Windows, macOS, Linux): Can rebuild the partition table or boot sector, often fixing the card without needing to recover individual files.

Important: Install the recovery software on your computer’s hard drive, not on the SD card. Save recovered files to your computer’s hard drive or another external drive—never back to the same card.

Step 4: When to Stop and Seek Professional Help

If your photos are irreplaceable (e.g., a wedding, a once-in-a-lifetime trip), and the free software does not find them, stop trying. Every additional scan or repair attempt can overwrite data. Professional data recovery services use specialized hardware and cleanroom environments to read damaged cards at the chip level. This is expensive—often hundreds of dollars—but it is the only option for physically damaged cards or when software has failed. For most users, however, trying the steps above will recover the majority of files.

How to Prevent Future Corruption

  • Always eject the card safely: use “Safely Remove Hardware” on Windows, drag to trash on macOS, or unmount in Android.
  • Format the card in the device you will use it in (camera, phone) rather than in a computer, and format regularly (every few months or after major shoots).
  • Use a quality card reader and avoid USB hubs that may not provide stable power.
  • Buy genuine cards from reputable brands—counterfeit cards are a major cause of unexpected corruption.
  • Keep a backup: copy photos to a computer or cloud storage as soon as possible.

Frequently Asked Questions

Can I recover a corrupted SD card without software?

Yes, if the corruption is minor, Windows chkdsk or macOS First Aid can repair the file system and make the card accessible again. These tools do not recover deleted files, but they fix the structure so you can see and copy your existing files. If the card still shows as RAW or unreadable after using them, you will need dedicated recovery software.

Why does my SD card say “card is not formatted”?

This means the file system is missing or damaged. The card is not blank—your files are likely still there. Do not click “Format” because that will erase the file system and make recovery much harder. Instead, run chkdsk or use recovery software to extract the files before formatting.

How long does SD card recovery take?

It depends on the card’s capacity and the scanning method. A quick scan of a 32GB card might take 10-20 minutes, while a deep scan (which searches for file signatures) can take several hours. Larger cards (128GB+) may take overnight. The speed also depends on your computer and card reader speed.

Can I use the SD card again after recovery?

Yes, but after you have recovered all the files you need, you should format the card completely (using the SD Association’s official formatter tool is recommended). This resets the file system and clears bad sectors. However, if the card has failed once, it is more likely to fail again—consider replacing it, especially if it is old or has been used heavily.

Are free data recovery tools safe?

Generally yes, if you download them from the official websites. Recuva, PhotoRec, and TestDisk are widely used and trusted. Be cautious of fake “free” tools that bundle adware or malware. Always scan downloaded files with your antivirus, and never install recovery software onto the card you are trying to recover.

What is the difference between quick format and full format?

A quick format only removes the file system index, making the card appear empty, but the actual data remains until overwritten. A full format writes zeros to the entire card, permanently erasing all data. For recovery, you want to avoid any format until you have recovered your files. After recovery, a full format is better to ensure the card is clean and to mark bad sectors.

Related

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

The whole Numbers and Powers drawer →