“Excel has stopped working” (Kernelbase.dll Errors)

When Excel crashes and Windows Event Viewer logs an Application Error citing KERNELBASE.dll as the faulting module, Excel encountered an unhandled software exception. KERNELBASE.dll is a core Windows system library that handles file operations, memory allocation, and system requests. The DLL itself is rarely corrupted; instead, it is the messenger. It catches and reports fatal crashes triggered by incompatible COM add-ins, corrupted user registry profiles, broken printer drivers, or memory heap violations.

Fast Fix

Launch Excel in Safe Mode by pressing Windows Key + R, typing excel /safe, and hitting Enter. If the crash stops, go to File > Options > Add-ins, select COM Add-ins, click Go, and disable all third-party add-ins. Restart Excel normally to isolate the conflicting software.


Diagnostic Snapshot

Event Viewer ParameterValue / CodeRoot Cause
Faulting ModuleKERNELBASE.dllUnhandled application-level exception routed through Windows.
Exception Code0xc0000005 (Access Violation)An add-in or process attempted to read or write protected memory.
Exception Code0xe0434352 (CLR Exception)A .NET-based COM add-in or VSTO customization crashed internally.
Exception Code0x80000003 (Breakpoint)Hard stop triggered by an add-in or debugging process.
Crash TriggerOn startup / splash screenDamaged printer driver, corrupted user profile, or bad XLSTART template.

Why KERNELBASE.dll Flags Excel Crashes

When Excel executes a command, it relies on underlying Windows APIs managed by KERNELBASE.dll. If an external module—such as a PDF maker, accounting toolbar, or graphics driver—tries to execute an invalid instruction or requests memory that Windows cannot provide, Windows forces a termination to protect system stability.

Because KERNELBASE.dll raises the final termination signal, Windows logs it as the “Faulting Module Name” in Event Viewer, even though the issue originated inside an add-in, a corrupted registry key, or a damaged file cache.

Third-Party COM Add-In (or Corrupt Driver)
                  │
                  ▼
Attempts Invalid Memory Operation (e.g., Access Violation)
                  │
                  ▼
Windows Intercepts Failure via KERNELBASE.dll
                  │
                  ▼
Application Terminates ──► Event Viewer Logs: "Faulting Module: KERNELBASE.dll"

Step-by-Step Resolution

Step 1: Confirm Add-In Interference in Safe Mode

Safe Mode strips all custom toolbars, startup templates, and COM integrations.

  1. Press Windows Key + R.
  2. Type excel /safe and press Enter.
  3. If Excel opens without crashing:
    • Go to File > Options > Add-ins.
    • At the bottom, select COM Add-ins from the Manage dropdown and click Go.
    • Uncheck all active add-ins (common culprits include Adobe Acrobat PDFMaker, Power Pivot, financial market plugins, and enterprise CRM linkers).
    • Click OK, close Excel, and re-open it normally.
    • Turn each add-in back on one at a time to identify the problem.

If Excel fails to open even in Safe Mode, the issue is not a standard add-in. See How to Fix “Excel could not open in Safe Mode” Diagnostic.

Step 2: Change the Default Windows Printer

Excel queries the default Windows printer driver upon startup to calculate page breaks, render fonts, and build worksheet grids. A damaged network printer driver or an unreachable wireless printer will crash KERNELBASE.dll before the first sheet renders.

  1. Press Windows Key + I to open Windows Settings.
  2. Navigate to Bluetooth & devices > Printers & scanners.
  3. Under Printer preferences, turn off Let Windows manage my default printer.
  4. Select Microsoft Print to PDF from the printer list and click Set as default.
  5. Launch Excel normally.
  6. If the crash stops, your previous default printer driver is corrupted or timing out. Remove and reinstall that printer’s driver from the manufacturer’s website.

Step 3: Rebuild the Corrupted Excel Registry Key

If user-specific preferences or window-state settings become corrupt, Excel crashes immediately when drawing its user interface. Rebuilding the registry subkey forces Excel to generate a clean, factory-default configuration.

  1. Close all Office applications.
  2. Press Windows Key + R, type regedit, and press Enter.
  3. In the Registry Editor, navigate to:
    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel
  4. Right-click the Excel key, select Rename, and change it to Excel.old.
  5. Close the Registry Editor and start Excel.
  6. Excel will automatically generate a fresh Excel key with clean defaults. (If needed, your previous settings remain archived in Excel.old).

Step 4: Clear the Startup Directory (XLSTART)

Corrupted workbook templates or macro files stored in your personal startup path load silently on launch and can trigger a crash during initialization.

  1. Press Windows Key + R, paste the following path, and click OK:
    %appdata%\Microsoft\Excel\XLSTART
  2. Move any files located here (such as PERSONAL.XLSB, custom templates, or add-in shortcuts) to your desktop.
  3. Start Excel. If it loads properly, one of those files is corrupted. For step-by-step restoration of these startup files, read How to Fix Excel “Startup Folder” (XLSTART) Corruptions.

Step 5: Run an Online Office Repair

If the crash occurs during complex recalculations across multiple threads, the Office binaries or C++ runtimes may be damaged. See Troubleshooting Multi-Threaded Calculation (MTC) Crashes. If formulas are not the cause, repair the core Office installation:

  1. Right-click the Windows Start menu and select Installed Apps (or Apps and Features).
  2. Scroll down to Microsoft 365 (or your version of Office).
  3. Click the three dots and select Modify.
  4. Select Online Repair (do not choose Quick Repair, as it only replaces missing files and skips damaged registry pointers).
  5. Click Repair and allow the installer to refresh the application binaries.

Hard Stops and Advanced Escalation

  • Hardware Acceleration / Display Driver Crashes: If the crash logs point to both KERNELBASE.dll and your graphics driver (nvldumdx.dll, igdur32.dll), update your display drivers directly from the GPU manufacturer.
  • Corrupted Windows System Files: If multiple applications (such as Word or Outlook) crash alongside Excel with KERNELBASE.dll errors, open Command Prompt as Administrator and run sfc /scannow followed by DISM /Online /Cleanup-Image /RestoreHealth to repair underlying Windows system files.