Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Can't Delete File on iPhone? Fixes That Work

· 5 min read · Home Tech

In this article
  1. Why This Error Happens
  2. First: Check If the File Is Locked
  3. Close the File in Other Apps
  4. Check iCloud Drive and Shared Folders
  5. Delete From the App That Created It
  6. Restart or Force Restart Your iPhone
  7. If the File Is Still Stuck: Offload the App
  8. Frequently Asked Questions

If you see "You don't have permission to delete file" on your iPhone, it usually means the file is locked, in use, or protected by an app's sandbox. This guide explains why the error appears and shows you the exact steps to remove the file safely.

Why This Error Happens

iOS restricts file deletion to protect system files, app data, and user content. The error typically appears when:

  • The file is marked as locked in the Files app (a common cause).
  • The file is currently open in another app (e.g., a PDF in a reader).
  • The file is inside an app's private folder (e.g., in the "On My iPhone" section of a third-party app).
  • The file is part of a shared iCloud Drive folder where you only have view-only access.
  • The file is a system file that iOS protects (you should never force-delete these).

First: Check If the File Is Locked

The most common fix is to unlock the file. In the Files app:

  1. Open the Files app and navigate to the file.
  2. Touch and hold the file, then tap Get Info (or swipe left and tap More).
  3. Look for the Locked toggle. If it's on, turn it off.
  4. Try deleting again (swipe left or long-press → Delete).

If the file is in iCloud Drive and shared with you, the owner may have restricted editing. Ask them to change the permission to "Can edit" or remove the file themselves.

Close the File in Other Apps

If the file is open in another app, iOS may block deletion. For example, if you have a PDF open in a reader and try to delete it from Files, you may get the permission error. Close the file in every app that might be using it, then try again. If you're not sure, restart your iPhone to force-close background apps.

Check iCloud Drive and Shared Folders

Files stored in iCloud Drive that are shared with you can only be deleted by the owner or someone with edit permission. To check:

  • In the Files app, tap the Shared tab at the bottom.
  • Find the file or folder and tap it to see who owns it.
  • If you don't have edit access, you can only remove it from your device (which doesn't delete it for others), or ask the owner to delete it.

Delete From the App That Created It

Some apps store files in their own sandboxed directories. For example, a file created in a document editor may only be deletable from within that app. Open the app, find the file in its own file manager, and delete it there. If the file is in "On My iPhone" inside a third-party app's folder, you may need to use that app's delete function.

Restart or Force Restart Your iPhone

A temporary glitch can cause the permission error. Try restarting your iPhone first. If that doesn't work, force restart:

  • iPhone 8 or later: Press and release Volume Up, then Volume Down, then hold the Side button until the Apple logo appears.
  • iPhone 7: Hold the Side and Volume Down buttons together until the logo appears.
  • iPhone 6s or earlier: Hold the Home and Top/Side buttons together.

If the File Is Still Stuck: Offload the App

If the file is inside an app's sandbox and you can't delete it any other way, you can offload the app. Offloading removes the app but keeps its documents. To offload:

  1. Go to Settings → General → iPhone Storage.
  2. Find the app that owns the file.
  3. Tap Offload App. This frees up space but keeps the app's data.

After offloading, the file may become accessible again. If you want to delete the file completely, you may need to delete the app entirely (which removes all its data). Be careful: deleting an app permanently deletes its local files.

Frequently Asked Questions

Why does it say "You don't have permission to delete file" even though I'm the owner?

This often happens when the file is locked in the Files app. Check Get Info and turn off the Locked toggle. If that doesn't work, the file might be in use by another app, or it could be a system file that iOS protects.

Can I delete a file from iCloud Drive that someone shared with me?

If you have edit permission, you can delete it, and it will be deleted for everyone. If you only have view permission, you cannot delete it. You can remove it from your device, but it will still exist in the shared folder.

What if the file is in "On My iPhone" but won't delete?

Try restarting your iPhone first. If that fails, the file may be in an app's private folder. Open that app and delete it from inside the app. If you still can't, offload the app (Settings → General → iPhone Storage → Offload App) and then try again.

Is it safe to delete files from the "System" folder in the Files app?

No. The Files app doesn't normally show system files, but if you see a folder labeled System or similar, do not delete it. Those files are required for iOS to run. Deleting them can cause instability or data loss.

Will restarting my iPhone delete my files?

No. Restarting or force restarting your iPhone does not delete any of your files or data. It only closes apps and clears temporary memory.

Can I use a computer to delete the file?

Yes, if the file is in iCloud Drive or synced via Finder (on macOS) or iTunes (on Windows). Connect your iPhone to a computer, open the Files section, and try deleting the file there. This sometimes bypasses the permission error on the phone.