Where Excel stores files it hasn't saved yet

Excel keeps unsaved work in a temporary folder on your computer, separate from your Documents or Desktop. When you close a file without saving, Excel asks if you want to save changes — but if you click "Don't Save" or your computer crashes, that work doesn't disappear immediately. Excel holds onto it for a recovery period, usually 10 days by default, though you can change this setting.

The location of these recovery files depends on your operating system and Excel version. On Windows, they live in a hidden AppData folder. On Mac, they're in a Library folder that isn't visible by default. The key is knowing where to look and how to tell Excel to show you what it has stored.

Key Takeaways

  • Excel automatically saves unsaved work to a recovery folder every 10 minutes, and keeps those files for 10 days before deleting them.
  • On Windows, recovery files are in C:\Users\[YourUsername]\AppData\Local\Microsoft\Office\UnsavedFiles; on Mac, they're in ~/Library/Containers/com.microsoft.Excel/Data/Library/Application Support/Microsoft/Office/UnsavedFiles.
  • The fastest way to find recent unsaved files is to open Excel, go to File > Info > Manage Versions, and look for "Autosave" or "Unsaved Files" options.
  • If your computer crashed or Excel closed unexpectedly, check the Document Recovery pane that appears when you restart Excel — it shows files from the last session.

Using Excel's built-in recovery tools

When Excel restarts after a crash or unexpected close, it automatically shows you a Document Recovery pane on the left side of the screen. This pane lists files that were open when the crash happened, along with the time they were last saved. You can click any file in this list to open it. If you see the file you need, click it and then click "Open" — Excel will load the version from the recovery folder.

If the Document Recovery pane doesn't appear automatically, you can open it manually. In Excel, click File, then Info, then look for a button labeled Manage Versions or Recover Unsaved Documents. The exact name changes between Excel versions, but it's always in the Info section. Click it, and Excel will show you a list of unsaved files with their last-known save times.

Once you find the file you want, open it and immediately save it with a new name or in a permanent location. Don't rely on the recovery folder — those files are temporary and will be deleted after 10 days.

Finding recovery files on Windows

If Excel's built-in recovery tools don't show what you're looking for, you can navigate directly to the recovery folder. On Windows, you need to show hidden files first, because the AppData folder is hidden by default.

Open File Explorer and click the View tab at the top. Look for a checkbox labeled Hidden items and click it to turn it on. Now navigate to C:\Users\[YourUsername]\AppData\Local\Microsoft\Office\UnsavedFiles, replacing [YourUsername] with your actual Windows username. You'll see a list of files with long names that look like random numbers and letters — these are your unsaved Excel files.

The file names won't show the original spreadsheet name, so you may need to open a few to find the right one. Right-click any file and select Open with, then choose Microsoft Excel. Excel will open the file so you can check if it's the one you need. Once you confirm, save it immediately to your Documents folder or Desktop with a clear name.

Finding recovery files on Mac

On Mac, the recovery folder is also hidden, but you can reach it through Finder. Open Finder and press Command + Shift + G to open the "Go to Folder" dialog. Type this path exactly: ~/Library/Containers/com.microsoft.Excel/Data/Library/Application Support/Microsoft/Office/UnsavedFiles and press Enter.

Finder will take you directly to the unsaved files folder. Like on Windows, the files have cryptic names. Double-click any file to open it in Excel, and check whether it's the spreadsheet you're looking for. Once you find it, save it to a permanent location with a descriptive name right away.

If that path doesn't work, try this alternative: open Finder, click Go in the menu bar, hold Option, and click Library. Then navigate to Containers > com.microsoft.Excel > Data > Library > Application Support > Microsoft > Office > UnsavedFiles.

Changing how long Excel keeps unsaved files

By default, Excel keeps unsaved files for 10 days. If you want to extend this period or shorten it, you can change the setting. On Windows, open Excel and click File, then Options, then Save. Look for a setting that says Keep the last autosaved version if I close without saving and make sure it's checked. Below that, you'll see AutoRecover file location — this shows you where the files are stored.

To change how long Excel keeps these files, you need to edit the Windows Registry. This is more technical, so only do this if you're comfortable with it. Press Windows Key + R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\Resilience (the number 16.0 may be different depending on your Excel version). Right-click in the empty space and create a new DWORD value called DisableRecoveryStore. Set its value to 0 to keep recovery files, or 1 to disable them entirely.

On Mac, open Excel and click Excel in the menu bar, then Preferences. Click Save and look for AutoRecover settings. You can turn AutoRecover on or off, but Mac doesn't offer a way to change the retention period through the settings menu.

What to do if you can't find your file

If you've checked the recovery folder and the Document Recovery pane and still can't find your file, the recovery period may have expired. Excel deletes unsaved files after 10 days, so if more than that time has passed, the file is gone. This is why saving regularly is important — recovery is a backup, not a permanent storage system.

If your file was saved at some point but you can't find the saved version, use Windows Search (on Windows) or Spotlight (on Mac) to search for the file name. On Windows, press Windows Key + S, type the file name, and look through the results. On Mac, press Command + Space, type the file name, and check the results. You may find an older version saved in an unexpected location.

If the file was never saved and the recovery period has passed, the data is not recoverable. Going forward, turn on AutoSave if you use Excel with OneDrive or SharePoint — this saves your work continuously without you having to click Save.

Preventing lost files in the future

The most reliable way to avoid losing work is to save files manually and often. Press Ctrl + S (Windows) or Command + S (Mac) every few minutes while you work, especially after making important changes. Give your files clear names and save them to a consistent location like Documents or a OneDrive folder.

If you use Excel with OneDrive or SharePoint, enable AutoSave. This feature saves your work automatically every few seconds, so you never lose more than a few seconds of typing. To turn it on, open a file stored on OneDrive or SharePoint, and look for the AutoSave toggle at the top left of the Excel window. When it's on, you'll see a checkmark next to it.

You can also increase the frequency of AutoRecover saves. In Excel, go to File > Options > Save (Windows) or Excel > Preferences > Save (Mac), and look for AutoRecover. Change the interval from the default 10 minutes to something shorter, like 5 minutes, if you work on important spreadsheets. This won't prevent loss entirely, but it reduces how much work you lose if something goes wrong.

Frequently Asked Questions

How long does Excel keep unsaved files?

Excel keeps unsaved files for 10 days by default. After that, the recovery files are automatically deleted. If you need to recover a file, check the recovery folder or the Document Recovery pane within this 10-day window.

Can I recover a file if my computer crashed?

Yes. When you restart Excel after a crash, the Document Recovery pane should appear automatically, showing files that were open when the crash happened. If it doesn't appear, go to File > Info > Manage Versions to find unsaved files manually.

What if the recovery file won't open?

Recovery files can sometimes be corrupted. Try opening it in a different version of Excel if you have one available, or try opening it with a different program like Google Sheets or LibreOffice. If none of these work, the file may be too damaged to recover.

Does AutoSave work with all Excel files?

AutoSave only works with files stored on OneDrive, SharePoint, or OneDrive for Business. Files saved to your local computer or external drives don't benefit from AutoSave, so you need to save them manually or rely on AutoRecover.

Can I recover a file after I've emptied the Recycle Bin?

Emptying the Recycle Bin doesn't affect the recovery folder — those are separate locations. If you deleted a saved Excel file and emptied the Recycle Bin, it's gone. But if the file was unsaved, check the recovery folder first, as it may still be there.