How to Uninstall Visual Studio on Mac

Ready to remove Visual Studio from Mac but worried about the files it leaves behind? MacKeeper’s Smart Uninstaller scans your drive, finds every scattered framework and cache, and clears them in one click—a clean, reliable way to completely uninstall Visual Studio on macOS without hunting through folders yourself.

System Requirements: macOS 10.11 or later

More than 60 Million Downloads

i

AV-TEST certified

i

Notarized by Apple

i

AV-TEST is an independent lab that checks the effectiveness of antivirus apps against real malware samples.

The notarization by Apple is a security measure to check if software is free from malicious components.

Trustpilot is an independent digital platform that hosts insightful and honest consumer reviews.

How to Uninstall Visual Studio on Mac
Written By   Yana Khodun
Published: November 26, 2026

What is Visual Studio on Mac?

Visual Studio for Mac is Microsoft’s full integrated development environment (IDE), built for developers who create apps for Apple platforms like macOS and iOS, as well as .NET applications. It bundles a code editor, debugger, compilers, and project templates into a single app. Alongside it sit associated components like Mono runtimes, Xamarin packages, and .NET SDKs.

 

Because the IDE installs so many pieces, it spreads files across your Macintosh—well beyond the one app icon you see in Finder. That’s why a clean uninstall of Visual Studio from Mac takes a little more than a quick drag to the Trash.

Why get rid of Visual Studio on Mac?

Maybe you’ve switched editors, or maybe your MacBook has started to feel sluggish. Below, we’ll walk through the common reasons people decide to remove this software:

  • Microsoft is officially retiring Visual Studio for Mac, so many developers are moving to modern alternatives like VS Code or Rider.
  • Outdated .NET SDKs, Mono frameworks, and Xamarin packages take up substantial storage, which is a common reason application storage is so high on Mac.
  • Software conflicts, heavy RAM and CPU consumption, or persistent launch errors can make the IDE frustrating to keep.
  • A development environment you no longer use adds clutter and interference with the other tools you rely on.

A note from our experts: 

 

There’s always a HOW to your Mac-related problem. When we’re thinking about app deletion, the best HOW is using a dedicated tool like MacKeeper’s Smart Uninstaller. This way, you’ll execute the task with maximum precision, safety for your files, and ease. Try it now!  

MacKeeper's Smart Uninstaller window on macOS, with the tool picked in the sidebar and Start Scan ready to uninstall Visual Studio.
Go to MacKeeper > Smart Uninstaller > Start Scan

How to prepare your Mac before uninstalling Visual Studio?

A little prep keeps your code safe and your cleanup smooth. If you want to delete Visual Studio on Mac for good, let’s first protect your projects, sign out of connected accounts, and quit the app properly. Now, move with our best preparation practices one by one.

1. Save your project files

First, safeguard your work so nothing disappears with the app.

  1. Open your project in Visual Studio and commit any recent changes.
  2. Push your local repositories to GitHub, so your codebase lives safely in the cloud.
  3. For anything you don’t track with Git, copy the project directories to an external drive or a folder you’ll keep.
  4. Double-check that every file you need has been backed up before you move on.

2. Log out of your Microsoft account

Next, sign out of Microsoft before we remove anything. We do this to prevent sync errors and stop authentication tokens from lingering during cleanup.

  1. Open Visual Studio and go to the account menu in the top corner.
  2. Select your Microsoft account, then choose Sign Out.
  3. Confirm that you’re signed out so nothing stays connected after removal.

3. Quit application completely

Now shut everything down—a running process can block files from being deleted.

  1. Quit Visual Studio by pressing Cmd + Q, or choose Visual Studio > Quit Visual Studio.
  2. Open Activity Monitor from Applications > Utilities.
  3. Search for Visual Studio to locate any active build processes, debugger daemons, or helper services.
  4. Select each related process, click the Stop button, and confirm.

How to completely remove Visual Studio from Mac

There’s more than one way to fully remove apps on Mac, and Visual Studio is no exception. To fully uninstall Visual Studio on Mac, you’ll want to clear the app itself plus its additional frameworks and caches. Below, we’ll start with manual Finder deletion, move through the official script and Terminal commands, and finish with automated cleanup. Pick the method that matches how hands-on you’d like to be.

