Where Excel stores unsaved work

Excel automatically saves drafts of files you are working on, even if you close the program without saving. The location of these drafts depends on which version of Excel you use and your operating system. On Windows with Excel 2016 or newer, unsaved files are stored in a hidden folder at C:\Users\[Your Username]\AppData\Local\Microsoft\Office\UnsavedFiles. On Mac with Excel 2016 or newer, look in ~/Library/Containers/com.microsoft.Excel/Data/Library/Application Support/Microsoft/Office/UnsavedFiles.

The folder names and paths are the same whether you use Excel as a standalone program or as part of Microsoft 365. If you use an older version of Excel (2013 or earlier), the recovery process is different and covered in the FAQ section below.

These folders are hidden by default, which is why you cannot simply browse to them like a normal folder. You will need to show hidden files first, or navigate directly by typing the path into your file browser.

Key Takeaways

  • Excel saves automatic drafts to a hidden folder on your computer, and you can retrieve them by unhiding that folder or using Excel's built-in recovery tool.
  • The fastest method is to open Excel, go to File > Info > Manage Versions, and look for "Autosave" or "Unsaved Files" depending on your Excel version.
  • If that does not show your file, navigate to the hidden UnsavedFiles folder on your hard drive and look for a file matching the date and time you were working.
  • Once you find the recovered file, save it immediately with a new name to prevent it from being deleted during the next cleanup cycle.
  • If you cannot find the file in either location, check your Recycle Bin or Trash in case the file was deleted after you closed Excel.

Using Excel's built-in recovery feature

The fastest way to recover an unsaved file is through Excel itself. Open Excel and go to File in the top-left corner. Click Info, then look for a button labeled Manage Versions or Recover Unsaved Documents. The exact label depends on your Excel version, but both lead to the same place.

A window will open showing a list of unsaved files with the date and time they were last saved. Look for the file name and date that matches the work you lost. Click on it to preview the contents before you open it. Once you confirm it is the right file, click Open.

After opening a recovered file, Excel will ask whether you want to save it. Choose Save As rather than Save, and give the file a new name. This prevents Excel from overwriting the original unsaved version, which could be deleted during routine maintenance.

Finding the UnsavedFiles folder manually on Windows

If the built-in recovery feature does not show your file, you can browse the hidden folder directly. Open File Explorer and click the View tab at the top. Check the box labeled Hidden items. This will show all hidden files and folders on your computer.

Now navigate to C:\Users\[Your Username]\AppData\Local\Microsoft\Office\UnsavedFiles. Replace "[Your Username]" with your actual Windows username. Inside this folder you will see files with names like "Book1_[random numbers].xlsx" or similar. Look for files with a modified date and time matching when you were working on your spreadsheet.

Right-click the file you want to recover and select Copy. Navigate to a folder where you keep your documents, right-click, and select Paste. Open the pasted file in Excel, verify it contains your work, and save it with a descriptive name.

Finding the UnsavedFiles folder manually on Mac

On Mac, open Finder and click Go in the menu bar at the top. Select Go to Folder. Paste this path into the box: ~/Library/Containers/com.microsoft.Excel/Data/Library/Application Support/Microsoft/Office/UnsavedFiles. Press Enter.

The UnsavedFiles folder will open. Look for files with a modified date matching when you were working. The file names will be cryptic, but you can double-click them to open them in Excel and check the contents. Once you find the right file, drag it to your Documents folder or another location where you normally save files.

Open the recovered file in Excel, check that it contains your work, and save it with a new name using File > Save As. This ensures the file is no longer in the temporary UnsavedFiles folder and will not be deleted later.

What to do if you cannot find the file

If the file does not appear in the UnsavedFiles folder or the recovery window, check your Recycle Bin (Windows) or Trash (Mac). If you closed Excel and then emptied the Recycle Bin or Trash, the file may be permanently deleted. However, if the bin still has files in it, look for anything with an .xlsx or .xls extension and a recent date.

Another possibility is that the file was saved to a temporary location you do not remember. Try using your operating system's search function to look for all Excel files modified on the date you were working. On Windows, open File Explorer, click the search box, and type "*.xlsx" to find all Excel files. On Mac, open Spotlight by pressing Command+Space and search for "*.xlsx".

If you use Microsoft 365 and the file was stored in OneDrive or SharePoint, check the version history for that file. Right-click the file in OneDrive, select Version history, and look for an earlier version from the time you were working. You can restore an older version or download it as a separate file.

How to prevent losing unsaved work in the future

Excel's autosave feature saves drafts every 10 minutes by default, but you can change this interval. Go to File > Options > Save and look for "AutoRecover file location" and "Save AutoRecover information every [X] minutes". Lowering the number of minutes means Excel saves more frequently, giving you less work to redo if something goes wrong.

If you use Microsoft 365 and store files in OneDrive or SharePoint, enable AutoSave. This feature saves your file automatically as you type, and you can see the version history at any time. AutoSave is turned on by default for files stored in the cloud, but you can verify it is working by looking for the AutoSave toggle near the top of the Excel window.

For important spreadsheets, get in the habit of pressing Ctrl+S (Windows) or Command+S (Mac) every few minutes. This manual save takes only a second and ensures your work is written to disk immediately, rather than waiting for the autosave timer.

Frequently Asked Questions

How long does Excel keep unsaved files?

Excel keeps unsaved files for up to four days by default. After four days, the files are automatically deleted during a cleanup cycle. If you need to recover a file older than four days, it may no longer be in the UnsavedFiles folder. Check your Recycle Bin or Trash, or contact your IT department if the file was on a work computer with backup systems.

Can I recover an unsaved Excel file if I force-closed the program?

Yes. Even if Excel crashed or you force-closed it, the autosave drafts are still stored in the UnsavedFiles folder. The next time you open Excel, it may automatically prompt you to recover unsaved files. If it does not, use the File > Info > Manage Versions method described above.

What if I am using Excel 2013 or an older version?

Older versions of Excel store unsaved files differently. Go to File > Recent and look for a button labeled Recover Unsaved Workbooks at the bottom of the list. Click it to open the recovery folder. The process is otherwise the same: look for a file matching your date and time, open it, and save it with a new name.

Does recovering an unsaved file overwrite the original file?

No, because unsaved files are stored separately from your saved files. However, if you use Save instead of Save As when recovering a file, Excel will ask you to confirm the file name and location. Always use Save As to give the recovered file a new name and avoid confusion.

Can I recover a file if I did not close Excel properly?

Yes. The autosave drafts are saved to disk independently of whether you close Excel normally or abnormally. The next time you open Excel, check File > Info > Manage Versions or navigate to the UnsavedFiles folder. Your work should still be there.