Local AI

Where Ollama Stores Models on Mac, and How to Delete Them Safely

Ollama keeps models in ~/.ollama/models on a Mac. See each model's size, delete one safely with ollama rm, and move the folder to another drive.

By Surendra Pandar, maker of DiskMate 7 min readUpdated

Ask AI about this guide

ChatGPTClaudeGrokPerplexityGemini

Ollama makes it easy to try a model. One command and it downloads. It is just as easy to forget the model is still there a month later. Each one is a few gigabytes, and they sit in a folder Finder does not show.

A model you use is not junk. So this guide is not about wiping the folder. It shows where the models are, how to see what each one takes, and how to remove the ones you pick. I checked every path and command here against Ollama's own docs on 16 November 2026, and I link each one. I checked them again on 17 November 2026, when the latest Ollama release on GitHub was v0.40.9, on macOS Tahoe 26.6.2.

This guide is for anyone who runs local models with Ollama on a Mac, and most of all on a 256 GB or 512 GB disk, where a few models can take a real share of the space.

Your list will not look like the examples here. You may see other models and other sizes, and that is fine. Use the same steps.

Where does Ollama store models on a Mac?

Ollama's FAQ gives one default place for each system. On macOS it is ~/.ollama/models. The ~ means your home folder, and the dot at the start of .ollama is why you don't see it in Finder.

To look at it in Finder, choose Go > Go to Folder, type ~/.ollama and press Return. Or press Command + Shift + Period in your home folder to show hidden items.

FolderWhat is in itDelete by hand?
~/.ollama/models/blobsThe large model files, named by SHA-256 hash, not by model nameNo. Use ollama rm
~/.ollama/models/manifestsSmall text files that say which blobs each model usesNo. Use ollama rm
~/.ollama/logsapp.log and server.logLeave them
The rest of ~/.ollamaOllama's configurationNo, unless you are uninstalling

The logs row and the “models and configuration” wording come from Ollama's macOS page. The blobs and manifests layout is described in this issue on Ollama's GitHub. If someone set the OLLAMA_MODELS variable on your Mac, the models are in that folder instead.

How big are Ollama models, and what does that mean on a small disk?

Model sizes are listed on each model's page in the Ollama library. Here are five from the llama3.2 and gemma3 pages, checked on 16 November 2026. The share columns are plain division.

ModelDownload sizeShare of 256 GBShare of 512 GBShare of 1 TB
llama3.2:1b1.3 GB0.5%0.3%0.1%
llama3.2:3b2.0 GB0.8%0.4%0.2%
gemma3:4b3.4 GB1.3%0.7%0.3%
gemma3:12b8.2 GB3.2%1.6%0.8%
gemma3:27b17 GB6.6%3.3%1.7%
All five31.9 GB12.5%6.2%3.2%

One small model is nothing to worry about. A handful that you tried once adds up fast. Five models like these take an eighth of a 256 GB Mac, on a disk that also holds macOS, your apps and your files.

How do I check my Ollama models and delete the ones I pick?

All the commands below are in Ollama's CLI reference, apart from du, which comes with macOS. Open Terminal to run them.

List your models

This shows every model Ollama has on this Mac, with the size of each. It changes nothing.

Terminal
$ ollama ls
Read-only. Note the full name of each model, including the part after the colon.

Check the size of the whole folder

This is the number that matters for your disk. Write it down, so you can compare after you delete something.

Terminal
$ du -sh ~/.ollama/models
Read-only. It measures the models folder and prints one total. It can take a moment.

Stop the model if it is loaded

Ollama keeps a model in memory for 5 minutes after you last used it, according to its FAQ. Check what is loaded, and stop the one you are about to remove. Stopping only unloads it from memory. It does not delete anything.

Terminal
$ ollama ps$ ollama stop gemma3:12b
The first line lists loaded models. The second unloads one. Change the name to match yours.

Remove the model

Use the name exactly as ollama ls printed it. Ollama's API docs describe this as deleting “a model and its data”.

Terminal
$ ollama rm gemma3:12b
Deletes this one model. Change the name to match yours.

Restart Ollama if the space did not come back

Run the du command from step 2 again. If the number did not drop the way you expected, quit Ollama from its menu bar icon and open it again. In Ollama's issue tracker, the answer for half-finished downloads is that they are removed automatically the next time the server starts. A newer issue gives the same answer for leftover files after ollama rm.

Why shouldn't I delete Ollama model files by hand?

It is tempting to open the ~/.ollama/models/blobs folder, sort by size and drag the biggest file to the Trash. Two things make that a bad idea.

  • You can't tell which model a file belongs to. The files are named by hash. Nothing in the name says “gemma3”.
  • One file can belong to several models. In this GitHub issue, the answer given is that blobs are shared between models to save space, and a shared blob is only deleted when every model that uses it is gone.

