Restore a previous version of a file stored in OneDrive

With version history, you can see and restore older versions of your files stored in OneDrive or SharePoint. Version history works with all file types, including Microsoft 365 files, PDFs, CAD files, photos, videos, and more. If you need to, you may be able to restore deleted OneDrive files or restore deleted SharePoint items from the recycle bin.

Tip: You can also View previous versions of Office files in Office apps.

  1. Sign in to OneDrive with your personal Microsoft account or your work or school account. 

  2.  Select the file that you want to restore to an earlier version (you can only restore one file at a time), right-click, then select Version history.

    Note: In Classic view, select the document, then at the top, select More > Version History.

  3. In the Version History pane, do one of the following:

    If you're signed in to OneDrive or SharePoint with a work or school account (such as a Microsoft 365 account), select the ellipses (...) next to the version of the document that you want to restore, and then click Restore.

Version History pane

In Classic view or previous versions of SharePoint Server, select the arrow next to the version of the document that you want to restore, and then click Restore.

Select 'Restore' from the drop-down menu for a selected document version


Use Version history in File Explorer

If you have the OneDrive sync app installed on your PC, right-click the file that you want to restore to an earlier version in File Explorer and select Version history.  Then select the ellipses (...) next to the version you want and click Restore.

File Explorer menu including the Version history option.

The document version you selected becomes the current version. The previous current version becomes the previous version in the list.