How To Restore Deleted Files In OneDrive (2026)
If you deleted a file from OneDrive by mistake, it is usually sitting in the OneDrive Recycle bin.
How long it stays there depends on whether you use a personal account or a work or school account.
This guide follows Microsoft’s own support pages for restoring single files, finding files that seem to be missing and rolling back your whole OneDrive.
Quick answer: how to restore deleted OneDrive files
| Situation | What to do |
|---|---|
| You deleted a few files | Sign in at onedrive.com, select Recycle bin, tick the files and select Restore |
| Personal account | Microsoft says you can restore items deleted within the last 30 days |
| Work or school account | Items can be restored for 93 days unless your administrator changed the setting |
| Many files were deleted, overwritten or hit by malware | Microsoft 365 subscribers can use Restore your OneDrive to go back up to 30 days |
| File is not in the Recycle bin | Search OneDrive, check Personal Vault and check your other Microsoft accounts |
Microsoft says you cannot restore files after they have been permanently deleted from the OneDrive Recycle bin.
Restore files from the OneDrive Recycle bin
- Go to onedrive.com and sign in with your Microsoft account, or your work or school account.
- In the navigation pane, select Recycle bin.
- Point to each file or folder you want and click its circle check box.
- Select Restore.
Microsoft says you can only restore items that were in your own OneDrive, not files someone else shared with you.
How long OneDrive keeps deleted files
| Account type | Restore window |
|---|---|
| Personal Microsoft account | Files or folders deleted within the last 30 days |
| Work or school account | 93 days, unless your administrator changed the retention setting |
| Permanently deleted from the Recycle bin | Cannot be restored |
If deleted files are still using up your quota, see our guide to OneDrive storage full or over quota before you empty anything.
Files deleted from Personal Vault
Microsoft says files deleted from the Personal Vault appear in the Recycle bin only if the vault is unlocked.
In the Recycle bin, select Show Personal Vault items to unlock it and see them.
If that option is not shown, the vault is already unlocked.
Vault files also do not appear in normal OneDrive search results.
If the file is not in the Recycle bin
Microsoft recommends starting with a search on the OneDrive website using the Search everything box at the top.
You can search by descriptions, tags, dates and places, not just by file name.
Microsoft also says that if someone else deleted a file or folder you had access to, it is no longer available to you.
Check your other Microsoft accounts
Make sure you are signed in to the Microsoft account that originally saved the file, because the file may be in another OneDrive.
If you also use OneDrive for work or school, check that one too.
Microsoft says personal accounts that were inactive for two years may have been deleted, and work or school files may be deleted after 93 days.
Check your computer or phone
A file may never have reached OneDrive if it was saved outside the OneDrive folder or had not finished syncing.
Search with File Explorer on Windows or Finder on a Mac, and check your computer’s own Recycle Bin or Trash.
If your Desktop and Documents folders were set to back up, our guide on stopping OneDrive folder backup on Windows 11 explains where those files live.
If the file is still there but the content is wrong
Microsoft says you can restore a previous version of a file, and this works with all file types, including Microsoft 365 files, PDFs, CAD files, photos and videos.
- Sign in at onedrive.com, select one file and right-click it.
- Choose Version history.
- Select the ellipsis (…) next to the version you want, then select Restore.
In Windows File Explorer, you can right-click the file in your OneDrive folder and choose Version history instead.
After you restore a version, it becomes the current version and the previous current version moves into the list of previous versions.
Microsoft says file version history is retained for 30 days, and on a work or school account your administrator may have turned off document versioning.
Roll back your whole OneDrive
Restore your OneDrive lets you undo changes from the last 30 days if files were deleted, overwritten, corrupted or hit by malware.
On a personal account it needs an active Microsoft 365 subscription, and without one you can restore individual files but not your entire OneDrive.
- Sign in at onedrive.com.
- For a personal account, select Settings, then Options, then Restore your OneDrive.
- For a work or school account, select Settings, then Restore OneDrive.
- Choose a restore date, such as Yesterday, or pick a custom date and time.
- Review the activity chart and activity feed to see what will be undone.
- Select Restore.
If automatic ransomware detection flagged your files, Microsoft says the page suggests a restore date for you.
What to expect after a rollback
| Detail | What Microsoft says |
|---|---|
| Files created after the restore date | Moved to your OneDrive Recycle bin |
| Albums | Not restored |
| Files permanently deleted from the Recycle bin | Cannot be recovered |
| Changed your mind | Run Restore your OneDrive again and select the previous restore action |
Files deleted from SharePoint or Microsoft Teams are covered by separate Microsoft articles, including document library restores, and are not handled by the OneDrive Recycle bin steps above.
Microsoft also notes that Restore your OneDrive does not bring back albums, so rebuild any albums by hand after a rollback.
When to contact Microsoft
Microsoft says support agents cannot access files in a personal account and cannot offer help beyond these steps.
For technical problems you can use Contact Microsoft Support on its help page, and mobile users can shake the device in the OneDrive app.
If the missing files are photos, read our guide to recovering deleted photos on a phone and computer.
Official sources: Restore deleted files or folders in OneDrive, Find lost or missing files in OneDrive and Restore your OneDrive.