Visual Studio Code (VS Code) is one of the most popular code editors out there — lightweight, fast, and great for all kinds of development. However, if you’re running into unexpected issues, bugs, or simply want to perform a clean reinstall, you may need to completely uninstall VS Code from your Windows 11 PC.
In this guide, we’ll walk you through the exact steps to remove Visual Studio Code completely — including leftover files and folders.
Step 1: Uninstall Visual Studio Code
- Open the Installation Folder
- Right-click the Visual Studio Code icon on your desktop or Start menu.
- Select “Open file location” from the context menu.
- In the folder that appears, find the file named
unins000.exe.- Double-click it to start the uninstallation process.
- When the confirmation dialog box appears, click “Yes” to continue.
- Wait for the uninstall process to finish.
- Once complete, you’ll see an Uninstall Successful message — click “OK.”
Step 2: Delete Leftover Visual Studio Code Files
Even after uninstalling, some configuration and cache files may still remain on your system. Removing these ensures a clean uninstall.
- Delete Roaming App Data Files
- Press
Windows + Ron your keyboard to open the Run dialog. - Type the following path and press Enter:
%AppData% - This opens the Roaming folder. Find and delete the folder named
Code.
- Press
- Delete User Settings Folder
- Open File Explorer and navigate to:
C:\Users\<your-username> - Locate and delete the hidden folder named
.vscode. - (If you don’t see it, click View > Show > Hidden items in File Explorer.)
- Open File Explorer and navigate to:
Final Thoughts
That’s it — you’ve successfully uninstalled Visual Studio Code completely from your Windows 11 system.
If you plan to reinstall it, make sure to download the latest version directly from the official Visual Studio Code website to get the newest features and fixes.
For a deeper guide on troubleshooting or reinstalling VS Code, check out our full article on How to Reinstall Visual Studio Code on Windows 11.