WikiTablet
Menu

When you buy through our links, we may earn a commission. Read the disclosure ›

Tablet SD Card Write Protected: Unlock and Fix

Short answer: A write-protected SD card refuses to let you add, delete, or modify files. On tablets, the cause is usually the tiny lock switch on a full-size SD adapter, but it can also be a read-only attribute in the card's file system. Slide the switch to the unlocked position, then if the issue persists, clear the read-only attribute with a computer or format the card in the tablet.

What write protection means on an SD card

Write protection is a state that makes a storage card read-only. When an SD card is write protected, the tablet can open and copy files from it, but it cannot write new files, delete existing ones, or format the card. The tablet may show an error such as "card is write protected" or "disk is read-only" when you try to save a file or move photos to the card.

There are two main sources of write protection on an SD card: a mechanical lock switch on the card or adapter, and a software flag stored in the card's file system. Understanding which one is active on your card is the first step to removing the lock. If you are unsure about the storage options your tablet supports, review our guide to tablet storage types.

Check the physical lock switch first

Many full-size SD cards and microSD-to-SD adapters have a small sliding tab on the left edge. When the tab is slid toward the bottom (the "lock" position), the card becomes read-only. This switch is purely mechanical: the card reader detects the position of the tab and refuses to write when it is in the locked position.

On a microSD card used directly in a tablet, there is usually no physical switch, because the microSD form factor omits it. But when you insert the microSD into an SD adapter, the adapter's switch takes over. If your tablet uses a full-size SD slot, or you are using a microSD inside an adapter, examine the adapter's edge for the small tab.

Slide the tab fully toward the top of the card (the "unlock" position). Make sure it clicks into place and is not halfway between positions, because a loose switch can cause intermittent write errors. Reinsert the card and try to write a small test file.

Software causes of write protection

If the physical switch is not the problem, the card may have a software read-only flag. This flag is stored in the file system metadata and can be set by a device or by certain operations. When the flag is present, the card behaves as read-only even though the hardware allows writes.

On Android tablets, the system may also mount a card as read-only if it detects file system errors or if the card was improperly removed. In that case, the card is not permanently write protected, but the current session treats it as read-only to prevent data corruption.

To clear a software write-protection flag, you usually need a computer. On Windows, open a command prompt and run the diskpart tool, select the disk that corresponds to your card, and type "attributes disk clear readonly." On macOS, use the diskutil command with the "unlock" option. On Linux, use hdparm with the "-r0" flag to disable the read-only mode. Always double-check the disk number before issuing any command, as the wrong selection can affect your internal drive. If you are not comfortable with command-line tools, consider using a dedicated SD card formatter utility from the SD Association, which can also force a full overwrite to clear the flag.

For more on how SD cards and internal storage differ, see our comparison of SD cards and eMMC.

  • Always verify that you selected the correct disk in diskpart: a wrong selection can erase the wrong drive.
  • Back up any files on the card before running commands that modify its attributes.

Reformat the card to clear stubborn locks

If clearing the read-only attribute does not work, the next step is to reformat the card. Formatting rebuilds the file system and removes any lingering write-protection flags. On an Android tablet, go to Settings, then Storage, find the SD card, and choose Format or Format as internal. On a Windows tablet, right-click the card in File Explorer and select Format.

Before formatting, move any important files to another location. Formatting erases everything on the card. If the card fails to format and still reports write protection, it is likely that the physical lock switch is engaged, or the card's controller has failed. A card that cannot be cleared after these steps is probably at the end of its life.

If you need help picking a replacement card or a tablet that handles storage cards well, see our guide to 256 GB tablets or the storage expansion guide.

Prevent future write-protection issues

Handle the lock switch gently. The mechanical tab on SD adapters is small and can be knocked out of position when the card is in a pocket or case. Always push the switch fully to one end, and test the card after inserting it.

Do not remove an SD card while the tablet is writing to it. Pulling the card mid-write can cause file system errors that lead to a read-only mount on the next insertion. Use the tablet's "Eject" or "Unmount" option in Settings before removing the card.

Keep the card in a dry, clean environment. Corrosion on the metal contacts can cause the tablet to misread the card's status, including its write-protection state. If contacts look dirty, gently wipe them with a soft, dry cloth. For more tips on maintaining storage health, see our guide to microSD speeds.

What to pick for your use

If youPickBuying guide
You need a card for photos and documents on a standard tabletA 128 GB or 256 GB card with a reliable brandBest 128GB Tablets in 2026: 14 Picks Compared on Specs
You store large video files or offline mapsA 512 GB card or higherBest 512GB+ Tablets in 2026: 15 Picks by Specs
You use a tablet with a microSD slot and want to avoid adaptersA microSD card with no adapter neededBest 64GB Tablets in 2026: 12 Picks Compared by Specs
You need a tablet with ample internal storage and expandable memoryA 256 GB or 512 GB modelBest 256 GB Tablets in 2026: 15 Picks Compared on Specs

Questions

Why does my microSD card show as write protected when there is no lock switch?

MicroSD cards do not have a physical lock switch. If the card is write protected, the cause is a software read-only flag or a file system error. Clear the attribute with a computer or reformat the card. On Android, you can also try unmounting and remounting the card from Settings.

Can a tablet remove write protection from an SD card?

Some Android tablets can format a mounted card, but they usually cannot clear a hardware read-only flag. The physical switch must be moved to the unlocked position, and a software flag often requires a computer. Some tablets offer a "Format" option that may clear the flag, but it is not guaranteed.

Is it safe to use a card with a broken lock switch?

A broken switch can cause intermittent write errors or a permanent read-only state. Replace the adapter or the card to avoid data loss. If the switch is stuck, try moving it back and forth with a small tool, but if it does not click into place, do not force it.

What does formatting the card do?

Formatting rebuilds the file system, removing all data and clearing software write-protection flags. It does not repair a damaged physical lock switch. Always back up important files before formatting.

Change log

  • : First published.

Sources

Related buying guides