SharePoint Online creates a new file version with every save, meaning a document edited daily can accumulate hundreds of versions within weeks. Any one of those versions can be restored in under a minute using the browser interface. Here is exactly how to do it.
Before You Start: Check That Versioning Is Enabled
Version history restore only works if the document library had versioning turned on at the time the earlier version was saved. To confirm versioning is enabled on a library, open the library, click the gear icon, choose Library settings, then Versioning settings. The setting should show "Create a version each time you edit a file in this document library."
If versioning was not enabled at the time of a change, no version was stored. In that case, the recycle bin is the only recovery option for deleted content; for overwritten content, recovery is not possible without a third-party backup solution. For the recycle bin path, see the guide on recovering deleted SharePoint files.
Who Can Restore a Previous File Version in SharePoint Online
The ability to restore versions is tied to the permission level on the file and library. The table below summarises what each role can do:
| Role | View version history | Restore a version | Delete a specific version |
|---|---|---|---|
| Site Collection Administrator | Yes | Yes (any file) | Yes (any file) |
| Site Owner | Yes | Yes (any file in the site) | Yes |
| Site Member (Edit permission) | Yes (major versions only, unless minor versioning is visible to them) | Yes (files they have Edit access to) | Yes (files they have Edit access to) |
| Site Visitor (Read permission) | Yes (major versions only) | No | No |
How to Restore a Previous Version in SharePoint Online
Method 1: From the document library list view (recommended)
This is the fastest method and works for any file type stored in a SharePoint document library.
- Open your SharePoint site in a web browser and navigate to the document library containing the file.
- Hover over the file row in the library list view. A checkbox appears on the left and a three-dot icon appears on the right of the row.
- Click the three-dot menu (the ellipsis icon) on the right side of the file row.
- In the dropdown menu that appears, select Version history. The Version History panel slides open on the right side of the screen.
- The panel lists all stored versions with their version number, date and time, file size, and the name of the person who saved that version. The most recent version appears at the top.
- Scroll down to find the version you want to restore. If you are not certain which version to use, click the date/time link for a version to open a preview of its content in a new browser tab before committing.
- To the left of the version you want to restore, click the small three-dot icon next to the version number. Select Restore from the small context menu.
- SharePoint displays a confirmation dialog: "Are you sure you want to replace the current version with the selected version?" Click OK.
- SharePoint restores the selected version. A new entry appears at the top of the version history showing that a restore was performed and the file content now matches the selected version.
- Open the file to verify the content is what you expected.
Method 2: From within an open Office Online document
If the file is already open in Office Online (the browser-based Word, Excel, or PowerPoint editor), you can access version history directly from the document without returning to the library view.
- With the file open in Office Online, click the file name displayed in the top bar at the centre of the screen. A small dropdown appears with document management options including Version history.
- Alternatively, use the menu ribbon: File > Info > Version history.
- A version history panel opens on the right side of the editing view, listing available versions with dates and authors.
- Click any version in the list to open a preview of that version's content.
- In the preview, a yellow banner appears at the top of the document with a Restore this version button. Click it to restore.
- Confirm the restore when prompted. The document now reflects the restored version content.
For ongoing version management across your libraries, Version Trimmer helps you keep version history to a manageable size so the right version is easy to locate when you need it.
What Happens to the File After a Restore?
This is the question most users ask before pressing the restore button. Here is exactly what SharePoint does:
- SharePoint reads the content of the version you selected (for example, version 12.0 from three days ago).
- It creates a new version at the top of the version history (for example, version 17.0) containing that older content.
- This new version becomes the current version that all users see when they open the file.
- The version that was previously current (for example, version 16.0) is not deleted. It remains in the version history and can itself be restored again if needed.
- No versions are removed during a restore operation unless the new entry pushes an older version past the library's version limit, in which case the oldest version in the list is removed.
In short: a restore is non-destructive. It adds a new version; it does not delete the current one.
When Version History Is Not Available
In several situations, version history restore is not an option:
- Versioning was never enabled. If the library had versioning turned off when the file was changed, no historical copy was stored. There is nothing to restore.
- A version limit removed it. If a version limit policy deleted older versions (for example, the library keeps only the last 10 versions and you need version 25), those deleted versions are gone permanently.
- The file was permanently deleted. Version history is deleted with the file. If the file was deleted from both the site recycle bin and the site collection recycle bin, its version history is also lost. For active recycle bin recovery, see the guide on bulk restoring from the SharePoint recycle bin.
- The file is in a list, not a library. Standard SharePoint lists support item-level versioning, but the restore flow works differently. To restore a list item version, open the item, click the ellipsis, and choose Version history from there.
Restoring Versions Across Many Files
The native SharePoint browser interface restores one file version at a time. If you need to roll back a large number of files to a point-in-time state (for example, after an inadvertent bulk edit or a sync client conflict affected dozens of files), there is no native bulk version restore. Your options are:
- Restore individual files. Practical for up to 10 to 20 files. Time-consuming at larger scale.
- Use PowerShell (PnP PowerShell). The
Restore-PnPFileVersioncmdlet can restore a specific version for a file by label or version number. Requires authoring a script to loop across files and identify the correct version for each. - Re-copy the affected files from a backup. If your organisation has a Microsoft 365 backup solution, restoring from backup is the fastest option at scale and does not depend on SharePoint's version history being intact.
Frequently Asked Questions
Does restoring a version delete the current version of the file?
No. Restoring a version creates a new current version with the old content. The previous current version is preserved in the version history list and can be restored again if needed.
Who can restore a previous file version in SharePoint?
Any user with Edit permission on the file can restore previous versions. Site owners and site collection administrators can restore versions on any file in the site regardless of who originally uploaded it.
How far back can I restore a SharePoint file version?
You can restore any version still present in the file's version history. How far back that goes depends on the library's version limit setting. If the library keeps only the last 20 versions, only those 20 are available for restore.
Can I restore a file version if versioning is not enabled on the library?
No. Versioning must have been enabled on the library at the time the version was saved. Without versioning, no historical copies were stored. If the file was deleted, the recycle bin is the only remaining recovery path.
Can I restore a version of a file that is currently checked out?
The file must be checked in before its version history can be modified. A site owner or site collection administrator can discard the checkout, which releases the file and allows the version history to be accessed and restored.
If your version history has grown unwieldy and finding the right version feels like searching through hundreds of nearly identical entries, Space Master's Version Trimmer can apply a keep policy across all libraries in a site, trimming old versions while preserving recent ones. A leaner version history makes every future restore faster.