How to recover an Excel file

When you suddenly lose an important Excel file, it’s easy to feel as though many hours of painstaking work have been wasted. In many cases, though, it’s possible to recover unsaved Excel files (or overwritten ones). But what are the steps for recovering an Excel file?

How to recover an Excel file quick guide

  1. Open the Excel file you want to recover and click on Recover Unsaved Workbooks in the File tab.
  2. Select the right version of the Excel file from the list of files saved in various states.
  3. Restore Excel and save the file.
  4. Alternatively, you can use backup copies to restore the file if you have activated the backup feature in OneDrive and SharePoint or the Windows File History.

How to restore an unsaved Excel file

If Excel stops working, crashes while you are working or the power fails, it doesn’t necessarily mean that the file you were working on is lost. All Microsoft Office programs have an automatic backup function built in. This automatic backup feature gives you the option to restore the Excel file when you restart the program if it was not closed properly the last time.


The following instructions apply to the Excel version in Microsoft 365 as well as to the 2021, 2019 and 2016 Excel versions.

If the program crashes, Excel will attempt to recover the files. You will then find a corresponding button in the start window which displays them.

You can then recover the respective Excel file via the start window as follows:

  1. Open the File tab.
  2. Click on Recover Unsaved Workbooks. A list of all recently opened and incorrectly saved files will appear with the last save date.
  3. You can restore the file you want to recover with one click.
  4. Be sure to save the backup as an Excel file again afterwards, as the automatic restore will be deleted when you close Excel.
Document recovery in Excel

In some cases, you can also recover an unsaved Excel document at a later date:

  1. To do this, click on File in the ribbon and on Manage Workbook in the Info section.
  2. Open the file browser via the menu item Recover Unsaved Workbooks.
  3. Search for the folder C:\Users\<username>\AppData\Local\Microsoft\Office\UnsavedFiles or C:\Users\<username>\AppData\Roaming\Microsoft\Excel to recover your unsaved Excel files.
The “Manage Workbook” section offers the option of recovering unsaved or deleted Excel files.

Can’t delete a Windows file? Find the right solution in our article on this topic!

How to recover an Excel file from an Excel backup

For each Excel file, you can specify whether you want to create a backup copy when you save it. You can then use this backup file to recover an Excel file if the program or your device crashes. You can adjust this setting as follows:

  1. Click the File tab and then Save as.
  2. In the next window, select Browse and choose the folder where you want to save the file.
  3. In the Save As dialog box, click on Tools and then General Options.
  4. In this dialog box, check the Always create backup option and click on OK to confirm.
If you select the “Always create backup” option, a backup is created every time the Excel file is saved.

You can also access the Open dialog box by using the Excel shortcut [Ctrl] + [O].

Now a backup copy with the extension .xlk will automatically be created each time you save the file.

There are two ways of recovering this backup file:

  • You can replace the file extension of the backup file with xlsx and then open it the way you usually would.
  • Or you can select the File tab in Excel and click Open. Click the Browse button and go to the folder where the file is located. In the drop-down list box at the bottom right, select Backup Files instead of All Files. You’ll now see all backup files in this folder. You can then open and edit the xlk file and save it as an Excel file again.
You can select “Backup Files” as the file format.

Overwritten Excel document recovery with Windows File History

The optional File History feature in Windows 10 saves all files to a separate user directory on an external drive (such as a USB stick) at regular intervals. File History not only protects against loss of data due to hard drive failures or viruses, but also in case you accidentally overwrite files.

If you’ve already enabled File History, you can restore a previous version of an Excel workbook as follows:

  1. Right-click the file in the File Explorer and select Properties from the context menu.
  2. Click on the Previous versions tab.
  3. You will see all saved versions of the Excel file. You can then choose Restore to recover the Excel file or save a copy to another folder.
Excel with Microsoft 365 Business and IONOS!

Use Excel to create spreadsheets and organize your data - included in all Microsoft 365 package!

Office Online
OneDrive with 1TB
24/7 support

How to set up File History

To use the method described above, you first have to set up File History in Windows:

  1. Use the search function to search for “file version history” and click on the corresponding search result.
  2. Click on Add a drive and select the backup drive you want to use. If Windows finds an external hard drive or a network drive that can be used for File History, that drive will automatically be suggested.
  3. Activate the file version history.
  4. Once you activate this option, version history is enabled in the background.
  5. Click on Backup now to start copying data to the backup drive. Otherwise data will not be copied until the next change.
The file version history of Windows 11 is activated, ensuring important files are saved as a backup copy on the external data carrier.

Selecting folders to back up

File History backs up files that would not be recoverable if lost, but it does not back up applications or operating system files. It selects commonly backed up folders in your user profile automatically for backup. Under Backup options, you can add any other folders such as project folders that are not in your user profile folder on the hard drive.


Can’t open an Excel file? You can find the solution to this problem in our article “Excel file won’t open”.

How to recover an Excel file in OneDrive and SharePoint

If you save Excel files on OneDrive or SharePoint to share them with coworkers, collaborate on documents or use files on multiple devices, the last saved version is automatically backed up. OneDrive and SharePoint have a simple version control feature that allows you to recover the most recent backups of all files at any time. To do this, follow these steps:

  1. Right-click the file you want to recover.
  2. In the context menu, select Version history. You will see the most recent backups of the file.
  3. Click the three dots next to the version you want to restore. You can then restore the Excel file with its original name or download and save it with a different name to compare the two versions.
The version history feature in OneDrive allows you to restore older versions of an Excel file.

Want to see all the changes made in an Excel document? Then read our article on “how to track changes in Excel”.

HiDrive Cloud Storage with IONOS!

Based in Europe, HiDrive secures your data in the cloud so you can easily access it from any device!

Highly secure
Shared access
Available anywhere
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or services, you agree to their use. More Information.
Page top