Skip to main content
file-recoveryINFO

How to Recover an Unsaved or Deleted Excel File (2026)

Lost an Excel file before saving, or deleted the wrong .xlsx? Most are recoverable. Step-by-step: AutoRecover and temp files for unsaved work, the Recycle Bin and recovery software for deleted files, and version history for overwritten ones.

By Eric Gerard · Editor · Save My Disk4 min readPhoto via Pixabay

Losing an Excel file - a crash before you saved, a wrong click that deleted it, an overwrite - feels like hours of work gone. In most cases it is not. Excel keeps safety nets, and deleted files usually linger on the drive. The trick is to match the right method to what actually happened. Here is how, case by case.

First, what happened?

There are three different situations, and each has a different fix:

  • Unsaved - Excel crashed or you closed without saving. Use AutoRecover.
  • Deleted - you removed the .xlsx file itself. Use the Recycle Bin or recovery software.
  • Overwritten - you saved over a good version with a bad one. Use version history.

Pick the one that matches yours below.

Case 1 - Recover an unsaved Excel file

This is the most common, and the most recoverable. Excel's AutoRecover quietly saves copies of your work at a fixed interval, 10 minutes by default. That default is also the size of your worst case: whatever you typed since the last automatic save is not in the copy, so a crash costs you between zero and ten minutes of work. The interval is adjustable in File → Options → Save, where the accepted range runs from 1 to 120 minutes, and setting it to 1 or 2 costs nothing noticeable on a normal workbook. Open Excel, go to File → Open, and click Recover Unsaved Workbooks at the bottom of the recent files list. That opens the folder of temporary copies, where your file is likely waiting. Open it and save it properly this time. The same trick works in Word - our guide to a lost Word document covers it in detail.

A person looking stressed at a laptop after losing work
A person looking stressed at a laptop after losing work

Case 2 - Recover a deleted Excel file

If you deleted the file itself, first check the Recycle Bin (Windows) or Trash (Mac) and restore it - that solves most cases instantly. If the bin was emptied, the data usually still exists on the drive until something overwrites it. So stop saving anything to that drive and run recovery software, which scans for deleted .xlsx files and rebuilds them - the same method as our full guide to recover deleted files. Always recover to a different drive than the one you are scanning.

One detail decides how well this works. Since Excel 2007 an .xlsx is not a single binary blob but a ZIP container holding XML files, so it begins with the same 4-byte signature as any ZIP archive: 50 4B 03 04, the ASCII characters PK followed by two control bytes. Carving tools key on that signature, which is why a recovered spreadsheet sometimes arrives named as a .zip: renaming the extension back to .xlsx is occasionally all that stands between you and an openable file. The older .xls format is a different container entirely and carries a different signature, so tell your recovery tool which one you are looking for.

Editorial pick
4.5 / 5

Scan for your deleted Excel file with EaseUS Data Recovery

Founded in 200430-day guaranteeFree 2 GB version
See the offer

Case 3 - Recover an overwritten Excel file

If you saved over a good version, the file still exists - you just need an earlier copy. If it lives in OneDrive, SharePoint or Teams, right-click it and choose Version History to roll back. On Windows, you can also right-click the file → Properties → Previous Versions if File History or a restore point is set up. Cloud version history is the most reliable undo for an overwrite - see our dedicated guide on how to recover overwritten files if no version is listed.

How to avoid this next time

Two settings turn most of these disasters into non-events. Turn on AutoSave (for files in OneDrive) and confirm AutoRecover is enabled in File → Options → Save. Keep important workbooks in OneDrive so you get automatic version history. With those on, a crash or a bad save becomes a quick rollback instead of lost work.

The bottom line

An unsaved Excel file is almost always recoverable through AutoRecover; a deleted one through the Recycle Bin or recovery software; an overwritten one through version history. Work out which case you are in, act before the drive gets written over, and most of the time you will get your spreadsheet back. Then turn on AutoSave so it cannot happen the same way twice.

Editorial pick
4.5 / 5

Recover your deleted files → EaseUS

Free scan · deleted, formatted & lost files · Windows & Mac

Founded in 200430-day guaranteeFree 2 GB version
See the offer

Frequently asked questions

How do I recover an Excel file I closed without saving?

Open Excel and go to File, then Open, then look for 'Recover Unsaved Workbooks' at the bottom of the Recent list. Excel's AutoRecover keeps copies of unsaved work, usually saved every 10 minutes, so you can often get back most of what you typed. You can also browse the AutoRecover folder directly. The sooner you check, the better, because these temporary copies are cleared over time.

Where does Excel store AutoRecover files?

On Windows, AutoRecover files are usually under C:\Users\YourName\AppData\Roaming\Microsoft\Excel\ and in the Office UnsavedFiles folder. On Mac, look in the Library under Containers for Microsoft Excel. The simplest route is File, then Open, then 'Recover Unsaved Workbooks', which opens that folder for you. Make sure AutoRecover and AutoSave are turned on in Excel's options so this safety net exists next time.

Can I recover a deleted Excel file?

Yes, usually. First check the Recycle Bin (Windows) or Trash (Mac) and restore it. If it was emptied, the data often still exists on the drive until it is overwritten, so stop saving new files to that drive and run recovery software, which scans for and rebuilds deleted .xlsx files. Recover to a different drive, never back onto the source.

How do I recover a previous version of an Excel file I overwrote?

If the file is stored in OneDrive, SharePoint or Teams, right-click it and choose Version History to roll back to an earlier version. On Windows, you can also right-click the file, choose Properties, then 'Previous Versions' if File History or a restore point is enabled. Cloud version history is the most reliable way to undo an overwrite, which is a good reason to keep working files in OneDrive.