Is Your "SD Card Read Only"? Here's the Real Fix

This article details the top solutions for a "SD card read only" state. Learn the definitive "Micro SD card read only fix" for Android, cameras, and PCs. We explain how to change permissions, use disk management tools, and successfully format your card to make it writable again.

By @Delores
Last Updated November 24, 2025

SD Card Became Read-Only!

 

My SD card suddenly became read-only

I have a Samsung Galaxy S10 with a 128GB microSD card. I updated the OS from One UI 3 to One UI 4 today, and after the update, I can no longer write to my SD card. Every time I try to record a video with the Camera app, it crashes and says "recording failed". If I go to settings and set the save location to internal storage, the camera works fine again. The Voice Recorder won't let me write to the SD card either. I also can't delete any files on the SD card, either via Samsung's file manager or by plugging it into my PC and using Windows Explorer. How do I fix this?

- Question from reddit.com

The moment you try to save a precious photo, download a file, or delete something you don't need, it shows "The disk is write-protected" or you find that your SD Card is Read Only.

This SD Card read-only error is a common headache for photographers, drone pilots, Android users, and anyone who relies on these tiny slabs of memory for their digital lives. What should I do now? How can I fix it? How to get my data off the SD card? But don't you worry; this guide is your key to making things right.

About SD Card Read-Only

In the simplest terms, an SD card read-only state means the card has been set to allow data to be read from it, but not written to it. Writing includes actions like saving new files, modifying existing ones, or deleting content. It's a form of write-protection, a digital force field that prevents any changes to the data.

If your SD card suddenly became read-only, it might be triggered by physical and software issues. Your device's operating system, whether it's Windows, Android, or a camera's firmware, is ultimately in charge of communicating with the card. When it detects a condition that suggests writing data could be risky—like a corrupted file system or a physical switch being engaged—it slaps on the read-only tag to prevent you from accidentally making things worse and causing permanent data loss.

Why Does Your SD Card Read Only?

Before you can fix the problem, try to find the causes. The culprits range from software to physical issues.

  • The Physical Lock Switch is Turned On. On the side of a standard SD card (or the adapter that a microSD card sits in), there is a tiny physical lock switch. Sliding this switch down engages the lock, making the card read-only.
  • File System Corruption and Errors. The file system identifies how to organize your files in the SD card. The file system can get corrupted due to an improper ejection, a power surge, or a bad sector on the card. To avoid writing data to a corrupted file system and making a complete mess, it defaults to making the card read-only.
  • Malware or Virus Infection. Certain types of malware are designed to lock down storage devices for ransom or simply to cause mischief.
  • Failing SD Card. Sometimes, an SD card that's nearing the end of its life will permanently enter a read-only state. This is a self-preservation mechanism built into the card's controller. When the memory cells start to fail and can no longer reliably hold new data, the card locks itself to allow you one last chance to recover your existing photos and files before it becomes completely unusable.

Recover Files First in Case of Data Loss

To prevent files from being lost, it’s highly recommended to recover files first before any operation. To recover files effectively, try the following solutions.

Way 1. Try Robocopy to Copy Files from a Read-Only SD Card

Robocopy, or "Robust File Copy", is a command-line utility in Windows for efficiently and reliably copying files and directories. It is designed for large-scale or complex copying tasks and offers advanced features like multi-threaded copying, resuming interrupted transfers, and the ability to mirror directory structures.

To copy files from a read-only SD card using Robocopy, follow the steps below:

1. Input cmd in the Windows search box, and run it as administrator.

2. Use the following syntax: robocopy sourcedrive destinationdrive /COPY:D /E /R:5 /W:5

For example:

robocopy G:\ E:\WorkD /COPY:D /E /R:5 /W:5

  • Use the /COPY:D switch to copy only the data and bypass read-only attributes, or use /COPY:DAT to copy data, attributes, and timestamps, along with /R:n and /W:n to specify retries for files that may fail to copy.
  • /E: Copies subdirectories, including empty ones.
  • /R:5: Retries failed copies 5timed. You can increase this number for more retries.
  • /W:5: Waits 5second between retries. You can also increase this number.
  • If a folder name contains spaces, enclose the entire path in double quotation marks, like "C:\My Folder".

Way 2. Recover Files Fast with MyRecover

Besides, if it’s complex for you to run Robocopy commands, you can try the powerful Windows data recovery software MyRecover. It’s designed to recover files easily regardless of the situation.

With MyRecover, you can enjoy:

