BytesweepBlog › macOS internals

macOS internals

Why the System Data number never adds up

Open System Settings, go to General and then Storage, and macOS draws a bar with a grey segment labelled System Data. On a working Mac it is often the largest segment on the bar, it is frequently over 100 GB, and clicking it does nothing at all. That is not a bug, and it is not hiding anything sinister. It is an arithmetic artefact, and once you know how the number is produced its behaviour stops being mysterious.

By Faheen Ahmed · Published 22 September 2026 · Last updated 22 September 2026 · 4 min read · Part of What System Data really is

System Data is a remainder, not a category

macOS classifies files it recognises into the named buckets you see on that bar: Applications, Documents, Photos, Music, Mail, iCloud Drive, Messages, and so on. Each bucket is defined by a specific set of locations and file types.

System Data is everything left over. It is total used space minus the sum of the buckets. Nothing decides that a file belongs in System Data; a file lands there because no other rule claimed it.

That single fact explains most of the confusing behaviour:

  • It changes when you have not touched anything, because the things inside it — caches, snapshots, logs — change on their own.
  • It cannot be opened, because there is no directory to open.
  • Deleting a large file may not reduce it, if that file was being counted in Documents.
  • Two Macs with the same applications installed can differ by 80 GB in this one figure.

What is actually in there

The contents vary by how the machine is used, but on a typical Mac the list is short and the order is fairly stable.

WhatWhere it livesTypical size
APFS and Time Machine local snapshotsNot in the file system you can browse10–80 GB
Xcode build products and device support~/Library/Developer20–60 GB on a dev machine
Docker’s disk image~/Library/Containers/com.docker.docker15–60 GB
Local AI model stores~/.ollama, ~/.cache/huggingface0–200 GB
iOS device backups~/Library/Application Support/MobileSync/Backup5–40 GB per device
Application caches~/Library/Caches2–15 GB
Mail attachments and index~/Library/Mail1–30 GB
System logs and diagnostics/var/log, ~/Library/Logs0.5–5 GB
Swap and the sleep image/var/vm1–20 GB

Snapshots are usually the largest entry and the least visible one, because they are not files in any directory you can list. What APFS snapshots are and why they are invisible covers that, and the sealed read-only volume that accounts for another chunk is dealt with in the sealed system volume.

Getting a number you can act on

Start with the honest total. df reports what the file system knows, in the units the file system uses:

df -H /System/Volumes/Data

Then measure the large directories yourself, which gives you a figure per item rather than one grey bar:

sudo du -xh -d 1 /System/Volumes/Data 2>/dev/null | sort -h | tail -20
du -xh -d 1 ~/Library 2>/dev/null | sort -h | tail -20

-x keeps du on one file system so it does not wander into mounted volumes or network shares and count them twice. Expect the two numbers — df's used figure and the sum of du — to disagree by several gigabytes; why df, du and the Finder never agree explains where the gap comes from.

Why the bar moves while you watch it

Three separate mechanisms update independently, which is why the figure can jump by 20 GB between two glances at the same screen.

  • Snapshots are created hourly and expire after 24 hours, so the amount they hold rises and falls all day.
  • Purgeable space is recalculated lazily. macOS frees it only when something genuinely needs the room, so it can sit in the bar long after the pressure that created it is gone.
  • The bucket sizes themselves are computed in the background by diskarbitrationd and Spotlight metadata, and the answer is cached. A reindex changes the picture without a single byte moving.

None of that is under your control, which is why chasing the number is a poor use of an afternoon. Chasing the directories underneath it is not.

What is safe to reclaim, and what is not

Of the list above, the reliably safe items are Xcode build products, Docker’s reclaimable layers, package manager caches, and old device backups you have since replaced. The reliably unsafe ones are anything in ~/Library/Application Support you cannot identify, the most recent local snapshot if Time Machine is your only backup, and anything inside a running application’s container.

The genuinely dangerous middle ground is the folder that looks like a cache and is not: a Photos library, a Mail index, a local database used by a note-taking application. What is actually safe to delete in ~/Library/Caches draws that line item by item.

Questions

Can I delete System Data?

No, because there is nothing to select. You can only delete the things it is counting, one at a time, from the directories they actually live in.

Why did it grow by 30 GB overnight?

Almost always snapshots, sometimes a Time Machine backup that started and did not finish, occasionally a log that a misbehaving process wrote all night. Check snapshots first with tmutil listlocalsnapshots /.

Does reinstalling macOS fix it?

No. A standard reinstall replaces the system volume and leaves your data volume alone, and System Data is overwhelmingly on the data volume. You would spend an afternoon and get back a few gigabytes.

Why does my Mac report more free space after a restart?

A restart drops swap, the sleep image and a good deal of cached state, and it gives macOS a natural moment to release purgeable space. Several gigabytes is normal.

See all of this on your own disk

Every path on this page is one Bytesweep already knows by name. It measures the whole disk in about ten seconds, shows what is safe and what is not before you touch it, and moves everything it removes to a restore point you can undo for seven days.