A Mac with a full disk refuses macOS updates and fails builds, and System Data is the one category the Storage pane won’t open for you. On the test Mac it was the biggest gray block on the bar, while the Developer row next to it claimed less than 2 GB. Cleaner apps sell a one-click fix for that gray block. You do not need one, because the space belongs to a short list of owners, and each owner ships its own command to measure and empty it.
We measure each owner first, remove only what can be rebuilt, and record free space before and after every step. All of it was tested in November 2026 on a macOS 27.2 VM with Xcode 27.2 and Homebrew 7.0.11, plus a Colima Docker host on an Apple M4, so every number below is measured, not estimated.
What macOS files under System Data
System Data is a leftover bucket, not a folder. Apple’s Storage settings guide says it holds files that don’t fall into the other categories: log files, caches, VM files and runtime system resources, plus temporary files, fonts, app support files and plug-ins. The same page says you can’t manage the contents of this category from Storage, which is why the row has no Delete button.
Apple’s definition matters because it decides where the space hides. Anything a developer tool stores outside its own category ends up gray. On the test VM that meant simulator runtimes, Time Machine local snapshots and Homebrew downloads. A Docker VM disk is the same kind of file on a real Mac. Open the pane at Apple menu, System Settings, General, Storage before you touch anything, so you have a baseline to compare against.

- 1Used total
- 2System Data segment
- 3Available
The bar read 101.59 GB used of 134.11 GB, with 32.51 GB available. The Used total (1) is the number to write down, the System Data segment (2) is the block this guide shrinks, and Available (3) is what macOS updates and Xcode actually need. Our capture was taken after the test snapshot below was already in place, so it includes that planted file. Storage also takes a minute or two to finish calculating, and a bar that still says “Calculating” isn’t a baseline yet.
Measuring System Data with du
Measure before you delete anything, because the biggest consumer is rarely the one people guess. On modern macOS your files live on the Data volume, mounted at /System/Volumes/Data. Running du one level deep there, with -x so it stays on that volume, sorts the top level by size. It needs sudo to read system folders, and errors go to /dev/null. Turn on Terminal under System Settings, Privacy & Security, Full Disk Access first, or protected folders are skipped silently and the totals come up short:
sudo du -xhd1 /System/Volumes/Data 2>/dev/null | sort -h | tail -6
Follow whichever directory is largest one level at a time. Here the surprise was System at 39G, so the next two passes went into it and then into the folder that owned almost all of it:
sudo du -xhd2 /System/Volumes/Data/System 2>/dev/null | sort -h | tail -5
sudo du -xhd1 /System/Volumes/Data/System/Library/AssetsV2 2>/dev/null | sort -h | tail -5
The output traced 37G to AssetsV2, and inside it to four simulator runtime folders. iOS used 16G, visionOS (xrOS) 7.1G, watchOS 3.6G and tvOS 3.5G:

We would not have guessed this from the pane, and a cleaner app hides it behind a single number. The Storage pane’s Developer row said 1.74 GB, yet the simulator runtimes Xcode downloaded sat in a system path and were counted as System Data. Your own home folder is the second place to look. du -hd1 ~/Library | sort -h | tail -6 showed Caches at 1.9G and Developer at 567M on the same VM.
Treat the du tree as a map, not a delete list. These paths are safe to measure and dangerous to clear by hand:
- Nothing under
/System/Volumes/Data/Systemis removed withrm; its owning tool removes it. - Files in
~/Library/Cachesare deleted only while the app that wrote them is closed. - The free space in
df -h /is recorded before each cleanup step, so every gain can be proven.
Each section below follows that rule: measure, remove through the owning tool, then measure again. If you want more disk commands than the ones used here, the Mac terminal commands cheat sheet collects them on one page.
Local Time Machine snapshots
Deleting a big file does not free its space while a local snapshot still references it. Apple’s local snapshot article says Time Machine saves one snapshot about every hour, keeps it for 24 hours, keeps one of the last successful backup until space is needed, and takes another before installing a macOS update. Apple also says your Mac counts that space as available, which is why Finder and df can disagree.
To show the effect, we wrote an 8 GB file into Downloads, took a snapshot with sudo tmutil localsnapshot, then deleted the file. Free space did not come back. List what’s holding the volume with these two commands, and keep df next to them:
tmutil listlocalsnapshots /
tmutil listlocalsnapshotdates /
df -h /
Two snapshots came back. The com.apple.TimeMachine entry is the one Time Machine manages, and its date is the handle tmutil works with. The com.apple.os.update entry belongs to the system update process and is not yours to remove. With the deleted file still pinned, df showed 28Gi available:

