How to Delete a OneDrive Folder That Appears to Be Empty
Question details
The user is unable to delete a specific folder in OneDrive because the system reports it is not empty, even though no files are visibly present inside it.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to delete a folder in the OneDrive web interface but being blocked by a misleading 'not empty' error prompt.
- Observed behavior
- OneDrive blocks the deletion of the seemingly empty folder due to hidden system items, classic view discrepancies, organizational retention policies, or eDiscovery holds.
Before proceeding, try clearing your browser cache or opening OneDrive in a private (incognito) browsing window to rule out temporary display glitches.
Use the Classic OneDrive Experience to Find Hidden Files
Switching to the classic view in OneDrive often reveals hidden system files that are preventing the folder from being deleted.
The modern OneDrive web interface sometimes hides specific system files or version histories. Using the classic experience forces the interface to display everything, allowing you to delete the obstructing file.
Open your preferred web browser and log in to your OneDrive account online.
Look at the bottom left corner of the OneDrive navigation pane and click on 'Return to classic OneDrive'.
Navigate to the folder you are trying to delete and open it. Identify any hidden files or folders that are now visible in this legacy view.
Select the newly revealed hidden files and delete them to completely empty the folder.
Navigate back to the parent directory and successfully delete the target folder.

Check for Retention Policies or eDiscovery Holds
If you are using a work or school account, your organization may have applied strict administrative policies that prevent data deletion.
Try WPS Office for Seamless Cloud Integration
While troubleshooting complex Microsoft OneDrive issues, consider switching to WPS Office. It is a highly compatible, lightweight, and free office suite that integrates smoothly with popular cloud storage services without frustrating administrative hurdles.
- 1. Download the software: Visit the official WPS Office website and click the free download button.
- 2. Install and connect: Complete the quick installation process and sign in to connect your preferred cloud services.
- 3. Manage documents easily: Open, edit, and save your existing Microsoft Office documents with perfect formatting compatibility.

Frequently Asked Questions
Why does OneDrive say my folder is not empty when I see no files?
This usually happens because the folder contains hidden system files, version history elements, or items protected by your organization's retention policies that simply do not render in the standard modern view.
How do I show hidden files in OneDrive online?
While the modern web interface hides certain system files by default, you can click 'Return to classic OneDrive' in the lower-left corner of the web page to view legacy or hidden elements inside your folders.
Can clearing my browser cache fix the OneDrive deletion error?
Yes, occasionally a browser display glitch or outdated cache can cause this error. Clearing your browser cache or trying a completely different web browser ensures you are interacting with the most up-to-date folder contents.
What should I do if the classic OneDrive view is not available?
If the classic view link is missing, your organization has likely disabled it. You will need to contact your IT administrator to check for active eDiscovery holds or retention policies blocking the deletion.




