Quick answer:

  1. 1️⃣ Card not detected at all: test it in another card reader, USB port or PC first.
  2. 2️⃣ Shows in Disk Management with no letter: right-click it > Change Drive Letter and Paths > Add.
  3. 3️⃣ Windows asks you to format it or calls it RAW: Flash Drive Recovery scans it read-only and saves files elsewhere.
  4. 4️⃣ Files already copied off: run chkdsk E: /f, then format with SD Memory Card Formatter.
SoftOrbits Flash Drive Recovery Screenshot.
️ Eugene - CEO at SoftOrbits, Candidate of Technical Sciences, has more than 16 years of expertise in software development, photo and multimedia applications, enhancing and transforming digital images and videos.
📅 Last updated on:  2026-11-04

Here is how to fix corrupted SD card errors when the card holds the only copy of your photos: follow the fixes in order. Start with the checks that write nothing and format only after the files are safe.

What you will learn
Apply in 20 min Saves 3 hMedium

What you'll need
  • A Windows 10 or 11 PC, plus a second card reader or USB port to test with
  • Free space on the PC's own drive larger than the photos and videos on the card
  • Flash Drive Recovery if Windows asks to format the card or shows it as RAW
  • SD Memory Card Formatter from the SD Association for the final format

How to fix an SD card that is not being read: start with the reader

TL;DR

Test the card in a second reader, a different USB port or another computer before you open any repair tool. A worn or faulty reader can report a healthy card as unreadable or write-protected, and this check writes nothing to the card.

Plug the reader straight into a port on the PC, not into a hub or the front panel of a desktop case. If the camera or phone that took the photos is available, put the card back in it. A card that works in one device and fails in another points to the reader or its driver.

On Windows, open Device Manager while the card is inserted. A yellow warning mark next to the reader under Disk drives or Universal Serial Bus controllers suggests a driver problem. Right-click the device, choose Uninstall device, unplug the reader and plug it back in so Windows reinstalls the driver.
If the card shows up nowhere, in no reader and in no device, go to section on dead cards further down. If it shows up in Disk Management but not in File Explorer, give it a drive letter.

How to assign a drive letter to an SD card in Disk Management

Open Disk Management from the Win+X menu

Press Win+X and click Disk Management. Give it a few seconds to list every disk.

Find the SD card by its size and the Removable label

Look for a disk marked Removable with your card's capacity and note what its partition says, for example FAT32 or RAW. If it says Unallocated, do not create a new volume there, because that writes a fresh file system over your data.

Right-click the partition and choose Change Drive Letter and Paths

A partition without a letter is invisible in File Explorer, and this menu is where you add one.

 Disk Management menu on a removable SD card partition with the drive letter menu item highlighted..

Click Add and pick a free letter

Choose Assign the following drive letter, select a letter such as E, and click OK.

 Add Drive Letter or Path dialog with letter E selected for the SD card..

Open the card in File Explorer and copy your files

If the folders open, copy everything to your PC before trying another fix.

SoftOrbits Flash Drive Recovery SoftOrbits Flash Drive Recovery

SoftOrbits Flash Drive Recovery restores files from USB sticks, memory cards, and cameras. It brings back deleted and corrupted files after quick formatting or file-system errors, with FAT32 and NTFS support and scans tuned for real-world flash recovery jobs.

My SD card is corrupted and says to format it: are my photos still on it?

TL;DR

Windows shows the "You need to format the disk" prompt when it cannot read the card's file system, the table that records where each file sits. The photos usually stay where they were, and clicking Format replaces that table with an empty one.

A transfer cancelled as it starts, a card pulled out while the camera is saving, or a battery that dies mid-burst can leave the boot area or file allocation table half written. Windows then offers to start over.

Click Cancel on the format prompt. A format writes a new, empty file system to the card, and any recovery after that has less to work with. Do not format until your files are on another drive.

How to fix a corrupted SD card without formatting: copy the files off first

TL;DR

Copy the files before any repair, because chkdsk and format both write to the card. Flash Drive Recovery opens the card read-only, lists what it finds in a preview and saves the files to a folder on your PC, so the card stays as it was for the fixes that follow.

SLR Lounge's data-first guide for photographers gives the same order: stop using the card, recover to a separate drive, check the files, then troubleshoot or reformat.

Repair first
  • chkdsk /f rewrites the file allocation table
  • Format writes a new, empty file system
  • Whatever those writes change stays changed
VS
Copy first
  • A read-only scan writes nothing to the card
  • Your files are saved to the PC's own drive
  • chkdsk and format can no longer cost you a photo

Scan the card and save the files to another drive:

Install the program on your PC, not on the card. When it starts, Windows asks for administrator permission. Allow it so the program can read the raw device when the card's volume does not respond. The drive list shows removable media only. Pick the card and run the quick scan first. It reads what is left of the file system and keeps folder names and paths.
 Flash Drive Recovery drive list with a removable SD card selected for scanning..

