If Excel closes as soon as you open a file, the cause is usually a damaged add-in, a corrupted Office profile, or a file that Excel cannot fully load. Start by opening Excel in safe mode to see whether the crash is add-in related: press Windows key + R, type excel /safe and press Enter. If Excel stays open in safe mode, an add-in or startup file is the culprit. If it still closes, move on to the repair steps below.

What You'll Need

  • A Windows PC or Mac with Excel installed (steps below are for Windows; Mac differences are noted).
  • Your Microsoft 365 or Office sign-in details, in case you need to sign out and back in.
  • Administrator permission on the PC if you need to repair Office or update a driver.
  • The file that triggers the crash, so you can test whether the problem follows the file or Excel itself.

Step-by-Step

  1. Test whether it is the file or Excel. Open a blank workbook from the Excel start screen. If blank workbooks open fine, the problem is likely the specific file. If every file closes Excel, treat it as an Excel or Office problem and continue below.
  2. Open Excel in safe mode. Close Excel completely. Press Windows key + R, type excel /safe and press Enter. Safe mode disables add-ins and startup files. If Excel behaves normally, skip to step 4. If it still closes, continue to step 3.
  3. Check for a pending Office update. Open any Office app and go to File > Account > Update Options > Update Now. Menu labels can differ slightly by version and region, so look for the update option under Account if the wording is different. Install any update and restart the PC.
  4. Disable add-ins one at a time. In normal Excel, go to File > Options > Add-ins. At the bottom, set the Manage dropdown to COM Add-ins and click Go. Clear the checkbox next to each add-in, click OK, and restart Excel. If the crash stops, re-enable add-ins one at a time to find the one causing it. Repeat with Excel Add-ins in the same Manage dropdown.
  5. Repair Office. Open Settings > Apps > Installed apps (called Apps & features on some versions), find Microsoft 365 or Office, click the three-dot menu and choose Modify. Run the Quick Repair first. If the crash continues, run Online Repair, which is more thorough but takes longer and may require signing in again.
  6. Reset the Office profile. Close all Office apps. In File Explorer, go to C:\Users\<your name>\AppData\Roaming\Microsoft\Excel and rename the Excel folder to Excel_old. Excel rebuilds it on next launch. This removes custom settings for Excel but does not delete your files. On Mac, the equivalent folder is under ~/Library/Containers/com.microsoft.Excel/Data/Library/Preferences; renaming it resets preferences.
  7. Test the file in another app or on another device. If only one file crashes Excel, open it in Excel for the web or on another computer. If it fails everywhere, the file is damaged. Use File > Open > Browse, select the file, click the arrow next to Open and choose Open and Repair. If that fails, recover the last autosaved version from File > Info > Manage Workbook.
  8. Check for conflicting software. Some PDF printers, cloud sync tools and antivirus add-ins hook into Excel. Temporarily pause third-party antivirus or cloud sync, then try opening the file again. Re-enable each one afterwards to identify the conflict.

Common Mistakes

  • Deleting the file before trying Open and Repair. Always attempt repair or recover an autosaved copy first; deleting removes your only chance to recover data.
  • Disabling all add-ins permanently. Re-enable them one at a time so you keep the ones you actually use and only remove the problem add-in.
  • Skipping the safe-mode test. Without it, you cannot tell whether the crash comes from Excel itself or from an add-in, and you may waste time repairing Office unnecessarily.
  • Assuming Online Repair is the same as Quick Repair. Quick Repair is faster and keeps more settings; Online Repair is more thorough but may require re-signing in and re-downloading components.
  • Ignoring Windows updates. A pending Windows update can leave Office components out of step; install updates and restart before deeper troubleshooting.

Tips

  • Turn on AutoSave and AutoRecover (File > Options > Save) so a crash costs you minutes, not hours.
  • Keep Excel and Windows updated; most crash fixes come from updates rather than manual repairs.
  • If a file crashes only on one PC, compare the Office version and add-ins on both machines before assuming the file is bad.
  • Open suspicious files in Excel for the web first; it isolates the file from your desktop add-ins.
  • Note which file types trigger the crash (for example .xls vs .xlsx). Old formats sometimes need conversion, and converting a copy is safer than editing the original.

Troubleshooting

If Excel still closes after the steps above, work through these in order:

  • Create a new Windows user account and test Excel there. If Excel works in the new account, your original Windows profile is damaged. Move your files across rather than repairing the old profile.
  • Uninstall and reinstall Office. Use the official Microsoft uninstall support tool if available, then reinstall from your Microsoft account page. This removes customisations, so back up any templates or macros first.
  • Check Event Viewer for the crash details. Open Event Viewer > Windows Logs > Application and look for an Error entry at the time of the crash. The faulting module name often points to the add-in or driver involved.
  • Start Windows in a clean boot. Use msconfig to disable non-Microsoft startup services, restart, and test Excel. If it works, re-enable services in groups to find the conflict. Re-enable everything afterwards.
  • If the file is damaged and Open and Repair fails, recover from the last autosave or a backup copy. Do not keep reopening the same damaged file; each attempt risks further corruption.

Frequently Asked Questions

Why does Excel close only when I open a specific file?

The file is likely damaged or contains content Excel cannot load, such as a broken link or an unsupported add-in reference. Try Open and Repair, then recover an earlier autosaved version.

Does safe mode fix Excel permanently?

No. Safe mode only disables add-ins and startup files for that session. It tells you where the problem is; you still need to disable or remove the offending add-in in normal mode.

Will repairing Office delete my Excel files?

No. Quick Repair and Online Repair affect the Office installation, not your documents. Your files stay where they are, though custom settings and some add-ins may need to be set up again.

Can a Windows update cause Excel to crash?

It can, if Office and Windows components fall out of step. Installing all pending updates for both and restarting usually resolves it.

What should I do if Excel crashes on every file, even blank ones?

Treat it as an Office or profile problem: run safe mode, repair Office, reset the Excel profile, and test in a new Windows user account. If it still crashes, uninstall and reinstall Office from your Microsoft account.

Is it safe to open the file in Excel for the web?

Yes, for checking whether the file itself is the problem. Excel for the web runs separately from your desktop add-ins, so it isolates the file. Do not upload confidential files to services you do not trust.