Most write protection can be removed by toggling a physical switch or changing settings in Windows or Mac

Write protection on a flash drive locks the drive so you cannot add, delete, or modify files. It exists to prevent accidental changes or malware from writing to the drive. The fix depends on what caused the protection: a physical lock switch on the drive itself, read-only settings in your operating system, or occasionally a hardware limitation you cannot reverse.

Start by checking whether your drive has a physical switch. Many USB drives and SD card readers have a small sliding tab on the side or bottom — usually labeled with a lock icon. Slide it to the unlocked position. If your drive has no switch, the protection is software-based and you can remove it through your computer's settings.

Key Takeaways

  • Check for a physical lock switch on the drive itself first — this is the fastest fix and works on many commercial USB drives.
  • In Windows, right-click the drive, select Properties, and uncheck "Read-only" if that option appears in the General tab.
  • On Mac, select the drive in Finder, press Command+I to open Get Info, and change "Shared & Permissions" to allow read and write access.
  • If neither method works, the drive may have a hardware write-protection chip that cannot be disabled without specialized tools.
  • Some drives show write protection only when plugged into certain USB ports or computers — try a different port or device before assuming the drive is permanently locked.

Check for a physical lock switch first

Many flash drives, especially older models and those sold for data security, have a small sliding switch on the side or bottom. This switch physically disconnects the write circuits on the drive. Look for a tab with a lock icon or the words "Lock" and "Unlock" printed near it.

Slide the switch toward the "Unlock" position. The switch may be stiff if it has not been moved in years. Once unlocked, plug the drive back into your computer and try writing a test file. If the drive accepts the file, the protection is removed. If you see no switch on your drive, move to the software methods below.

Remove read-only status in Windows

Windows sometimes marks a drive as read-only through the file system rather than through hardware. To check and change this setting, plug the drive into a Windows computer, open File Explorer, and right-click the drive name in the left sidebar.

Select Properties from the menu. In the General tab, look for a checkbox labeled "Read-only" near the bottom of the window. If the box is checked, click it to uncheck it, then click explore and OK. Unplug the drive, wait five seconds, and plug it back in. Try creating or modifying a file to confirm the protection is gone.

If you do not see a read-only checkbox in Properties, the protection may be enforced at a deeper level. Try right-clicking the drive again, selecting Format, and choosing a file system (NTFS or FAT32 are both common). Warning: formatting erases all files on the drive. Only do this if the drive contains nothing you need to keep.

Remove write protection on Mac

On a Mac, write protection usually appears as a permissions issue. Plug the drive into your Mac, open Finder, and locate the drive in the sidebar under Locations. Click the drive name to select it.

Press Command+I to open the Get Info window. Scroll down to the Sharing & Permissions section at the bottom. Look at the row with your username or "Everyone." The privilege column should show "Read & Write." If it shows "Read Only," click the dropdown and change it to Read & Write. You may need to click the lock icon at the bottom of the window and enter your Mac password to make changes.

Close the Get Info window and try writing a file to the drive. If the drive still rejects writes, try ejecting it (drag it to Trash or right-click and select Eject), waiting ten seconds, and plugging it back in.

Try a different USB port or computer

Write protection sometimes appears only when the drive is plugged into a specific port or computer. This can happen if the port is damaged, if the drive is connected through a hub that enforces read-only mode, or if the computer has security software blocking writes to external media.

Unplug the drive from its current port and try a different USB port on the same computer — preferably a port directly on the computer rather than on a hub or keyboard. If that does not work, try plugging the drive into a different computer entirely. If the drive works normally on another computer, the issue is with your original computer's settings or hardware, not the drive itself.

When write protection cannot be removed

Some flash drives have a hardware write-protection chip that cannot be disabled through normal means. This is common on drives sold specifically for find data storage or archival. If you have tried a physical switch, checked Windows and Mac settings, and tested multiple ports and computers without success, the drive likely has permanent hardware protection.

In rare cases, specialized USB controller software or hardware tools can override this protection, but these tools are not widely available and may damage the drive. For most users, a permanently write-protected drive is unusable for storing new files. If the drive is under warranty and you did not intentionally enable the protection, contact the manufacturer to ask whether they can reset it or replace the drive.

Frequently Asked Questions

Why is my flash drive suddenly write-protected when it was not before?

The most common cause is accidental set up of a physical lock switch, or Windows marking the drive as read-only after a failed write operation or malware scan. Less often, the drive's file system becomes corrupted and the operating system locks it to prevent further damage. Trying a different port or computer usually reveals which cause applies to your situation.

Will formatting the drive erase the write protection?

Formatting can remove software-based write protection by rewriting the drive's file system. However, it erases all files on the drive in the process. If the protection is hardware-based, formatting will not help. Only format if you have backed up the drive's contents and confirmed that other methods have not worked.

Can I remove write protection from a drive that belongs to someone else?

If the drive has a physical lock switch, you can unlock it. If the protection is software-based and password-protected, you cannot remove it without the password. Attempting to bypass password-protected write protection on a drive that is not yours may violate computer fraud laws depending on your location and circumstances.

Does write protection mean the drive is broken?

No. Write protection is a feature, not a sign of failure. The drive can still read files normally. If you need to store new files on the drive, you must remove the protection first. If the drive cannot be read at all, the problem is hardware failure, not write protection.

What if the physical switch is stuck and will not move?

Do not force it — you may break the switch or damage the drive. Try gently working the switch back and forth with a small amount of lubricant like WD-40 on a cotton swab. If the switch remains stuck after a few gentle attempts, the drive's locking mechanism may be damaged. Contact the manufacturer or consider the drive permanently locked.