The number nobody can explain

Open System Settings → General → Storage on macOS 13 or later and you get a coloured bar: Applications, Documents, Photos, Messages, macOS — and then a grey block called System Data. On my own Mac it has been anywhere between 20 GB and 130 GB. Click it and macOS gives you no breakdown at all. Just a size.

That grey bar is the reason I started building Klarity, a Mac disk space analyzer, in the first place. It is not a bug, and it is not a virus, and it is almost never something you need to panic about. But it is genuinely unhelpful, so here is what is hiding in there.

What System Data actually is

System Data is not a folder. It is a leftover bucket: everything on your disk that macOS could not confidently assign to one of the named categories gets counted here. In practice that means:

Notice how much of that lives in one place: ~/Library, the Library folder inside your home folder. That is where you should look first.

How to actually see inside it

One thing to know about the current version of Klarity (1.2): macOS marks ~/Library as hidden, and the scanner skips hidden folders, so a plain Home scan does not show ~/Library and the total looks suspiciously small. That is a limitation I am removing. Version 1.3 is in App Review as I write this, and hidden-folder scanning, with a Library shortcut in the folder menu, is planned for the update after it. Until then there is a one-step workaround.

The fix is simple: scan ~/Library as the root of its own scan. In Klarity, choose Choose Folder…, and in the open panel press Cmd + Shift + G and type ~/Library (or press Cmd + Shift + . to reveal hidden folders and click through). Scanning a folder as the root always works, hidden or not. Then let the treemap do its job: the biggest rectangles are your answer, and you can drill into Caches, Developer and Containers from there.

Klarity's treemap of a Mac folder scan, with each folder drawn as a rectangle sized by the space it uses and coloured by age
Klarity's treemap view. Pointed at ~/Library, the Caches, Developer and Containers folders are usually the three biggest rectangles.

To double-check any number without an app, Finder can show one folder at a time: Go → Go to Folder… (Cmd + Shift + G), type ~/Library, select a folder and press Cmd + I to see its size.

A useful trick

Klarity’s age heatmap colours everything by last-modified date. Point it at ~/Library and the stale material stands out immediately — caches for apps you uninstalled two years ago, simulator runtimes for an iOS version nobody targets any more. Old and large is the combination worth acting on.

A word of caution about hidden folders

Folders are hidden for a reason: they belong to apps and to macOS, not to you, and the names inside them rarely say what they do. Before trashing anything in ~/Library, quit the app that owns it, and if you cannot say which app that is, leave the folder alone. Klarity only moves items to the Trash, so a mistake is recoverable right up until someone empties it — but an app that suddenly cannot find its settings or its data will not tell you why. The safe targets are the ones named in the next section; everything else in there deserves the benefit of the doubt.

To put a number on it: on my own Mac, ~/Library/Caches was 9.7 GB and ~/Library/Developer was 91 GB — almost all of it simulator runtimes and DerivedData. That is a hundred gigabytes of “System Data” explained by two folders.

What is safe to clear

These are the things I delete on my own machine without hesitating:

Worth saying plainly how Klarity behaves here, because deletion tools deserve scrutiny: Klarity only ever moves items to the Trash, and only after you confirm — anything over 1 GB needs a deliberate slide to confirm. It never empties the Trash for you, and it never touches system folders on its own initiative. If you change your mind, the file is still there.

What to leave alone

Some of System Data is load-bearing. Do not go near:

The rule I use: if I cannot name what created a folder and why, I leave it. Reclaiming four gigabytes is not worth an afternoon of reconfiguring an app.

Why the numbers will never match

Once you start measuring, you will find the figure in Storage settings does not agree with what a folder scan reports. That is expected, not an error in either tool.

Storage settings counts purgeable space — material macOS is willing to evict automatically when you need room — and it counts APFS snapshots, which are not files you can walk to. A scanner walks directories and adds up what is really there. The two are answering slightly different questions, so treat Storage settings as the headline and a folder scan as the explanation. When they disagree by tens of gigabytes, local snapshots are usually the difference.

In short

System Data is not mysterious once you look at it. It is mostly caches, mostly Xcode if you are a developer, and mostly recoverable. Scan ~/Library as its own root, sort by size, check the dates, and deal with the two or three folders that account for nearly all of it. Then stop — the long tail is not worth the risk.

Klarity Disk is $6.99 on the Mac App Store, one payment, and it makes that particular scan about a thirty-second job. If you hit something I have not covered here, get in touch — I answer my own support mail.

Questions people ask

Can I delete System Data on a Mac?

Parts of it. The safe targets are app caches in ~/Library/Caches, Xcode DerivedData and old simulator runtimes, local Time Machine snapshots, and the Trash. Preferences, Keychains, Application Support for apps you use, and app Containers are real data, not cache, and should stay.

Why is my System Data 100 GB or more?

Almost always one of three things: Xcode simulator runtimes and DerivedData if you write software, local Time Machine snapshots waiting to be thinned, or a single app's cache that has grown unchecked. Scan ~/Library sorted by size and the answer is usually the top two folders.

Why does System Data not match what a folder scan shows?

Storage settings counts purgeable space and APFS snapshots, which are not files a scanner can walk to. A folder scan adds up what is really on disk. Treat Storage settings as the headline and the scan as the explanation; local snapshots are usually the gap.

Will System Data come back after I clear it?

Some of it, yes. Caches are rebuilt as you use apps, and snapshots are created every hour while Time Machine is on. That is normal. What should not come back is the stale material: old simulator runtimes, caches for apps you removed, and backups of devices you no longer own.

For the wider job of freeing up space, see how to clean up Mac storage safely and how to find large files on a Mac.

— Mukul