Where Excel stores unsaved work
Excel keeps unsaved files in a temporary folder on your computer, and you can often recover them even after you close the program without saving. The location depends on your operating system and Excel version, but the recovery process is the same: you tell Excel to show you what it has stored, then you choose which version to keep.
Windows stores these temporary files in a hidden folder. Mac does the same. The files stay there for a set number of days — usually 10 days by default, though you can change this — and then Excel deletes them automatically. If you closed the file recently, your unsaved work is almost certainly still there.
Key Takeaways
- Excel automatically saves temporary copies of unsaved files every 10 minutes by default, and keeps them for 10 days before deleting them.
- The fastest way to recover an unsaved file is to open Excel, go to File > Info > Manage Versions, and look for "Autosave" or "Unsaved Versions".
- If you closed Excel without saving, use File > Open > Recent > Recover Unsaved Workbooks to see what Excel has stored.
- You can change how often Excel saves temporary copies and how long it keeps them in File > Options > Save (Windows) or Excel > Preferences > Save (Mac).
Recovering an unsaved file you just closed
If you closed Excel without saving and want to get that work back, start by opening Excel again. Do not open any other files yet. Go to File at the top left, then look for a button or link that says Recover Unsaved Workbooks or Open Recent. Click it.
Excel will show you a list of files it has stored but you never saved. Each one will have a timestamp showing when Excel last saved it. Click the file you want, and Excel will open it in a new window. At the top of the window, you will see a yellow or gray bar asking whether you want to save this recovered version. Click Save As and choose where you want to keep the file on your computer. Give it a name and click Save.
If you do not see Recover Unsaved Workbooks, your version of Excel may call it something else. Try File > Open > Recent and scroll to the bottom. You may see a link that says Recover Unsaved Files or Show Recovered Files. Click that instead.
Finding temporary files if the menu option does not work
If the recovery menu does not show your file, you can find the temporary folder directly. On Windows 10 or 11, open File Explorer and paste this path into the address bar at the top: %appdata%\Microsoft\Excel\XLStart. Press Enter. You should see a folder called STARTUP or similar. Look inside for files with names like ~$filename.xlsx or files with very recent timestamps.
On Mac, open Finder, press Command + Shift + G to open the "Go to Folder" dialog, and paste this path: ~/Library/Containers/com.microsoft.Excel/Data/Library/Autosave Information. Press Enter. You will see a folder with unsaved Excel files inside. Look for the file you lost, or look at the timestamps to find the most recent one.
Once you find the file, right-click it and choose Open With > Microsoft Excel. Excel will open it. At the top, you will see a bar asking if you want to save this version. Click Save As, choose a location, give it a proper name, and save it.
Changing how often Excel saves and how long it keeps files
By default, Excel saves a temporary copy of your work every 10 minutes and keeps those copies for 10 days. You can change both of these numbers if you want Excel to save more often or keep files longer.
On Windows, open Excel, go to File > Options > Save. Look for a checkbox that says Save AutoRecover information every X minutes. Change the number to how often you want Excel to save — 5 minutes is more frequent, 15 minutes is less frequent. Below that, you will see Keep the last autosaved version if I close without saving. Make sure this is checked. Then look for AutoRecover file location and note where Excel is storing these files.
On Mac, open Excel, go to Excel > Preferences > Save. You will see AutoSave every X minutes. Change the number to your preference. Make sure Keep the last autosaved version if I close without saving is checked.
What to do if the file is older than 10 days
If you have not opened the file in more than 10 days, Excel has likely deleted the temporary copy. The recovery menu and the temporary folder will not have it. At this point, your options are limited.
Check whether you have a backup of the file somewhere else. Look in your Downloads folder, your Documents folder, your Desktop, and any cloud storage you use like OneDrive, Google Drive, or Dropbox. If you use OneDrive, you may be able to recover an older version of the file through OneDrive's version history — right-click the file in OneDrive online, select Version history, and choose an earlier version to restore.
If you have no backup and the file is truly gone, data recovery software exists, but it is expensive and does not always work. For most people, the lesson is to turn on AutoSave or to save files manually more often.
Using OneDrive or cloud storage to prevent this in the future
If your Excel file is stored in OneDrive, Google Drive, or another cloud service, you have an extra layer of protection. These services keep version history automatically — usually the last 30 days of versions — and you can restore an older version without needing Excel's recovery feature.
To restore a previous version from OneDrive, go to OneDrive online, right-click the file, and click Version history. You will see a list of every version saved in the last 30 days with timestamps. Click the version you want, and OneDrive will show you a preview. Click Restore to replace the current file with that version.
For Google Drive, right-click the file, select Version history > See all versions, and you will see the same list. Click the version you want and click Restore this version. The same process works for Dropbox and most other cloud services.
Why Excel loses unsaved work and how to stop it
Excel loses unsaved work because you told it to — by closing the file without saving. Excel does not know whether you closed by accident or on purpose, so it assumes you meant to discard the changes. The temporary copies exist to protect you from this, but they only last 10 days.
The best way to stop losing work is to save manually. Press Ctrl + S (Windows) or Command + S (Mac) every time you finish a section of work. If you use Excel often, turn on AutoSave in OneDrive or Google Drive — these services save your file automatically as you type, so you never have to think about it. If your file is stored locally on your computer, make sure Excel's AutoRecover is turned on and set to save every 5 or 10 minutes.
Frequently Asked Questions
Can I recover a file if I force-quit Excel without saving?
Yes. Force-quitting does not delete the temporary copy — Excel still has it stored. Open Excel normally and use File > Recover Unsaved Workbooks. The file should appear in the list.
How long does Excel keep unsaved files?
By default, 10 days. After that, Excel deletes the temporary copies automatically. You can change this in File > Options > Save (Windows) or Excel > Preferences > Save (Mac) by adjusting the AutoRecover settings, though most people leave it at 10 days.
What if I see multiple versions of the same file in the recovery menu?
Each version is a different temporary save. Look at the timestamps and choose the one closest to when you last worked on the file. Open it, check that the content is what you want, then save it with a new name so you do not overwrite the original.
Does AutoRecover work if my computer crashes?
Yes. When you restart your computer and open Excel, it will show you the unsaved files it recovered from before the crash. You can then save them normally. This is one of the main reasons AutoRecover exists.
If I use OneDrive, do I still need Excel's AutoRecover?
OneDrive handles saving automatically, so you do not need to worry about Excel's AutoRecover for that file. But if you work on files stored locally on your computer, keep AutoRecover turned on as a safety net.