1. Drag Visual Studio application to Bin

Let’s begin with the simplest method:

  1. Open Finder and click Applications in the sidebar.
  2. Locate Visual Studio in the list, along with related components like Xamarin Profiler.
  3. Drag the app bundle to the Bin, or right-click and choose Move to Bin.
  4. Enter your admin password if macOS asks for it.

 

Finder Applications window on a MacBook showing Visual Studio selected, the first step to uninstall Visual Studio on Mac.
Step 1. Go to Finder > Applications > Visual Studio
Finder Applications window on a MacBook showing Visual Studio selected, the first step to uninstall Visual Studio on Mac.
Step 2. Control-click the item and select Move to Bin from the menu

2. Delete remaining files from the Library folder

Time to clear the hidden leftovers. Dragging the app to the Trash won’t delete leftover files from uninstalled program folders, so we’ll dig into the Library manually. The Library contains caches, preferences, and Xamarin frameworks that the app leaves in place. Here’s what to do:

  1. In Finder, click Go > Go to Folder in the menu bar.
  2. Type ~/Library and press Return to open your user library.
  3. Check Application Support, Caches, Preferences, and Logs for Visual Studio and Xamarin items.
  4. Move any associated files to the Trash.
  5. Repeat the process with /Library to catch system-level frameworks.

 

Finder Go menu open on an Apple computer with Go to Folder selected to reach the Library and delete Visual Studio leftover files.
Step 1. Open Finder > Go > Go to Folder
Finder Go to Folder box on macOS with ~/Library typed in to open the user Library and clear Visual Studio leftover files.
Step 2. Enter the following paths one at a time to check both Library folders on your Mac: a. User Library: ~/Library b. System Library: /Library
Finder Library window on a Mac with Application Support and Caches folders selected to find Visual Studio leftover files.
Step 3. Check all listed locations: Caches, Application Support, Preferences, and Logs
Application Support folder in Finder on an iMac, with the Visual Studio folder selected among Visual Studio leftover files.
Step 4. Select any Files and Folders related to the Visual Studio
Application Support folder in Finder on an iMac, with the Visual Studio folder selected among Visual Studio leftover files.
Step 5. Control-click the item and select Move to Bin from the menu

3. Run official Microsoft removal script

Prefer an automated sweep? Microsoft gives us an official script for exactly that:

  1. Download Microsoft’s cleanup script, uninstall -vsmac.sh, from the official documentation.
  2. Go to Applications > Utilities > Terminal.
  3. Open Terminal and make the script executable using the sudo chmod +x command.
  4. Type bash ~/Downloads/uninstall-vsmac.sh and press Return.

 

Application Support folder in Finder on an iMac, with the VisualStudio folder selected among Visual Studio leftover files.
Step 1. Go to the official website and select the uninstall script  
Browser right-click menu with Save As selected to download the uninstall-vsmac.sh script that removes Visual Studio on Mac.
Step 2. Download the script into the Downloads folder
Terminal on a MacBook running sudo chmod +x on uninstall-vsmac.sh to make the Visual Studio for Mac removal script executable.
Step 3. Open Terminal and make the script executable using the sudo chmod +x command
Terminal on a MacBook running sudo chmod +x on uninstall-vsmac.sh to make the Visual Studio for Mac removal script executable.
Step 4. Type bash ~/Downloads/uninstall-vsmac.sh and press Return

4. Delete Visual Studio using Terminal

This method suits advanced users who are comfortable with commands. If you run Terminal often, we’ll clear the app files, caches, and configuration directories in one pass. Do the following:

  1. Open Terminal and type a removal command, such as rm -rf “/Applications/Visual Studio.app”:
    • sudo rm -rf "/Applications/Visual Studio.app"
    • rm -rf ~/Library/Caches/VisualStudio
    • rm -rf ~/Library/Preferences/VisualStudio
    • rm -rf ~/Library/Preferences/Visual\ Studio
    • rm -rf ~/Library/Logs/VisualStudio
    • rm -rf ~/Library/VisualStudio
    • rm -rf ~/Library/Preferences/Xamarin/
    • rm -rf ~/Library/Application\ Support/VisualStudio
  2. Add the associated paths—for example, rm -rf ~/Library/Caches/VisualStudio.
  3. Press Return after each command to run it.
  4. Double-check every path before you press Return, since this command permanently deletes files.

 

