extensionHost.exe

VS Code Extension Host

System ProcessSecurity VerifiedPerformance
CPU Usage
N/A
Memory
N/A
Location
N/A
Publisher
N/A

extensionHost.exe runs the VS Code extension host in a separate process to isolate extensions from the main editor, which helps keep the UI responsive, improves stability, and provides a security boundary between core IDE features and third‑party extensions.

Notes
This documentation assumes a standard Visual Studio Code installation. If your environment uses a custom or enterprise installer, paths and signatures may differ slightly; always verify against official sources.

What is extensionHost.exe?

extensionHost.exe is the separate process that VS Code uses to run installed extensions. By isolating extension code from the main editor UI, it helps maintain responsiveness when extensions perform heavy work, provides a security boundary between core editor features and third‑party functionality, and coordinates language features and API providers across the workspace.

extensionHost.exe runs extensions in a dedicated Node/Electron context, loading each extension in isolation and exposing APIs to the editor. It handles language services, debugging helpers, and task runners, while the main Code process renders the UI and coordinates user actions via IPC.

Is extensionhost-exe Safe?

extensionHost.exe is a legitimate component of Visual Studio Code that runs extensions in a separate process to protect the editor from unstable or malicious extension code. When located in the official VS Code installation directory and signed by Microsoft, it is considered safe. If you encounter extensionHost.exe in an unexpected location, with an unfamiliar signature, or if it behaves erratically despite a clean VS Code installation, treat it as suspicious and perform a thorough check using trusted security tools.

Is extensionhost-exe a Virus?

While extensionHost.exe is normally legitimate, malware authors sometimes disguise malicious software with similar names or place copies in non‑standard folders. Always verify the file path, digital signature, and integrity of extensionHost.exe. If you notice unsigned binaries, odd locations, or extensions behaving suspiciously, assume a risk and run security scans. Do not rely on name alone to determine safety.

How to Verify Legitimacy

  1. Check File Location: Locate extensionHost.exe within VS Code's installation paths such as C:\Users\\AppData\Local\Programs\Microsoft VS Code\extensionHost.exe or C:\Program Files\Microsoft VS Code\extensionHost.exe.
  2. Verify Digital Signature: Open the file's properties and confirm the signer is Microsoft Corporation or Microsoft Windows; a mismatch suggests tampering.
  3. Check File Hash: Compute the SHA-256 hash of extensionHost.exe and compare it to the official hash published on the VS Code download page or your organization's software catalog.
  4. Scan for Malware: Run a current malware/EDR scan to detect any masqueraded or modified binaries and ensure the system is clean.

Red Flags: Red flags include extensionHost.exe running from an unexpected directory, absence of a valid Microsoft signature, multiple copies in temporary folders, or persistent high CPU/memory use after disabling extensions.

Why is it Running?

Reasons it's running:

Can you disable extensionhost-exe?

Yes, you can reduce or disable extensionHost.exe activity by disabling or uninstalling extensions in VS Code or by starting VS Code with the --disable-extensions flag. Note that doing so will remove extension functionality (linting, language features, and custom tooling) from the editor until extensions are re-enabled.

Common Problems

Common Causes & Solutions

Frequently Asked Questions

Related Processes