Why is System Data so large on your Mac?
You open System Settings › General › Storage and a grey bar called System Data is eating 80, 150, sometimes 250 GB. macOS doesn't say what's inside. On a Mac used for development or local AI, most of it isn't the operating system at all: it's build output, caches and model weights your tools keep and never clean up.
What "System Data" actually means
The Storage panel sorts files into categories it recognises: Applications, Documents, Photos, iCloud Drive, Developer and a few more. Anything it can't classify lands in System Data. That includes genuine system files (virtual memory swap, the sleep image, Time Machine local snapshots), but also every cache and hidden folder in your home directory, such as ~/Library/Caches, ~/.ollama, ~/.cache and ~/.npm.
That's why System Data grows fastest on developer Macs: the tools you use every day write gigabytes into places macOS files under "other".
The biggest culprits on a developer's Mac
| What | Where it lives | Typical size | Safe to delete? |
|---|---|---|---|
| Local AI models (Ollama) | ~/.ollama/models | 4–40 GB per model | Yes, re-download with ollama pull |
| Hugging Face / MLX models | ~/.cache/huggingface/hub | 2–30 GB per model | Yes, re-downloaded on next use |
| LM Studio models | ~/.lmstudio/models | 4–40 GB per model | Yes, re-download in LM Studio |
| Xcode DerivedData | ~/Library/Developer/Xcode/DerivedData | 5–60 GB | Yes, rebuilt on next build |
| iOS Device Support | ~/Library/Developer/Xcode/iOS DeviceSupport | 3–6 GB per iOS version | Yes for versions you no longer test |
| Simulator runtimes and devices | ~/Library/Developer/CoreSimulator | 8–10 GB per runtime | Yes, via Xcode or xcrun simctl |
node_modules folders | Inside every JS project | 0.2–2 GB each | Yes, npm install restores them |
Rust target/, Python venvs | Inside projects | 1–10 GB each | Yes, rebuilt by cargo / pip |
| Package caches (npm, pip, Homebrew, Cargo, Gradle…) | ~/Library/Caches, dot-folders | 1–30 GB total | Yes, refilled on demand |
| Docker images and build cache | Docker's virtual disk | 10–60 GB | Review first: running containers need their images |
Most of these are regenerable: deleting them costs a re-download or a slower first build, not lost work. The trick is knowing which ones you still use.
How big each of these really is, measured in September 2026, is in our developer disk-space report.
How to find what's using the space
From Terminal, this lists the largest folders in your home directory, including hidden ones:
du -sh ~/.[!.]* ~/* ~/Library/* 2>/dev/null | sort -hr | head -25
Then drill into whatever tops the list, for example du -sh ~/Library/Developer/*. It works, but it's slow, and it won't tell you whether a folder is safe to delete or when you last used it.
How to clean each one safely
- Ollama models:
ollama list, thenollama rm name:tag. Never delete blobs by hand. Full guide. - Hugging Face cache:
hf cache lsto list,hf cache rmto delete,hf cache pruneto drop old revisions. Full guide. - Xcode: delete DerivedData, old Device Support folders and unused simulator runtimes. Full guide.
- node_modules: find and remove them in projects you haven't touched in months. Full guide.
- Docker:
docker system dfto see usage, thendocker system prune(add-ato remove unused images too). - Homebrew and other package caches:
brew cleanup --prune=all,npm cache clean --force,pip cache purgeand more. Full guide. - Everything else in ~/Library/Developer: folder-by-folder guide.
Why System Data doesn't shrink right away
After cleaning, the Storage panel can take minutes to recalculate. Two other things hold space: files you moved to the Trash still count until you empty it, and Time Machine keeps local snapshots that macOS frees automatically when it needs room. tmutil listlocalsnapshots / shows them.
See all of it on one screen. Storage Cleaner scans for every item above, shows its size and when you last used it, marks each one Safe, Review or Caution, and cleans to the Trash so you can undo. Scanning is free.
Try Storage Cleaner freeFrequently asked
Is it safe to delete System Data? Not blindly. Much of it is regenerable developer data, but it also contains swap and system files that macOS manages itself. Clean specific folders you understand, not "System Data" as a whole.
Why is System Data bigger than my Xcode install? Xcode the app is ~12 GB, but its DerivedData, simulators and Device Support live in your Library folder and are counted as System Data, not Developer.
How much space will I get back? On Macs used for iOS development or local AI, 50–150 GB is common, most of it from a few old models, simulator runtimes and DerivedData.