> ## Content Index
> Fetch the complete content index at: https://locallabs-llm.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# Where Ollama stores models on Windows, Mac and Linux
- URL: https://locallabs-llm.org/ollama-model-storage/
- Published: 2026-11-18T11:08:05.000Z
- Updated: 2026-11-25T10:38:11.000Z
- Description: Find the default model folder for your installation and check whether OLLAMA_MODELS points the running server somewhere else.
- Author: Albert Curry
- Tags: Manage Ollama models

[Ollama](https://ollama.com/?ref=locallabs-llm.org)'s default model folder is `~/.ollama/models` on macOS, `%USERPROFILE%\.ollama\models` on Windows, and `/usr/share/ollama/.ollama/models` for the standard Linux service. A custom `OLLAMA_MODELS` value changes the location, so check that setting before assuming files are missing.

## Find the default folder

The [official storage locations](https://docs.ollama.com/faq?ref=locallabs-llm.org#where-are-models-stored) distinguish the desktop user folders from the Linux service directory:

__Default model storage__
| Installation           | Folder                           |
| ---------------------- | -------------------------------- |
| Windows desktop        | %USERPROFILE%\\.ollama\\models   |
| macOS desktop          | \~/.ollama/models                |
| Standard Linux service | /usr/share/ollama/.ollama/models |

On Windows, paste the user-profile path into File Explorer's address bar. On macOS, use Finder's Go to Folder action. A manually started Linux server can run under a different account from the standard service; use the server's account and environment when checking its storage.

For the standard Linux service, a read-only directory check is:

```
ls /usr/share/ollama/.ollama/models
```

This checks that directory, not the active model inventory. A permission error doesn't prove the files are missing; don't change ownership just to inspect them. A server started under your own account may use a different folder.

![GNOME Console with ls /usr/share/ollama/.ollama/models entered at the shell prompt.](https://storage.ghost.io/c/e0/70/e070c514-431e-4a20-aa04-a641625f58e7/content/images/2026/11/ollama-model-storage-ui-v3.webp)

Linux terminal: Check the standard Linux service directory. [View larger](https://storage.ghost.io/c/e0/70/e070c514-431e-4a20-aa04-a641625f58e7/content/images/2026/11/ollama-model-storage-ui-v3.webp?ref=locallabs-llm.org)

## Check whether the server uses another location

[OLLAMA\_MODELS selects a different directory](https://docs.ollama.com/faq?ref=locallabs-llm.org#how-do-i-set-them-to-a-different-location). It has to reach the Ollama server process. A variable in a terminal is not proof that an already running desktop application or system service inherited the same value.

For Windows, the configuration instructions require quitting Ollama, changing the user environment variable and restarting the application. A Linux systemd installation needs configuration on the service. This page helps you locate existing files; changing the storage directory and migrating files is a separate task.

## Use the inventory before changing files

```
ollama ls
```

I use the [installed-model list](https://locallabs-llm.org/ollama-list-models/) to identify models rather than guessing from the files inside the storage folder. To free space, [remove one model by its exact name](https://locallabs-llm.org/ollama-delete-model/). Don't remove the entire folder merely because individual filenames are unfamiliar.