If your SD card shows “Access Denied” when you try to open it, the fix is usually a quick change to the card’s lock switch, a file permission repair, or a check for file system corruption. This article walks you through the most common causes and step-by-step solutions for Windows, Mac, and Android, so you can get back to your photos and files.
Why Does an SD Card Say Access Denied?
An “Access Denied” error means your device (computer, camera, or phone) can see the card but won’t let you read or write to it. The causes fall into a few broad categories:
- Physical lock switch: Many SD cards have a tiny slider on the side. If it’s down, the card is write-protected, and you can’t add or delete files. Some devices also show “Access Denied” instead of “Card is locked.”
- File system corruption: If the card was removed while writing, or the file system (FAT32, exFAT) is damaged, the OS may block access to prevent further damage.
- Permission issues: On Windows and Mac, the card’s file permissions can be set so that only the original user can access it. This often happens after copying files from another computer or after a system restore.
- Driver or driver conflicts: On Windows, a corrupted or outdated USB card reader driver can cause the card to appear with restricted access.
- Card is dying: Flash memory has a limited number of write cycles. If the card is failing, it may become read-only or inaccessible.
First Steps: The Lock Switch and Reinsertion
Before trying any software fixes, do these two simple things:
- Check the lock switch: Remove the card from the reader. Look at the left edge (when the label is up). If the slider is pushed down, slide it up. Try again. If the slider is loose or broken, the card may be permanently locked—try a small piece of tape over the notch (but this is a temporary hack, not a reliable fix).
- Reinsert the card: Sometimes the card isn’t seated properly. Push it in until it clicks, or if it’s a microSD in an adapter, make sure the adapter is fully inserted. Try a different USB port or a different card reader if you have one.
Fix on Windows: Remove Write Protection and Repair File System
If the lock switch is fine, Windows has a few built-in tools that can clear the error.
1. Use Diskpart to Clear Read-Only Attribute
This command-line tool can remove the read-only flag on the card. Be careful to select the correct disk number.
- Press Win + R, type cmd, and press Ctrl + Shift + Enter to open an admin command prompt.
- Type diskpart and press Enter.
- Type list disk and press Enter. Note the disk number of your SD card (usually Disk 1 or higher, based on its size).
- Type select disk X (replace X with the number) and press Enter.
- Type attributes disk clear readonly and press Enter.
- Type exit and press Enter. Close the command prompt.
If that doesn’t work, the card may be physically locked. If it does work, you should now be able to access the card.
2. Run Check Disk to Repair File System Errors
Open an admin command prompt as above, then type:
chkdsk E: /f (replace E: with the drive letter of your SD card).
This will scan for and fix file system errors. It can take a few minutes. If it reports errors that it cannot fix, the card may be corrupted and need formatting (see below).
3. Take Ownership of the Card
If the card is readable but you can’t open certain folders, you may need to take ownership.
- Right-click the SD card drive in File Explorer, select Properties.
- Go to the Security tab, click Advanced.
- Next to “Owner,” click Change.
- Type your Windows username, click Check Names, then OK.
- Check the box “Replace owner on subcontainers and objects” and click OK.
Fix on Mac: Repair Disk and Reset Permissions
On macOS, the built-in Disk Utility can often resolve access issues.
- Connect the SD card reader.
- Open Disk Utility (from Applications > Utilities or Spotlight).
- Select your SD card in the sidebar (the physical card, not the volume name below it).
- Click First Aid and then Run. This will check and repair the file system.
- If First Aid finds no problems, try the Mount button if the card is grayed out.
If you still see “Access Denied” when opening a specific folder, you can reset permissions on the card:
- In Finder, right-click the SD card and select Get Info.
- At the bottom, click the lock icon and enter your admin password.
- Click the gear icon and select Apply to enclosed items.
Fix on Android: Clear Cache and Use a File Manager
If you’re using an Android phone or tablet, the “Access Denied” error usually appears when trying to open the card from a file manager.
- Restart the device: A simple reboot often re-mounts the card correctly.
- Use a different file manager: The default file manager may not have permission. Try a third-party one like Solid Explorer or Files by Google (they request storage permission properly).
- Clear the file manager’s cache: Go to Settings > Apps > [File Manager] > Storage > Clear Cache.
- Check if the card is mounted: Go to Settings > Storage. If the card is listed as “Unmount” or “Eject,” tap it to mount it.
If none of these work, the card may be corrupted. Android will often prompt you to format it, but that erases all data.
When to Format the Card (and How to Recover Data First)
If the card is still inaccessible after trying the above, the file system may be too damaged. Formatting will erase everything, so try data recovery first.
- Recovery software: Tools like Recuva (Windows) or PhotoRec (cross-platform) can often recover files from a corrupted card. Run them before formatting.
- Format in the device that uses it: If you have a camera, format the card in the camera (it does a low-level format that resets the file system). Otherwise, format on your computer:
- Windows: Right-click the card in File Explorer > Format. Choose FAT32 (for cards up to 32GB) or exFAT (for 64GB and larger). Quick format is usually enough.
- Mac: In Disk Utility, select the card, click Erase, choose format (exFAT or MS-DOS FAT), and click Erase.
- Android: Settings > Storage > SD card > Format.
After formatting, the card should be accessible. If it still shows “Access Denied,” the card is likely physically dead and needs replacement.
Preventing Future Access Denied Errors
Most “Access Denied” issues come from avoidable habits. Here’s how to keep your SD card healthy:
- Always eject safely: On Windows, use “Safely Remove Hardware” before pulling the card. On Mac, drag the card to Trash. On Android, unmount from Settings.
- Don’t remove the card while writing: Wait until the camera’s write light goes off, or the computer’s copy is complete.
- Keep the lock switch up: If you don’t need write protection, keep the slider up.
- Use a quality card reader: Cheap readers can cause voltage issues that corrupt the file system.
- Back up regularly: SD cards are not permanent storage. Copy important files to a hard drive or cloud.
Frequently Asked Questions
Why does my SD card say “Access Denied” when I try to delete files?
This is almost always the write-protect lock switch. Slide it up. If it’s already up, the card may be corrupted or failing. Try the diskpart read-only fix or check disk.
Can I recover data from an SD card that shows Access Denied?
Yes, in many cases. If the card is not physically damaged, data recovery software can read the raw data. Try a tool like Recuva or PhotoRec before formatting. If the card is dead, recovery is unlikely without professional services.
Why does my camera say “Card is locked” but the switch is up?
This usually means the lock switch is broken or the card is failing. Try a different card. If the card is in an adapter, the adapter’s switch might be stuck. Replace the adapter.
Is it safe to format an SD card to fix Access Denied?
Yes, but it erases all data. Only format after you’ve tried other fixes and backed up what you can. Use FAT32 for cards up to 32GB and exFAT for larger ones to maintain compatibility.
Why does my SD card work on my camera but not on my computer?
This is often a driver issue on the computer. Try a different USB port or card reader. Also, the computer may not support the file system (e.g., exFAT on older Windows). Update your drivers or use a different reader.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Mac Start Up Automatically After Power Failure?
- Expose Self-Hosted Service Securely Without Cloudflare Tunnel
- Nano Delivery for Functional Foods: What It Can and Can’t Do4.00
- Disable Apple Watch Turn-by-Turn Vibration While Driving
- Convert Play FLAC in iTunes: Full Guide
- Soda Foundation Charter: What It Means