If the quick scan comes back empty or with folders missing, switch to the deep scan. It reads every sector and finds files by their signature when no directory is left. Expect it to take about as long as reading the whole card. Our 14.5 GB test stick needed close to 15 minutes at 17 MB/s. Found files appear while the scan runs, and you can open photos and documents in the preview before saving them. Save them to the PC's internal drive, never back to the card.

 Flash Drive Recovery preview listing photos and videos found on a corrupted SD card..

What came back in our test:

We ran the same engine on a FAT32 USB flash drive and on images of it, using 32 files of eight types (117.2 MB) whose checksums we took first. To the program a card and a stick are the same kind of removable FAT or exFAT media, but the numbers below come from the stick, not from a physical SD card.
 8 keep the full name, the rest come back as short 8.3 names</td></tr><tr><td>Folder record wiped</td><td>32 of 32, identical</td><td>Files collected in a folder named FOLDER0000</td></tr><tr><td>No directory left (signature search)</td><td>28 of 32 exact</td><td>Files named by type and position, such as jpg_0100C000.jpg</td></tr><tr><td>Quick format to exFAT</td><td>142 of 144 found</td><td>Files with their original names</td></tr></table>.

32 of 32
deleted files returned byte-for-byte with correct paths in our test of Flash Drive Recovery on a FAT32 USB flash drive (32 files, 117.2 MB)

If you would rather compare tools before choosing one, our roundup of SD card recovery software covers other options.

SoftOrbits Flash Drive Recovery
SoftOrbits Flash Drive RecoveryCard asks to be formatted? Scan it read-only on Windows and preview your photos before you change anything.

How to run chkdsk on an SD card and keep your files

TL;DR

Run chkdsk with the /f switch from an administrator Command Prompt, and only after your files are copied. Microsoft's chkdsk reference warns that repairs on FAT file systems usually change the file allocation table and sometimes cause a loss of data.

Type cmd in the Start menu, right-click Command Prompt and choose Run as administrator. Then run the check:

chkdsk E: /f
The /f switch fixes errors and needs the drive locked, so close any File Explorer window that has the card open. Adding /r also locates bad sectors and recovers readable information. It takes much longer, so use it after the files are copied. You can also right-click the card in File Explorer, open Properties > Tools and click Check.

chkdsk repairs corruption that blocks access, but it cannot bring back deleted or missing files. On FAT, the repair itself can lose data.

Command Prompt is also where diskpart lives. Leave its clean command alone unless you have given up on the files, because it wipes the card's partition table.

Why chkdsk is not available for RAW drives, and what to do instead

TL;DR

RAW means Windows found no file system it recognizes on the card, so chkdsk has nothing to repair and stops with "CHKDSK is not available for RAW drives." The card may still be healthy. The files often sit untouched in their sectors, where a recovery scan can find them by file signature.

32
file types Flash Drive Recovery can find by signature when the card has no readable file system, including JPG photos, ORF and RAF camera RAW files and MP4 video

For a RAW card, run the deep scan, save the files to the PC, open a few of them to check, and then format the card. Skip any tool that offers to rebuild or recreate the partition before your files are out, since that writes to the card first.

How to remove write protection from an SD card

TL;DR

Check the lock switch first. On a full-size SD card or a microSD adapter, slide it up toward the contacts. If Windows still says "The disk is write protected", try a second reader, then clear the read-only flag with diskpart.

The switch is a small plastic slider that tells the reader to block writes, and a loose one can slip back into the lock position. A microSD card has no switch of its own, so with an adapter the adapter's slider is the one that counts.

If both readers agree, open Command Prompt as administrator and type diskpart. Inside it, run these lines one at a time, replacing 2 with the number that list disk shows for your card. Check the size column twice so you work on the card and not on another disk.
list diskselect disk 2
attributes disk clear readonly
Microsoft's attributes disk reference lists the command and its options. When the flag comes back after a restart, or the card refuses writes in every reader with the switch off, treat the card as failing and replace it once the files are off. SanDisk's own community forum has threads on this message, and our guide to the SanDisk USB repair tool covers the same error on their flash drives.

How to format a damaged SD card after the files are copied

TL;DR

Format only after your files are on another drive and open there. The SD Association strongly recommends its SD Memory Card Formatter for every SD card type.

Install the formatter on the PC, select the card by its letter and size, and leave Quick format selected for the first try. Use Overwrite format if a quick format fails or the card keeps showing errors afterwards. It is slower and leaves nothing for a recovery tool to find.

 SD Memory Card Formatter with the SD card selected and Quick format chosen..

Windows can format the card too. Right-click it in File Explorer, choose Format, pick the file system and keep Quick Format ticked. Under the SD card standard, SDHC cards up to 32 GB use FAT32 and larger SDXC cards use exFAT, and cameras expect the matching one. If the format stops with an error, read the section on dead cards before trying again.

Already clicked Format?

Stop using the card. A quick format writes a new, empty table and leaves the file contents in place until new photos overwrite them. In our exFAT test after a quick format, the scan found 142 of 144 files with their names. Our guide on how to recover a formatted SD card walks through that case step by step.

Can a corrupted SD card be fixed? Match the error to the fix

TL;DR

