How to Uninstall Anaconda on Mac

Uninstall Anaconda on Mac with its own uninstall.sh script, or by hand on older installs, then clear conda's config, caches and shell setup. Miniconda too.

KapilUpdated 4 min read
DissectMac App Uninstaller listing unused apps with their sizes
On this page

To uninstall Anaconda on a Mac, run conda deactivate, then run the uninstall.sh script inside your Anaconda folder, for example ~/anaconda3/uninstall.sh. Installs older than Anaconda Distribution 2025.06 don't have that script, so you reverse conda init and delete the anaconda3 folder yourself. Both methods are below, along with the config files conda leaves in your home folder.

Anaconda isn't a drag-to-Trash app, which is why it needs its own steps. Our guide to uninstalling apps on Mac covers ordinary apps.

Before you uninstall Anaconda

  • Export the environments you want to rebuild later. For each one, run:

    conda env export --name myenv > myenv.yaml
    

    You can recreate it from that file after you reinstall Anaconda or Miniconda.

  • Remove environments stored outside the Anaconda folder. Run conda info --envs to list them. Anaconda's docs say to delete any outside the Anaconda folder before you uninstall, with conda remove --prefix /path/to/env --all.

  • Delete environments with conda-pypi packages. Activate each environment and run conda list. If the Channel column shows conda-pypi, Anaconda's docs say to remove that environment with conda remove --name myenv --all before uninstalling.

Find where Anaconda is installed

Run:

conda info --base

A default install goes to ~/anaconda3. The macOS .pkg installer can also put it in a system folder such as /opt/anaconda3. Check that folder for a file called uninstall.sh; if it's there, use the next section. If not, skip to the manual method.

How to uninstall Anaconda on Mac

These are Anaconda's own steps for Anaconda Distribution 2025.06 and later.

Basic uninstall (install in your home folder):

conda deactivate
~/anaconda3/uninstall.sh

System install (in /opt or another system folder):

conda deactivate
sudo -E /opt/anaconda3/uninstall.sh

Full uninstall, which also removes caches, your conda config files and user data:

conda deactivate
~/anaconda3/uninstall.sh --remove-caches --remove-config-files user --remove-user-data

Use sudo -E /opt/anaconda3/uninstall.sh with the same options for a system install. Anaconda advises against these extra options if you have more than one conda installation, such as Anaconda and Miniconda side by side, because they share the config files and caches.

Close Terminal and open a new window. If (base) no longer appears in the prompt, Anaconda is gone.

Uninstall an older Anaconda without uninstall.sh

For installs from before Anaconda Distribution 2025.06, Anaconda's manual steps are:

  1. Remove conda's setup from your shell profiles:

    conda activate
    conda init --reverse --all
    
  2. Delete the Anaconda folder. This is permanent, so check the path from conda info --base first and run only the line that matches it:

    rm -rf ~/anaconda3
    sudo rm -rf /opt/anaconda3
    
  3. Optionally remove conda's config and data. Keep ~/.condarc if you plan to reinstall and want your settings back:

    rm -rf ~/.condarc ~/.conda ~/.continuum
    

Then open a new Terminal window and check that (base) is gone.

Uninstall Miniconda on Mac

Miniconda uses the same steps with miniconda3 in place of anaconda3. Miniconda 24.11.1 and later include uninstall.sh:

conda deactivate
~/miniconda3/uninstall.sh

For a system install, run sudo -E /opt/miniconda3/uninstall.sh. Older Miniconda versions need the manual method above, deleting ~/miniconda3 instead of ~/anaconda3.

Remove the files Anaconda leaves behind

The basic uninstall leaves some files in place, and Anaconda's docs note that shortcuts and other extra files may remain. Check these:

Location What's there
~/.condarc Your conda settings, such as channels
~/.conda conda's user data
~/.continuum Older Anaconda user data
~/.zshrc, ~/.bash_profile The block between # >>> conda initialize >>> and # <<< conda initialize <<<
Environments outside anaconda3 Any you didn't remove before uninstalling

If (base) still shows in a new Terminal window, open ~/.zshrc in a text editor and delete the conda initialize block, then open a new window. If a file outside the install folder was a link, the uninstaller may only remove the link, so delete what it pointed to as well.

Uninstall Anaconda with DissectMac

We make DissectMac, so this is our tool. App Uninstaller does the Library search for you, so you don't have to visit each folder above.

  1. Open DissectMac, go to App Uninstaller and press Scan.
  2. If Anaconda Navigator appears in the list of applications, tick it.
  3. Press Apply. Apps go together with their hidden support files. Conda itself (the anaconda3 folder and your environments) isn't an app, so remove it with uninstall.sh or the manual steps above, after exporting any environments you want to keep.

Already removed Anaconda? Its files show up in the Leftovers from deleted apps group instead. The scan is free; removing from inside the app is part of Pro, $19.99 once, and anything removed is kept for 30 days, so Restore brings it back.

DissectMac App Uninstaller results: 26.2 GB of unused apps, leftovers from deleted apps and old installersDissectMac App Uninstaller results: 26.2 GB of unused apps, leftovers from deleted apps and old installers

Do I still need anaconda-clean?

No. Older guides tell you to install and run anaconda-clean before deleting the folder. Anaconda's current instructions use the --remove-caches, --remove-config-files and --remove-user-data options of uninstall.sh instead, or the rm -rf ~/.condarc ~/.conda ~/.continuum step for manual uninstalls.

Why does (base) still appear in Terminal?

Because the conda initialize block is still in your shell profile. Run conda init --reverse --all before deleting the folder, or, if conda is already gone, delete the block from ~/.zshrc or ~/.bash_profile by hand and open a new Terminal window.

Will uninstalling Anaconda remove Python from my Mac?

It removes the Python inside Anaconda and every package and environment in the anaconda3 folder. Python you installed separately, and Apple's /usr/bin/python3, stay. To remove those too, see how to uninstall Python on Mac.

Can I delete the anaconda3 folder without the uninstaller?

On older installs, that's Anaconda's manual method, but run conda init --reverse --all first. Otherwise the conda initialize block stays in your shell profile, pointing at a folder that no longer exists, and you have to remove it by hand.

Kapil

Builds DissectMac and writes these guides from what the app finds on real Macs. Last checked this one on Nov 12, 2026.

More guides