If you cannot delete files from your Android phone, the cause is usually one of three things: the file is locked by an app, you lack the necessary storage permission, or the file is on a read-only SD card. This guide walks through each cause and gives you the exact steps to force-delete stubborn files.
Why Files Refuse to Delete on Android
Android treats every file as an object with permissions. When you tap delete, the system asks the storage service to remove the file. That request fails if:
- The file is open in another app (e.g., a downloaded PDF still being indexed by a reader).
- The app holding the file has cached it in memory and hasn't released the lock.
- The storage location is read-only – common with SD cards formatted as internal storage on a different device, or cards with a physical lock switch.
- The file is marked as system or protected – Android hides or locks certain files (like app data or media in
Android/data) to prevent accidental deletion. - The file name is too long or contains characters that confuse the file manager (rare but possible).
First Steps: Basic Fixes That Usually Work
Before diving into advanced methods, try these simple actions. They resolve the majority of cases.
- Close all apps: Swipe away recent apps or use Settings > Apps > Running to force-stop anything that might be using the file.
- Restart the phone – this releases all file locks held by background processes.
- Use the built-in Files app instead of a third-party manager. Samsung's My Files, Google Files, or the stock file manager often have different permissions.
- Check if the file is in a folder like Downloads or Pictures – sometimes the file is stored in a protected system folder.
- If the file is on an SD card, remove the card, insert it into a computer, and delete from there.
Grant Storage Permissions to Your File Manager
On Android 6 (Marshmallow) and later, apps need explicit permission to read and delete files. If you installed a file manager and never granted it storage access, it can see some files but cannot modify them.
How to check:
- Go to Settings > Apps and tap your file manager app.
- Select Permissions.
- Ensure Storage (or Files and media) is set to Allow.
On Android 11 and higher, you may need to grant All files access for the app to manage files outside its own folders. That option is under Settings > Apps > Special app access > All files access.
Force Delete Files Using a PC or Mac
When the phone itself refuses, connecting to a computer is the most reliable workaround. The computer has full control over the storage and ignores Android's file locks.
- Connect your phone via USB and choose File Transfer mode (the notification that appears when plugged in).
- On Windows, open This PC and find your device under Devices and drives. On Mac, use Android File Transfer.
- Navigate to the file and delete it normally. If the computer also fails, try formatting the SD card (after backing up) or using a command prompt with
del /fon Windows.
For files in Android/data (which Android 11+ hides), a PC can still see and delete them – just browse to that folder.
Clear Cache and Data of the App That Owns the File
If the file is inside an app's data folder (like Android/data/com.example.app/files), the app itself must release it. Deleting the app's cache or data often removes those files.
Steps:
- Go to Settings > Apps and find the app that created the file.
- Tap Storage.
- Tap Clear Cache – this removes temporary files but keeps your data.
- If the file persists, tap Clear Storage (or Clear Data) – this deletes all app data, including the stubborn file.
Be careful: clearing data resets the app to its initial state, so you may lose login info or settings.
Use Safe Mode to Bypass Third-Party Locks
Some apps run in the background and keep files locked. Safe mode starts Android with only pre-installed apps, so third-party locks are gone.
- Press and hold the power button.
- Tap and hold Power off until you see Safe mode prompt.
- Tap OK to restart in safe mode.
- Open your file manager and try deleting the file.
- Restart normally when done.
If the file deletes in safe mode, a third-party app was holding it. Uninstall the likely culprit.
Format the SD Card as a Last Resort
If the file is on an SD card and nothing else works, formatting the card will erase everything, including the locked file. This is a destructive step, so back up any data you want to keep.
- Go to Settings > Storage.
- Tap the SD card name.
- Tap the three-dot menu and select Format.
- Confirm. The card will be wiped and remounted.
Alternatively, remove the card and format it in a computer using FAT32 or exFAT (the standard Android formats).
Frequently Asked Questions
Why does my phone say “Can't delete file” even after I restart?
If a restart doesn't help, the file is likely in a protected system folder or on a read-only partition. Check if the file is in Android/data or Android/obb – these are locked by design. Use a PC to delete them, or clear the specific app's data.
Can I delete files from Android/data without root?
Yes, but only with a PC. Android 11 and later restrict access to Android/data for file managers, but a computer connected via USB can still browse and delete files there. Some file managers with “All files access” permission can also do it, but not all.
Why can’t I delete a video from my gallery?
Gallery apps often show media that is actually stored in an app-specific folder. Open the file's details to see the full path. If it's in Android/data, you'll need to clear that app's data or use a PC. Also check if the video is a “secure folder” item – those require unlocking the secure folder first.
What does “read-only file system” mean on Android?
It means the storage partition is mounted with read-only permissions. This can happen when the SD card is corrupted, or when the system partition is accidentally accessed. For SD cards, try remounting: go to Settings > Storage, unmount the card, then mount it again. If that fails, format the card.
Is there a way to force delete a file without a PC?
Yes, but it's limited. Try safe mode, clearing app data, or using a file manager with root access (if your phone is rooted). For non-rooted phones, the most reliable no-PC method is to clear the cache/data of the app that created the file.
Will factory reset delete all files?
Yes, a factory reset erases all user data, including files in internal storage. It also removes any locks on system files. However, it won't delete files on the SD card unless you choose to format it during the reset process. Always back up important data before resetting.