OneDrive recovery has three different scopes: restore one file or folder from the recycle bin, restore an earlier version of one file, or roll back the whole OneDrive to an earlier point in time. Choosing the wrong scope can create more work or move newer files into the recycle bin. Use the smallest recovery that solves the problem.
Before you start
- Sign in to the OneDrive website with the account that owns the files.
- For personal accounts, files and folders deleted from OneDrive can generally be restored for up to 30 days. For work or school accounts, Microsoft documents up to 93 days unless an administrator has changed the retention setting.
- You can restore items from your own OneDrive. A file someone else shared with you must be recovered by its owner or by an administrator with the appropriate SharePoint or OneDrive permissions.
- A file permanently deleted from the OneDrive recycle bin cannot be recovered through OneDrive’s normal restore workflow.
Recovery is not backup. Recycle bins and version history are useful recovery features, but they do not replace a tested backup and business-continuity plan for important business data.
Option 1: Restore selected files or folders
- Open onedrive.com and sign in.
- In the navigation pane, select Recycle bin.
- Select the circle checkbox beside each file or folder you want to recover. Use Show Personal Vault items if the missing item was deleted from Personal Vault.
- Select Restore.
- Return to the original folder and confirm that the item is present. For synced devices, allow time for the OneDrive client to synchronize before opening or editing the file.
This option is safer than restoring the whole drive when you know which items are missing. If the item is not listed, check the second-stage recycle bin for work or school content, confirm that you are using the correct account, and check whether the item was stored in a SharePoint library rather than the user’s OneDrive.
Option 2: Restore an earlier version of one file
Use version history when the file still exists but its contents were overwritten or corrupted. In OneDrive, select the file, open its information or context menu, choose Version history, review the available versions, and restore the appropriate version. Download or copy the current file first if you may need to preserve its present state.
Version history is file-specific. It does not restore unrelated files or folder operations.
Option 3: Restore the entire OneDrive
The Restore your OneDrive feature is available to Microsoft 365 subscribers and can undo file and folder actions within the previous 30 days. Use it for a broad incident such as many files being overwritten, corrupted, or affected by malware. Do not use it for one accidental deletion.
- Open OneDrive on the web and select Settings.
- For a personal Microsoft 365 account, choose Options, then Restore your OneDrive. For a work or school account, choose Restore OneDrive if the option is available.
- Select a suggested date, such as Yesterday, or choose a custom date and time.
- Use the activity chart and activity feed to review the operations that the restore will undo.
- Scroll through the selected activity range. Selecting a point in the chart can include all newer activity even if it is not currently visible in the feed.
- Select Restore only after reviewing the scope.
Microsoft states that files and folders created after the selected restore point are sent to the OneDrive recycle bin. Albums are not restored. If you change your mind, you can run the restore workflow again and select the restore action you just performed to undo it.
Verify the recovery
- Open several recovered files from different folders and check their contents and modified times.
- Confirm that shared links, permissions, and synchronization status still match the business need.
- Check the OneDrive sync client for errors before assuming that every local copy is current.
- If malware was involved, keep affected devices isolated until endpoint and identity investigations are complete. Restoring files does not remove the infection that changed them.
Common problems
The file is not in the recycle bin
Check the account, Personal Vault view, SharePoint or Teams location, second-stage recycle bin, and deletion date. If the item was permanently deleted or has exceeded the applicable retention window, normal OneDrive restore cannot recover it.
The restore option is missing
The whole-drive restore feature requires Microsoft 365 and is limited to the previous 30 days. A work or school administrator may also control retention or recovery options. For SharePoint or Teams files, use the SharePoint site or document-library recovery workflow instead.
Newer work disappeared after a whole-drive restore
Check the recycle bin. Microsoft sends files and folders created after the restore point there rather than deleting them permanently. Recover only the newer items you still need, and record the restore time in the incident notes.
Security and operational notes
Before a broad restore, preserve evidence and agree on the restore point with the incident owner. A restore can change many files and create synchronization traffic. Coordinate with users, pause risky automation when appropriate, and verify the result before reopening affected devices or integrations.
Related Guava guidance
- How to Collect Uploads with a OneDrive File Request
- Teams, SharePoint, and OneDrive: Where Should Business Files Live?
- Could Your Business Recover Its Microsoft Cloud Data?

