What happens to unsaved Excel files
When you close Excel without saving, the file itself is gone from your computer's active storage — but Excel keeps temporary copies that you can often recover. Microsoft Excel automatically saves backup versions every 10 minutes by default, and it also creates a recovery file when the program crashes or closes unexpectedly. These files sit in a hidden folder on your computer, separate from your actual spreadsheet.
The recovery process depends on how Excel closed. If you simply closed the file without saving, Excel's AutoRecover feature usually has a copy. If the program crashed, Windows may have created a temporary file. If you force-quit Excel or lose power, recovery files are more likely to exist. The older the unsaved work, the less likely a full recovery becomes — but even hours-old spreadsheets often have a usable version waiting.
Key Takeaways
- Excel's AutoRecover feature saves temporary copies every 10 minutes, and you can access them through File > Open > Recent > Recover Unsaved Workbooks.
- If AutoRecover doesn't show your file, check the temporary files folder at C:\Users\[Your Username]\AppData\Local\Microsoft\Office\UnsavedFiles on Windows or ~/Library/Containers/com.microsoft.Excel/Data/Library/Autosave Information on Mac.
- Temporary Excel files have names like "Book1_[numbers].xlsx" or appear with a .tmp extension, and you can open them directly in Excel.
- If your computer crashed, check the Recycle Bin or Trash first — sometimes Windows moves unsaved files there instead of deleting them.
- Once you recover a file, save it immediately with a new name to prevent it from being overwritten by the next AutoRecover cycle.
Using Excel's built-in recovery feature
The fastest way to recover an unsaved Excel file is through Excel's own recovery menu. Open Excel and go to File in the top left, then select Open. At the bottom of the Open window, you'll see a button labeled Recover Unsaved Workbooks (on Windows) or Open Recent followed by Recover Unsaved Workbooks (on Mac). Click it.
A folder window opens showing all unsaved files Excel has stored. Look for the file name you were working on — it will show the date and time it was last saved. Click the file and select Open. Excel will open the recovered version in a new window. Do not close this window without saving first. Go to File > Save As, choose a location and name, and click Save. This creates a permanent copy and prevents the temporary file from being deleted.
If you don't see your file in the Recover Unsaved Workbooks folder, the file may not have triggered AutoRecover yet. This happens if less than 10 minutes passed between opening the file and closing it without saving. In that case, move to the manual recovery steps below.
Finding temporary files manually on Windows
If the built-in recovery menu doesn't show your file, Excel's temporary files may still exist in a hidden folder. On Windows, open File Explorer and navigate to C:\Users\[Your Username]\AppData\Local\Microsoft\Office\UnsavedFiles. Replace [Your Username] with your actual Windows username. If you don't see the AppData folder, it's hidden — go to the View tab at the top of File Explorer and check the box labeled Hidden items.
In the UnsavedFiles folder, look for files with names like "Book1_[random numbers].xlsx" or files with a .tmp extension. These are Excel's temporary copies. Open them by right-clicking and selecting Open with > Microsoft Excel. If multiple files appear, check the date modified column to find the most recent one — that's most likely your work.
Another location to check is C:\Users\[Your Username]\AppData\Local\Temp. This folder holds temporary files from all programs. Look for files starting with "~" or containing "Excel" in the name. The process is the same: open them with Excel and save immediately with a new name.
Finding temporary files manually on Mac
On Mac, temporary Excel files live in a different location. Open Finder and press Command + Shift + G to open the "Go to Folder" dialog. Paste this path: ~/Library/Containers/com.microsoft.Excel/Data/Library/Autosave Information. Press Enter. This folder contains all of Excel's autosave and recovery files.
Look for files with names matching your spreadsheet or generic names like "Book1". Double-click any file to open it in Excel. Check the date modified to find the most recent version of your work. Once you find the right file, save it immediately with File > Save As and give it a permanent name and location.
If that folder is empty, try the temporary files folder instead. Press Command + Shift + G again and paste: /var/folders. This opens the system temporary folder. Look for any Excel-related files, though they're harder to identify here. Sorting by date modified helps — your unsaved work would be recent.
Checking the Recycle Bin or Trash
If your computer crashed or you force-quit Excel, Windows or Mac sometimes moves unsaved files to the Recycle Bin or Trash instead of deleting them outright. On Windows, open the Recycle Bin on your desktop. Look for any Excel files (.xlsx, .xls, or files with generic names like "Book1"). Right-click and select Restore to move the file back to its original location or your Documents folder.
On Mac, click the Trash icon in the Dock and look for Excel files. Right-click and select Put Back to restore them. If you don't see the Trash icon, go to Finder > Dock and enable it in preferences.
Empty the Recycle Bin or Trash only after you've confirmed your file is recovered and saved. Once emptied, recovery becomes much harder.
What to do if nothing is found
If you've checked all three locations — the built-in recovery menu, the temporary files folders, and the Recycle Bin or Trash — and found nothing, the file is likely unrecoverable. This usually means the file was closed so quickly that AutoRecover didn't trigger, or the temporary files were already deleted by the system.
At this point, you have two options. First, check with anyone you may have emailed the file to or shared it with — they might have a copy. Second, if the spreadsheet was stored in OneDrive, Google Drive, or another cloud service, check the version history. OneDrive keeps previous versions for 93 days, and Google Drive keeps version history indefinitely. Open the file in the cloud service and look for a "Version history" or "Restore versions" option.
If the file was only on your local computer and no backups exist, the data is gone. This is why setting up automatic backups now prevents the same loss in the future.
Preventing this from happening again
Change Excel's AutoRecover settings to save more frequently. Open Excel, go to File > Options (Windows) or Excel > Preferences (Mac). Find Save in the left menu. Check the box for Save AutoRecover information every [X] minutes and change the number from 10 to something lower, like 5. This creates backup copies more often.
Also check the box for Keep the last autosaved version if I close without saving. This tells Excel to preserve the most recent AutoRecover file even if you close the spreadsheet without saving, making recovery easier later.
For long-term protection, save your spreadsheets to OneDrive, Google Drive, or Dropbox instead of your local computer. These services keep version history automatically and protect against both unsaved files and hardware failure.
Frequently Asked Questions
How long does Excel keep AutoRecover files?
Excel keeps AutoRecover files for the current session only. Once you close Excel completely, the temporary files are deleted after a few days — usually between 3 and 7 days, though this varies by system. The sooner you recover the file after closing Excel, the better your chances.
Can I recover a file if I force-quit Excel?
Yes. Force-quitting actually increases your chances because Excel doesn't have time to clean up temporary files. Check the Recover Unsaved Workbooks menu first, then the temporary files folders. Files are usually still there.
What if the recovered file is corrupted or incomplete?
Open the file in Excel and check the data. If it's incomplete, check the other temporary files in the same folder — you may have multiple versions, and an older one might be more complete. If the file won't open at all, try opening it with a different program like Google Sheets or LibreOffice Calc, which sometimes can read corrupted Excel files.
Does restarting my computer delete unsaved Excel files?
No. Restarting doesn't delete AutoRecover or temporary files. They remain in the hidden folders until Excel deletes them automatically (usually after several days) or until you manually delete them. Restart your computer and check the recovery locations again if you didn't find the file before restarting.
Can I recover a file from a different computer?
No. AutoRecover files are stored locally on the computer where you were working. If you were using a work computer, contact your IT department — they may have backups or access to the temporary files folder. If it was a personal computer you no longer have access to, the file cannot be recovered remotely.