SD Card Write Protected? Causes and Fixes That Actually Work

Why an SD card says it is write protected, how to fix the lock switch, Windows and Mac settings, and when a read-only card has reached the end of its life.

"The disk is write protected" is one of the most common SD card errors. Sometimes it is a 10-second fix, and sometimes it means the card is worn out. Work through these causes in order.

1. The lock switch

Full-size SD cards and microSD adapters have a small slider on the left edge. Slide it up, toward the gold contacts, to unlock. If the switch is loose it can slip back as you push the card into a slot; try inserting it gently, or use a different adapter. Some laptop readers also misread the switch, so a USB card reader is worth trying.

2. A faulty reader or adapter

Try the card in another reader or computer. If it writes fine elsewhere, the original reader or adapter is the problem, not the card.

3. Windows disk attributes

Windows can mark a disk as read-only. To clear it:

  1. Open Command Prompt as administrator and type diskpart.
  2. Type list disk and identify the card by its size.
  3. Type select disk N, using the card's number. Double-check it.
  4. Type attributes disk clear readonly.
  5. Type exit and try again.

4. A corrupted file system

If the card is readable but refuses writes, the file system may be damaged. Copy off your files, then run a quick format with the SD Memory Card Formatter. Get it from the download page.

5. Software or device protection

Some cameras let you protect individual photos, and some phones encrypt cards used as internal storage. A card formatted as internal storage on Android will not be writable elsewhere until you format it again.

6. The card has locked itself

Many cards switch to read-only permanently when their flash memory wears out. This is a safety feature: it stops further writes so your existing files stay readable. Signs include:

  • The card became read-only with no change to the lock switch.
  • Formatting "succeeds" but the old files reappear after you reinsert the card.
  • Every tool, on every computer, reports write protection.

No software can reverse this. Copy your files off while you still can and replace the card.

On a Mac

In Finder, select the card, choose File > Get Info and check the Sharing & Permissions section. If it says "You can only read", check the lock switch first. Cards formatted as NTFS also appear read-only on a Mac, because macOS cannot write NTFS without extra software. Reformatting to exFAT solves that.

Summary

Check the switch, then the reader, then Windows attributes, then reformat. If the card still will not accept writes, it has most likely reached the end of its life. Our troubleshooting guide covers other card errors.

Get the SD Memory Card Formatter

Free for Windows, Mac and Linux. The original installer downloads straight away.