Excel reopening after you close it is almost always caused by one of three things: a hidden workbook or add-in that is still running, an Office update or recovery prompt waiting in the background, or a COM add-in that relaunches Excel when it shuts down. The fastest fix is to close every Excel window, end any leftover Excel processes in Task Manager, then reopen Excel in safe mode to confirm whether an add-in is responsible. Below is the full sequence, from the simplest check to the more thorough resets.
What You'll Need
- A Windows PC or Mac with Excel installed (steps below are written for Windows 10 and 11; Mac differences are noted where they matter).
- Administrator rights on the machine if you need to repair Office or clear add-ins.
- About 15 minutes, plus a restart partway through.
- The names of any add-ins you rely on (for example an accounting or CRM add-in) so you can re-enable them after testing.
Step-by-Step
- Close all Excel windows, then check Task Manager. Press Ctrl+Shift+Esc to open Task Manager. On the Processes tab, look for any entry named Excel. If one is still listed after you closed every workbook, right-click it and choose End task. On a Mac, open Activity Monitor, search for Excel, select it, and click the stop button (the X). A leftover process is the single most common reason Excel appears to reopen.
- Look for a hidden instance of Excel. In Excel, go to View > Window > Unhide. If Unhide is greyed out, there is no hidden workbook. If it is active, a hidden workbook exists; unhide it, save or close it, then close Excel normally. Hidden workbooks are often created by add-ins or by macros and will keep the application alive.
- Restart the computer. A full restart clears stuck background processes that Task Manager cannot always kill, including Office update helpers. Do not use Sleep or Hibernate; choose Restart.
- Open Excel in safe mode. Press Windows key+R, type excel /safe and press Enter. Safe mode loads Excel without add-ins and without most customisations. Close it again. If Excel stays closed this time, an add-in or a startup file is the cause, so continue with the next steps.
- Disable COM add-ins one at a time. Open Excel normally, 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, close Excel, and see whether it stays closed. Re-enable add-ins one at a time, closing Excel after each, until the reopening returns; that add-in is the culprit. Menu labels can differ slightly by Excel version and region.
- Check Excel's startup folder. Press Windows key+R, type %appdata%\Microsoft\Excel\XLSTART and press Enter. Any workbook in this folder opens automatically every time Excel starts. Move anything you did not deliberately put there to your Documents folder, then test again. Also check the alternate startup path under File > Options > Advanced > General, if one is set.
- Turn off automatic recovery prompts you do not need. If the reopening is actually a Document Recovery pane appearing each launch, open it, save the files you want, and click Close on the rest. Then go to File > Options > Save and confirm AutoRecover is saving to a folder you can access; a locked or full recovery folder can make Excel relaunch to retry.
- Run a quick repair of Office. Open Settings > Apps > Installed apps (called Apps & features on some builds), find Microsoft 365 or Office, choose Modify, then Quick Repair. If that does not help, run Online Repair, which is more thorough. On a Mac, the equivalent is in the Microsoft 365 app's Help menu. Note that Online Repair can reset some custom settings, so note any custom ribbon or Quick Access Toolbar changes first.
- Check for updates and restart once more. In Excel, go to File > Account > Update Options > Update Now. Install any pending Office and Windows updates, then restart the PC and test closing Excel again.
Common Mistakes
- Closing the workbook window but not the Excel application window. On Windows, the X on the workbook closes only that file; the grey Excel window behind it keeps the process alive.
- Ending the Excel process while unsaved work is open. Save first, or accept that unsaved changes will be lost.
- Disabling every add-in at once and never re-enabling the useful ones. Test one at a time so you know exactly which one to remove.
- Assuming the problem is a virus. In most cases it is an add-in, a startup workbook, or a stuck Office update process.
- Running Online Repair without noting custom settings. Ribbon customisations and some defaults can be reset.
Tips
- Keep the XLSTART folder empty unless you intentionally want a workbook to open at launch.
- If you use a macro-heavy workbook, check whether it contains a Workbook_Open macro that opens another file; that file will relaunch Excel when the first closes.
- Sign out of Office and back in (File > Account > Sign out) if the reopening coincides with a sign-in or licensing prompt.
- On a work PC, ask IT before removing add-ins; some are deployed by policy and will reinstall themselves.
- If the problem only happens with files from email or downloads, open them in Protected View first and check the Trust Center settings rather than disabling add-ins.
Troubleshooting
If Excel still reopens after the steps above, work through these checks in order.
- Safe mode also reopens: the cause is likely a startup file or a damaged Office installation rather than an add-in. Empty the XLSTART folder again and run Online Repair.
- Only one specific workbook triggers it: open that file alone, check for macros (Developer tab > Macros), and look for links to other workbooks under Data > Edit Links. A linked workbook can reopen Excel when the source closes.
- A recovery pane appears every time: delete the contents of the UnsavedFiles folder that Excel uses for AutoRecover, after saving anything you need. The exact path is shown in File > Options > Save.
- It happens after an update: restart the PC twice, then check for further updates. If it persists, roll back using the repair options rather than uninstalling Office outright.
- It happens on a company device: stop and contact IT. Add-in and startup settings may be managed centrally and your changes could be overwritten.
Frequently Asked Questions
Why does Excel reopen by itself after I close it?
Usually a hidden workbook, a startup file in the XLSTART folder, or a COM add-in is keeping the Excel process alive. Ending the leftover process in Task Manager and testing in safe mode identifies which one.
Is it safe to end Excel in Task Manager?
Yes, but any unsaved changes in open workbooks will be lost. Save your work first, then end the process.
Will safe mode delete my add-ins?
No. Safe mode only skips loading them for that session. Your add-ins remain installed and return when you open Excel normally.
Does this happen on Mac too?
Yes, though the tools differ. Use Activity Monitor to quit a stuck Excel process, and check the Microsoft 365 app for updates and repairs.
Can a macro cause Excel to reopen?
Yes. A Workbook_Open macro that opens another workbook, or a link to an external file, can relaunch Excel when the first file closes. Disable macros temporarily to test.
Do I need to reinstall Office?
Rarely. Try Quick Repair, then Online Repair, before considering a full uninstall and reinstall.