How to recover previous versions of files in OneDrive

  • OneDrive version history makes it easy to restore previous files.
  • There are methods to recover data from the web, Office applications, or Windows Explorer.
  • You can also restore your entire OneDrive account or use advanced options if the native features aren't working.

Recover previous versions of files in OneDrive

Losing important information on OneDrive due to overwriting or deleting a file can be a source of stress, especially if you don't know how to recover previous versions or restore deleted data. The good news is that Microsoft has developed several features that allow users to access previous versions of their files, from the OneDrive website , Windows File Explorer, or even by restoring the entire account to a previous state.

In this article, we'll present the available methods for recovering previous versions in OneDrive, step by step, applicable to both personal and professional accounts. We'll also cover what to do when we delete files, how to use version history, and advanced options for restoring all cloud storage.

What is version history in OneDrive and what is it for?

OneDrive, in both its personal and Microsoft 365 business versions, has a version history system that allows you to access previous revisions of stored files . This feature is very useful if, for example, you've saved unwanted changes, if a document has become corrupted, or if someone has edited a file by mistake. You can find more information on how it works in our complete guide to file history in Windows 11.

Version history acts like a time machine , retrieving older versions of Office documents (Word, Excel, PowerPoint), PDFs, photos, CAD projects, videos, and almost any other compatible file type. It allows you to compare versions, restore the one you prefer, and keep your files organized.

Furthermore, it's a feature enabled by default and requires no prior configuration (although in enterprise environments it may depend on the administrator). Restored files retain previous versions in the list, without losing track of the changes made.

Version history in OneDrive

How to view and restore previous versions of files in OneDrive from the web

Recovering a previous version of a file in OneDrive is very simple and secure. We'll explain how to do it from the web portal, which is available for personal, professional, and educational users:

  1. Access OneDrive and sign in with your Microsoft account.
  2. Locate the desired file in My files and right click on it.
  3. Choose Version history in the context menu.
  4. A panel will open with all available versions, showing the date, who made the change, and the file size.
  5. Choose the desired version, click on the three dots (...) and select Restore.
  6. The file will be returned to that previous state, and the restored version will be added to the history without deleting the current one.

Is there a limit to recoverable versions? For personal accounts, up to 25 versions per file are typically stored for 30 days . For business accounts, the number and retention period depend on the organization's configuration and can be higher.

Restore previous versions of files from Windows File Explorer

If you have the OneDrive app installed and sync your files with Windows, you can recover previous versions from File Explorer , which is very convenient and fast:

  1. Open the local OneDrive folder on your computer.
  2. Right click on the file and select Version history.
  3. You'll see a list of all your saved versions, similar to the web version.
  4. Select the version you want, click on the dots (…) and choose Restore.

It is important to note that you can only restore one file at a time , and this method does not allow you to revert changes to multiple files or folders simultaneously.

OneDrive
Related article:
OneDrive step by step: save and share without complications

How to restore OneDrive file versions in Windows

Recover versions from Office Online applications

Another very useful option if you work in Word, Excel, or PowerPoint from the browser is to take advantage of the history built into these applications:

  1. Open the file in Word Online, Excel Online, or PowerPoint Online.
  2. Accede to File > Information > Version History.
  3. A sidebar will be displayed with previous versions of the document.
  4. You can review them, save a copy, or click on Restore to make it the main version.

This method works equally well for files stored on OneDrive and edited using Office 365 apps, highlighting changes in each version for easy review.

Restore your entire OneDrive account to a previous state

In critical cases, such as malware infections, mass deletions, or unwanted changes to many documents, it's advisable to restore your entire OneDrive to a previous point . This option is available to those with a Microsoft 365 subscription.

  1. Sign in to your OneDrive web account.
  2. Click on the icon Configuration (the gear) and select Restore your OneDrive.
  3. Choose the date you want to return to, with options like yesterday, a week ago, or a custom date.
  4. Mark the changes you want to revert using the chart and action list.
  5. Click on Restore and wait for all files and folders to be reverted to that point in time.

Restore all OneDrive to a previous state

Recover deleted files using the OneDrive Recycle Bin

If you accidentally deleted a file or folder, OneDrive keeps the items in the trash for a while before permanently deleting them . You can easily restore them:

  1. Access OneDrive in your browser.
  2. Go to the section Recycle Bin in the side menu.
  3. Check the files or folders you want to recover and click on Restore.

These files will be returned to their original location in the cloud . Retention time in the trash varies: 30 days for personal accounts and up to 93 days for organizational environments, depending on the settings.

On Windows or Mac, you can also check the local Recycle Bin or Trash on macOS to recover files that haven't been completely deleted yet:

  • In Windows: Open the Trash, select the items and choose Restore.
  • On Mac: Open the Trash, select the files, and click Back.

Advanced and alternative methods to recover lost files or versions

Sometimes version history and the Recycle Bin aren't enough. But you can still try these additional strategies:

  • Search for temporary versions: Access the temporary folder in Windows by typing %Temp% in Run and check if you find recent files related to what you are looking for.
  • Use specific searches: Search for files with extension *.asd o *.wbk, which are self-recovery copies of Office.
  • Restore system points: If you have Windows Restore enabled, try reverting to an automatically created previous point.
  • Contact Microsoft Support: If the other options fail, request help from the support section. Help and Feedback on the support website.

It is important to act as soon as possible to prevent deleted or replaced files from being permanently lost.

What happens if your OneDrive is full or frozen?

Some users experience their OneDrive account freezing when they exceed the storage limit . In that case, you have these options:

  • Acquire more space and wait for the account to be reactivated (it may take up to 24 hours).
  • Delete unnecessary files to free up space, which will allow it to continue running in restricted mode for 30 days for cleaning.

Additionally, it's recommended that you access OneDrive at least once a year to prevent your account from being blocked. If your account is permanently blocked, only Microsoft support can help you recover it.

Finally, if none of these options manage to recover your important files, we advise you to consider an external backup solution for Microsoft 365 , which makes regular copies of your data to the cloud and other locations.

With these various options, it's clear that OneDrive provides robust mechanisms for managing, restoring, and protecting your files and previous versions . From the web and desktop to Office applications, the Recycle Bin, and full restores, you have resources that prevent data loss from becoming a serious problem. The key, however, is prevention: review your versioning settings, create backups whenever possible, and monitor changes to shared files to keep everything under control.


Add as preferred source in Google