Thinning asks macOS to reclaim a given number of bytes by removing Time Machine snapshots, and it leaves other snapshots alone. The tmutil man page gives the form thinlocalsnapshots mount_point [purge_amount] [urgency], with the amount in bytes and urgency from 1 to 4. This run asked for 20 GiB at the highest urgency:
sudo tmutil thinlocalsnapshots / 21474836480 4
Our Time Machine snapshot was thinned, the system update snapshot stayed, and available space went from 28Gi to 37Gi. That 9Gi is the deleted file plus the changes the snapshot had pinned since it was taken:

We would not make this a habit. A local snapshot is your only copy of an hour-old file when the backup disk is unplugged, and macOS already purges them when space runs short. Thin them when a large deletion didn’t show up as free space, or right before an update that needs room. A Time Machine disk you actually plug in makes the local copies far less important. The external SSD picks for Mac cover the drives that suit it.
Xcode DerivedData and simulator runtimes
Simulator runtimes were the largest System Data owner on our test Mac, and they usually are on any Mac that has run Xcode. The Developer row does not count them. DerivedData is the second Xcode cache: build products and indexes, rebuilt on the next build. Size both, then list the runtimes Xcode has registered:
du -sh ~/Library/Developer/Xcode/DerivedData ~/Library/Developer/CoreSimulator/Devices
xcrun simctl runtime list
xcrun simctl runtime delete --outdated --dry-run
One SwiftNIO package build left 308M in DerivedData, and the simulator devices held 257M. The runtime list showed five disk images totalling 29.7G, including two iOS runtimes with different build numbers. The --outdated dry run matched nothing, because every runtime still fit the installed Xcode. That flag will not find runtimes you simply never use:

So the decision is yours, made from the platforms you ship. Our sample project shipped for iPhone with a watch companion, so the visionOS and tvOS runtimes went by their identifiers. The second iOS build is the next candidate once xcrun simctl list devices shows no simulator you use on it.
xcrun simctl runtime help delete also lists --notUsedSinceDays and --unusable filters. Close Xcode before this step, so nothing is writing into DerivedData while it goes, and copy the identifiers from your own runtime list output, because they differ on every Mac:
xcrun simctl runtime delete 8B3A1772-AE85-433B-98C0-FEC68A38FA67
xcrun simctl runtime delete 7E30103E-C4BE-43B0-A62F-2BC2C826ED80
rm -rf ~/Library/Developer/Xcode/DerivedData
xcrun simctl delete unavailable
The runtime total fell to 19.1G across three images, and free space rose from 37Gi to 48Gi. The last command removes simulator devices whose runtime no longer exists, which is the state the two deletions just created:

A deleted runtime is not lost. Apple’s Xcode components guide puts a Get button beside each platform in Xcode, Settings, Components, a project whose platform has no runtime shows Get next to its run destination, and xcodebuild -downloadPlatform iOS fetches one from the command line. The same pane can delete runtimes, if you prefer clicking to identifiers. If you only build from the command line, the Xcode Command Line Tools carry no simulator runtimes at all, which is the smallest footprint available.
Homebrew download cache
Homebrew keeps every bottle it downloads in a cache under your Library, and no Storage row offers to empty it. The brew manpage says brew cleanup removes downloads older than 120 days by default, so a busy Mac keeps months of bottles. Find the cache and size it first:
du -sh "$(brew --cache)"
brew cleanup -n --prune=all
The cache held 1.7G and the dry run promised to free about the same. It also printed 40 warnings in the form “Skipping aws-c-auth: most recent version 1.1.0 not installed”. On the Homebrew release in our VM, cleanup skipped every outdated formula that way. The real run then emptied the cache:
brew cleanup --prune=all
The other cleanup and maintenance flags are in our Homebrew cheat sheet. In our run the cache went from 1.7G to 44M. --prune=all drops every cached download regardless of age, which costs nothing except a re-download if you reinstall the same bottle:

