How to completely uninstall Microsoft Visual Studio Code on Mac

Open-source code editor. Dragging Microsoft Visual Studio Code to the Trash removes the app — not the parts below.

Parts

Drag to Trash
Trash + leftovers
Bundle ID
com.microsoft.VSCodeRead from the app bundle (Contents/Info.plist) on a Mac running macOS 15.6, app version 1.141.0
Source
Homebrew cask “visual-studio-code”, checked 2026-10-13
  1. Quit Microsoft Visual Studio Code

    Press Command-Q in Microsoft Visual Studio Code.

    Did step 1 work?
  2. Check Activity Monitor

    ?

    Open Activity Monitor (Applications › Utilities). Search “Microsoft Visual Studio Code”. Quit anything still running.

    Did step 2 work?
  3. Stop its background helpers

    Known background jobs:

    • com.microsoft.VSCode.ShipIt

    See which are loaded (read-only):

    launchctl list | grep -i "microsoft.VSCode"

    Move the matching .plist from these folders to the Trash, then restart:

    ~/Library/LaunchAgents
    /Library/LaunchAgents
    /Library/LaunchDaemons
    Did step 3 work?
  4. Drag Visual Studio Code.app to the Trash

    /Applications/Visual Studio Code.app
    Did step 4 work?
  5. Remove leftovers in your Library

    In Finder press Shift-Command-G, paste a path, press Return. Move what you find to the Trash. Not every Mac has every one. * = “anything here”.

    ~/.vscode
    ~/Library/Application Support/Code
    ~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.vscode.sfl*
    ~/Library/Caches/com.microsoft.VSCode
    ~/Library/Caches/com.microsoft.VSCode.ShipIt
    ~/Library/HTTPStorages/com.microsoft.VSCode
    ~/Library/Preferences/ByHost/com.microsoft.VSCode.ShipIt.*.plist
    ~/Library/Preferences/com.microsoft.VSCode.helper.plist
    ~/Library/Preferences/com.microsoft.VSCode.plist
    ~/Library/Saved Application State/com.microsoft.VSCode.savedState

    Source, checked 2026-10-13.

    Did step 5 work?
  6. Check the typical locations

    Typical locations — check if present. These follow macOS naming conventions; not confirmed for Microsoft Visual Studio Code.

    ~/Library/Containers/com.microsoft.VSCode
    ~/Library/WebKit/com.microsoft.VSCode
    Did step 6 work?
  7. Search for anything else

    Lists anything in your Library with its name. Deletes nothing.

    find ~/Library -maxdepth 3 -iname "*com.microsoft.VSCode*" 2>/dev/null
    Did step 7 work?
  8. Empty the Trash and restart

    Then rescan your Mac Score to see the change.

    Did step 8 work?

What are these folders? ~/Library/Application Support · ~/Library/Caches · ~/Library/HTTPStorages · ~/Library/Preferences · ~/Library/Saved Application State

Sources

Paths marked “typical location” are conventions, not confirmed. Discuss Microsoft Visual Studio Code — the best answers get folded into this manual.

Related manuals