Finder Applications Utilities folder on an Apple computer with Terminal selected to start deleting Visual Studio on Mac.
Step 1. Open Terminal from Finder > Applications > Utilities
Code block with the rm -rf commands to copy for deleting the Visual Studio app and its Library files from macOS using Terminal.
Step 2. Copy the following command  
Terminal window on a Mac with the rm -rf removal commands pasted in to delete Visual Studio and its leftover Library files.
Step 3. Paste the following command into Terminal and hit Return

5. Clear Mac’s Bin

One step left—empty the Bin to reclaim your space. Everything you moved still sits in Bin, so let’s remove files from Trash on Mac to free that storage for good. Just do this:

  1. Right-click the Bin icon in your Dock.
  2. Choose Empty Bin.
  3. Click Empty Bin again to confirm.
  4. Your disk space is now reclaimed permanently.

 

Right-click menu on the Bin icon in the macOS Dock with Empty Bin selected to clear deleted Visual Studio files for good.
Step 1. Empty the Bin
macOS confirmation dialog asking to permanently erase items in the Bin, with Empty Bin to finish removing Visual Studio files.
Step 2. Confirm your action

6. Automatic cleanup with MacKeeper

Want to skip the manual hunt? Let MacKeeper’s Smart Uninstaller do it for you:

  1. Open MacKeeper and select Smart Uninstaller in the sidebar.
  2. Click Start Scan to scan the drive.
  3. Find Visual Studio in the results, along with its scattered frameworks and leftover cache files.
  4. Select the app, then click Remove Selected to clear everything in one click.

 

MacKeeper's Smart Uninstaller on macOS with the tool open in the sidebar and Start Scan clicked to find Visual Studio to uninstall.
Step 1. Go to MacKeeper > Smart Uninstaller > Start Scan
MacKeeper's Smart Uninstaller is scanning a MacBook for apps and leftover files while it searches for Visual Studio to uninstall.
Step 2. Wait until the scan is finished
MacKeeper's Smart Uninstaller results on macOS with the Applications category selected to find Visual Studio for removal.
Step 3. Select the Application category
MacKeeper's Smart Uninstaller with Visual Studio checked in Applications and Remove Selected highlighted to uninstall it on Mac.
Step 3. Remove Visual Studio

Conclusion

Dragging the Visual Studio icon to the Trash feels like enough, but it leaves gigabytes of hidden frameworks, Mono runtimes, and SDKs scattered across your Mac. Those leftovers keep eating storage long after the app looks gone—and they can cause interference if you ever reinstall Visual Studio later.

 

To completely uninstall Visual Studio on macOS, you can track down every file by hand or let a tool handle it. MacKeeper’s Smart Uninstaller scans your drive, finds each associated piece, and removes it all in one click—a simple, reliable way to reclaim your space and keep your Macintosh clean. Use MacKeeper’s Smart Uninstaller and give your Mac a fresh start.

Use your Mac to the fullest! Sign up and get:
Effective tips on how to fix Mac issues
Reliable advice on how to stay safe online
Mac-world news and updates

Thank you!

You’ll love exploring your Mac with us.

Oops, something went wrong.

Try again or reload a page.

Here’s another sign you need to upgrade your macOS ASAP:

30% off your MacKeeper subscription

Сopy the code now and use it in the MacKeeper checkout after the upgrade.

Copy Code

Please be aware that this code cannot be combined with any other discounts, offers, or promotions.

Contents

Unlocked
PC

MacKeeper - your all-in-one solution for more space and maximum security.

Try Now

Read more

Downgrade macOS Ventura to Monterey
Downgrade macOS Ventura to Monterey
How to Uninstall CapCut on Mac
How to Uninstall CapCut on Mac
arrow

Run Application

step_1

Click Continue

step_2

Click Install

step_1

Your macOS version is lower than OS 10.11. We’d like to offer you MacKeeper 4 to solve the cleaning, privacy, and security issues of your macOS.