keepcalculator

06 Numbers and Powers

Recover OneDrive Files: 7 Ways That Work

Card No. 06·6269 · Updated · Standard formula, shown below

If you deleted or lost files in OneDrive, you can usually get them back using the recycle bin, version history, or the Restore feature, as long as you act within the retention window. This article walks through every recovery method, explains how long you have, and what to do when files are missing from both your PC and the cloud.

How OneDrive Deletion Works

When you delete a file in OneDrive, it doesn’t vanish instantly. It moves to the OneDrive recycle bin in the cloud, where it stays for 30 days by default (some business plans extend this to 93 days). If you delete a file from your computer’s OneDrive folder, it goes to your local Windows Recycle Bin first—but only if you deleted it while the folder was synced. Files deleted from the OneDrive website go straight to the cloud recycle bin.

After the recycle bin period, files are purged. For personal accounts, that’s the end. For work or school accounts, an administrator may be able to restore files from a secondary “second-stageâ€� recycle bin for up to 14 more days. If you have a Microsoft 365 subscription, you can also use the Restore your OneDrive feature to roll back an entire drive to a previous point in time—this is especially useful after a ransomware attack or mass deletion.

Method 1: Check the OneDrive Website Recycle Bin

The first place to look is the online recycle bin, because it holds files deleted from any device synced to that account.

  1. Go to onedrive.com and sign in.
  2. In the left sidebar, click Recycle bin (or Trash on some accounts).
  3. Find the file or folder. Use the search box if you have many items.
  4. Right-click the item and select Restore.

Restored files go back to their original location. If that folder no longer exists, OneDrive recreates it. If you see “Item not found� or the recycle bin is empty, move to the next method.

Method 2: Check Your Local Recycle Bin

If you deleted the file from your computer’s OneDrive folder (not the website), it may still be in your Windows Recycle Bin. This applies to files that were synced at the time of deletion. Open the Recycle Bin on your desktop, search for the file name, right-click and choose Restore. The file will return to its original location in your OneDrive folder and sync back to the cloud.

Note: If you used Shift+Delete to permanently delete the file, it skips the Recycle Bin entirely. In that case, try version history or the Restore feature.

Method 3: Recover a Previous Version

If a file wasn’t deleted but was overwritten, corrupted, or changed by someone else, you can restore an earlier version. This works for any file type stored in OneDrive.

  1. Right-click the file in File Explorer (or on the OneDrive website) and select Version history.
  2. A panel opens listing all saved versions with timestamps.
  3. Click the three dots next to a version and choose Restore.

OneDrive keeps version history for up to 500 versions or 30 days, whichever comes first. This is a lifesaver if you accidentally saved over a document and didn’t notice for a while.

Method 4: Use “Restore Your OneDrive� for Mass Recovery

If you lost many files at once—say, a folder was deleted or a ransomware attack encrypted everything—use the Restore your OneDrive feature. This rolls back the entire drive to a state from a specific time in the last 30 days.

  1. Sign in to onedrive.com.
  2. Click the gear icon (Settings) in the top right.
  3. Select Restore your OneDrive.
  4. Choose a date and time from the calendar (the tool shows recent activity).
  5. Click Restore. This may take a few minutes to hours depending on file count.

This is a blunt instrument—it affects all files changed since that point. Use it only when you can’t recover files individually.

What If Files Are Missing From Your PC But Not the Cloud?

A common confusion: files are gone from your computer’s OneDrive folder but still exist online. This usually happens when OneDrive’s “Files On-Demandâ€� feature is enabled and the file was only a placeholder that got removed locally. To bring it back:

  1. Open the OneDrive folder in File Explorer.
  2. Right-click the folder where the file should be and choose Free up space (or Always keep on this device).
  3. If the file is not visible at all, go to the OneDrive website, find the file, and select Download.

If files are missing from both your PC and the cloud, they were likely deleted while offline. OneDrive syncs deletions after you reconnect, so the file may already be in the recycle bin. Check both the local and cloud recycle bins.

How Long Do You Have? Retention Periods Explained

Recovery windows vary by account type:

  • Personal Microsoft accounts: 30 days in the recycle bin. No second-stage recovery.
  • Microsoft 365 Business/Enterprise: 93 days in the recycle bin, plus an additional 14 days in the second-stage recycle bin (admin only).
  • Version history: 30 days for personal, 93 days for business (or 500 versions, whichever comes first).
  • Restore Your OneDrive: Available for the last 30 days on personal and business plans.

Important: If you permanently delete a file from the recycle bin, it’s gone for good. There is no “undoâ€� for that action. For business accounts, an admin might be able to recover it from a backup, but that’s not guaranteed.

Frequently Asked Questions

Can I recover OneDrive files after 30 days?

For personal accounts, no—after 30 days the recycle bin is emptied and the file is permanently deleted. For business accounts, an administrator may be able to recover from the second-stage recycle bin for up to 14 more days. After that, the only hope is a backup you made yourself.

Why did my OneDrive files disappear from my computer?

Most likely because OneDrive’s Files On-Demand feature removed the local copy to save space, or you signed out of OneDrive on that device. Check the cloud at onedrive.com first. If the files are there, you can re-download them or set the folder to “Always keep on this device.â€�

Does emptying the recycle bin permanently delete OneDrive files?

Yes. Once you empty the recycle bin (or a file is automatically purged after the retention period), the file is permanently erased from Microsoft’s servers. There is no built-in recovery. Your only option is a third-party backup or, for business accounts, an admin restore from a backup.

Can I recover a file that was deleted by someone else in a shared folder?

Yes, if you have edit permissions. The file goes to the recycle bin of the OneDrive account that owns the folder. If you’re the owner, check your recycle bin. If you’re a member but not the owner, ask the owner to restore it. Version history also works for files that were overwritten.

Is there a way to recover OneDrive files without the recycle bin?

If the recycle bin is empty, try the “Restore your OneDriveâ€� feature if the deletion happened within the last 30 days. For business accounts, ask your IT admin to check the second-stage recycle bin. If none of those work, you’ll need a backup from before the deletion—so it’s wise to regularly export important files to an external drive or another cloud service.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →