How to Recover Deleted OneDrive Files
Deleted OneDrive files go to the OneDrive recycle bin, where a work or school account keeps them for 93 days and a personal account keeps them for 30 days. Open OneDrive in a browser, select Recycle bin in the left pane, tick the files you want and select Restore. They return to their original location with their version history intact.
That covers most cases. It does not cover the two situations that bring people here in a panic: files that are no longer in the recycle bin, and the OneDrive of an employee who has left the organisation. Both are covered below, along with the point at which the answer becomes genuinely no.
Method 1: The OneDrive Recycle Bin
The first place to look, and the one that resolves most deletions:
- Sign in to OneDrive in a browser at the account that owned the files.
- Select Recycle bin in the left navigation pane.
- Select the files or folders to recover, then select Restore. To bring everything back, select Restore all items.
Two things worth knowing while you are in there. Restoring a folder brings back its contents, so recover the folder rather than picking through files individually. And retention is counted from the moment of deletion, not from when you noticed: 93 days for work or school accounts (unless your administrator has shortened it) and 30 days for personal accounts.
Method 2: Restore Your Whole OneDrive to an Earlier Point
If the problem is bigger than a few files - a sync error that deleted a tree of folders, a ransomware event, or a bulk deletion nobody can fully reconstruct - OneDrive can roll the entire library back to a previous point in time rather than restoring item by item.
In OneDrive on the web, open Settings, then Restore your OneDrive, and choose a date. OneDrive shows a daily chart of file activity so you can pick the moment before the damage. This feature requires a Microsoft 365 subscription and covers the previous 30 days.
This is the right tool when you cannot enumerate what was lost. It is the wrong tool if other people have made wanted changes since the deletion, because the rollback applies to everything.
Method 3: Check the Local Recycle Bin, With One Caveat
If the files were deleted on a Windows or Mac device that syncs OneDrive, they may also be in the local Recycle Bin or Trash. Restoring them there puts them back in the synced folder and OneDrive uploads them again.
The caveat that trips people up: online-only files never appear in the local Recycle Bin. With Files On-Demand, a file that was never downloaded to the device has no local copy to send to the Recycle Bin, so deleting it removes only the cloud placeholder. Those files are recoverable from the OneDrive web recycle bin, not from the desktop.
For Admins: Recovering a Departed User's OneDrive
This is the harder case, and the rules are different. When a user's Microsoft 365 account is deleted, their OneDrive is not removed immediately. Microsoft preserves it for a period the organisation controls:
- In the SharePoint admin center, under Settings, the Retention setting holds a field called "Days to retain files a deleted user's OneDrive".
- The value can be set anywhere from 30 to 3650 days.
- The countdown starts the moment the account is deleted in the Microsoft 365 admin center, even though the deletion process itself takes time.
- The setting applies to the next user deleted, not retroactively to accounts already gone.
Two practical consequences. First, if nobody has changed that setting, a departed employee's OneDrive may be on a short clock while HR and legal are still deciding whether they need it. Second, the setting is a retention window, not an archive: the files sit in a deleted OneDrive that has to be located and restored before the window closes, and there is no searchable index across the OneDrives of everyone who has ever left.
If you are working through offboarding more broadly, the Microsoft 365 departed user archiving guide covers the full workflow, and OneDrive archiving options and gaps covers the storage side.
When Deleted OneDrive Files Are Genuinely Gone
There is a point past which no support call helps, and it is worth being clear about it:
- Past the recycle bin window. Once items are automatically purged after the retention period, Microsoft does not hold a further copy for end users to recover.
- Past the deleted-user retention period. When the "days to retain a deleted user's OneDrive" window expires, the OneDrive is permanently removed.
- No retention policy or hold in place. A Microsoft Purview retention policy or hold changes this picture by preserving content beyond normal deletion, but only if it was applied before the deletion. Retention is not retroactive.
Microsoft's own guidance is blunt on the end state: once a file has been permanently removed from the recycle bin, it cannot be recovered. Recycle bins are a grace period, not a backup.
Stop Depending on the Recycle Bin
If OneDrive deletions are a recurring problem rather than a one-off, the fix is structural. Two patterns cover the common causes:
For departed employees: archive their data at offboarding instead of relying on a retention countdown. Chipmunk detects disabled accounts in Microsoft Entra ID and automatically archives the user's OneDrive, Exchange mailbox and Teams chats into Azure Blob Storage in your own subscription. The archive is searchable across every departed user, an audit trail records every access, and the Microsoft 365 licence can be reclaimed without starting a deletion clock on the data. Chipmunk deploys from the Azure Marketplace into your own Azure environment.
For SharePoint content: deletions in SharePoint document libraries have the same 93-day exposure, and retention policies quietly copy deleted files into the Preservation Hold Library where they keep consuming your storage quota. Squirrel archives inactive SharePoint content into your own Azure storage and captures recycle-bin content before it ages out. The SharePoint side of this problem is covered in SharePoint Recycle Bin: how to recover deleted files.
Frequently Asked Questions
How long do deleted files stay in the OneDrive recycle bin?
For work or school accounts, items are automatically deleted after 93 days unless an administrator has changed the setting. For personal Microsoft accounts, the period is 30 days. The countdown starts when the file is deleted.
Can I recover permanently deleted OneDrive files?
Once items have been purged from the recycle bin after the retention period, they cannot be recovered by the user or by Microsoft support. Before that point, they are recoverable from the OneDrive web recycle bin. The only way to have a copy that outlives those windows is a retention policy or hold applied beforehand, or an archive held outside OneDrive.
Why are my deleted OneDrive files not in my computer's Recycle Bin?
Because they were online-only files. With Files On-Demand, files that were never downloaded to the device have no local copy, so deleting them removes only the cloud placeholder and nothing lands in the local Recycle Bin. Recover them from the OneDrive recycle bin in a browser instead.
What happens to a deleted employee's OneDrive files?
They are preserved for the period set in the SharePoint admin center under Settings, Retention, in the "Days to retain files a deleted user's OneDrive" field. That value can be 30 to 3650 days, and the countdown begins when the account is deleted. When it expires, the OneDrive is permanently removed. Archiving the data at offboarding, as Chipmunk does, removes the dependency on that window entirely.
Does OneDrive have a backup I can restore from?
No. The recycle bin and the "Restore your OneDrive" rollback are grace periods, not backups. Restore your OneDrive covers the previous 30 days and requires a Microsoft 365 subscription. Neither protects data beyond those windows, which is why organisations with compliance or continuity requirements archive OneDrive content separately.
Related reading
- OneDrive archiving in 2026: the options and the gaps
- SharePoint Recycle Bin: how to recover deleted files
- Microsoft 365 departed user archiving
- SharePoint Preservation Hold Library explained
- Microsoft 365 backup: what it covers and what it does not
Do Not Let the Clock Decide
Recycle bins expire and retention windows run out. See how Chipmunk archives departed users' OneDrive, mailbox and Teams data into your own Azure storage, or how Squirrel handles the SharePoint side. Questions: sales@smikar.com.
Mark Smith co-founded SmiKar Software in 2015 and has spent the past decade helping organisations solve Microsoft 365 data management challenges. He works with the SmiKar team to build solutions for SharePoint archiving, storage optimisation, governance and compliance, supporting customers from growing businesses through to Fortune 500 enterprises.
More about SmiKar


