Can't Delete Files From SD Card on Android? Fix It
In this article
- Why Android Sometimes Blocks Deletion on SD Cards
- Check the Physical Write-Protect Switch
- Files in Use by an App or System Process
- Corrupted File System or Card Errors
- File Manager Permissions and Scoped Storage
- Format the SD Card as a Last Resort
- Frequently Asked Questions
- Safety First: Don't Lose Your Data
If your Android phone refuses to delete files from an SD card, the cause is usually one of a few fixable issues: the card is write-protected, the files are in use by an app, the card is corrupted, or the phone's file manager lacks permission. This guide walks through each cause and the exact steps to resolve it, so you can clear space on your card without losing your data.
Why Android Sometimes Blocks Deletion on SD Cards
Android treats SD cards differently depending on how they are formatted and used. There are two main setups:
- Portable storage: The card is separate from internal memory. You can move files between the card and phone, but some apps may not write to it freely.
- Adoptable (internal) storage: The card is formatted as part of the phone's internal storage. Files are encrypted and tied to the device, so deleting them through a computer or another phone won't work—you must use the same phone.
On newer Android versions (11 and later), the system also enforces scoped storage, which means a file manager can only delete files it owns or files in shared media folders (like DCIM, Pictures, Downloads) unless it has special permission. If you're trying to delete app data or system files on the card, the system may block it for safety.
Check the Physical Write-Protect Switch
Many full-size SD cards have a tiny switch on the side labeled “Lock.” If it's slid down (toward the “Lock” position), the card becomes read-only—you can view files but not delete or write any. This is the simplest cause and the easiest to miss.
- Remove the SD card from your phone (power off first if it's not hot-swappable).
- Look for the small switch on the left edge of the card.
- Slide it up (away from “Lock”) until it clicks.
- Reinsert the card and try deleting again.
If the switch is already in the unlocked position, or if you have a microSD card (which has no switch), move on to the next steps.
Files in Use by an App or System Process
If a file is currently open—say, a photo you're viewing in the gallery, a document in an office app, or a cached file from a game—Android may refuse to delete it because the app holds a lock on it. The fix is to close the app first, then delete.
- Open the file in its default app and close it (or swipe it away from the recent apps list).
- Go to Settings → Apps → see all apps, and force-stop the app that might be using the file (e.g., Gallery, Photos, or a specific game).
- Try deleting the file again from your file manager.
If the file is a system cache (like thumbnails in the DCIM/.thumbnails folder), you may need to clear the cache of the specific app (like the camera) instead of deleting the file manually.
Corrupted File System or Card Errors
SD cards can develop file system errors over time, especially after improper removal (yanking the card out while the phone is writing) or frequent power loss. A corrupted card may show files as “ghost” entries that can't be deleted, or the entire card may become read-only.
To check and fix:
- On your phone, go to Settings → Storage → SD card.
- Look for an option like “Check” or “Repair” (on Samsung devices, it's often under “Storage” → “SD card” → three-dot menu → “Storage settings”).
- Run the check. If it finds errors, let it repair them.
- If the phone doesn't offer a repair, remove the card and plug it into a computer using a card reader.
- On Windows, right-click the drive → Properties → Tools → Check. On macOS, use Disk Utility → First Aid.
If the card is severely corrupted, the computer may ask to format it. Do not format yet—try data recovery first if you have important files (see the safety section below).
File Manager Permissions and Scoped Storage
If you're using a third-party file manager (like ES File Explorer, Solid Explorer, or even the default Files app), it may not have permission to modify SD card contents. Android's scoped storage requires the app to request “All files access” (MANAGE_EXTERNAL_STORAGE) to delete files outside its own directories.
- Enable “Storage” or “Files and media” if not already on.
- On Android 11+, tap “All files access” and grant it.
- Reopen the file manager and try deleting again.
If you're using the phone's default Files app, it should have the necessary permissions, but check anyway—some manufacturers (like Xiaomi or Huawei) restrict background access by default.
Format the SD Card as a Last Resort
If none of the above works, the card may be beyond repair or the file system is so damaged that deletion is impossible. Formatting will erase everything, so only do this after backing up what you can.
- Back up any files you want to keep to your phone's internal storage, cloud, or computer.
- Go to Settings → Storage → SD card.
- Tap “Format” or “Format as portable.”
- Confirm the action.
After formatting, the card should be fully writable. If it still refuses to delete files after a format, the card is likely failing physically—replace it.
Frequently Asked Questions
Why does my SD card say “read-only” even though the switch is unlocked?
This can happen if the card's file system has errors or if the card is failing. On Android, you can try remounting the card: go to Settings → Storage → SD card → “Unmount,” then reinsert it. If that doesn't work, back up your data and format the card.
Can I delete files from an SD card using a computer?
Yes, if the card is formatted as portable storage (FAT32/exFAT) and not encrypted. Remove the card, insert it into a card reader, and delete files as you would from any drive. If the card is adoptable storage (encrypted), the computer won't see it properly—you must delete from the phone.
Why can't I delete the folder “LOST.DIR” on my SD card?
LOST.DIR is a system folder created by Android to hold recovered files after a crash or improper removal. It's often protected by the system. You can try deleting it with a file manager that has root access, but it's usually harmless and will be recreated. It's safe to leave it.
Will deleting files from an SD card speed up my phone?
Not directly. Freeing up space can help if the card was nearly full, but performance issues are more often due to a slow or failing card. If your phone lags, consider using a faster card (Class 10 or UHS-I) or moving apps to internal storage.
What should I do if my SD card is corrupted and I need the files?
Stop using the card immediately to avoid overwriting data. Use data recovery software on a computer (like Recuva, PhotoRec, or Disk Drill) to scan the card. Success varies—if the card is physically damaged, professional recovery may be needed, but it's expensive and not always successful.
Safety First: Don't Lose Your Data
Before trying any fix that involves formatting or repairing, always back up what you can. Copy important files to your phone's internal storage, cloud services, or a computer. If the card is failing, every read could be the last—so prioritize data recovery over deletion. Also, avoid using cheap or counterfeit SD cards, as they are more prone to corruption and failure. Stick to reputable brands and buy from trusted sellers.