Key points
- Open System Settings > General > Storage to see the current split; System Data can take a minute to calculate.
- The biggest safe wins are app caches, local APFS snapshots, old iOS backups and developer caches (Xcode, Docker, node_modules).
- Do not delete ~/Library/Application Support, ~/Library/Containers or ~/Library/Keychains in bulk — those hold real app data and credentials.
- After cleaning, empty the Trash and restart once so macOS recalculates the category.
What macOS counts as System Data
“System Data” is not a directory you can open in Finder. It is a catch-all category in System Settings → General → Storage for everything macOS does not classify as Apps, Documents, Photos, Music, Mail, Messages or “Other”.
In practice it includes:
- App and system caches, logs and temporary files
- Local Time Machine snapshots stored on the startup disk
- iOS and iPad backups
- App support data and containers that macOS does not attribute to a specific category
- Developer build artifacts such as Xcode DerivedData and simulator data
- Virtual machine disks (Docker Desktop, UTM, Parallels)
- Local AI model files
- System-managed files such as swap and sleep images
Because the category is a bucket rather than a location, “clear System Data” is really a process of finding the contributors and removing the ones that are safe to remove.
Why System Data keeps growing
On a typical Mac, the usual suspects are predictable:
| Contributor | Typical location | Safe to remove? |
|---|---|---|
| App caches | ~/Library/Caches | Yes, apps regenerate them |
| Time Machine local snapshots | APFS snapshots on the startup disk | Yes, but you lose local recovery points |
| iOS device backups | ~/Library/Application Support/MobileSync/Backup | Yes, if you have iCloud or another backup |
| Xcode DerivedData / Archives | ~/Library/Developer/Xcode | DerivedData yes; Archives only if you no longer need them |
| Docker disk image | ~/Library/Containers/com.docker.docker | Reclaimable with docker system prune, not by deleting the file |
| Local AI models | ~/.ollama/models, ~/.cache/huggingface | Yes, models can be downloaded again |
| App support data | ~/Library/Application Support | No — this is real app data |
Developer machines are the extreme case: Xcode, Docker, Node and AI tooling can easily add 50–150 GB of regenerable files that macOS reports as System Data.
How to clear System Data safely
1. Measure before deleting
Start with the built-in view, then get a folder-level breakdown:
du -xhd 1 ~/Library | sort -hr | head -20
du -xhd 1 ~/Library/Developer | sort -hr | head -20
du reports disk usage, -x stays on one filesystem and -d 1 limits depth. If a single folder is unexpectedly huge, inspect it before removing anything.
2. Clear app caches
Quit the apps you are about to clean, then remove the contents of ~/Library/Caches. Caches exist to be regenerated: removing them costs a little extra work on next launch, not data.
Do not remove ~/Library/Caches itself, and skip caches belonging to apps that are currently running.
3. Delete old local snapshots
Time Machine keeps local snapshots on the startup disk when it cannot reach its backup destination. They can hold tens of gigabytes and are invisible in Finder.
tmutil listlocalsnapshots /
sudo tmutil deletelocalsnapshots com.apple.TimeMachine.2026-10-20-120000.local
Only delete snapshots you do not need for local rollback. The full walkthrough is in how to delete Time Machine snapshots.
4. Clean developer artifacts
The highest-yield commands for a development Mac:
# Xcode build products (regenerated on next build)
rm -rf ~/Library/Developer/Xcode/DerivedData/*
# Simulator runtimes that no longer match an installed Xcode
xcrun simctl delete unavailable
# Docker build cache and unused images
docker system prune -af
# Package manager caches
npm cache verify
docker system prune -af deletes all unused images, not just build cache — read the prompt before confirming. For a full breakdown, see Xcode DerivedData.
5. Remove backups you no longer need
du -sh ~/Library/Application\ Support/MobileSync/Backup/*
Each folder is a device backup. Delete the ones for devices you no longer own or that are backed up to iCloud.
6. Uninstall apps and their leftovers
Dragging an app to the Trash leaves its Application Support data, caches and login items behind. Removing the app plus its leftover folders is often worth several gigabytes. The exact paths are covered in how to uninstall apps on a Mac.
Finish by emptying the Trash and restarting once so macOS recalculates the storage view.
What not to delete
These folders look like clutter but hold real data or break the system:
~/Library/Application Support— app databases, profiles and project data~/Library/Containers— sandboxed app data, including Messages and some browser data~/Library/Keychains— passwords and certificates/System/Libraryand/private/var/db— protected system data~/Library/Developer/Xcode/Archives— the only copy of shipped builds unless you use a CI artifact store- Your Photos library, Mail data or any folder you did not create
If a “cleaner” offers to remove all System Data in one click, it is either deleting caches you could have cleared yourself or deleting data you will miss.
How Maclean handles System Data
Maclean treats System Data as a set of known contributors rather than a folder to delete. It scans app caches, developer toolchain caches, large files, APFS snapshots and app leftovers, then labels every item with what happens if you delete it — regenerable, needs a re-download, or contains user data that requires confirmation.
Two details matter for safety:
- Large files are moved to the Trash, not permanently deleted, and can be restored from the app’s history.
- Protected applications (Apple system apps, security tools) are excluded before you ever see a delete option.
The free CLI gives you the same scan without a GUI:
maclean check-disk --breakdown
maclean scan --deep
maclean clean --tab dev-cache --dry-run
The Mac app adds storage history, growth trends and a forecast, so you can see whether System Data is growing steadily or jumped after a specific event. Everything is processed locally — file names and paths are not uploaded.
Bottom line
System Data shrinks when you remove the specific things inside it that are safe to remove: caches, local snapshots, old backups and regenerable developer artifacts. It does not shrink from deleting ~/Library, and any tool that promises that is a risk rather than a shortcut. Measure first, delete in small batches, and keep the Trash as your undo button.