If Excel keeps reopening after you close it, the most likely cause is a COM add-in that reloads the workbook, a file set to open at startup, or a stuck background process. The quickest fix is to open Excel in safe mode (hold Ctrl while launching, or run excel.exe /safe) to confirm an add-in is responsible, then disable add-ins one at a time. If safe mode behaves normally, the culprit is an add-in; if it still reopens, check the XLSTART folder and your startup settings.
What You'll Need
- A Windows PC or Mac with Excel installed (steps below are written for Windows; Mac differences are noted).
- Administrator access if you need to change add-ins or registry settings.
- The name of any recently installed add-in or update, if you remember it.
Step-by-Step
- Close all Excel windows and check Task Manager. Press Ctrl+Shift+Esc, open the Processes tab, and look for any Excel.exe entries. If one remains after you closed the window, right-click it and choose End task. Reopen Excel normally and close it again. If it stays closed, the problem was a hung background process.
- Start Excel in safe mode. Hold the Ctrl key while double-clicking the Excel shortcut, or press Win+R, type
excel.exe /safe, and press Enter. Safe mode loads Excel without add-ins and without the startup folder. Close Excel. If it does not reopen, an add-in or startup file is the cause — continue to the next steps. - Disable COM add-ins. Open Excel, go to File > Options > Add-ins. At the bottom, set Manage to COM Add-ins and click Go. Clear the checkbox next to each add-in, click OK, then close and reopen Excel to test. Re-enable them one at a time to find the offender. (On Mac, use Tools > Excel Add-ins.)
- Check the XLSTART folder. Press Win+R, type
%appdata%\Microsoft\Excel\XLSTARTand press Enter. Any workbook in this folder opens automatically every time Excel starts. Move suspicious files out (to your Desktop) and test. Also check the alternate startup folder atC:\Program Files\Microsoft Office\root\Office16\XLSTARTif it exists. - Review the startup setting in Excel Options. Go to File > Options > Advanced, scroll to the General section, and look at "At startup, open all files in:". If a folder is listed there, clear it unless you intentionally want those files opened.
- Repair Office. Open Settings > Apps > Installed apps, find Microsoft 365 or Office, click the three-dot menu, choose Modify, then Quick Repair. If that does not help, run Online Repair (this reinstalls Office components; your files are not deleted, but custom settings may reset).
- Test with a different workbook. Open a blank workbook, close it, and see whether Excel reopens. If only one specific file triggers the behaviour, that file may contain a macro or event code that reopens it. Open it with macros disabled (File > Options > Trust Center > Trust Center Settings > Macro Settings > Disable all macros with notification) and inspect it.
Common Mistakes
- Ending the Excel process in Task Manager but leaving a second hidden instance running — check for multiple Excel.exe entries.
- Disabling add-ins in the wrong manager. COM add-ins and Excel add-ins (.xlam) are managed in different dialog boxes.
- Deleting files from XLSTART without backing them up first. Move them, do not delete them, until you know which one is the problem.
- Assuming a Mac behaves the same. On Mac, the startup folder is at
~/Library/Group Containers/UBF8T346G9.Office/User Content/Startup/Excel, and add-ins are under Tools > Excel Add-ins. - Running Online Repair without saving custom ribbon or Quick Access Toolbar settings — export them first if you care about them.
Tips
- Keep a list of the add-ins you use so you can re-enable them quickly after troubleshooting.
- If the problem started after an update, check whether the add-in vendor has published a compatible version before removing it permanently.
- Use Excel's built-in COM add-ins dialog to see the load behaviour column — add-ins set to "Load at Startup" are the usual suspects.
- For files that reopen themselves, check for Workbook_Open macros in the Visual Basic Editor (Alt+F11).
Troubleshooting
If Excel still reopens after safe mode and disabling add-ins, create a new Windows user account and test Excel there. If it behaves normally in the new account, your user profile is corrupted — migrate your files and settings to the new profile. If it misbehaves in every account, run Online Repair, then reinstall Office from the official Microsoft download page. On Mac, delete Excel's preferences file (~/Library/Containers/com.microsoft.Excel/Data/Library/Preferences/com.microsoft.Excel.plist) after quitting Excel, then relaunch. If a specific workbook is responsible, open it with macros disabled and remove any Workbook_Open or Auto_Open code. Do not disable security settings globally to work around this; fix the file instead.
Frequently Asked Questions
Why does Excel open by itself after I close it?
Most often a COM add-in or a file in the XLSTART folder is reloading Excel. A stuck background process can also make it appear to reopen.
Does safe mode permanently disable my add-ins?
No. Safe mode only skips them for that session. You must disable add-ins in File > Options > Add-ins to make the change permanent.
Will repairing Office delete my spreadsheets?
No. Quick Repair and Online Repair affect the Office installation, not your documents. Online Repair may reset custom settings such as the ribbon.
Can a macro cause Excel to reopen?
Yes. A Workbook_Open macro can run code that reopens the file. Open the file with macros disabled and inspect the VBA project.
Is this different on a Mac?
Yes. The menus and startup folder paths differ. Use Tools > Excel Add-ins and the Mac startup folder path listed above.
What if nothing works?
Create a new user profile, then reinstall Office from the official Microsoft source. If the issue persists, contact Microsoft support with the steps you have tried.