Recover an Excel File

Which route works depends on how the file was lost, and one of the four cases has no answer inside Excel at all: a workbook you saved over. Crashing or closing before a save is the recoverable one, and what comes back is an AutoRecover snapshot rather than your file — the interval is 10 minutes out of the box, so up to ten minutes of work was never committed to disk anywhere and nothing will return it. Drafts of workbooks that were never saved sit in %LocalAppData%\Microsoft\Office\UnsavedFiles for four days and are then cleared. For anything overwritten or deleted the answer lies outside Excel: version history on OneDrive or SharePoint, the Recycle Bin, or a backup.

The formula

%AppData%\Microsoft\Excel\the AutoRecover file location, for workbooks that already have a file%LocalAppData%\Microsoft\Office\UnsavedFilesdrafts of never-saved workbooks; kept four days, then deletedFile > Info > Manage Workbook > Recover Unsaved Workbooksopens that UnsavedFiles folder from inside ExcelFile > Info > Version Historyearlier saved versions — OneDrive and SharePoint files onlyFile > Options > Savethe AutoRecover interval, and the keep-on-close tickbox~$Budget.xlsxNOT a recovery copy: the lock file recording who has it open

A worked example

Excel crashed at 16:32 on a workbook last saved by hand at 15:50. AutoRecover is on its default 10-minute interval and the file lives in a local Documents folder, not OneDrive.

Reopen Excel > Document Recovery pane > open the entry labelled (AutoRecovered) > File > Save As, under a new name

The recovered copy holds everything up to the last snapshot, roughly 16:30 — the final two minutes of edits are gone and nothing on the machine has them. Save As rather than Save is deliberate: opening the recovered version and pressing Ctrl+S writes it over the 15:50 file, so if the snapshot turns out to be the poorer of the two you have just destroyed the better one. Keep both until you have compared them.

Which one do I need?

If you want to…Use
Excel crashed or closed before you had savedReopen Excel for the Document Recovery pane, then File > Info > Manage Workbook > Recover Unsaved Workbooks
The workbook was never saved and never had a nameBrowse %LocalAppData%\Microsoft\Office\UnsavedFiles directly — the drafts are .xlsb files and are deleted four days after they are written
You saved over the good version with a bad oneAutoRecover holds nothing once a workbook closes normally. File > Info > Version History on OneDrive or SharePoint, otherwise a backup or nothing
You want yesterday's copy of a file that is otherwise fineFile > Info > Version History for cloud files; on a local drive, right-click the file > Properties > Previous Versions, which only works if File History or restore points were already on
The file itself was deletedWindows Recycle Bin first, then OneDrive's own separate recycle bin if it was synced — that one keeps deleted files about 30 days on a personal account and longer on a work one
The file exists but Excel refuses to open itThat is repair, not recovery: File > Open > browse to it > the arrow beside the Open button > Open and Repair
One worksheet was deleted and the file then savedNothing in Excel undoes a sheet deletion — it is not on the undo stack at all. The only route is an earlier version of the whole workbook
You just want to know where the recovered copies are keptFile > Options > Save shows the AutoRecover file location, normally %AppData%\Microsoft\Excel\, with one folder per workbook
You are on a MacThe paths are different: AutoRecovery lives inside the Excel app container under ~/Library/Containers/com.microsoft.Excel/, and Time Machine takes the place of Previous Versions
You would rather this never happened againFile > Options > Save: drop the AutoRecover interval to 1 or 2 minutes and tick "Keep the last AutoRecovered version if I close without saving". True AutoSave exists only for files stored on OneDrive or SharePoint

Frequently asked questions

What is the difference between AutoSave and AutoRecover?

AutoSave writes every keystroke straight into the real file and exists only for workbooks stored on OneDrive or SharePoint in Microsoft 365; it is what builds the version history. AutoRecover keeps a periodic snapshot in a temporary folder and surfaces only after an abnormal close, on any file anywhere. Neither protects you from deliberately saving a bad edit over a good file — with AutoSave on, that damage is written to the cloud copy immediately, and version history is the only way back.

How much work does AutoRecover actually save?

Everything up to its last snapshot and not one second more. The interval is 10 minutes out of the box (File > Options > Save), so a crash can cost ten minutes of edits that were never written anywhere and cannot be reconstructed. Lowering it to 1 or 2 minutes costs nothing noticeable on an ordinary workbook, and it is the one change worth making before you need it rather than after.

I closed without saving and clicked Don't Save — is it gone?

Not necessarily. If "Keep the last AutoRecovered version if I close without saving" was ticked in File > Options > Save, the final snapshot is listed under File > Info > Manage Workbook for a workbook that had been saved at least once before, and a never-saved draft waits in the UnsavedFiles folder for four days. If that box was clear, the copy was discarded as the file closed and there is nothing left to open.

Is the ~$ file next to my workbook a backup I can open?

No. A file named ~$Budget.xlsx is an owner or lock file, a few hundred bytes recording who currently has Budget.xlsx open so a second person gets the read-only prompt. It contains none of your data. If Excel crashed it can be left behind and then wrongly reports the file as in use; deleting it once Excel is fully closed is safe, and it does nothing for recovery either way.

How to Recover Unsaved Excel FileRecover Excel FileHow to Recover Deleted Excel FilesHow to Recover Corrupted Excel FileHow to Recover Overwritten Excel File on MacHow to Restore Excel FileHow to Find Unsaved Excel FileHow to Recover Excel File Not SavedHow to Recover Excel File That Is CorruptedHow to Restore Deleted Excel FileHow to Recover a Deleted Excel SheetHow to Restore Unsaved Excel FileHow to Recover Damaged Excel FileHow to Recover a Excel File That Was Not SavedHow to Recover an Excel File That Was DeletedRestore Previous Version of Excel FileHow to Get Back Unsaved Excel FileHow to Recover Previous Version of Excel FileExcel Unsaved File RecoveryRecovered Excel FilesRestore Corrupted Excel FileHow to Recover Earlier Version of Excel FileHow to Recover Lost Excel FilesHow to Find the Recovered Excel FilesExcel Recovery File LocationNot Saved Excel File RecoveryFile Recovery ExcelRestore Excel File Not SavedHow to Recover Old Version of Excel FileCorrupt Excel File RecoveryHow to Recover Deleted Excel SpreadsheetHow to Find Excel Recovery FilesHow to Recover an Older Version of an Excel FileHow to Open Unsaved Excel FileUnsaved Excel FileWhere Are Recovered Excel Files StoredCorrupted Excel File RecoveryWhere to Find Recovered Excel FilesHow to Recover an Excel File That Was Saved OverHow to Restore Overwritten Excel FileHow to Recover Replaced Excel FileRecovering Excel File Not SavedHow to Recover an Old Excel FileOpen Recovered Files ExcelHow to Recover a Previous Excel FileRecovering a Previous Version of an Excel File