---
title: "How to uninstall Visual Studio Code on Mac completely"
description: "Uninstall VS Code on Mac completely: remove the app, ~/.vscode extensions, the Code folder in Application Support, caches, update files and the code command."
url: https://tidymac.space/uninstall/vs-code/
updated: 2026-10-08
---

[Home](/) [Uninstall apps](/uninstall/) Visual Studio Code

# How to uninstall Visual Studio Code on Mac completely

Dragging Visual Studio Code to the Trash leaves its data behind. Here’s every place it keeps files, which ones matter, and how to remove the rest.

Bundle ID: `com.microsoft.VSCode`Updated October 8, 2026By the Tidy Mac team

Short answer

Quit VS Code, drag Visual Studio Code from Applications to the Trash, then remove ~/.vscode (installed extensions), ~/Library/Application Support/Code (settings, keybindings, snippets, workspace storage), its caches including the ShipIt update cache, preferences and saved state. Back up your User settings first or use Settings Sync.

**Skip the manual steps.** Tidy Mac finds this and every other hidden space hog on your Mac in under a minute.

[Download free](/download/TidyMac.dmg)[Buy · $9.99 $29](/buy/)

**Before you start.** Your settings, keybindings and snippets live in ~/Library/Application Support/Code/User. Settings Sync can bring them back on a new install.

## Uninstall Visual Studio Code step by step

1.  Turn on Settings Sync, or copy ~/Library/Application Support/Code/User (settings.json, keybindings.json, snippets).
2.  Quit VS Code (Code › Quit Visual Studio Code).
3.  Drag Visual Studio Code from Applications to the Trash.
4.  Move ~/.vscode and ~/Library/Application Support/Code to the Trash.
5.  Move ~/Library/Caches/com.microsoft.VSCode and com.microsoft.VSCode.ShipIt to the Trash.
6.  Move ~/Library/Preferences/com.microsoft.VSCode.plist and its Saved Application State to the Trash.
7.  If you installed the code command, remove it with: rm /usr/local/bin/code
8.  Empty the Trash.

## Where Visual Studio Code leaves files

Location

What it is

After uninstalling

~/.vscode

Installed extensions

Safe

~/Library/Application Support/Code

Settings, keybindings, snippets, workspace storage, logs

Check first

~/Library/Caches/com.microsoft.VSCode

Cache

Safe

~/Library/Caches/com.microsoft.VSCode.ShipIt

Downloaded updates

Safe

~/Library/Preferences/com.microsoft.VSCode.plist

Preferences

Safe

~/Library/Saved Application State/com.microsoft.VSCode.savedState

Window positions

Safe

/usr/local/bin/code

The code command, if you installed it from the Command Palette

Safe

In Finder choose **Go › Go to Folder** (Shift-Command-G) and paste a path to open it. **Safe** means nothing you made is inside; **Check first** means it may hold the only copy of something. To see how much space they use, run this read-only command in Terminal:

```
du -sh ~/.vscode ~/Library/Application\ Support/Code ~/Library/Caches/com.microsoft.VSCode ~/Library/Caches/com.microsoft.VSCode.ShipIt ~/Library/Preferences/com.microsoft.VSCode.plist ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState 2>/dev/null
```

## Where VS Code keeps its weight

Extensions live in `~/.vscode/extensions`, one folder per extension and version. Language servers and debuggers can make these large. Per-project state (search indexes, local history) lives in `workspaceStorage` inside `~/Library/Application Support/Code/User`, with one folder for every project you’ve opened.

## Insiders and other editors are separate

VS Code Insiders uses its own folders (`Code - Insiders` and `~/.vscode-insiders`), so removing one doesn’t affect the other. Editors built on VS Code keep their own folders too.

## Your projects are untouched

None of these folders contain your code. Repositories stay wherever you cloned them. [More developer cleanup](/for/developers/)

## With Tidy Mac

Tidy Mac’s Apps screen lists every installed app with its size and when you last opened it. Pick Visual Studio Code and Uninstall moves the app and the leftovers it finds in your Library, matched by bundle ID, to the Trash, so you can put them back from History. Quit Visual Studio Code first: Tidy Mac won’t remove an app that’s running. It looks in the standard Library folders apps write to (Application Support, Caches, Containers, Preferences and the like), so check ~/.vscode, /usr/local/bin/code yourself. Already dragged Visual Studio Code to the Trash? The Leftovers tab finds files left by apps you already deleted.

![](/img/brand/tidy-128.png)

### Uninstall apps and their leftovers in one step

See every part of your storage explained, and clear junk to the Trash with Undo. $9.99 $29 once, 2 Macs.

[Download](/download/TidyMac.dmg) [Buy Tidy Mac · $9.99 $29](/buy/)

## Frequently asked questions

Does dragging Visual Studio Code to the Trash uninstall it completely?

No. It removes the app, but Visual Studio Code leaves 7 kinds of files behind in your Library and elsewhere: installed extensions; settings, keybindings, snippets, workspace storage, logs; cache. The steps above remove them.

What is Visual Studio Code’s bundle ID on Mac?

`com.microsoft.VSCode`. Most of its leftover files and folders are named after it, which is how you (and Tidy Mac) can tell they belong to Visual Studio Code.

Can I reinstall Visual Studio Code later?

Yes. Download it again from Microsoft. Anything stored in your account online comes back when you sign in; local-only data you removed does not.

## Keep reading

[Uninstall any app completelyAll apps](/uninstall/)[Hidden dot-folders in your Mac home folderLibrary](/learn/hidden-dot-folders-mac-home/)[Uninstall Docker Desktopcom.docker.docker](/uninstall/docker-desktop/)[Uninstall Discordcom.hnc.Discord](/uninstall/discord/)[Uninstall Xcodecom.apple.dt.Xcode](/uninstall/xcode/)[Uninstall Android Studiocom.google.android.studio](/uninstall/android-studio/)

Share:[X](https://x.com/intent/post?text=How%20to%20uninstall%20Visual%20Studio%20Code%20on%20Mac%20completely&url=https%3A%2F%2Ftidymac.space%2Funinstall%2Fvs-code%2F)[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Ftidymac.space%2Funinstall%2Fvs-code%2F&title=How%20to%20uninstall%20Visual%20Studio%20Code%20on%20Mac%20completely)[Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Ftidymac.space%2Funinstall%2Fvs-code%2F&t=How%20to%20uninstall%20Visual%20Studio%20Code%20on%20Mac%20completely)[LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Ftidymac.space%2Funinstall%2Fvs-code%2F)

#### On this page

[Steps](#steps)[Leftover files](#leftovers)[Where VS Code keeps its weight](#where-vs-code-keeps-its-weight)[Insiders and other editors are separate](#insiders-and-other-editors-are-separate)[Your projects are untouched](#your-projects-are-untouched)[With Tidy Mac](#tidymac)[FAQ](#faq)

**Tidy Mac**

See this on your own Mac in under a minute. $9.99 $29 once, 2 Macs.

[Download](/download/TidyMac.dmg)
