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

SituationWhat to do
You deleted a few filesSign in at onedrive.com, select Recycle bin, tick the files and select Restore
Personal accountMicrosoft says you can restore items deleted within the last 30 days
Work or school accountItems can be restored for 93 days unless your administrator changed the setting
Many files were deleted, overwritten or hit by malwareMicrosoft 365 subscribers can use Restore your OneDrive to go back up to 30 days
File is not in the Recycle binSearch 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

  1. Go to onedrive.com and sign in with your Microsoft account, or your work or school account.
  2. In the navigation pane, select Recycle bin.
  3. Point to each file or folder you want and click its circle check box.
  4. 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 typeRestore window
Personal Microsoft accountFiles or folders deleted within the last 30 days
Work or school account93 days, unless your administrator changed the retention setting
Permanently deleted from the Recycle binCannot 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.

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.

  1. Sign in at onedrive.com, select one file and right-click it.
  2. Choose Version history.
  3. 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.

  1. Sign in at onedrive.com.
  2. For a personal account, select Settings, then Options, then Restore your OneDrive.
  3. For a work or school account, select Settings, then Restore OneDrive.
  4. Choose a restore date, such as Yesterday, or pick a custom date and time.
  5. Review the activity chart and activity feed to see what will be undone.
  6. 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

DetailWhat Microsoft says
Files created after the restore dateMoved to your OneDrive Recycle bin
AlbumsNot restored
Files permanently deleted from the Recycle binCannot be recovered
Changed your mindRun 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.

Leave a Reply

Your email address will not be published. Required fields are marked *