Where is the OneDrive recycle bin, and how long does it keep deleted files?
Open OneDrive in a browser and choose Recycle bin in the left-hand pane. A personal (Microsoft account) OneDrive keeps deleted files for 30 days. A work or school OneDrive keeps them for 93 days unless your administrator changed that, and after the first bin is emptied they wait out the rest of those 93 days in a second-stage bin.
Most lost OneDrive files are not lost. They are sitting in a bin the person looking for them does not know about: the web recycle bin when they checked their PC, the second stage when they checked the first, or a departed colleague's OneDrive that nobody has been given access to. The rules differ by account type, so start by working out which OneDrive you have.
Personal or work: the two OneDrives keep files for different lengths of time
A personal OneDrive is the one you sign in to with a Microsoft account (outlook.com, hotmail.com or similar). A work or school OneDrive comes with your organisation's Microsoft 365 account. They share a name and very little else.
| Question | Personal OneDrive | Work or school OneDrive |
|---|---|---|
| How long a deleted file waits | 30 days | 93 days, unless an administrator changed it |
| Second-stage bin | No | Yes, inside the same 93 days |
| Space | When the bin is full, the oldest items can be removed after three days | Items in the first-stage bin count towards the OneDrive's storage |
| Who can restore from it | Only you | You, and an administrator who has been given access to your OneDrive |
Where to find it on each device
- In a browser: sign in to OneDrive and choose Recycle bin in the navigation pane on the left. This is the bin that matters, because it holds everything deleted from any device.
- On a Windows PC or a Mac: the computer's Recycle Bin or Trash is worth a look for something deleted on that machine, but files deleted in the cloud, including files that were online-only on your PC, never arrive there. If it is not on the computer, the web bin is the one to check.
- On a phone: open the OneDrive app, tap the Me icon (your account picture), choose the account, then Recycle Bin.
How to restore a file from the OneDrive recycle bin
- Open OneDrive in a browser and sign in with the account that owned the file.
- Choose Recycle bin in the left-hand pane.
- Tick the circle beside each file or folder you want back.
- Choose Restore. Each item goes back to the folder it was deleted from.
- Not there, on a work or school account? Scroll to the bottom of the page and open the second-stage recycle bin.
The second-stage bin on a work or school OneDrive
A work or school OneDrive is a SharePoint site, and it has the same two bins a SharePoint site has. Emptying the first one, or deleting a single item from it, does not destroy anything: the item moves to the second stage. Microsoft's rules for the SharePoint recycle bin apply to it as well.
On a work account the bin also shows items other people deleted from your OneDrive, for example from a folder you shared with edit rights, and you can restore those too.
When the recycle bin is empty or the time has run out
Once an item is removed from the last bin, or its days are up, the recycle bin cannot bring it back. What is left depends on what was in place before the file was deleted.
- Roll the whole OneDrive back. Microsoft 365 subscribers can return their entire OneDrive to how it was at any point in the last 30 days, from the OneDrive settings on the web. It undoes every change since that point, not just the deletion, so it suits a mass deletion or a ransomware clean-up better than a single lost file.
- An earlier version of a file that still exists. If the file was overwritten rather than deleted, its version history may hold the copy you want.
- A retention policy. If your organisation had a Microsoft 365 retention policy or hold covering OneDrive, a copy may sit in the OneDrive's Preservation Hold Library long after the bins are empty. ShareMaster can search that library and download the files on every plan, the free one included.
- A backup. Microsoft 365 Backup or any other backup that was already running before the deletion. One started afterwards cannot help.
A personal OneDrive has no retention policies or administrator to fall back on, so for most personal files the 30 days are the whole safety net.
When the whole OneDrive is gone: someone has left the organisation
The other common search behind this question is an administrator looking for the files of a person who has left. Deleting the user does not delete their OneDrive straight away. It starts a timed process, and knowing where you are in it tells you what you can still do.
- The user is deleted. Only deleting the account starts the clock. Blocking sign-in or removing the licence does not.
- Their manager gets access. If automatic access delegation is on, the person's manager, or the secondary owner set in the SharePoint admin center when there is no manager, is emailed to say they now have access and can open the OneDrive.
- The retention period runs. 30 days by default. An administrator can set anything from 30 to 3,650 days in the SharePoint admin center, and a change also applies to OneDrives already counting down. A reminder goes to the manager or secondary owner seven days before the end.
- The OneDrive goes into the recycle bin for 93 days. Its shared content stops working for everyone, but a SharePoint administrator can still restore the whole OneDrive with PowerShell (
Restore-SPODeletedSite). - After that it is permanently deleted. Retention policies and eDiscovery holds override all of this: a OneDrive on hold is not deleted until the hold is lifted.
Separately, a OneDrive that has had no licence for 93 days, which includes one whose user was deleted, is moved into a paid archive state by Microsoft. Retention settings and holds still apply there.
Restoring files from another person's OneDrive recycle bin
Being a Microsoft 365 or SharePoint administrator does not by itself open somebody's OneDrive. Give yourself access first: in the Microsoft 365 admin center go to Users, Active users, select the person, open the OneDrive tab and choose Create link to files under Get access to files. From there you can open their recycle bin like your own.
That works for a handful of files. It gets slow when the job is "everything Sam deleted from the Projects folder in the week before he left", because the built-in bin can only be sorted and scrolled.
Searching and restoring a OneDrive bin in bulk with ShareMaster
ShareMaster's Recycling Bin opens a OneDrive's bin the same way it opens a SharePoint site's: switch the picker to OneDrive, choose the person, and their bin loads into a table you can filter.
- Filter by any text, title, original location, kind of item, who created it, who deleted it, and a deleted-date range
- Load the first or the second stage (the second stage needs site collection administrator rights on that OneDrive)
- Restore everything the filter matches in one run, folders first, with a choice of what happens when a file of the same name is already there
- Keep a record: every restore and purge is logged with a report you can download, kept for 90 days
Its limits, plainly: it opens one OneDrive or site at a time, and it uses the access your account already has, so the step above still comes first. The free trial loads and filters any bin so you can see what is recoverable; restoring needs a Recycle Master licence, from USD 300 a year.
No Windows PC to hand? The same recycle bin runs in your browser from the sharemaster.io members area and can open your own OneDrive.
Questions people ask about the OneDrive recycle bin
How long does OneDrive keep deleted files?
30 days on a personal OneDrive. 93 days on a work or school OneDrive, unless an administrator changed the setting, and those 93 days cover both the first and the second-stage bin together.
Why is a file I deleted not in my PC's Recycle Bin?
Files deleted from the cloud, including online-only files on your PC, do not go to the computer's Recycle Bin or Trash. Look in the OneDrive recycle bin on the web instead.
Can I get a file back after emptying the OneDrive recycle bin?
On a work or school account, check the second-stage bin first: emptying the first bin only moves items there. After both are empty, the options are rolling the whole OneDrive back (up to 30 days), a copy kept by a retention policy, or a backup that was running before the deletion.
What happens to a OneDrive when the user is deleted?
It is kept for the OneDrive retention period, 30 days by default and up to 3,650, while the manager or secondary owner can open it. It then spends 93 days in the recycle bin, where a SharePoint administrator can restore it with PowerShell, before it is deleted for good.
Can an administrator restore files from a user's OneDrive recycle bin?
Yes, once they have access to that OneDrive. In the Microsoft 365 admin center, open the user, go to the OneDrive tab and create a link to their files, then open the recycle bin from there.
Next: if the files were on a SharePoint site rather than a OneDrive, see the SharePoint second-stage recycle bin, and if the bins are already empty, recovering files from an emptied recycle bin.
Last updated