VS Code High CPU Usage
Quick answer
High CPU is most often one extension in the Extension Host. Find the hot process in Process Explorer, then use Extension Bisect to isolate the extension.
Most likely fix: Find the busy process
How to fix it
Try these in order — the most common fix is first.
1. Find the busy process
- Run Help > Open Process Explorer
- Look for extensionHost or a renderer with sustained high CPU
Did this fix it?2. Bisect your extensions
- Open the Extensions view and click the ... menu
- Choose Extension Bisect and answer Good/Bad until it names the extension
- Update, configure or remove that extension
Did this fix it?3. Disable all extensions to test
- Run Disable All Installed Extensions from the Command Palette
- If CPU drops, re-enable in groups
Did this fix it?4. Exclude heavy folders
- Add node_modules, dist and build output to files.watcherExclude, files.exclude and search.exclude
Did this fix it?5. Close extra windows and large tabs
- Close windows you are not using
- Avoid opening multi-hundred-MB files
Did this fix it?
Symptoms
VS Code makes the fan spin, Code Helper or Extension Host sits at high CPU, typing lags.
Why it happens
- A misbehaving extension in the Extension Host
- File watcher scanning huge folders
- Very large workspaces or monorepos
- Search indexing node_modules and build output
- Many windows open with the same extensions
This guide also covers
- vs code high cpu usage
- code helper renderer high cpu
- vscode extension host high cpu
Still not working?
If VS Code keeps failing, you're not alone. See every VS Code problem users report or the alternatives people switch to.
Need a custom web app or internal tool? Our small team builds it, on your domain or hosted by us. Price agreed together.
Get a quote