When you delete files from OneDrive, they go to the recycle bin. But many business users worry that emptying the bin will permanently remove files needed for compliance or legal hold. OneDrive has two separate recycle bins: a first-stage bin and a second-stage site collection bin. Files under retention policy or legal hold are protected from permanent deletion even if you empty both bins. This article shows you exactly how to clean each recycle bin safely without affecting files that must be retained.
Key Takeaways: Cleaning OneDrive Recycle Bins Without Losing Retained Files
- OneDrive web > Recycle bin > Empty recycle bin: Removes first-stage items but does not delete files under retention or legal hold.
- OneDrive web > Recycle bin > Second-stage recycle bin: Accessible only from SharePoint admin or site collection settings; files here are also protected by retention policies.
- Microsoft Purview compliance portal > Data lifecycle management > Retention policies: Check which policies apply to your OneDrive before bulk-deleting any bin contents.
Understanding OneDrive Recycle Bins and Retention Policy Protection
OneDrive uses a two-stage recycle bin system similar to SharePoint. When you delete a file from OneDrive, it first goes to the first-stage recycle bin. If you empty that bin, the file moves to the second-stage recycle bin, also called the site collection recycle bin. After the second-stage bin is emptied, the file enters a 93-day period during which an administrator can still restore it from the SharePoint admin center.
Retention policies in Microsoft 365 override normal deletion behavior. If a file is covered by a retention label or a retention policy, it cannot be permanently deleted by any user or administrator until the retention period expires. Even if you empty both recycle bins, retained files remain in a preservation hold library invisible to end users. This means you can clean your recycle bin aggressively without losing files that must be kept for compliance.
First-Stage Recycle Bin
This is the recycle bin you see when you open OneDrive in a browser and click Recycle bin in the left navigation. Deleted files stay here for 30 days unless you empty the bin manually. After 30 days, files automatically move to the second-stage bin.
Second-Stage Site Collection Recycle Bin
This bin is not visible from the standard OneDrive interface. You must access it through SharePoint admin settings or by appending a specific URL parameter. Files in this bin are retained for an additional 30 days after being removed from the first-stage bin. After that, the system permanently deletes them unless a retention policy protects them.
Retention Policy and Legal Hold Exemptions
Files under a Microsoft 365 retention policy or eDiscovery hold are stored in a secure Preservation Hold library. These files are invisible in the recycle bin and cannot be deleted by emptying the bin. Only a compliance administrator can release a hold or modify the retention policy. This guarantees that cleaning your recycle bin will not break any retention requirements.
Steps to Clean the First-Stage Recycle Bin Safely
- Open OneDrive in your browser
Go to office.com and sign in with your work or school account. Select the app launcher in the top-left corner and choose OneDrive. - Navigate to the Recycle bin
In the left navigation pane, click Recycle bin. You will see all files you have deleted within the last 30 days. - Select files you want to remove permanently
You can select individual files by checking the box next to each file. To select all visible files, check the box at the top of the list. - Click Delete or Empty recycle bin
Click the Delete icon at the top of the list to remove selected files. Alternatively, click Empty recycle bin to remove every file in the first-stage bin. A confirmation dialog will appear. Click Delete to confirm. - Verify files moved to the second-stage bin
After emptying, the files are not permanently deleted yet. They move to the second-stage recycle bin. You can confirm this by accessing the second-stage bin as described in the next section.
Steps to Clean the Second-Stage Site Collection Recycle Bin
- Open the OneDrive site collection recycle bin URL
In your browser, go to:https://yourtenant-my.sharepoint.com/personal/youralias_yourdomain_com/_layouts/15/AdminRecycleBin.aspxReplace the URL with your actual OneDrive URL. You can find this by navigating to your OneDrive root folder and copying the URL up to/personal/. - Sign in if prompted
Use your work or school account. You must be a site collection administrator or have the appropriate permissions to view this page. - Review the list of files in the second-stage bin
This page shows files that were removed from the first-stage recycle bin. They have a remaining retention time displayed in days. Files under retention policy will not appear here. - Select files and click Delete
Check the boxes next to files you want to permanently delete. Click the Delete button at the top. A confirmation dialog will appear. Click OK to confirm. - Check for retention-protected files
If any file you expected to see is missing from the second-stage bin, it is likely under a retention policy or legal hold. You can verify this in the Microsoft Purview compliance portal.
Common Mistakes and Limitations When Cleaning Recycle Bins
Emptying the first-stage bin does not immediately free up storage
Files moved to the second-stage bin still count against your OneDrive storage quota. Only after you empty the second-stage bin or the 30-day timer expires does storage become available. If your goal is to free up space, you must empty both bins.
You cannot restore files after emptying both bins
Once you empty the second-stage recycle bin, files are permanently deleted unless they are under retention. There is no user-facing restore option after that point. An administrator can still restore files within 93 days using the SharePoint admin center, but this requires global admin or SharePoint admin privileges.
Retention policy labels are not visible in the recycle bin
The recycle bin interface does not show which files are protected by retention. To confirm a file is retained, you must use the Microsoft Purview compliance portal and search for the file using content search or activity explorer. Do not assume a file is unprotected just because it appears in the recycle bin.
Deleted folders may contain retained files
If you delete a folder that contains files under retention, the folder and all non-retained files will be deleted. The retained files remain in the Preservation Hold library. You will not see them in the recycle bin. This behavior is by design and does not break retention.
First-Stage Bin vs Second-Stage Bin vs Retention Hold: Key Differences
| Item | First-Stage Recycle Bin | Second-Stage Site Collection Bin | Preservation Hold (Retention) |
|---|---|---|---|
| Visibility | Visible to end user in OneDrive web | Visible only via SharePoint admin URL | Hidden from all users except compliance admins |
| Retention duration | 30 days from deletion | 30 days after removal from first-stage bin | Duration set by retention policy |
| Effect of emptying | Moves files to second-stage bin | Permanently deletes files unless under retention | Files remain protected; deletion is blocked |
| Storage impact | Files still count toward quota | Files still count toward quota | Files count toward quota until retention expires |
| Restore capability | End user can restore from bin | Admin can restore within 93 days | Admin can restore via eDiscovery or compliance tools |
Now you can safely clean both OneDrive recycle bins without risking the loss of files under retention. Start by checking your retention policies in the Microsoft Purview compliance portal to understand which files are protected. Then empty the first-stage bin, followed by the second-stage bin if you need to free storage. For ongoing management, consider setting up a retention policy that automatically protects critical OneDrive content so you never have to worry about accidental permanent deletion.