How to Recover a Deleted OneDrive File (Personal and Business)
Quick answer
For OneDrive Personal, go to OneDrive on the web (onedrive.live.com), open the Recycle Bin in the left sidebar, and restore the file. You have 30 days from the date of deletion. There is no second-stage recycle bin in personal OneDrive.
For OneDrive for Business or SharePoint, the same first-stage Recycle Bin appears in the left sidebar; if the file isn’t there, scroll to the bottom and click Second-stage recycle bin. You have 93 days total across both stages. After that, the file is permanently deleted unless your tenant has a retention policy or backup in place.
If you accidentally deleted dozens or hundreds of files at once — or your OneDrive was hit by ransomware — don’t restore them one by one. Use Files Restore (M365 subscription required) to roll the entire OneDrive back to a point in the last 30 days.
Last tested: OneDrive web app and OneDrive for Business, April 2026.
Before you start
Time matters more than technique here. Recovery from OneDrive is a clock, not a puzzle — so the first thing to do is open the recycle bin and confirm the file is there before you start reading the rest of this guide. If it’s there, restore it now. You can come back for the context.
A few things worth knowing before you click anything:
- OneDrive’s recycle bin clock starts the moment the file is deleted, not the moment you noticed. If the file went missing two weeks ago and you’re checking now, you’ve already used two weeks of the window.
- Don’t empty the Recycle Bin to “free up space.” OneDrive doesn’t count Recycle Bin contents toward your storage quota — emptying it saves nothing and shortens your recovery runway.
- Sync state matters. If you deleted the file in File Explorer on a synced PC, the cloud copy was deleted too. If you deleted it from another device, your synced PC may still have a copy locally — depending on whether sync had completed.
- AutoSave isn’t a backup. People sometimes assume “the file is in OneDrive, so it’s safe.” Sync replicates deletions as faithfully as edits. A file deleted from one device disappears from all devices and from the cloud.
What “deleted” means in OneDrive
There are three states a OneDrive file can be in once you can no longer see it, and the recovery path depends on which one you’re in.
State 1 — In the first-stage Recycle Bin. The standard case. Recoverable through the Recycle Bin in the OneDrive web UI by anyone with access to the account.
State 2 — In the second-stage Recycle Bin (Business/SharePoint only). The file was deleted from the first-stage bin or aged out of it, and is now in the site collection’s second-stage bin. For OneDrive for Business, you (as the owner of your own OneDrive) can usually access this. For SharePoint sites, only a site collection administrator can. Personal OneDrive doesn’t have a true second-stage bin.
State 3 — Past 93 days (Business) or 30 days (Personal). Permanently deleted from OneDrive’s perspective. Recoverable only if your tenant has a retention policy, a Preservation Hold Library, or a third-party backup. Personal accounts don’t have any of these — Microsoft Support may sometimes assist within an additional ~30 days, but this is discretionary, not guaranteed.
Before you start clicking, work out which state you’re likely in based on how long ago the file was deleted. If you’re inside the first-stage window, skip straight to “Fixes to try first.” If you’re past it, jump to “Advanced fixes.”
Where this typically happens
Most “I deleted a OneDrive file” requests come from one of these patterns:
A clean accidental delete — right-click, Delete, didn’t mean to. A sync conflict resolution where the user chose the wrong copy to keep. A folder restructuring where files were moved into a folder that was later deleted. A mobile delete on the OneDrive app that propagated to the desktop. A shared folder where someone else with access deleted the file. A ransomware attack that encrypted (or deleted) files in the OneDrive folder. And the occasional power user shock — a Group Policy or Files On-Demand setting that aged the file out of local storage and then failed to restore it.
The clock runs the same in every case. The recovery path differs by who deleted the file, where the file lived, and how long ago.
Common scenarios
- You deleted it yourself today. Best case. Open the Recycle Bin, restore.
- You emptied the Recycle Bin yesterday. On Personal, the file is gone (unless Microsoft Support can help). On Business, look in the second-stage Recycle Bin.
- A colleague deleted it from a shared folder. The file is in the Recycle Bin of the folder owner’s OneDrive, not yours. Ask them to restore it.
- You restored a deleted folder, but the contents are missing. Restoring a folder doesn’t always restore the files inside — sort the Recycle Bin by Original location and restore the individual files separately.
- Hundreds of files vanished at once. Don’t restore one by one — use Files Restore to roll the whole OneDrive back to a point before the event.
Fixes to try first
These are the standard recovery paths in priority order. Most cases are resolved by step 1.
1. Check the OneDrive web Recycle Bin.
Open onedrive.live.com (Personal) or <tenant>.sharepoint.com (Business — or click the OneDrive cloud icon in the system tray and choose View online). In the left sidebar, click Recycle bin. Sort by Date deleted to find recently deleted items. Tick the file or files you want, click Restore, and they’ll return to their original location.
If you don’t see the Recycle bin in the sidebar, click the gear icon top-right, then OneDrive settings, and make sure you’re viewing the personal/work account you expect — people regularly check the wrong account’s bin.
2. Check the local Windows Recycle Bin.
If the file was synced to a PC and you deleted it there, Windows may have a copy in its own Recycle Bin (separate from OneDrive’s). Open the Recycle Bin on the desktop, sort by Original location, and look for paths starting with C:\Users\<you>\OneDrive. If you find the file, right-click and choose Restore — but be aware this restores the file to the local OneDrive folder, which then re-syncs it to the cloud.
This step matters mostly for files deleted very recently. Windows’ Recycle Bin doesn’t have a fixed time window — it fills up by size and discards oldest first.
3. Check the OneDrive app on phone or tablet.
The mobile OneDrive app has its own Recycle Bin view (in the app menu under “You” or the gear icon). Files deleted from a mobile device sometimes land here. Same restore action.
4. For Business and SharePoint — check the second-stage Recycle Bin.
If the file isn’t in the first-stage bin, scroll to the bottom of the Recycle Bin page in the OneDrive web UI and click the Second-stage recycle bin link. For your own OneDrive for Business, you can restore from here directly. For shared SharePoint libraries, only a site collection admin can.
The 93-day clock applies across both stages combined — so if a file was in the first-stage bin for 60 days and got moved to the second stage, it has 33 days left, not 93.
5. Consider Files Restore for mass-deletion scenarios.
If many files are missing — typical of accidental mass delete, sync going wrong, or ransomware — restoring them one at a time is the wrong move. Files Restore rolls back the entire OneDrive to a state from any point in the last 30 days. To use it: open OneDrive on the web, click the gear icon top-right, and choose Restore your OneDrive. A timeline appears showing daily activity charts. Pick the date and time you want to roll back to.
This is by far the most underused OneDrive recovery feature, and the most powerful when the situation calls for it. Files Restore is available for Microsoft 365 personal and family subscribers, and for OneDrive for Business.
Advanced fixes
These are the situations where the standard paths don’t apply or have already been tried.
Ransomware rollback. OneDrive Personal/family subscribers and OneDrive for Business both detect ransomware patterns and prompt with a Files Restore offer. If you missed the prompt, run Files Restore manually as in step 5 above and roll back to a date before the encryption event. This restores both the original files and the recycle bin state from that date. If your tenant has Microsoft Defender for Office 365 or a third-party backup, those may offer additional restore options — talk to your admin.
Shared file deleted by a collaborator. OneDrive’s sharing model puts the file in one OneDrive — the owner’s. If a collaborator deletes the file (and they have permission to), it goes into the owner’s Recycle Bin, not yours. You can’t restore a file you don’t own; ask the owner. The same logic applies to SharePoint document libraries — the destination is the site’s Recycle Bin, accessible to site members with the right permissions.
Sync didn’t complete and files are in limbo. If a file was created or modified in the moments before deletion, the cloud copy may not have received the latest version. See OneDrive sync pending forever for diagnosing stuck sync states — if sync was stuck, the local copy may still hold the version you want. If you’re trying to recover the correct version of a file that exists in conflicting copies, see which sync conflict file to keep for the decision logic.
If you are on a work or school device
Two recovery paths exist in business tenants that don’t exist in personal accounts.
Tenant retention policies. If your organization has Microsoft Purview retention policies applied to OneDrive, deleted files may be silently held in the Preservation Hold Library — a hidden library only admins can access. The retention period there can be much longer than 93 days. If your file is past the recycle bin window but within a known retention period, your IT admin can usually recover it through the SharePoint Admin Center or Microsoft Purview eDiscovery.
Tenant backup products. Many organizations run third-party backup over Microsoft 365 (Veeam, AvePoint, Datto, etc.) precisely because Microsoft’s native retention only goes 93 days. Ask your admin whether tenant backup exists before assuming the file is permanently gone.
What you should not do on a managed device: install consumer-grade recovery software to “scan OneDrive” for deleted files. Local scanning tools see only the synced local copy and offer nothing the OneDrive web Recycle Bin doesn’t already provide. They are not designed for cloud storage and will not surface files that aren’t already on disk.
When to stop
If the file was deleted from OneDrive Personal more than 30 days ago, or from OneDrive for Business more than 93 days ago, and your tenant has no retention policy or backup, the file is permanently gone from Microsoft’s systems. No third-party tool changes that — you can’t recover what isn’t on the server any more.
The honest call at that point is to ask whether the file might exist somewhere else: an email attachment, a Teams chat where it was shared, a downloaded copy on a phone, a colleague’s local copy, a USB drive you used at some point. These are unglamorous but they actually work.
For the future, the single most useful thing you can do after a near-miss is set up tenant or third-party backup. The OneDrive Recycle Bin is a recovery feature, not a backup. The two are not interchangeable.
Related errors
- Restore a previous version of an Office document — for recovering an earlier version, not a deleted file
- OneDrive sync pending forever — when files appear to vanish but sync is actually stuck
- Which sync conflict file should you keep — when conflicting copies appear after a deletion-and-restore
Official references
- Microsoft Learn — Learn about retention for SharePoint and OneDrive
- Microsoft Support — Restore deleted files or folders in OneDrive
- Microsoft Support — Restore your OneDrive
FAQ
How long does OneDrive keep deleted files?
OneDrive Personal: 30 days from the date of deletion. OneDrive for Business and SharePoint: 93 days total across the first-stage and second-stage Recycle Bins combined. After that, files are permanently deleted unless retention policies or backups intervene.
What’s the difference between the first-stage and second-stage Recycle Bin?
The first-stage Recycle Bin is what you see in the OneDrive web sidebar — it holds files you’ve deleted. The second-stage Recycle Bin holds files that were either deleted from the first-stage bin or aged out of it. In OneDrive for Business, you can typically reach the second-stage bin from the bottom of the first-stage bin page; in SharePoint shared libraries, only a site collection admin can.
Can I recover a OneDrive file after 93 days?
Not through the standard recycle bins. If your tenant has a Microsoft Purview retention policy in place, the admin may be able to recover the file from the Preservation Hold Library. If your organization runs third-party backup over Microsoft 365, that may also have a copy. For Personal accounts past 30 days, Microsoft Support sometimes helps within ~30 additional days, but this is discretionary.
A shared file got deleted. Where does it go?
Into the Recycle Bin of the file’s owner — not yours. If a colleague deleted a file from a folder you both have access to, that file is in their OneDrive’s Recycle Bin (or in the SharePoint site’s bin if it’s in a SharePoint library). You’ll need to ask them, or your admin, to restore it.
What’s the difference between restoring from the Recycle Bin and using Files Restore?
The Recycle Bin restores individual deleted files. Files Restore rolls back the entire OneDrive to a state from a specific date in the last 30 days — useful for mass deletions, sync going wrong, or ransomware. Files Restore is much faster than restoring hundreds of files individually, and it also restores the state of the recycle bin itself.
Will sync re-delete a file I just restored?
It shouldn’t. Restoring from the OneDrive web Recycle Bin is treated as a new file event — the file reappears in the cloud and sync brings it down to your devices. The exception is if sync is currently in conflict or paused; resolve any sync issues before restoring, otherwise the result can be unpredictable.
My OneDrive Recycle Bin is empty, but I just deleted a file. Why?
Check that you’re signed into the right account in the OneDrive web app. Personal and work accounts have entirely separate Recycle Bins, and signing into the wrong one (especially on a device with both linked) is a common source of false negatives.