Where Excel stores unsaved work
Excel automatically saves a temporary copy of your work every 10 minutes by default, even if you never press Ctrl+S. This file sits in a hidden folder on your computer, separate from your actual saved files. If you close Excel without saving, or if your computer crashes, that temporary version still exists and you can retrieve it.
The location and recovery method depends on which version of Excel you use and your operating system. Windows and Mac store these files in different places, and Excel 2016 and newer versions handle recovery differently than older editions.
Key Takeaways
- Excel saves temporary copies every 10 minutes automatically, even if you never manually save the file.
- The Document Recovery pane appears automatically when you reopen Excel after a crash or forced close, showing unsaved versions you can restore.
- If Document Recovery does not appear, you can manually browse to the AutoRecover folder on your hard drive to find temporary files.
- Renaming a temporary file from .tmp to .xlsx lets you open it as a regular Excel file if the recovery pane is not available.
- Turning off AutoRecover is not recommended, but you can change how often Excel saves temporary copies in the Options menu.
Using the Document Recovery pane after a crash
When you restart Excel after it closes unexpectedly, the Document Recovery pane should open automatically on the left side of the screen. This pane lists all unsaved files and recent versions that Excel recovered. Each entry shows the file name, when it was last saved, and whether it is marked for recovery.
Click the file you want to restore, then click the green checkmark or "Recover" button. Excel opens that version in a new window. You can then save it with a new name or overwrite the original file. If multiple versions appear, you can open each one to compare and choose the one with the most recent work.
If the Document Recovery pane does not appear, close Excel completely and reopen it. The pane should show up on the next launch. If it still does not appear, the crash may not have triggered the recovery system, and you will need to manually locate the temporary files.
Finding temporary files on Windows
Temporary Excel files are stored in a hidden folder that Windows does not show by default. To access it, open File Explorer and type this path into the address bar: %appdata%\Microsoft\Excel\XLStart. Press Enter and you will see a folder called STARTUP. The temporary files are usually not here, but in a parent folder one level up.
Go back one folder level and look for a folder named after your Excel version, such as EXCEL16 or EXCEL15. Inside that folder, look for a subfolder called XLSTART or a file with a name like "Book1" followed by numbers and a .tmp extension. These .tmp files are your unsaved work. Right-click one, select "Rename", and change the extension from .tmp to .xlsx. Then double-click it to open it in Excel.
If you cannot find the folder using the path above, try this alternative: press Windows key + R, type %temp%, and press Enter. This opens your temporary files folder. Look for files with names like "~$" followed by numbers, or files with .tmp extensions. These may be your unsaved Excel files.
Finding temporary files on Mac
On Mac, temporary Excel files are stored in the Library folder, which is hidden by default. Open Finder, press Command+Shift+G to open the "Go to Folder" dialog, and type ~/Library/Containers/com.microsoft.Excel/Data/Library/Application Support/Microsoft/Office/Office Cache. Press Enter and you will see a list of temporary files.
Look for files with names that resemble your unsaved document or files with recent modification dates. These files may not have a .xlsx extension. To open one, right-click it, select "Open With", and choose Microsoft Excel. If that does not work, try renaming the file to add a .xlsx extension, then double-click it.
An alternative route on Mac is to use Spotlight search. Press Command+Space, type the name of your file or a word you remember typing in it, and search. Spotlight sometimes finds temporary versions that are easier to locate this way.
Adjusting AutoRecover settings
By default, Excel saves a temporary copy every 10 minutes. You can change this interval or turn off AutoRecover entirely, though turning it off is not recommended. To adjust the settings, open Excel, click File, then Options. In the Options window, click Save on the left side.
Look for the checkbox labeled "Save AutoRecover information every X minutes". If it is checked, you can change the number of minutes. Lowering this number means Excel saves more frequently, which gives you less work to lose if something goes wrong. Raising it means fewer automatic saves, which can slightly improve performance on older computers.
You can also check the box for "Keep the last AutoRecovered version if I close without saving". This tells Excel to preserve the most recent temporary copy even if you close the file intentionally without saving. This is useful if you close a file by accident and want to recover your recent changes.
Recovering from OneDrive or cloud storage
If your Excel file is stored in OneDrive, Microsoft 365, Google Drive, or another cloud service, you have an additional recovery option. Most cloud services keep a version history that lets you restore older versions of a file. This is separate from Excel's AutoRecover and can help even if the temporary files are gone.
In OneDrive, right-click the file, select "Version history", and choose a previous version to restore. In Google Drive, right-click the file, select "Version history", and pick the version you want. In Microsoft 365, open the file, click File, then "Version History" to see all saved versions. These version histories typically keep files for 30 to 90 days, depending on your subscription.
Cloud recovery is often faster and more reliable than hunting for temporary files, because the versions are stored on the service's servers rather than your computer's hard drive. If you use cloud storage, check there first before searching for temporary files locally.
What to do if no recovery options work
If the Document Recovery pane does not appear, you cannot find temporary files, and your cloud service has no version history, your unsaved work may be gone. At this point, data recovery software designed for hard drives may help, but results are not certain. Programs like EaseUS Data Recovery or Recuva can scan your hard drive for deleted files, including temporary Excel files that were not properly saved.
These tools work best if you stop using your computer immediately after realizing the file is lost, because new data written to the hard drive can overwrite the temporary file. Download the recovery software on a different computer, transfer it to a USB drive, and run it from there to avoid writing new data to your drive.
For most people, the best outcome at this stage is to accept the loss and rebuild the file from memory or from earlier versions. This is why regular saving and using cloud storage are the most practical ways to prevent this situation in the first place.
Frequently Asked Questions
How long does Excel keep AutoRecover files?
Excel keeps AutoRecover files for four days by default. After four days, temporary files are deleted automatically. If you realize you need a file more than four days after closing it, the temporary version will no longer exist, and you will need to rely on cloud version history or data recovery software.
Can I recover an Excel file if I never saved it once?
Yes. AutoRecover works even if you never manually saved the file. As long as the file was open for at least 10 minutes (the default AutoRecover interval), Excel created a temporary copy. You can recover this copy using the Document Recovery pane or by finding the temporary file manually.
What if I saved the file with the wrong name and want the original version back?
If you saved over a file by accident, check your cloud service's version history first. OneDrive and Google Drive keep previous versions for 30 to 90 days. If the file is not in cloud storage, you can try data recovery software, but success depends on how much new data has been written to your hard drive since the overwrite.
Does closing Excel without saving delete the AutoRecover file?
No. Closing Excel without saving preserves the AutoRecover file. The temporary copy remains on your hard drive for up to four days. When you reopen Excel, the Document Recovery pane should appear and show you the unsaved version.
Can I recover an Excel file from a different computer?
AutoRecover files are stored locally on the computer where you were working, so you cannot access them from a different machine. However, if the file is in cloud storage like OneDrive or Google Drive, you can open it from any computer and access the version history. This is another reason cloud storage is useful for recovery.