Identify the Root Cause
Before applying fixes, it is crucial to understand why Excel behaves this way. The most common culprit is a third-party COM add-in that fails to unload cleanly when the host application closes. Other potential causes include corrupted temporary files, incomplete updates, or conflicts with other Microsoft Office applications running in the background. Identifying whether the issue is isolated to Excel or affects all Office apps helps narrow down the solution path.
Disable Problematic Add-Ins
Add-ins are the primary suspects for automatic restart loops. These plugins run in the background and may hang during the shutdown sequence, forcing Excel to reopen. Follow these steps to isolate and disable them:
- Open Excel and navigate to File > Options.
- Select the Add-Ins category from the left-hand menu.
- At the bottom, locate the Manage dropdown and select COM Add-ins.
- Click Go... to open the COM Add-ins dialog box.
- Uncheck every add-in listed, then click OK.
- Close Excel completely and attempt to reopen it.
If Excel now closes normally, one of the disabled add-ins was causing the conflict. Re-enable them one by one, testing after each change, to identify the specific plugin responsible for the crash. Common offenders include PDF converters, data analysis tools, or financial reporting utilities.
Repair Microsoft Office Installation
If disabling add-ins does not resolve the issue, the core Office installation may be corrupted. Microsoft provides built-in repair tools that fix missing or damaged files without requiring a full reinstallation. Use the Online Repair method for thoroughness, as it replaces all program files.
- Open Windows Settings and go to Apps > Installed Apps (or Apps & Features on older versions).
- Scroll through the list to find Microsoft 365 or Microsoft Office.
- Click the three-dot menu next to the entry and select Modify.
- Choose Online Repair and click Repair. Note that this process may take several hours depending on your internet speed.
- Restart your computer once the repair completes.
Avoid the Quick Repair option if the problem persists, as it only fixes local registry keys and cached files rather than replacing broken binaries. Online Repair ensures that all components, including shared libraries used by Excel, are restored to their default state.
Clear Excel Temporary Files
Corrupted temporary files can also trigger unexpected restarts. Excel stores autosave data and session information in hidden folders that may become inconsistent after an improper shutdown. Clearing these files forces Excel to start fresh.
Navigate to File > Options > Save and uncheck Keep the last autosaved version if I close without saving temporarily. Then, manually delete contents from the following directories by pressing Win + R, typing the path, and hitting Enter:
%temp%%appdata%\Microsoft\Excel
After clearing these folders, restart Excel to see if the issue resolves. Be cautious not to delete active workbook files, only temporary and cache files.
Check for Conflicting Software
Other applications, particularly antivirus software or cloud storage sync clients, can interfere with Excel’s shutdown process. If you use OneDrive, Dropbox, or Google Drive, ensure they are up to date. Sometimes, pausing synchronization while closing Excel can prevent the restart loop. Additionally, check if any recent software updates coincided with the onset of the problem. Rolling back a recent driver or security patch may help if the issue started abruptly.
For more details on managing file changes in Excel 365, refer to our guide on Retaining Changes to an Excel 365 File Beyond 60 Days. Understanding how Excel handles version history can sometimes provide insights into stability issues related to autosave features.
Frequently Asked Questions
Why does Excel restart instead of just closing?
Excel restarts because a background process or add-in is preventing the main window from terminating cleanly. The application detects that critical components are still active and attempts to reload them upon reopening. This is typically a sign of a software conflict rather than hardware failure.
Can I reset Excel settings to default?
Yes, you can reset Excel by renaming its user profile folder, which forces the application to create a new default configuration. Navigate to %appdata%\Microsoft\Excel and rename the folder to Excel.old. This preserves your old settings in case you need to recover them later.
Does this issue affect other Office apps like Word?
It depends on the root cause. If it is an add-in issue, other apps using the same add-in will likely experience similar problems. However, if the issue is specific to Excel’s file handlers or templates, Word may function normally. Testing other apps helps determine if the problem is app-specific or system-wide.
What should I do if Online Repair fails?
If Online Repair does not fix the restart issue, try uninstalling Office completely via the Control Panel and then reinstalling it from the Microsoft 365 portal. Ensure you use the official uninstaller tool to remove residual files that might be causing conflicts. A clean install is the most reliable solution for deep-seated corruption.
Is there a way to force Excel to close without restarting?
You can use Task Manager to end the Excel process forcefully by pressing Ctrl + Shift + Esc, finding EXCEL.EXE, and selecting End Task. However, this risks losing unsaved work and does not fix the underlying cause of the restart loop. It should only be used as a last resort when the application is frozen.