Skip to main content

How to clear the Office file cache when Excel crashes on opening files

To assist users in resolving Excel crashes when opening files by clearing the Office file cache on Windows.

Updated this week

Overview: This guide will assist users in clearing the Office file cache, which can resolve crashes that occur when opening Excel files. The cache stores temporary copies of files accessed from OneDrive or SharePoint, and clearing it can fix corruption issues without deleting your actual files.

Please refer to the Glossary for definitions of key terms used in this article.


Clear the Office file cache using Excel options

You can clear the cache directly from within Excel using the built-in option.
​

Steps to clear the cache

  1. Close all Office applications (Excel, Word, Outlook, PowerPoint, etc.).

  2. Open Excel.

  3. Go to File > Options > Save.

  4. Under Cache Settings, click Delete cached files.

  5. Confirm the action when prompted.

  6. When prompted, allow Excel to close or restart Office applications.

  7. Reopen Excel and try opening the same file again.


Clear the cache manually if the button is unavailable

If the Delete cached files button is not visible, grayed out, or does not work, you can manually delete the cache files.
​

When to use this method

This manual method may be needed if:

  • The button is missing from your Excel Options.

  • Your organisation has restricted the button through Group Policy settings.

  • The button does not successfully clear the cache.

  • You have an older version of Office.

Steps to manually clear the cache

WARNING: Close all Office applications completely before proceeding.

  1. Close all Office apps (Excel, Word, Outlook, PowerPoint, etc.).

  2. In File Explorer, paste the following path into the address bar and press Enter: %localappdata%\Microsoft\Office\16.0\OfficeFileCache

  3. Delete the contents of the folder (not the folder itself).

  4. Open Excel and test the same file again.

Did this answer your question?