How to Fix an SD Card That Cannot Be Formatted

If your SD card cannot be formatted, check its lock switch, try another reader, then use SD Card Formatter or your computer’s disk tools.

Nov 11, 2026
•
10 min read

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered to your inbox.

To fix an SD card that cannot be formatted, unlock its physical switch, try another compatible reader, then retry with SD Card Formatter or your computer’s disk tools. Copy any readable files elsewhere before proceeding, because formatting destroys the card’s data. If the card stays unwritable across compatible readers and computers after checking its lock and software attributes, replace it.

The short version

  • Check the lock: Unlock the switch on the SD card or full-size microSD adapter.
  • Rule out the reader: Try another compatible reader, USB connection, or computer.
  • Protect your files: Copy readable files elsewhere before formatting or changing partitions.
  • Use the right tool: Try SD Card Formatter, Windows disk tools, or Mac Disk Utility.
  • Know when to stop: Replace a card that remains unwritable across compatible readers and computers after checking its lock and software attributes.

FixWhen to use itMain catch
Unlock the physical switchCard reports write protectionCheck the adapter too
Change reader or connectionDetection or formatting failsReader must support the card standard
Close applications using the cardWindows reports the volume is in useRestart if you cannot identify the application
SD Card Formatter quick formatRecognized card will not format normallyFormatting destroys data
SD Card Formatter overwriteRecognized, writable card needs another attemptKeep the computer powered and awake
File ExplorerWindows recognizes the card volumeChoose destination-compatible settings
Disk Management formatFile Explorer formatting failsOffers a full-format retry
New Simple VolumeCard has unallocated spaceRequires administrator access
Clear disk read-only attributeSoftware write protection blocks changesCannot override a physical lock
Clear volume read-only attributeVolume has software write protectionOn basic MBR disks, affects all volumes
CHKDSK repairWindows recognizes the filesystemDoes not guarantee repair of a failing card
Mac Disk Utility First AidMac recognizes the cardWork upward through the device hierarchy
Mac Disk Utility eraseCard needs reformatting on a MacSelect the physical card
Android card setupSupported phone detects the cardSetup options depend on the device
Android portable storage reformatCard is adopted internal storageFormatting destroys existing data
Samsung storage settingsGalaxy has the documented Device care interfaceDevice must support microSD
Samsung file managerOpen My Files to find a formatting optionOption depends on the device
DiskPart partition resetWindows detects usable disk capacityDestroys partition information
Replace the cardCard stays unwritable after connection and attribute checksCopy readable files first

Check the lock switch and card reader

Remove the SD card and slide its Lock switch upward to the unlocked position. For a microSD card inside a full-size SD adapter, check the adapter’s switch. Reinsert the card correctly, and replace the card or adapter if a loose switch slips back into the locked position.

Try another compatible reader, USB port, cable where applicable, and computer, changing one connection at a time. The reader must support the card’s capacity standard, including SDHC, SDXC, or SDUC as applicable. Formatting destroys the card’s data, so copy readable files elsewhere and verify the selected card before retrying formatting after each change.

On Windows 11, close applications using files on the card before another attempt. Microsoft says you cannot format a volume that is in use. If you cannot identify the application holding it open, restart the computer and retry.

Try SD Card Formatter

Download SD Card Formatter from the official Windows download page or Mac download page. The SD Association lists Windows 10 22H2, Windows 11 22H2 through 24H2, and macOS 11 through 15 for version 5.0.4. Run the formatter using an administrator account.

If the card is missing from the formatter, reinsert it and click Refresh. If a compatible reader still does not detect it, restart the computer and reopen the formatter.

Formatting destroys the card’s data, so copy readable files elsewhere and verify the target card first. Select the correct card, choose Quick format, click Format, then select Continue.

If the card is recognized and writable but the quick attempt fails, try an overwrite. An overwrite destroys the card’s data, so preserve readable files elsewhere and verify the target before proceeding. Choose Overwrite format, click Format, then select Continue. Keep the computer powered and prevent sleep until the operation finishes.

Use Windows formatting tools

On Windows 11, you can format a recognized card volume through File Explorer. Formatting destroys its data, so copy readable files elsewhere and verify that you have selected the card. Open File Explorer, right-click the card, select Format, and choose settings compatible with the device that will use it. Select Start, select OK, then select OK when completion is reported.

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

If File Explorer fails, try Disk Management. On Windows 11 or Windows 10, press Windows + R, enter the following command, and select OK.

diskmgmt.msc

Formatting destroys the selected volume’s data, so preserve readable files elsewhere and verify the card before continuing. Right-click the card’s volume, select Format, and choose a filesystem supported by its destination device. For a full-format retry, uncheck Perform a quick format, then select OK and select OK again.

If the card shows unallocated space on Windows 11, use the volume creation wizard with administrator access. Creating and formatting a volume changes the card’s partition layout and destroys data, so copy readable files elsewhere and verify the target first. Right-click the card’s unallocated space, select New Simple Volume, then select Next. Specify the volume size, assign a drive letter, choose a compatible filesystem, and complete the wizard with Finish.

Clear software write protection in Windows

On Windows 11, DiskPart can clear a software read-only attribute. It cannot override the card’s physical lock or protective read-only behavior caused by a failing card. Open an administrator Command Prompt and enter these commands in order.

diskpart
list disk

Identify the SD card by its capacity before selecting it. Replace N below with the verified disk number, then run these commands to inspect and clear its read-only attribute.

