How to Fix a Corrupted SD Card and Save Files

Learn how to fix corrupted SD card errors by checking the connection, saving your files, repairing the filesystem, and formatting only when needed.

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered to your inbox.

To fix a corrupted SD card, check its connection, copy or recover your files, then repair its filesystem with Windows CHKDSK or macOS Disk Utility. If repair fails, formatting can make the card usable again, but it removes access to existing files. Replace a card that keeps producing errors after formatting.

The short version

  • Check access first: Reinserting the card or testing it in another compatible device can distinguish connection problems from corruption.
  • Save your files: Copy readable files or recover them to another drive before attempting repairs.
  • Repair before formatting: Use the filesystem repair tool for your computer once your important files are safe.
  • Know when to replace it: Persistent errors after formatting can mean the card needs replacement.

MethodWhen to use itMain limitation
Reseat and test the cardCard access is unreliableChecks connection and compatibility
Release the lock switchA card or adapter is write protectedDoes not repair damaged files
Assign a Windows drive letterAn accessible volume lacks a usable letterRestores access only
Windows File RecoveryFiles cannot be copied from an accessible source driveSaves recovered files to another drive
PhotoRecYou need files from a damaged filesystemLoses original filenames and folder structure
CHKDSK with /fWindows recognizes the filesystemRepair can lose damaged data
CHKDSK with /xThe volume needs dismounting before repairIncludes repair and its data risks
CHKDSK with /rYou need to recover readable information from affected sectorsCannot physically repair flash memory
macOS First AidThe card is visible in Disk UtilitySave important files before repair writes
Windows File Explorer formattingFiles are saved and repair has failedErases accessible contents
macOS Disk Utility formattingYou need to erase and reformat the cardFormat must suit the destination device
Galaxy storage formattingYour device has the Battery and device care layoutErases card contents
Alternative Galaxy formattingYour device has the Device care layoutErases card contents
Replace the cardErrors persist after formatting or compatible devices cannot recognize itSave remaining readable files first

Check the connection and access restrictions

For a Samsung phone or tablet with microSD support, remove and correctly reinsert the card, then test it in another compatible device or a PC card reader. Copy any accessible files elsewhere before attempting repair or formatting. These checks help distinguish a connection or compatibility problem from card corruption.

Check the physical lock switch if you use a full-size SD card or a microSD-to-SD adapter that has one. Move the switch upward, away from its locked position, and reinsert the card. This removes a write restriction, but it does not repair damaged files.

On Windows 11, a missing or conflicting drive letter can prevent access to an otherwise accessible volume. Open Disk Management as administrator, right-click the card’s volume, and select Change Drive Letter and Paths. Select Add or Change, select Assign the following drive letter, and choose an unused letter. Select OK, then Yes; this addresses letter assignment rather than corruption.

Recover important files before repair

When copying files fails, attempt recovery before making changes to the card. Windows File Recovery requires the card to be accessible as a source drive, while PhotoRec can recover files from a damaged filesystem. Save recovered files to another drive.

On Windows 11 or Windows 10, get Windows File Recovery from Microsoft Store, then open Windows File Recovery from Start and select Yes. FAT and exFAT cards require Extensive mode. Run the following command, replacing E: with the card’s drive letter and D: with a different destination drive:

winfr E: D: /extensive

At the continuation prompt, press Y to continue. Recovery saves files; it does not repair the card. Move on to filesystem repair after recovering the files you need.

For Windows, macOS, or Linux, download the stable TestDisk and PhotoRec 7.2 package from the developer’s download page and extract the complete archive. Run PhotoRec with device-access privileges, select the card, then select Proceed. Select its partition and choose Search.

For a FAT or exFAT card, select Other as the filesystem type, then search the whole partition when the filesystem is corrupted. Choose a destination on another drive. On Windows, press Y to accept it once the expected destination appears. PhotoRec does not recover original filenames or folder structure.

On macOS, missing device access may require an additional permission. Open System Settings > Privacy & Security > Full Disk Access, then add Terminal or PhotoRec. Return to PhotoRec and select the card.

Repair the filesystem on Windows

CHKDSK can repair a recognized local filesystem on Windows 11 or Windows 10. Close applications using the card, right-click Command Prompt, and select Run as administrator. Use the card’s actual drive letter in place of E: in the commands below.

