An SD card can behave normally when you open photos or copy files from it, yet refuse to save new files, delete old ones, or format the card. A camera may call the card “locked” or “write-protected,” while a computer may describe it as read-only.

These messages all point to the same practical distinction: reading data and changing data are separate operations. A device may still be able to retrieve existing information even when writes are being blocked.

The useful question is not simply “Does the card work?” It is “Where is writing being stopped?” The answer can be a physical lock indication, the card reader or device, software, or the card itself.

Read-only means reads work but writes do not

Storage devices handle two broad kinds of operation. A read retrieves information that is already stored. A write changes stored information, such as creating a file, editing one, deleting one, or updating the file system’s records.

That distinction explains why a read-only card can look partly healthy. You might be able to view every photo on a camera card and copy them to a laptop because those actions mainly require reads. Renaming a photo, deleting it, or recording another photo requires writes, so those actions can fail.

Formatting also requires writing. It creates or replaces the file-system structures that tell devices how the card’s storage is organised. A write-protected card therefore cannot normally be fixed merely by trying to format it while the write block is still active.

This partial access is useful. If important files remain readable, copying them to another storage location is usually a sensible first step before doing more troubleshooting.

The lock switch on a full-size SD card is an instruction to the host

Full-size SD cards have a small sliding write-protect switch on the side. Moving it to the locked position is intended to tell the host—the camera, computer, card reader, or other device using the card—not to write to it.

A surprising detail is that this slider does not directly disconnect the card’s internal write circuitry. The SD specification assigns detection of the mechanical switch to the host. A compatible card slot senses the slider position and the host then treats the card as write-protected.

That has two practical consequences.

First, a problem with the slider, an SD adapter, or the card reader’s lock-detection mechanism can make an unlocked card appear locked. For example, a loose slider can move as the card is inserted. A reader can also misdetect the position.

Second, the switch is not a universal hardware guarantee that no device can alter the data. It depends on the host recognising and respecting the indication.

MicroSD cards do not have this write-protect switch. However, when a microSD card is placed in a full-size SD adapter, the adapter can have one. In that case, a lock warning may come from the adapter and reader rather than from the microSD card itself.

A card can also protect itself

A physical lock indication is not the only reason flash storage can become read-only.

Flash memory has a finite useful life. Its controller manages the underlying memory and deals with blocks that can no longer store data reliably. Some cards can enter a write-protected state when their internal health falls below a threshold, preserving access to existing data rather than continuing to accept writes that may not be reliable.

The important practical difference is that moving an external lock switch cannot repair worn or failing flash memory. If a card remains read-only in different compatible readers and devices after obvious lock issues have been ruled out, card failure becomes a more plausible explanation.

Treat that situation as a warning, especially if the card contains data you care about. Recover readable files first rather than repeatedly trying to force writes or formatting operations.

The host can block writes even when the card is healthy

The device using the card can impose its own restrictions. An operating system, device policy, driver, application, or card reader can deny writes without the storage medium itself being defective.

This is why testing the same card in another suitable reader or device can be informative. Suppose a microSD card is read-only when used through one SD adapter but accepts writes through another reader. That strongly shifts attention toward the first adapter or reader rather than the flash card.

The reverse is also useful evidence. If several unrelated devices can read the same card but none can write to it, the problem is less likely to be one computer’s application or settings.

Testing is not absolute proof because devices can differ in how they handle a card or file system. It is simply a way to isolate which part of the path changes when the behaviour changes.

“Read-only” does not necessarily mean the files are damaged

Write protection and data corruption are different problems.

A card can be deliberately write-protected while all of its files remain intact. A failing card may also become read-only while much of its existing data is still readable. Conversely, a card can have file-system damage without being write-protected.

This matters because the safest response depends on what you observe. If files open normally but every attempt to change the card fails, focus first on the write path. If files are missing, unreadable, or producing errors as well, you may be dealing with a broader storage or file-system problem.

Do not assume that a successful read means the card is healthy enough for continued use. Reading old data and reliably storing new data place different demands on the device.

A practical way to narrow down the cause

Start with the least invasive checks.

If you are using a full-size SD card or a microSD-to-SD adapter, inspect its lock slider and make sure it is firmly in the unlocked position. If the slider feels loose or will not stay in place, the card or adapter may need replacement rather than repeated adjustment.

Next, remove and reinsert the card normally. If possible, test it in another compatible reader or device. For a microSD card, testing without the original full-size adapter can help separate an adapter problem from a card problem.

If the card becomes writable elsewhere, investigate the original host, reader, adapter, or its settings. Menu names and storage policies vary between operating systems and devices, so there is no single universal setting to change.

If the card remains read-only everywhere, prioritise copying any important readable data off it. A persistent read-only state can be a sign that the storage is no longer suitable for dependable writes. Replacing a questionable card is generally more sensible than trusting it with new important data merely because its existing files can still be opened.

Avoid troubleshooting that risks the only copy of your data

When a storage device starts behaving unexpectedly, preservation should come before experimentation.

Do not make formatting your first response when the card contains the only copy of important files. Formatting is a write operation and may fail anyway if writes are blocked. More importantly, once a device is behaving unreliably, repeated repair attempts can complicate recovery if the underlying problem is hardware failure rather than a simple lock indication.

Copy readable files to another storage location first. After the data is safe, you can test the card more freely or replace it.

A card that becomes writable again after correcting a clearly identified adapter or lock-switch problem is different from a card that unpredictably switches between writable and read-only states. Intermittent behaviour without an obvious external cause is a reason to be cautious about future use.

The useful mental model

An SD card that is read-only is not necessarily completely broken. It means that one direction of storage access—writing—is being refused somewhere in the path.

For a full-size SD card, the side switch is an indication that the host is expected to honour. An adapter or reader can therefore be responsible for a false lock warning. Software can also restrict writes. And a flash card that is wearing out can protect its existing data by refusing further changes.

That is why the most useful troubleshooting sequence is to protect readable data first, check the physical lock path, test another compatible host or reader, and treat persistent read-only behaviour as a possible storage-health warning. Separating “I can read the card” from “I can reliably write to the card” makes the problem much easier to reason about.