Where Excel stores unsaved files
When you close Excel without saving, the program doesn't delete your work immediately. Excel keeps a temporary copy in a hidden folder on your computer, and you can often retrieve it. The location and how long it stays there depends on your version of Excel and your operating system.
On Windows, Excel stores unsaved files in a folder buried deep in your user profile. On Mac, the location is different but the principle is the same — Excel made a backup you can access. The file won't stay there forever, though. If you restart your computer or Excel crashes, you have a better chance of recovery the sooner you look.
Key Takeaways
- Excel's AutoRecover feature saves a temporary copy of your file every 10 minutes by default, even if you never manually saved it.
- You can find unsaved files through the File menu under "Open" or "Recent" — look for a "Recover Unsaved Workbooks" button.
- If AutoRecover didn't catch your file, check your computer's temporary files folder, though recovery is less certain there.
- Once you recover a file, save it immediately with a real filename so you don't lose it again.
Recovering through Excel's File menu on Windows
The fastest way to recover an unsaved Excel file is through Excel itself. Open Excel (even if the file you want isn't open yet) and go to the File menu in the top left. Click on "Open" or "Recent" depending on your Excel version.
Look for a button that says "Recover Unsaved Workbooks" — it usually appears near the bottom of the menu or as a separate option. Click it, and Excel will show you a folder of temporary files it saved automatically. These are named with timestamps and the original filename if you had one. Select the file you want and click "Open." Excel will open it as a temporary file, and you'll see "[Recovered]" in the title bar. Save it immediately with a real filename — use File > Save As and give it a name you'll recognize.
Recovering through Excel's File menu on Mac
On a Mac, the process is similar but the menu location is slightly different. Open Excel and click "File" in the menu bar at the top. Look for "Open Recent" and hover over it to see a submenu.
At the bottom of that submenu, you should see "Show All" or "Browse Recent Files." Click it. In the window that opens, look for a button or link that says "Recover Unsaved Workbooks" or "Unsaved Workbooks." Click that, and you'll see the temporary files Excel saved. Select the one you need, click "Open," and then immediately save it with a real filename using File > Save As.
Finding temporary files if AutoRecover didn't work
If you don't see a "Recover Unsaved Workbooks" option, AutoRecover may have been turned off, or the file may have been deleted before Excel could save a copy. You can still search your computer's temporary files folder directly, though recovery is less certain.
On Windows, open File Explorer and paste this path into the address bar: %appdata%\Microsoft\Excel. Look for a folder called "XLStart" or search for files with .tmp or .xlk extensions — these are temporary Excel files. On Mac, open Finder, press Command+Shift+G to open "Go to Folder," and paste ~/Library/Containers/com.microsoft.Excel/Data/Library/Application Support/Microsoft/Office/OfficeFileCache. Look for files with recent timestamps. If you find something that looks like your file, copy it to your Desktop first, then try opening it with Excel.
Turning on AutoRecover if it's off
If you recovered a file this time but want to prevent this from happening again, check that AutoRecover is turned on. On Windows, go to File > Options > Save. On Mac, go to Excel > Preferences > Save. Look for a checkbox that says "AutoRecover" or "Keep a backup copy" and make sure it's checked.
You can also change how often Excel saves. The default is every 10 minutes, but you can make it more frequent if you're working on something critical. Set it to 5 minutes if you want more protection, though this uses slightly more disk space. Once you've turned it on, Excel will save a temporary copy automatically at that interval, even if you never click Save yourself.
What to do if the file is completely gone
If you've checked both the Recover Unsaved Workbooks folder and your temporary files folder and found nothing, the file may not be recoverable through Excel. This can happen if your computer crashed before AutoRecover had a chance to save, or if you restarted before looking for the recovery files.
At this point, you have two options. First, check whether you have any cloud backups — if you use OneDrive, Google Drive, or Dropbox, older versions of the file may be stored there. Log into your cloud account and look for version history or a trash folder. Second, you can use third-party file recovery software, though success depends on how long ago the file was deleted and what you've done with your computer since. Search for "file recovery software" and read reviews before downloading anything.
Preventing this from happening again
Beyond turning on AutoRecover, the most reliable protection is to save your file manually and often. Use Ctrl+S on Windows or Command+S on Mac — it takes one second and guarantees your work is stored. If you work on important spreadsheets, save to a cloud service like OneDrive or Google Drive instead of just your local computer. That way, even if your computer fails, your file is backed up automatically.
You can also enable Excel's "AutoSave" feature if you're using a cloud service. On Windows, this appears as a toggle at the top of the window when you open a file from OneDrive or SharePoint. On Mac, it's in Excel > Preferences > Save. When AutoSave is on, Excel saves your file automatically every few seconds without you doing anything, and you can see previous versions in the file's history.
Frequently Asked Questions
How long does Excel keep unsaved files?
Excel typically keeps unsaved files for several days, but the exact time varies. If your computer restarts or Excel crashes, the temporary files may be deleted sooner. The safest approach is to look for recovery files as soon as you realize you didn't save — don't wait.
Can I recover a file if I closed Excel without saving?
Yes, as long as AutoRecover was turned on. When you close Excel without saving, AutoRecover's temporary copy remains on your computer. Open Excel again and look for the "Recover Unsaved Workbooks" option in the File menu.
What if I see multiple recovered files and don't know which one is mine?
Open each one and check the content. The filename usually includes a timestamp, so the most recent one is likely what you want. Once you've found the right file, save it immediately with a clear name so you can identify it later.
Does AutoRecover work if my computer crashes?
Usually yes. When Excel restarts after a crash, it automatically detects the temporary files and offers to recover them. You'll see a recovery pane when you open Excel again. Click "Recover" to restore the files.
Can I recover a file from a different computer?
No. Unsaved files are stored on the specific computer where you were working. If you need to recover a file from another computer, you'll need physical access to that computer or a cloud backup of the file.