Skip to content

How-ToGPU

How to Uninstall Ollama on Windows and Get All Your Disk Space Back

How to remove Ollama from Windows completely: quit the app, uninstall it from Settings, then delete leftover models in %HOMEPATH%\.ollama or your OLLAMA_MODELS folder, logs, and any Ollama environment variables.

By , Systems & Technical Editor

3 min read

How to Uninstall Ollama on Windows and Get All Your Disk Space Back

Ollama is one of the easiest ways to run AI models on your own PC, but those models are big. Ollama's own documentation says they can be tens to hundreds of gigabytes in size. If you've finished experimenting, or you're switching to another app, you'll want all of that space back. This guide follows Ollama's official Windows documentation.

Before you start: keep anything you want

  • Models you want to keep. If you're only moving to a different drive, you don't need to uninstall at all. See our guide to moving Ollama models to another drive.

  • Custom models. If you built models from a Modelfile, keep a copy of the Modelfile so you can recreate them later.

  • Other apps that use Ollama. Open WebUI, coding assistants and other tools that connect to Ollama will stop working once it's gone.

Step 1: Quit Ollama

Ollama runs as a tray application. Right-click its icon in the system tray (near the clock) and quit it. If you started it from a terminal with ollama serve, close that terminal too.

Step 2 (optional): Delete models first

If you're keeping Ollama but just want space back, delete models instead. In a terminal, run ollama list to see what's installed and how big each model is, then ollama rm followed by the model name to delete one. Our guide to managing Ollama models has more detail.

Step 3: Uninstall the app

Ollama's documentation says the Windows installer registers an uninstaller, so you remove it like any other app:

  1. Open Settings > Apps > Installed apps.

  2. Find Ollama, select the ... menu and choose Uninstall.

  3. Follow the prompts.

Step 4: Check whether your models are still there

This is the step most people miss. Ollama's documentation warns that if you changed the OLLAMA_MODELS location, the uninstaller will not remove your downloaded models.

Ollama's documentation lists where it keeps its files on Windows. To check each one, press Windows + R, paste the path and press Enter:

Location

What's in it

%HOMEPATH%.ollama

Models and configuration

%LOCALAPPDATA%\Ollama

Logs and downloaded updates

%LOCALAPPDATA%\Programs\Ollama

The program files (the installer adds this to your PATH)

%TEMP%

Temporary files in folders starting with ollama

Delete any of these folders that are still there after the uninstall. If you set OLLAMA_MODELS to another folder or drive, go to that folder and delete the models there too. A tool from our best free disk space analysers guide will quickly show you whether anything large is left.

Step 5: Remove environment variables

If you set any Ollama environment variables, such as OLLAMA_MODELS or OLLAMA_HOST, remove them so they don't affect a future install:

  1. Search the Start menu for environment variables.

  2. Select Edit environment variables for your account.

  3. Select each variable starting with OLLAMA and choose Delete, then OK.

If you installed the standalone version

Ollama also offers a standalone zip containing just the command-line tool, which some people run as a background service. That version has no uninstaller entry. Stop the service or the ollama serve process, delete the folder you extracted it to, and then follow steps 4 and 5 above.

Reinstalling later

If you come back to Ollama, a fresh install from the official site gives you the current version; our guide to updating Ollama on Windows covers keeping it current. Ollama's installer doesn't need administrator rights and installs in your user folder by default.

Our verdict

Uninstall Ollama from Settings > Apps > Installed apps, then check the folders it uses, especially %HOMEPATH%.ollama, because your models are where the space is. If you ever moved models with OLLAMA_MODELS, the uninstaller leaves them behind, so delete that folder yourself and remove the environment variable. Five minutes of checking can free tens or hundreds of gigabytes.

The bottom line

Uninstall Ollama from Settings > Apps > Installed apps, then check the folders it uses, especially %HOMEPATH%\.ollama, because your models are where the space is. If you ever moved models with OLLAMA_MODELS, the uninstaller leaves them behind, so delete that folder yourself and remove the environment variable. Five minutes of checking can free tens or hundreds of gigabytes.

Sources

  1. 01Ollama, Windows documentation
  2. 02Microsoft Support, Uninstall or remove apps and programs in Windows

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

RAG vs Fine-Tuning for Local AI: Which Should You Use on Your PC?

Versus

RAG vs Fine-Tuning for Local AI: Which Should You Use on Your PC?

RAG vs fine-tuning for local AI: RAG feeds a model relevant chunks of your documents for each question, while fine-tuning changes the model's weights. For most home PCs, start with RAG; fine-tune for style, format or specialised tasks.

Callum Reid4 min

How to Find What's Writing to Your SSD in Windows 11

How-To

How to Find What's Writing to Your SSD in Windows 11

How to find which program is writing to your SSD in Windows 11: sort Task Manager by Disk, use Resource Monitor's Write (B/sec) column to see the process and file, and capture a short Process Monitor log filtered to WriteFile.

Marcus Thorne3 min

Best Free Uninstaller Software for Windows 11 in 2026

Best Picks

Best Free Uninstaller Software for Windows 11 in 2026

The best free ways to uninstall programs in Windows 11: Windows Settings and winget for everyday removals, Revo Uninstaller Free for stubborn programs and leftovers, and the open-source Bulk Crap Uninstaller for removing lots of apps at once.

Hannah Vance3 min