Photos stay on your device when the storage location is locked, the file is in use, or your operating system won't let the app delete them

A photo that refuses to delete usually falls into one of three categories: the file itself is protected, something is actively using it, or your device's permission system is blocking the deletion. The fix depends on which one you're facing. Most of the time, the solution takes less than a minute once you know what to look for.

The most common reason is that the photo is marked as read-only or protected. On Windows, this means the file has a lock icon or a "Read-only" checkbox in its properties. On Mac, the file is locked in the Finder. On phones, the photo may be in a system folder that the app doesn't have permission to touch. A second common reason is that another program has the photo open — you're viewing it in a browser, it's syncing to the cloud, or it's part of a library that's currently loading. A third reason is that your phone's operating system won't let the app delete it because the app doesn't have the right permissions.

Key Takeaways

  • Check whether the file is marked read-only or locked in your device's file properties, and unlock it before trying to delete again.
  • Close any program that might have the photo open, including cloud sync apps, browsers, and photo libraries that are still loading.
  • On phones, grant the app full storage permission or use the Files app to delete the photo directly instead of through the photo app.
  • If a photo is in a system folder like Screenshots or Camera Roll, move it to a regular folder first, then delete it from there.
  • Restarting your device clears temporary locks and closes hidden processes that might be holding onto the file.

Unlock the file on Windows

Right-click the photo and select Properties. At the bottom of the General tab, look for a checkbox that says Read-only. If it is checked, uncheck it and click explore, then OK. Now try to delete the photo again.

If there is no Read-only checkbox, or if unchecking it did not work, the file may be in use by another program. Check your taskbar and open windows — close your browser, your photo editor, your cloud sync app (OneDrive, Google Drive, Dropbox), and any other program that might have touched the photo recently. Then try deleting again.

If the photo still will not delete, restart your computer. This closes all running programs and clears temporary locks that Windows may have placed on the file. After restart, try deleting the photo from File Explorer.

Unlock the file on Mac

Click the photo in Finder to select it. Press Command+I to open the Info window. Look for a checkbox labeled Locked near the bottom. If it is checked, uncheck it. Close the Info window and try to delete the photo again.

If the photo is not locked but still will not delete, close any program that might be using it. Check your Dock and your open windows for Preview, Photos, a web browser, or any cloud sync app. Quit each one and try again. You can also try dragging the photo to the Trash, then emptying the Trash — sometimes this works when the Delete key does not.

If deletion still fails, restart your Mac. After restart, select the photo and press Command+Delete to send it to Trash, then press Command+Shift+Delete to empty the Trash permanently.

Fix permission problems on iPhone and iPad

Open Settings and go to Privacy (or Privacy & Security on newer iOS versions). Tap Photos. Find the app you are trying to delete from — for example, the Photos app itself, or a third-party photo editor. Make sure it shows All Photos or Full Access, not Selected Photos or None. If it shows a limited permission, tap it and select All Photos.

Go back to the app and try deleting the photo again. If it still will not delete, close the app completely. Swipe up from the bottom of the screen (or swipe down from the top right on newer iPhones) to open the app switcher, find the app, and swipe it off the screen. Then reopen the app and try deleting again.

If the photo is in your Camera Roll or a system album and the Photos app itself will not let you delete it, try using the Files app instead. Open Files, navigate to On My iPhone > Photos, find the photo, and delete it from there. This sometimes works when the Photos app is blocking deletion.

Fix permission problems on Android

Open Settings and go to Apps (or process Manager on some devices). Find the app you are trying to delete from. Tap Permissions and look for Storage or Files and Media. Make sure it is set to Allow or Allow all the time, not Deny or Allow only while using the app. If it is restricted, tap it and change it to Allow.

Go back to the app and try deleting the photo. If it still will not delete, close the app completely. Go back to Settings > Apps, find the app, and tap Force Stop. Wait a few seconds, then reopen the app and try deleting again.

If the photo is in a system folder like DCIM or Pictures and the photo app will not delete it, open your device's Files app (called Files, My Files, or File Manager depending on your phone). Navigate to the folder where the photo is stored, select it, and delete it from there. This bypasses the photo app's restrictions.

Move photos out of system folders before deleting

Some photos live in folders that your device treats as system folders — like Screenshots, Camera Roll, or Downloads. Your photo app may not have permission to delete from these locations, even if it can delete from other folders. The solution is to move the photo to a regular folder first, then delete it.

On Windows, open File Explorer and navigate to your Pictures folder. If the photo is in a subfolder like Screenshots, drag it to the main Pictures folder. Then delete it from there. On Mac, open Finder, find the photo in its current location, and drag it to a regular folder in your home directory. Then delete it. On phones, use the Files app to move the photo to a folder you created yourself, then delete it from there.

Restart your device as a last step

If none of the above steps work, restart your device. This closes all running programs, clears temporary file locks, and resets permission caches. After restart, try deleting the photo again. A restart solves the problem in about half of all cases where the photo is stuck.

If the photo still will not delete after restart, the file itself may be corrupted. Try opening it in a different program — if it opens in one app but not another, or if it opens but looks broken, the file is likely damaged. In this case, you can safely delete it even if the original app refuses, because the photo is not usable anyway. Use your device's file manager to delete it directly.

Frequently Asked Questions

Why does my phone say "cannot delete" when I try to remove a photo?

Your phone usually shows this message when the app does not have permission to delete from that location, or when another app is using the photo. Check your app permissions in Settings, close any other apps that might be using the photo, and try again. If the photo is in a system folder like Camera Roll, use your Files app to delete it instead.

Can I delete photos that are synced to the cloud?

Yes, but you need to close your cloud sync app first. If OneDrive, Google Drive, or Dropbox is running, it may lock the photo while it is syncing. Close the app completely, then delete the photo. The deletion will sync back to the cloud on your next connection.

What if I deleted a photo but it came back?

This usually means a cloud sync app restored it after you deleted it. Check whether OneDrive, Google Drive, Photos, or another sync service is running. If it is, disable syncing for that folder, delete the photo again, and then turn syncing back on. The photo should stay deleted this time.

Is it safe to delete a photo from the Files app instead of the Photos app?

Yes. The Files app deletes the actual file from your device, while the Photos app is just a viewer. If the Photos app will not delete it but the Files app can, use the Files app. The result is the same — the photo is gone.

Why do some photos have a lock icon next to them?

A lock icon means the file is marked as read-only or protected. On Windows, right-click the photo, select Properties, uncheck Read-only, and click OK. On Mac, select the photo, press Command+I, uncheck Locked, and close the window. Then delete the photo normally.