Guide

Where does Ollama store models on Windows?

Ollama models are stored in C:\Users\YourName\.ollama\models by default. Each model takes 1–40 GB. This guide covers finding the folder, checking total size, moving models to another drive with OLLAMA_MODELS, and deleting models.

Where does Ollama store models on Windows?

By default, Ollama stores all downloaded models in your Windows user profile:

cmd.exe
# Default models folder:
C:\Users\YourName\.ollama\models
# Open the folder in File Explorer:
C:\> explorer "%USERPROFILE%\.ollama\models"
# Check total size (PowerShell):
PS> (Get-ChildItem $env:USERPROFILE\.ollama\models -Recurse | Measure-Object -Property Length -Sum).Sum / 1GB
9.4

The .ollama folder structure contains:

  • .ollama\models\manifests — model metadata and version info
  • .ollama\models\blobs — the actual model weight files (the large files)

Move models to a different drive

If your system drive (C:) is running low on space, you can move the models folder to another drive using the OLLAMA_MODELS environment variable.

  • 1

    Quit Ollama

    Right-click the Ollama tray icon → Quit Ollama.

  • 2

    Copy the existing models folder

    PowerShell
    # Copy to D: drive (adjust path as needed):
    PS> Copy-Item "$env:USERPROFILE\.ollama\models" -Destination "D:\OllamaModels" -Recurse
  • 3

    Set the OLLAMA_MODELS environment variable

    Settings → System → Advanced system settings → Environment Variables → New user variable:

    • Name: OLLAMA_MODELS
    • Value: D:\OllamaModels

    Or via PowerShell (permanent):

    PowerShell
    PS> [Environment]::SetEnvironmentVariable("OLLAMA_MODELS", "D:\OllamaModels", "User")
  • 4

    Restart Ollama and verify

    cmd.exe — new window
    C:\> ollama list
    llama3:latest 4.7 GB
    # Models are now loaded from D:\OllamaModels
  • 5

    Delete the old folder to free space

    PowerShell
    PS> Remove-Item "$env:USERPROFILE\.ollama\models" -Recurse -Force
    # This frees the disk space on C:
    Only delete the old folder after confirming models load correctly from the new location.

List, remove and manage model files

cmd.exe
# List all installed models with size:
C:\> ollama list
NAME SIZE MODIFIED
llama3:latest 4.7 GB 3 days ago
mistral:latest 4.1 GB 1 week ago
qwen2.5:latest 4.4 GB 2 days ago
# Remove a model to free space:
C:\> ollama rm mistral
deleted 'mistral'
# Show currently running models:
C:\> ollama ps

Model location questions

Can I copy a model from one PC to another?
Yes. Copy the .ollama\models folder (or just the specific model blobs) from one machine to another. Set OLLAMA_MODELS to point to the copied location if needed, or copy into the default path. Then run ollama list to verify the model is detected.
Why does OLLAMA_MODELS not seem to work?
Ensure you set the variable and then opened a new terminal and restarted Ollama (quit from tray, reopen). Environment variable changes require a new process to take effect. Verify with echo %OLLAMA_MODELS% in the new terminal.
Does ollama rm actually delete the files?
Yes. ollama rm modelname removes the model manifest and its associated blob files from the models folder. Disk space is freed immediately. Run ollama list to confirm the model no longer appears.
How do I find which file belongs to which model?
The blob files in .ollama\models\blobs have cryptographic hash names and are not human-readable. Use ollama list to see model names and sizes, and ollama rm to remove a specific model rather than deleting blob files manually.

Running out of disk space?

Remove unused models or move the models folder to a larger drive.

Uninstall guide