select disk N
attributes disk
attributes disk clear readonly
exit

Formatting destroys the card’s data, so copy readable files elsewhere and verify the target before retrying a formatting method above. If software write protection persists, check the volume-level attribute next.

To clear a volume-level read-only attribute on Windows 11, open DiskPart again in an administrator Command Prompt. Start by listing the volumes.

diskpart
list volume

Identify the card’s volume, then replace N below with its verified volume number. On a basic MBR disk, this attribute affects all volumes on the disk; on a GPT disk, it affects the selected volume.

select volume N
attributes volume clear readonly
exit

Formatting destroys the card’s data, so copy readable files elsewhere and verify the target before retrying formatting. If write protection persists across compatible readers and computers after checking the physical switch and software attributes, move to replacement.

Repair a recognized Windows filesystem

Use CHKDSK on Windows 11 when the card has a recognized local filesystem. Back up readable files and close applications accessing the card first. Open Command Prompt using Run as administrator, replace X with the card’s verified drive letter, and run this repair command.

Open Command Prompt from the Start menu search.
Click to expand
Open Command Prompt from the Start menu search.
chkdsk X: /f

If the repair requires dismounting the volume, the following command includes both dismounting and repair. Replace X with the same verified card letter.

chkdsk X: /x

Formatting destroys the card’s data, so preserve readable files elsewhere and verify the target before retrying formatting after the repair. CHKDSK repairs filesystem errors; it is not a guaranteed repair for an unrecognized or physically failing card.

Repair or erase the card on a Mac

Open Disk Utility from /Applications/Utilities/Disk Utility, then choose View > Show All Devices. Starting with the card’s lowest listed volume, select First Aid, click Run, then click Done when finished. Repeat upward for any containers and finally the card itself.

After a successful repair, retry erasing the card. Erasing destroys the card’s data, so copy readable files elsewhere and verify the selected device before proceeding. Select the physical card at the top of its hierarchy and click Erase. Choose a partition scheme and filesystem compatible with the device that will use the card, enter a name, click Erase, then click Done.

Choose settings for the card’s destination device; GUID Partition Map is not a universal recommendation for cameras. If repair or erasing fails, check the card with another compatible reader or computer before deciding it needs replacement.

Format a detected card on Android

On Android devices with SD support and the card-detection setup interface, insert the card and pull down notifications. Formatting destroys its data, so copy readable files elsewhere before proceeding. Tap SD card detected and select Format for portable storage. Where supported, select Format another way to use the alternative setup route.

If your Android device supports adoptable storage and the card is already set up that way, you can reformat it as portable storage. Formatting destroys the card’s data, so copy readable files elsewhere first. Open Settings > Storage > SD card, open Menu, and select Format. Select Format card.

On Galaxy phones and tablets with microSD support and the Device care storage interface, open Settings > Device care > Storage > More options > Advanced > SD card. Formatting destroys the card’s data, so preserve readable files elsewhere first. Tap Format, then tap Format again. If your Galaxy shows Battery and device care instead, Samsung’s microSD guide uses Settings > Battery and device care > Storage; swipe left on Internal storage until you see the SD card screen, tap More options > Format, and tap Format again.

For Galaxy devices that expose card formatting in the file manager, open My Files, find Storage, and select the SD card. Formatting destroys the card’s data, so copy readable files elsewhere before continuing. Open More options, select Format, then tap Format. If formatting still fails, try a compatible computer reader and the checks above.

Rebuild damaged partition information as a last attempt

Use DiskPart’s partition reset on Windows 11 only when the card is detected as a disk with usable reported capacity. This operation does not repair hardware failure. Open an administrator Command Prompt and list the disks.

diskpart
list disk

Identify the card by capacity and replace N below with its verified disk number. Inspect its details before taking the next step.

select disk N
detail disk

Confirm the card’s identity and capacity before entering the commands below. The clean command destroys the selected disk’s partition information, so copy readable files elsewhere before running it.

clean
exit

Creating and formatting a new volume changes the partition layout and destroys data, so preserve readable files elsewhere and verify the selected card first. Return to Disk Management and use the New Simple Volume procedure above to create and format the card’s volume. The ordinary partition reset does not require clean all, which additionally zeroes every sector. If the card remains unwritable across compatible readers and computers after the lock and attribute checks, stop repeating partition resets.

Replace a card that stays unwritable

SanDisk says a failing card can enter protective read-only mode because its storage blocks are exhausted or corrupted. If your card remains unwritable across compatible readers and computers after checking the lock and software attributes, copy any readable files elsewhere, then replace it or request warranty service. Formatting cannot restore worn-out flash storage.

Frequently Asked Questions

Can SD Card Formatter run on an Apple silicon Mac?

The SD Association’s formatter page notes that Macs with Apple silicon, such as M1 models, may need Rosetta installed. Check that requirement before installing the formatter.

How do I check for an SD Card Formatter update?

Open the formatter while connected to the internet, and it checks for updates automatically. You can obtain the current release from the official download page.

Is SD Card Formatter available for Linux?

Yes, the SD Association offers Linux packages for x86_64 and ARM64 computers on its listed distributions. Choose the package matching your architecture and review the supported-distribution table before downloading.

Can a Samsung Galaxy use an SD card as adopted internal storage?

Samsung says Galaxy devices do not support adoptable storage. On other Android devices, support depends on the manufacturer.

Share