Quick answer
Open System Settings > General > Storage to see the big categories, then run du -sh ~/* ~/Library/* | sort -h | tail -20 in Terminal to find the actual folders. On developer Macs the usual culprits are Xcode DerivedData, Docker.raw, node_modules, package caches and local AI models, which can add up to 50 to 150 GB.
Where the space goes
Step 1: Check Storage settings first
Open System Settings → General → Storage. Wait for the bar to finish calculating, then look at the biggest categories. Apps, Documents and Photos are easy to act on. If System Data is the biggest block, keep reading: that is where developer files and caches hide.
Step 2: Find the biggest folders with du
Terminal shows what the Storage bar won’t. These two commands list the 20 largest folders in your home folder and your Library:
du -sh ~/* 2>/dev/null | sort -h | tail -20
du -sh ~/Library/* 2>/dev/null | sort -h | tail -20Follow the largest result one level deeper, for example du -sh ~/Library/Developer/* | sort -h, until you reach a folder you recognise.
Step 3: Clear the usual developer culprits
On a developer Mac, these five usually account for most of the missing space. Each has its own guide with exact commands:
Step 4: Still full after deleting files?
- Empty the Trash (Finder → Empty Trash).
- List Time Machine local snapshots with
tmutil listlocalsnapshots /. macOS removes them on its own when space runs low, but you can thin them now withtmutil thinlocalsnapshots / 999999999999 4. - Restart. This clears temporary files and lets the Storage bar recalculate.
- Check whether the space is now shown as purgeable, which macOS frees automatically.
Find and clear it in one scan with SpaceWise
SpaceWise scans Xcode, Docker, node_modules, Gradle, Homebrew, package manager caches and local AI models, groups them by project, checks git status and lockfiles before it suggests anything, and moves what you approve to the Trash so you can undo it. The scan is free on Mac and Windows.
See what’s filling your disk
Run a free scan and see every developer cache, sized and grouped by project.
Download for MacFAQ
Why is my Mac storage full for no reason?
It usually isn't for no reason: the space is in System Data, which macOS doesn't break down. Caches, logs, Time Machine local snapshots, iOS backups, Docker's disk image, Xcode build data and local AI models all land there. Run du in Terminal to see which folders are actually large.
Why is my Mac storage still full after deleting files?
Deleted files stay in the Trash until you empty it, and Time Machine can keep them in a local snapshot for a while. Empty the Trash, then check tmutil listlocalsnapshots / and restart. The Storage bar can also take a few minutes to update.
What is System Data on a Mac?
System Data is Apple's catch-all for files that don't fit Apps, Documents, Photos and the other categories. On developer Macs it is mostly rebuildable caches: Xcode DerivedData and simulators, Docker's VM disk, package manager caches and AI model weights.
Is it safe to delete caches to free up space?
Rebuildable caches such as Xcode DerivedData, npm, pip and Homebrew caches are safe: tools download or rebuild them when needed. Avoid deleting anything under /System, and quit an app before clearing its cache folder.
How much free space should a Mac have?
Keep at least 10 to 15 percent of the disk free, and around 20 to 30 GB before a major macOS update. Very low free space slows down swap, Spotlight and builds.
Run this cleanup in SpaceWise
Same targets, Recovery Bin rollback, no Terminal required. Free tier included.