Excel Performance Problems

Why Excel Creates a Temporary File When Saving and How to Fix Lingering Files

Algirdas JasaitisAlgirdas Jasaitis Oct 26, 2026 870 views

Question details

The user wants to understand why Microsoft Excel creates temporary files during the save process and how to resolve issues where these files fail to delete automatically.

Why Excel Creates a Temporary File When Saving
Product
Microsoft Excel
Device & OS
Windows
Scenario
Saving a workbook in Microsoft Excel
Observed behavior
Excel generates temporary files in the local directory during the save process. Sometimes, these temporary files linger and clutter the folder due to system interruptions or software conflicts.
Before you start

Before troubleshooting, verify whether the temporary files remain in the folder after you have completely closed Excel, as temporary files created during an active session are a normal part of Excel's recovery mechanism.

Solution 1Recommended

Test Excel in Safe Mode and Disable Add-ins

Running Excel in Safe Mode prevents third-party add-ins from loading, helping you identify if an extension is blocking Excel from deleting its temporary files.

Temporary files are a core function of Office applications used for file protection and recovery during a save operation. If these files do not disappear after closing the document, a conflicting add-in might be interfering with the final deletion step.

1
Open the Run dialog

Press the Windows key + R on your keyboard to open the Windows Run dialog box.

2
Launch Excel in Safe Mode

Type 'excel /safe' into the text box and press Enter. Excel will open in Safe Mode with add-ins disabled.

3
Test the save process

Open a workbook, make a small change, and save it. Close the workbook and check if the temporary file disappears from the folder.

4
Disable problematic add-ins

If the temporary file successfully deletes in Safe Mode, restart Excel normally. Go to File > Options > Add-ins, and disable third-party add-ins one by one to identify the culprit.

Test Excel in Safe Mode and Disable Add-ins
Normal Operation: You cannot completely disable temporary file creation, as it is a mandatory, built-in function to prevent data loss in Microsoft Excel.
Free Microsoft Office alternative

Try WPS Office for Smooth and Fast Spreadsheet Management

If troubleshooting Excel's complex file-saving mechanisms and lingering temporary files is slowing you down, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet editor that respects your system resources and manages background processes efficiently.

  1. 1. Download and install: Visit the official WPS Office website to download and install the free software on your device.
  2. 2. Open your files smoothly: Launch WPS Spreadsheets and simply open your existing Excel workbooks to continue your work without formatting loss.
  3. 3. Enjoy seamless saving: Edit and save your documents effortlessly, benefiting from a streamlined file management system.
Fully compatible with Microsoft Excel formats including .xlsx, .xls, and .csv.Lightweight architecture ensures fast saving operations without unnecessary folder clutter.Completely free to download and use, featuring a familiar interface for zero learning curve.Stable built-in backup features that operate smoothly without interrupting your workflow.
microsoft office alternative - wps office

Frequently Asked Questions

Can I completely disable temporary files in Excel?

No, temporary files cannot be completely disabled. They are a core function of Office applications designed to protect your data, prevent corruption, and support auto-recovery features during the save process.

Where are Excel temporary files stored?

Excel typically creates these temporary files in the exact same directory as the original workbook during the saving process. Once the save is fully complete, Excel is programmed to automatically delete them.

Why do temporary files stay in my folder after closing Excel?

Lingering temporary files usually occur when a third-party add-in, real-time antivirus scan, or a network sync delay interrupts Excel's saving process, preventing the application from executing the final deletion command.

Is it safe to delete lingering Excel temporary files manually?

Yes. If Excel is completely closed and you have verified that your original workbook is successfully saved, you can safely delete any leftover temporary files (which often start with a tilde '~' or have a '.tmp' extension) manually.