Software & OS

How to Restore a Previous Version of a File in Windows 10

To restore a previous version in Windows 10, right-click the file or folder in File Explorer, choose Restore previous versions, select a version dated before the problem and click Restore. This only works if File History was already backing the file up to a drive, or if the file lives in OneDrive, which keeps its own version history.

Which method applies depends on where the file is stored and what backup was running before things went wrong. The sections below cover each case, starting with the most common one.

Restore a previous version with File History

These are the steps from Microsoft's File History documentation. They apply to Windows 10 and Windows 11.

  1. Open File Explorer and go to the folder that used to contain the file or folder you want back.
  2. Right-click the folder name and select Restore previous versions. To bring back something from the top level of a drive, right-click the drive itself.
  3. On the Previous Versions tab, choose a version from a date before the file was lost or damaged. A file you deleted today will be in yesterday's version.
  4. Select Restore.

If the file was inside a library such as Documents or Pictures, do not right-click it in the library view. Microsoft says to right-click the item in the location where it is actually saved, for example C:\Users\alex\Documents.

Preview a version before you restore it

You do not have to guess which date holds the right content. On the Previous Versions tab, expand Open and select Open in File History. This shows the saved copy so you can check it. Compare two candidate versions this way before you commit to one.

Restore without overwriting the file you have now

Clicking Restore puts the old version in the original location. Microsoft's warning is blunt: the restored item replaces the current version on your computer, and the replacement can't be undone. If you are not sure the old copy is better, expand the Restore button and choose Restore to. Pick a different folder, such as a new folder on the desktop. You then have both copies and can open them side by side or copy the parts you need.

This is the safer default for documents you have been editing. It costs one extra click and removes the only irreversible step in the process.

Why the Previous Versions tab is empty

An empty or missing tab means Windows has nothing to offer. Per Microsoft, File History needs an external drive connected to the PC or a configured network location to store backups. If neither was ever set up, no versions were saved, and no setting can recover them afterwards.

Check the basics:

  • File History was turned on before the file changed or was deleted.
  • The backup drive was connected at the time. File History cannot save copies to a drive that is unplugged.
  • The folder is covered by the backup. File History protects libraries by default, so for other folders you add them to a library first.
  • You are right-clicking the file's real location, not a library shortcut.

Turn on File History so this works next time

Microsoft documents the Control Panel route:

  1. Connect an external drive, or have a network location ready.
  2. Open Control Panel, then System and Security.
  3. Select Save backup copies of your files with File History.
  4. If no drive is chosen, use Select drive to pick one, then select Turn on.

From then on, Windows saves copies of changed files, and the Previous Versions tab starts filling up. Nothing from before that moment appears.

Restore a previous version of a OneDrive file

If the file is stored in OneDrive, you do not need File History. OneDrive keeps versions itself. On Windows, with the OneDrive sync app running:

  1. Right-click the file in File Explorer and open its version history.
  2. Click the three-dot menu beside the version you want.
  3. Click Restore.

You can also do this on onedrive.com: right-click the file, open version history, then use the three-dot menu beside a version and click Restore. Microsoft notes you can restore only one file at a time this way.

Restoring is less destructive here than in File History. The version you pick becomes the current version, and the one that was current becomes an older entry in the list, so you can switch back. Two limits apply. Microsoft states that file version history is retained for 30 days. And on a work or school account, your administrator may have turned off document versioning, in which case there is nothing to restore.

If you have not set OneDrive up for your Desktop and Documents folders yet, see how to turn on OneDrive on Windows. Backup only helps for changes made after it is on.

Word, Excel and PowerPoint files

Office files saved to OneDrive also have version history inside the app. For Word specifically, how to see edit history in Word covers the Version history pane and tracked changes. That route is often quicker than leaving the app, because you can open an old version and compare it with the current text.

What System Restore will not do

Many people searching for a way to restore a previous version in Windows 10 end up at System Restore. It will not help with documents. Microsoft's recovery documentation says it rolls back system files and settings but not personal files, and that personal files are not affected. It can change recently installed apps, drivers and updates. Use it when a Windows update or driver broke the system, not when a spreadsheet was overwritten.

If the file was deleted, not changed

For a file that disappeared entirely, check the Recycle Bin first. Our guide to finding recently deleted files on Windows and Mac lists the other places to look. If the file's folder still exists, Restore previous versions on that folder can bring back deleted items from an earlier date. Microsoft's File History steps describe restoring a file or folder that "used to contain" the item, which is the same route.

If nothing works

When the Previous Versions tab is empty, OneDrive has no history and the Recycle Bin is empty, the file was almost certainly never backed up. Look for copies you may have created yourself: email attachments you sent, a USB stick, a cloud folder, or a temporary copy next to the original. Then turn on File History or OneDrive backup today. Both only protect changes made after they are switched on.

Frequently asked questions

Why is the Previous Versions tab empty?
Windows has no earlier copy to show. According to Microsoft, File History needs an external drive or a network location to store backups, so if File History was never turned on and pointed at a drive, there is nothing to list. Turn it on now to protect files from this point forward. It cannot recover versions that were never saved.
Does restoring a previous version overwrite my current file?
Yes, if you click Restore. Microsoft warns that the restored file or folder replaces the current version and that the replacement can't be undone. To keep the current file, expand the Restore button, choose Restore to, and pick a different folder.
Does System Restore bring back an older version of my documents?
No. Microsoft describes System Restore as rolling back system files and settings, not personal files. Use File History or OneDrive version history for documents.
How far back can I restore a OneDrive file?
Microsoft states that OneDrive file version history is retained for 30 days. On a work or school account, an administrator may have turned versioning off, in which case there is no history to restore.

Sources