How to Fix VS Code Terminal Slow or Lagging on Windows
A sluggish integrated terminal in VS Code may come from shell or rendering issues, and Kudu can help troubleshoot it.
By the Kudu Team
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →What Causes This?
A slow or lagging terminal in VS Code usually comes from one of three places: the shell you’re running, the terminal renderer, or high system load in Windows. PowerShell profiles, shell startup scripts, heavy extensions, and GPU rendering issues can all delay input, scrolling, or command output. In some cases, antivirus scanning, low memory, or a stuck background process makes the integrated terminal feel much slower than a normal Command Prompt window.
Common Symptoms
- Typing in the VS Code terminal feels delayed or skips characters
- Terminal output scrolls slowly or stutters
- A new terminal takes several seconds to open
- PowerShell, Git Bash, or WSL starts much slower in VS Code than outside it
- VS Code becomes sluggish only when the integrated terminal is open
How to Fix It Manually
-
Check whether the problem is VS Code-specific
- Press
Win + R, typecmd, and pressEnter. - Open Command Prompt or PowerShell outside VS Code and test basic commands like
dirorgit status. - If the shell is also slow outside VS Code, the issue is likely with the shell, Windows, or system performance rather than VS Code itself.
- Press
-
Switch the terminal profile in VS Code
- Open VS Code.
- Press
Ctrl + Shift + P, typeTerminal: Select Default Profile, and pressEnter. - Choose another shell such as Command Prompt if you normally use PowerShell, or vice versa.
- Open a new terminal with `Ctrl + Shift + `` and test responsiveness.
- If one shell is much faster, the original shell may have a slow startup script or profile.
-
Disable GPU terminal rendering
- In VS Code, press
Ctrl + Shift + Pand open Preferences: Open Settings (UI). - Search for
gpu acceleration. - Set Terminal › Integrated: GPU Acceleration to Off.
- Close and reopen VS Code, then test the terminal again.
- This often fixes laggy scrolling, delayed text rendering, or flickering caused by graphics driver issues.
- In VS Code, press
-
Start VS Code without extensions
- Close VS Code.
- Press
Win + R, type:
and presscode --disable-extensionsEnter. - Open the terminal and test it.
- If the terminal is faster, an extension is likely interfering. Re-enable extensions one at a time in VS Code under Extensions (
Ctrl + Shift + X) until you find the cause.
-
Check Windows resource usage
- Open Task Manager with
Ctrl + Shift + Esc. - On the Processes tab, look for high CPU, Memory, or Disk usage from VS Code, PowerShell, antivirus, or background apps.
- End any clearly stuck non-essential task, then reopen VS Code.
- If memory is nearly full, close other heavy apps like browsers, game launchers, or virtual machines.
- Open Task Manager with
-
Test for a slow PowerShell profile
- If you use PowerShell, open it outside VS Code.
- Run:
powershell -NoProfile - If that opens much faster, your PowerShell profile is slowing startup.
- You can temporarily use a no-profile shell in VS Code or review your PowerShell profile scripts for slow modules, prompts, or network-based commands.
-
Update VS Code and graphics drivers
- In VS Code, go to Help > Check for Updates.
- In Windows, right-click Start and open Device Manager.
- Expand Display adapters, right-click your graphics device, and choose Update driver.
- Restart your PC after updates to clear stuck processes and reload drivers.
Fix It Automatically with Kudu
Kudu can automatically check for the common Windows issues behind a slow VS Code terminal, including overloaded startup apps, background processes, and system settings that hurt responsiveness. Instead of digging through Task Manager, shell configs, and Windows performance settings manually, Kudu helps identify and fix the slowdown faster.
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →Related guides
How to Fix VS Code Slow to Start on Windows
VS Code launching slowly can be caused by extensions, workspace indexing, or profile issues, and Kudu can help reveal them.
How to Fix Adobe Acrobat Slow to Open PDFs on Windows
Adobe Acrobat opening PDFs slowly can be caused by add-ons, previews, or cache issues, and Kudu can help investigate.
How to Fix Firefox Slow Performance and High Memory on Windows
If Firefox is laggy and using too much memory, this guide covers likely causes and how Kudu can help improve performance.
How to Fix Firefox Slow Startup on Windows
If Firefox takes forever to launch, startup tasks or profile problems may be involved, and Kudu can help speed it up.