logo
search
OneDrive File Issues

Fix Cannot Delete a File from OneDrive (Causes & Solutions)

Phi Hung VoPhi Hung Vo Sep 29, 2026 873 views

Question details

The user is unable to delete a file from OneDrive because the delete option is either missing or returns an error stating the action cannot be completed.

How to Fix "Cannot Delete a File" in OneDrive
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Trying to remove a file from the OneDrive mobile app or desktop synchronized folder.
Observed behavior
The file deletion fails due to the file being locked, actively synchronizing, checked out, restricted by permissions, or affected by an organizational retention policy.
Before you start

Ensure you are connected to a stable internet connection and verify that you have edit or administrative permissions for the file you are attempting to delete.

Solution 1Recommended

Close Applications and Delete via OneDrive Web

Files are often locked by background processes on mobile or desktop apps. Deleting the file through the web interface circumvents local app glitches.

If a file is open in any Office application across your devices, OneDrive will lock it to prevent data loss. Using the web version ensures you are communicating directly with the server.

1
Close all active files

Fully exit the file and any related Microsoft Office applications on your current device, as well as on any other computers or mobile devices linked to your account.

2
Access OneDrive on the web

Open your preferred web browser and log in to the official OneDrive website using your Microsoft credentials.

3
Delete the file

Navigate to the file's location, select the checkbox next to it, and click the 'Delete' option located in the top menu bar.

Close Applications and Delete via OneDrive Web
Synchronization Wait Time: After successfully deleting the file on the web, allow a few minutes for the synchronization process to reflect the deletion on your mobile and desktop apps.
Free Microsoft Office alternative

Manage Your Cloud Files Effortlessly with WPS Office

If you frequently encounter file locks or synchronization issues with Microsoft Office, consider switching to WPS Office. It is a powerful, lightweight alternative that simplifies local and cloud document management without frustrating background lockups.

  1. 1. Download the software: Visit the official WPS website and download the free WPS Office installer for your operating system.
  2. 2. Install and launch: Run the setup file to install the suite, then open WPS Office from your desktop or application menu.
  3. 3. Connect cloud services: Navigate to the 'Cloud' or 'Open' tab to sign in and link your existing cloud storage accounts for easy file management.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx)Built-in file management that easily integrates with third-party cloud drives without locking files unnecessarilyLightweight application that requires minimal system resources and avoids heavy background syncing conflictsFamiliar, intuitive user interface allowing for a seamless, zero-learning-curve transition
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive say a file is in use when I try to delete it?

This error occurs if the file is still open in an Office application on one of your devices, or if the OneDrive client is actively syncing the file in the background. Ensuring the file is completely closed on all devices usually resolves this.

Can I force delete a file from the OneDrive mobile app?

You cannot forcefully bypass server-side restrictions or active sync locks directly from the mobile app. The most effective workaround is to log into the OneDrive website via a browser and delete it there.

What should I do if a shared file cannot be deleted?

If a file was shared with you and you only have 'View' access, you do not have permission to delete it from the server. You must ask the original owner to delete it, or you can select 'Remove from shared list' to hide it from your view.

Does deleting a file from the OneDrive website remove it from my computer?

Yes. If your computer is actively linked and synchronizing with your OneDrive account, deleting the file from the cloud will automatically remove the local copy and send it to your computer's Recycle Bin.