Hugging Face cache (~/.cache/huggingface) on Mac: what it is and whether you can delete it
MACMAN FOLDER · 2026-11-16
~/.cache/huggingface
What it is
~/.cache/huggingfaceReview, then deleteHuggingFace model cache
Why it grows
When you load a Hugging Face model or dataset with libraries such as transformers or diffusers, the downloaded files are saved in this folder and reused from then on.
A model you tried once stays until you delete it. A single model can be several GB to tens of GB, so trying a few models fills it up quickly.
Before you delete
~/.cache/huggingfaceUnused model folders can be deleted
How to check its size
In Finder, choose Go > Go to Folder (Shift-Command-G), enter ~/.cache/huggingface, then use Get Info (Command-I) to see the size.
In Terminal, run du -sh ~/.cache/huggingface to see the size.
The free MacMan Scan diagnosis lists this folder with its size and grade. The scan is read-only.
How to shrink it safely
- Do not delete the whole ~/.cache/huggingface folder. Settings such as your sign-in token can live in it too.
- Open the hub folder inside it. Each model is a folder named in the form models--owner--name. Check each folder's size and pick the models you do not use.
- Move each chosen model's folder to the Trash as a whole. Deleting only some files inside it can leave a model that no longer loads correctly.
- A deleted model is downloaded again from scratch the next time your code loads it.
How MacMan Scan handles this folder
MacMan Scan lists this folder on the cleanup screen, unchecked. It becomes a deletion target only after you look at it and check it yourself.
Related folders
- Ollama models folder (~/.ollama) on Mac: what it is and whether you can delete it
- pip cache (~/Library/Caches/pip) on Mac: what it is and whether you can delete it
- uv cache (~/.cache/uv) on Mac: what it is and whether you can delete it
The scan is read-only. Diagnosis alone deletes nothing.