Run ollama rm followed by the model's exact name and tag to remove a downloaded Ollama model. Start with ollama ls so you delete the version you intend, then list the models again to confirm it's gone.
For a model that's only occupying graphics or system memory, use ollama stop instead. Stopping a model unloads it; removing it deletes its local model entry and any storage it used that's no longer needed.
In this guide
List the models before choosing one to remove
Open Windows PowerShell from Start, or select PowerShell in Terminal. Keep Ollama running so the commands can reach its server. The usual setup for your own Windows account doesn't need an administrator shell.
Microsoft's launch instructions list the normal Open action. Choose that rather than Run as administrator when opening the shell for this task.
Run this command:
ollama ls
Read the model names in the returned list. A name can include a tag after a colon, such as gemma3:4b. The tag distinguishes a particular model variant, so copy the complete entry you intend to remove.

The model in this guide is an example. Your list might contain different families or tags. If the unwanted model isn't present, don't substitute a similar name just to make the command run.
For a shell that won't accept pasted text, the PowerShell paste instructions explain the relevant keyboard and menu controls. Fix a paste problem before trying to troubleshoot an Ollama error.
Check whether any application is still using the model before removing it. Finish the conversation or stop the workload first. If an app asks for that model later, it'll need a replacement model or another download.
Remove the exact model name and tag
For an installed entry named gemma3:4b, use:
ollama rm gemma3:4b
Replace that example with the complete name from your list. You don't need to enter the models folder. This is an Ollama command issued through PowerShell, rather than a command to delete files from a Windows folder.
The CLI reference gives rm as the model-removal operation. Don't shorten it to rm gemma3:4b: inside PowerShell, that short name can refer to PowerShell's own file-removal command instead.
Read the response and wait for the shell prompt to return. If the command reports an error, keep that text and use the error section to choose your next step. Repeating a different spelling won't help when the server isn't reachable.
I'd remove one model at a time. Checking each result immediately helps you leave the models you still use alone. A cleanup script adds little when you only need to remove one named model.
A public model can be downloaded again with ollama pull and its model name. Keep the original Modelfile and any required source files for a custom model before deleting its only usable local entry.
Removing a local model doesn't uninstall Ollama. It also won't delete an account, cancel a cloud subscription, or erase a separate chat app's conversation history. Use the account, subscription, or chat app's own controls for those jobs.
Check the list again after the command finishes
Run ollama ls again in the same PowerShell window. The exact model entry should no longer be listed. If another tag from the same family remains, that can be a separate installed variant you haven't removed.
Compare complete model tags: a family name can describe several downloads. Deleting one tag leaves other variants separate. Select another entry only for another planned deletion.
If an old model name remains visible in a separate chat app, refresh its model list or reopen that app. Check the server's current list to see whether the model was removed from the copy of Ollama you're using.
Don't verify removal by running the model again. A run request can start a download when the model isn't available locally. That can bring back the large download you just chose to remove.
Check free storage in File Explorer if freeing disk space was the goal. You might not get back the exact size shown beside the model. How Ollama stores the files and which other models are installed affect how much space is freed.
Need to free memory instead of disk space?
List the models currently loaded by the server:
ollama ps
This list has a different purpose from ollama ls. The installed-model list shows available models, while the running-model list shows what's loaded. A downloaded model can stay installed without occupying GPU memory at that moment.
To unload the example model, use:
ollama stop gemma3:4b
Check ollama ps again. The selected model should leave the loaded list. Its downloaded entry can remain in ollama ls, which is expected when you've stopped it instead of deleting it.
If the issue is CPU use rather than storage, the Ollama GPU checks explain the PROCESSOR result. Deleting and downloading the same model won't make unsupported graphics hardware work.
Match an error to the command or server
A message that Ollama isn't recognized means PowerShell couldn't find the command. Open a fresh shell after installation and try again. Check the installed Ollama application before attempting any model-folder cleanup.
If the command can't connect to Ollama, launch the Ollama app from Start and retry the listing first. The standard Windows application runs a background server. Starting a second server can fail if its port is already occupied.
If the model isn't found, return to ollama ls and copy its actual full name. Also check whether you're using native Windows Ollama, a copy inside WSL, or a remote server. They can have different model libraries.
A custom OLLAMA_HOST setting changes which server Ollama's commands contact. Read its value with $env:OLLAMA_HOST if the library isn't the one you expected. A blank value means that shell hasn't set a different server address.
Windows normally stores models under your user's .ollama\models directory. The OLLAMA_MODELS setting can change that location. Leave those files to Ollama's own removal command instead of deleting individual storage files by hand.
For a persistent failure, use the support or issue link in the documentation. Include the Ollama version, model tag, error, and whether the server is Windows, WSL, or remote. Remove private prompts and usernames from shared logs.
The Short Version
List installed models with ollama ls, remove the exact unwanted entry with ollama rm name:tag, and list again. Use ollama stop name:tag when the goal is releasing memory while keeping the download.
Checked December 3, 2026.







