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:
Open Settings > Apps > Installed apps.
Find Ollama, select the ... menu and choose Uninstall.
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:
Search the Start menu for environment variables.
Select Edit environment variables for your account.
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.