Yes, when the damage is in the file system and the flash chip still works. Then a drive letter or chkdsk brings the card back, and a format does when they fail. A card that no reader detects, or one that stays read-only everywhere, has a hardware fault, and then the goal changes from fixing the card to saving the files.

Find the message Windows shows you in the first column, then read across to see how to fix corrupted SD card errors of that kind.

What you seeLikely causeFirst moveRisk to your files
Card not detected in any reader or PCReader, port or failed cardSecond reader, another PCNone
Listed in Disk Management, no drive letterLetter not assignedAdd a drive letterNone
"You need to format the disk"Damaged file systemRead-only recovery scanHigh if you click Format
RAW, chkdsk not availableFile system not recognizedDeep scan, then formatHigh if you rebuild the partition first
Folders open, some files give errorsFAT errorsCopy files, then run chkdsk /fMedium on FAT
"The disk is write protected"Lock switch, reader or worn cardSwitch, second reader, diskpartLow
Format fails right awayFailing flash or controllerCopy what still reads, replace the cardThe card is near its end

In both high-risk rows Windows offers a fix that writes to the card.

How to fix a corrupted micro SD card on Android

TL;DR

Take the card out and try it in a PC first. A phone that reports the SD card as corrupted may be failing to read a card that a computer opens without trouble, and on Windows you can copy the photos off before you go near the phone's format option.

Before removing it, restart the phone so it mounts the card again. Then power off, take the card out and check the contacts for dirt or a bent adapter. If the PC reads it, copy the files and follow the Windows steps above. If the PC asks to format it as well, use the same order: micro SD card recovery software first, format last.

Android's own format option erases the card the same way Windows does. Menu names differ between Samsung, Pixel and other phones, so look for SD card or Portable storage under Settings > Storage, and treat any Format button there like the Windows prompt.

What causes SD card corruption?

TL;DR

SD card corruption usually starts with a write that did not finish. The card comes out during a transfer, or the camera battery dies while it is still saving. Worn flash and faulty readers account for most other cases, and they show up as write errors or a card that stops being detected.

A card keeps its file map in a few small areas near the start. A write that stops halfway can leave that map pointing at the wrong clusters while every photo is still intact, which is how one bad eject leaves an SD card corrupted, with a full card looking empty or RAW. Ejecting the card in Windows, or switching the camera off before you pull it, prevents most of these. The same failure modes hit USB sticks, and for a Kingston drive our Kingston USB recovery tool guide covers the vendor's own utility.

Can you fix a corrupted SD card that is physically dead?

TL;DR

Treat the card as failing when no reader or device detects it, when it turns write-protected again after you clear the flag, or when every format fails. At that point stop running repairs, copy whatever still reads and replace the card.

A card that goes read-only on its own is usually failing. Even a clean surface scan does not save it. In one case a 32 GB card refused all writes while a surface scan reported zero bad sectors. A recovery specialist's advice was to recover the files and move them to something more affordable.

If no reader detects the card and the photos matter, a data recovery lab can sometimes read the memory chip directly. That costs far more than a new card, so it has sense only for files you cannot replace. For photos that a reader can still see, try a desktop tool first, and our list of photo recovery software compares the options.

Sources

SoftOrbits Flash Drive Recovery SoftOrbits Flash Drive Recovery
How to fix corrupted SD card on Windows in the safe order: check the reader, add a drive letter, copy files off read-only, then run chkdsk or format.
SoftOrbits Flash Drive Recovery Screenshot.


🙋Frequently Asked Questions

No. Formatting writes a new, empty file system and usually clears corruption, but it also removes the map to your files. Format only after your photos are copied to another drive, and use SD Memory Card Formatter for SD, SDHC and SDXC cards.

Try a second card reader first, then another PC. If Disk Management lists the card without a letter, add one in Disk Management. If no device detects it at all, the card or its controller has likely failed.

Move the card to a Windows PC and copy the files there first. If the PC opens it, run chkdsk on it. If the PC also asks to format, run a read-only recovery scan before any format, since the phone's format option erases the card like the Windows one.

Match the error to its cause. A "needs to be formatted" or RAW message means file system damage, so recover the files and then run chkdsk or format. "Write protected" points to the lock switch, the reader or a worn card. A card that is not detected needs a reader test.

Test it in another reader and another device, because the reader is often at fault. If Windows sees the card but cannot open it, copy the files with a read-only recovery tool, then repair or format it. A card that fails everywhere should be replaced.

Open Command Prompt as administrator and run chkdsk E: /f with the card's own letter in place of E. Add /r to look for bad sectors. On FAT32 cards the repair can change the file allocation table, so copy your files off before running it.

Command Prompt gives you two tools. chkdsk E: /f repairs file system errors, and diskpart with attributes disk clear readonly removes a stuck read-only flag. Avoid diskpart clean unless you have given up on the files, because it wipes the card's partition table.

Often yes, as long as you have not formatted it or saved new files to it. Cancel the prompt and use data recovery software for a corrupted SD card: Flash Drive Recovery scans the card read-only and saves the videos to your PC. Formatting first lowers the odds.

Yes. The free download of Flash Drive Recovery scans the card and shows the files it finds in a preview, so you can check that your photos are there. Saving the files requires a licence.