The Intuitive Interface. Without any complex commands, you can try the user-friendly interface to recover files fast.
Find deleted files and recover. MyRecover provides a powerful algorithm to find every missing file, then recover them at once if required. Robocopy can’t recover deleted files.
Preview files before recovery. You can use MyRecover to preview files to ensure they are intact and the right files to recover.
Powerful filter and search. Once it finds the missing files, you can filter or search them by file name, file size, file path, or file type.
Supports 500+ devices. You can recover files from an SD card, external hard drive, HDD, SSD, USB flash drive, PS4/5, video players, music players, camera, etc.

Therefore, how to recover files from the read-only SD card with MyRecover? Here is how to do:

1. Connect your SD card to a Windows computer, then download and install MyRecover.

2. Launch MyRecover, choose USB/SD Card Recovery, choose the SD card that is read-only, and tap Scan.

3. Hit OK when it’s done.

4. Choose the files you need, and press Recover. Opt for a safe location to keep them.

Notes:✎...
Enjoy recovering unlimited files if you have lost a large number of files.
By default, MyRecover lists missing files by file type, so you can find the files fast.
If you’re looking for ways to recover files from unlimited computers, please upgrade to try MyRecover Technician.
MyRecover
  • Recover Deleted Files Easily with Simple Clicks   
  • 1000+ File Formats Supported   
  • Support HDD, SSD, External Hard Drive, USB Drive, SD Card, etc.   
  • Quickly Find Files Using File Types, Name, Size, etc.
  • Preview Files Before Recovering
  • Recover Unlimited Data

How to Fix a Read-Only SD Card in 5 Ways

After getting your files, it’s time to fix the SD card. How to fix a read-only SD card easily? Here is a logical, step-by-step progression to fix read-only SD card errors. Start at the top and work your way down.

Way 1. Check the Physical Lock Switch

First of all, you can check the SD card physical lock switch. If it's in a locked position, you can physically nudge that switch back into the unlocked position.

Way 2. Try Diskpart to Remove Read-Only Status

If the physical switch isn't the issue, one of the most powerful built-in tools in Windows is Diskpart, a command-line utility. It's not as scary as it sounds!

1. First, connect your SD card to your PC.

2. Type "cmd" in the Windows search bar, right-click on Command Prompt, and select "Run as administrator".

3. In the black window, type diskpart and press Enter.

4. Then, type list disk and press Enter. This shows all storage devices. Identify your SD card based on its size (be very careful here!).

5. Type select disk X (replace X with your SD card's number) and press Enter.

6. Now, type attributes disk clear readonly and press Enter. This command tells the system to remove the read-only attribute from the entire disk.

7. Type exit to close Diskpart.

This powerful command can often change an SD card from read-only to writable in seconds by resetting its software-level permissions.

Way 3. Run Antivirus Scan

You must run an antivirus to scan for viruses or malware, and ensure there are no problems. Removing viruses and malware helps you SD card back to normal.

Way 4. Format SD Card

If the Diskpart method doesn't work, or if you're still having issues, the nuclear option is to format the card.

Warning: Formatting will erase all data on the card. You should only do this if you have already recovered your files (see the section below) or if the data is not important.

To format a read-only SD card in Windows:

1. Open "This PC" and right-click on your SD card drive.

2. Select "Format".

3. Choose a file system. For cards 32GB and smaller, FAT32 is standard. For cards 64GB and larger, exFAT is the way to go.

4. Make sure "Quick Format" is checked and click "Start".

Way 5. Replace with Another SD Card

Replace another branded SD card if you have a failing SD card, and then you can do whatever you want to do.

FAQs About Read-Only SD Card

Why did my SD card suddenly become read-only?

A: Usually due to the physical lock switch being engaged, file system corruption from unsafe ejection, or the card failing from old age. A failing card often locks itself to let you recover data before it dies completely.

How to fix a read-only SD card on Android without a computer?

A: First, restart your phone. If that fails, go to Settings > Storage, eject the card, physically remove it, then reinsert it. If the problem persists, you'll likely need a computer for a proper fix.

Can I use Registry Editor to remove write protection?

A: Yes, but it's risky and not recommended. Incorrect changes can destabilize Windows. The required registry key often doesn't exist. Using Diskpart or a third-party tool is a much safer and more reliable method.

Can a read-only SD card be permanently damaged?

A: It depends. If caused by a software issue or the lock switch, it can be repaired. If it's due to physical failure from wear and tear, the damage is permanent. Your only option is to recover the data and replace the card.

What if my SD card is write-protected but the lock switch is unlocked?

A: This means the issue is software-related. Your first step is to use the Diskpart command attributes disk clear readonly. If that fails, try a third-party tool to format the card. If formatting also fails, the card is likely permanently damaged.