How to Stop Excel from Restarting Itself When Closing

Abstract: Resolve Excel restarting automatically upon closing by disabling conflicting COM add-ins, performing an Online Repair of the Office installation, and clearing corrupted temporary files.

Created: 2026-07-29 by
Excel restarting immediately after closing is a frustrating glitch that disrupts workflow and prevents users from saving their work properly. This behavior usually stems from corrupted add-ins, conflicting background processes, or damaged Office configuration files rather than a fundamental application failure. By systematically disabling problematic extensions and repairing the core installation, you can restore normal shutdown behavior without needing advanced system tweaks.

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.

  1. Open Windows Settings and go to Apps > Installed Apps (or Apps & Features on older versions).
  2. Scroll through the list to find Microsoft 365 or Microsoft Office.
  3. Click the three-dot menu next to the entry and select Modify.
  4. Choose Online Repair and click Repair. Note that this process may take several hours depending on your internet speed.
  5. 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.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More