Where Ollama Stores Models and How to Move Them with OLLAMA_MODELS
Note: Some future links on this site may be affiliate links. We never claim hands-on testing; guides are researched from the public sources listed in each article.
How we wrote this: A plain-English summary of Ollama's official documentation (FAQ, Linux and Windows pages), checked October 29, 2026. Paths can change between versions; check the docs for your release.
Default model folders
Models take up a lot of disk space. According to Ollama's FAQ, they live here by default:
| System | Default folder |
|---|---|
| macOS | ~/.ollama/models |
| Linux (standard installer) | /usr/share/ollama/.ollama/models |
| Windows | C:\Users\%username%\.ollama\models |
On Windows, %HOMEPATH%\.ollama holds both models and configuration.
Moving them to another drive
Set the OLLAMA_MODELS environment variable to the folder you want, then restart Ollama.
macOS (the app):
launchctl setenv OLLAMA_MODELS "/Volumes/External/ollama-models"
Then restart the Ollama app.
Linux (systemd service):
- Run
systemctl edit ollama.service. - Under
[Service], addEnvironment="OLLAMA_MODELS=/data/ollama-models". - Run
systemctl daemon-reloadandsystemctl restart ollama. - With the standard installer, the ollama user needs read and write access to the new folder:
sudo chown -R ollama:ollama /data/ollama-models.
Windows:
- Quit Ollama from the taskbar.
- In Settings (Windows 11) or Control Panel (Windows 10), search for environment variables and choose Edit environment variables for your account.
- Add
OLLAMA_MODELSwith the new path. - Start Ollama again from the Start menu.
The example folder paths above are placeholders; use your own.
Good to know
- If you change
OLLAMA_MODELSon Windows, the uninstaller won't remove models stored there. See uninstalling Ollama. - Use the model memory calculator to estimate how big a model is before you pull it.
Related: Ollama on Linux, Ollama on Windows, Ollama on a Mac, CLI cheat sheet.