Our VM image shipped an older Homebrew than the current one. The November 9, 2026 release already lists “cleanup: remove old kegs of outdated formulae”, so an up to date Homebrew keeps only the newest installed version of an outdated formula and removes the older ones, unless they are linked or pinned. Run brew update first and you get that behaviour. Running brew upgrade before brew cleanup is still the order we’d use, because it leaves no outdated kegs at all. If brew isn’t on your PATH at all, fix that first with the Homebrew install guide for Apple Silicon.
Docker VM disks that keep their size
Docker on a Mac runs inside a Linux VM, and the VM’s disk is one file on your Mac. How that file gives space back depends on the runtime. We tested Colima, where the disk is a sparse file under ~/.colima. Find its name, then compare Docker’s own accounting with the file on disk:
ls ~/.colima/_lima/_disks/
docker system df
du -sh ~/.colima/_lima/_disks/colima/datadisk
With four images pulled, Docker reported 5.256GB of images and the datadisk used 5.1G on the Mac. ls -lh on the same file showed 60G, its maximum size, not what it occupies. Then docker system prune -a -f deleted every image and reported 1.35GB reclaimed. The datadisk stayed at 5.1G, and still read 5.1G a minute later:
docker system prune -a -f
colima ssh -- sudo fstrim -av
We ran the second command a minute after the prune, and it is the actual fix. fstrim inside the VM tells the virtual disk which blocks are free, and the Mac can then release them. It trimmed 5.7 GiB on the data mount, and the datadisk dropped from 5.1G to 196M:

Name the profile with -p if you don’t use the default one; ours was msds, so the path in the capture says colima-msds. Prune also removes images you’ll pull again, and -a takes every unused one, not only dangling layers.
Docker Desktop handles this differently. Its Mac FAQ says space is only freed when images are deleted, though reclaiming it on the host might take a few minutes, and that space is not freed automatically when files are deleted inside running containers. It documents docker run --privileged --pid=host docker/desktop-reclaim-space to force the reclaim, and ls -klsh on Docker.raw under ~/Library/Containers/com.docker.docker/Data/vms/0/data to read the real size. If Docker space keeps coming back, the Docker Desktop, OrbStack and Colima comparison compares how the runtimes behave on an M4.
Storage after the cleanup
We trust the Storage pane as the final proof, because it is the number macOS and the updater read. After the snapshot, Xcode and Homebrew steps, the VM reported 80.09 GB used and 54.02 GB available:

Each owner’s share of the 21.5 GB recovered is below, as measured by the tool that removed it. About 8 GB of that total is the file we planted for the snapshot test, so expect a smaller snapshot gain on your own Mac. The Docker row comes from the Colima host and is not part of the pane total:
| Owner | Before | After | Removed with |
|---|---|---|---|
| Time Machine local snapshot | 28Gi free | 37Gi free | tmutil thinlocalsnapshots |
| Simulator runtimes and DerivedData | 29.7G runtimes, 308M DerivedData | 19.1G runtimes, 0 | simctl runtime delete, rm |
| Homebrew cache | 1.7G | 44M | brew cleanup --prune=all |
| Colima datadisk | 5.1G | 196M | docker system prune then fstrim |
| Storage pane total | 101.59 GB used | 80.09 GB used | Snapshot, Xcode and Homebrew steps |
System Data never reaches zero, and it should not. Logs, fonts and the update snapshot stay. When the gray block stays large after this pass and none of these owners explains it, the macOS 27 problems and fixes guide covers the update and indexing faults that also eat disk.
System Data audit checklist
Run this list whenever free space drops below what the next macOS update needs. Each item is a condition you can check, in the order that recovered the most space here:
- The Storage pane total and
df -h /are written down before anything is deleted. sudo du -xhd1 /System/Volumes/Datanames the largest directory, and you have followed it down to an owner.xcrun simctl runtime listshows only runtimes for platforms you build for.- DerivedData is cleared only while Xcode is closed.
tmutil listlocalsnapshots /shows no Time Machine snapshot pinning a large file you already deleted.brew cleanup -n --prune=allreports nothing large left to free.- The Docker VM disk’s real size on the Mac is close to what
docker system dfreports. - The Storage pane, after it finishes calculating, shows the gain you measured with
df.
If any item fails, go back to its section rather than reaching for a cleaner app. The owner is still there, and only its own tool removes it without breaking the thing that wrote it.