So if you delete a blob by hand, you can break a model you meant to keep. ollama rm checks this for you. It is also why removing a model sometimes frees less than its listed size: part of it is still in use by another model. That is working as designed, not wasted space.

Can I keep Ollama models but move them to another drive?

If you want the models but not on your internal disk, Ollama's FAQ has a setting for it: set the OLLAMA_MODELS environment variable to the folder you want. For the Mac app, the same page says to set variables with launchctl setenv and then restart Ollama.

Terminal
$ launchctl setenv OLLAMA_MODELS "/Volumes/YourDrive/ollama-models"
Points Ollama at a folder on another drive. Change the path to your own, then quit and reopen Ollama.

The docs only describe pointing Ollama at a different folder. They do not say it moves what you already downloaded. Plan to pull your models again, or copy the models folder across yourself, and check ollama ls before you remove anything from the old place. The drive has to be connected whenever you use Ollama.

Does uninstalling Ollama delete the models?

The app and the models are separate. Ollama's macOS page lists what to remove for a full uninstall, and ~/.ollama is its own line in that list. So if you only move the app to the Trash, the models stay on your disk.

The simple order is: remove the models with ollama rm while the app still works, then uninstall. If the app is already gone, the whole ~/.ollama folder is what holds the space. Deleting it removes every model and Ollama's configuration, so only do that when you are done with Ollama.

How long does it take, who should skip it, and what should I do now?

  • Time and cost: listing and removing a model takes a minute. The commands are free and come with Ollama. Getting a model back takes one ollama pull and a download of its full size.
  • What happens after: Ollama keeps working with the models you kept. If the space did not come back, restart Ollama, as in step 5.
  • Skip this if you use every model you have, or you are on a slow or metered connection where downloading a 17 GB model again would hurt. Move the folder to another drive instead.

What to do now: run ollama ls and du -sh ~/.ollama/models. Remove the models you have not used in a month with ollama rm. If you need all of them, move the folder to an external drive with OLLAMA_MODELS.

The faster way to see it

The hard part is not the delete command. It is noticing that a hidden folder has quietly grown. That is the part DiskMate helps with. Its disk space analyzer includes hidden dot folders in the scan, so .ollama shows up by size next to everything else in your home folder.

For the models themselves, I would still use ollama rm, for the reason above. If your storage bar shows a big System Data block and you are not sure what else is in it, start with What Is System Data on Mac? and how much of it is normal. If you also write code, package caches are the next hidden folders to check.

See which hidden folders are using your disk.
DiskMate scans your home folder, hidden folders included, and ranks everything by size. Nothing is removed unless you choose it, and it goes to the Trash first. $5 once, no subscription.
Get DiskMate for $5Pay once · No subscription · Works offline

Frequently asked questions

Where does Ollama store models on a Mac?+

In ~/.ollama/models, a hidden folder inside your home folder. That is the default in Ollama's own FAQ. If the OLLAMA_MODELS environment variable is set, Ollama uses that folder instead.

How do I delete an Ollama model on a Mac?+

Run ollama ls to see the exact model names, then ollama rm followed by the name, for example ollama rm gemma3:12b. If the model is loaded, run ollama stop with the same name first. Use Ollama's own command instead of deleting files in the models folder by hand.

Why didn't ollama rm free up any space?+

There are two common reasons. Models can share files, and a shared file stays until every model that uses it is removed. Leftover files from removed models or cancelled downloads are cleared when the Ollama server restarts. Quit Ollama from its menu bar icon, open it again, then check the folder size.

Can I delete the files in ~/.ollama/models/blobs by hand?+

It is better not to. The big files in the blobs folder are named by hash, not by model, and one file can belong to several models. Deleting one by hand can break models you wanted to keep. ollama rm only removes files that no other model uses.

Can I move Ollama models to an external drive?+

Yes. Ollama's FAQ says to set the OLLAMA_MODELS environment variable to the folder you want. On a Mac that runs the Ollama app, set it with launchctl setenv and restart the app. The docs do not say that existing models are moved for you, so plan to pull them again or copy the folder yourself.

Does uninstalling Ollama delete the models?+

Not if you only move the app to the Trash. Ollama's macOS page lists the ~/.ollama folder as a separate item to remove, and that folder holds the models. Remove the models with ollama rm before you uninstall, or delete ~/.ollama afterwards.

How do I get a deleted Ollama model back?+

Download it again with ollama pull and the model name, for example ollama pull gemma3. You need a connection and enough free space. A model you built yourself from a Modelfile has to be created again from that Modelfile.

Written by Surendra Pandar
I build DiskMate, a small Mac app for finding and clearing disk space. I wrote this guide from the same research that went into the app. Spotted something wrong or out of date? Email surendrapandar.work@gmail.com or find me on X.

Keep reading