The following command repairs filesystem errors. CHKDSK repairs modify filesystem structures and can lose damaged data, so copy or recover important files elsewhere before running it:

chkdsk E: /f

If applications are keeping the volume in use, the following option dismounts the volume and includes repair. Close applications using the card before choosing it. It modifies the filesystem and can lose damaged data, so copy or recover important files elsewhere before running it:

chkdsk E: /x

For a recognized volume with affected sectors, the following scan attempts to recover readable information. It includes filesystem repair and can lose damaged data, so copy or recover important files elsewhere before running it:

chkdsk E: /r

A sector scan does not physically repair failing flash memory. If filesystem repair fails, move to formatting only after saving the files you need. If errors persist after formatting, replace the card.

Run First Aid on a Mac

For an external card visible in Disk Utility, use First Aid to attempt repair. Copy or recover important files before repair writes. Open Disk Utility, then choose View > Show All Devices so you can see the card and its volumes.

Starting with the last volume listed under the card, select the volume and click First Aid, then Run. Click Done when it finishes and repeat for each remaining volume. Next, repeat the process for any containers, then for the physical card itself.

If First Aid cannot resolve the problem, consider formatting after saving your files. Choose a format compatible with the device that will use the card.

Format the card on your computer

Formatting is a fallback after copying or recovering needed files. Choose a filesystem that the destination device supports. For cards intended for Galaxy devices, Samsung documents FAT32 and exFAT.

Formatting in Windows erases the card’s accessible contents, so copy or recover needed files elsewhere first. Open File Explorer, right-click the card, and select Format. Choose a compatible filesystem, select Start, then select OK. Select OK again if prompted after completion.

Open File Explorer on Windows.
Click to expand
Open File Explorer on Windows.

On a Mac, erasing and reformatting removes the card’s contents, so copy or recover needed files elsewhere first. Open Disk Utility > View > Show All Devices, select the card, and click Erase. Choose a partition scheme compatible with the destination device.

Under Format, Apple specifies MS-DOS (FAT) for disks of 32 GB or less and ExFAT for larger disks, subject to the destination device’s requirements. Enter a name, click Erase, then click Done. Persistent errors after formatting are a reason to replace the card.

Format the card on a Galaxy device

On a Galaxy phone or tablet with microSD support, you can format through the device’s storage controls. Samsung uses more than one Settings layout, so follow the path that matches your device.

Formatting erases the card’s contents, so copy or recover needed files first. Open Settings > Battery and device care > Storage, then swipe left on Internal storage to reach the SD card. Tap More options > Format, then tap Format again.

For the alternative Galaxy layout, formatting also erases the card’s contents, so copy or recover needed files first. Open Settings > Device care > Storage > More options > Advanced > SD card > Format. Tap Format to proceed.

Replace a card that keeps failing

Back up anything still readable if errors continue after formatting. Samsung recommends replacement when errors persist or compatible devices cannot recognize the card. Repeated software repairs cannot restore physically damaged storage.

Frequently Asked Questions

Why can’t another device read an encrypted Samsung SD card?

A Samsung-encrypted card needs to be decrypted on the original Galaxy device while that device can still access it. On a Galaxy device with SD-card decryption controls, connect the original device to its charger, open Settings, search for Decrypt SD card, and select Decrypt SD card, entering your lock-screen credentials when required. Decrypt it before moving the card or factory-resetting the phone.

Can an app make an SD card seem faulty on a Galaxy phone?

You can use Samsung’s Safe mode to diagnose suspected app interference on Galaxy devices with those controls. Display the power menu, press and hold Power off, then tap Safe mode. If the card works there, restart normally and investigate recently installed apps.

Can you format an unreadable SD card on a Chromebook?

For a device-not-recognized or partition-cannot-be-mounted error, you can use Chromebook’s formatting option. Formatting removes the card’s contents, so back up accessible files first. Select Launcher, open Files, select the external storage device on the left, then select Format in the window that opens.

Can you use an SD card as internal storage on every Android phone?

No. Samsung states that adoptable storage is not available on Samsung devices. Formatting erases data, so copy or recover important files elsewhere before choosing a formatting option. On Android devices with Google’s documented controls, swipe down and tap SD card detected for newly detected storage, then select Format for portable storage or Format another way for adoptable storage.

Share