System & storage

Mac System Data: what it is and how to clear it safely

System Data is an Apple storage category, not a folder. On macOS it bundles caches, logs, local Time Machine snapshots, iOS backups, app support files and developer artifacts. You cannot delete the category itself — you shrink it by clearing specific contributors you can identify, never by deleting ~/Library as a whole.

Updated 2026-10-27

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:

ContributorTypical locationSafe to remove?
App caches~/Library/CachesYes, apps regenerate them
Time Machine local snapshotsAPFS snapshots on the startup diskYes, but you lose local recovery points
iOS device backups~/Library/Application Support/MobileSync/BackupYes, if you have iCloud or another backup
Xcode DerivedData / Archives~/Library/Developer/XcodeDerivedData yes; Archives only if you no longer need them
Docker disk image~/Library/Containers/com.docker.dockerReclaimable with docker system prune, not by deleting the file
Local AI models~/.ollama/models, ~/.cache/huggingfaceYes, models can be downloaded again
App support data~/Library/Application SupportNo — 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/Library and /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.

FAQ

Frequently asked questions

Is it safe to delete System Data on a Mac?

You cannot delete System Data as a single item — it is a category Apple reports. It is safe to clear identified contributors such as caches, old local snapshots, stale backups and developer build artifacts. Bulk-deleting Library folders is not safe.

Why did System Data suddenly get much larger?

Common causes are macOS updates (old system files and caches), Time Machine local snapshots, a large iOS backup, Docker images, local AI models, or Xcode build artifacts. Check the folder breakdown before assuming it is a bug.

Does restarting the Mac reduce System Data?

A restart clears temporary files and forces macOS to recalculate the storage categories, but it does not remove caches, snapshots or backups. The number may change slightly, not dramatically.

Can I delete the ~/Library/Caches folder itself?

Delete its contents rather than the folder. macOS and apps recreate cache directories automatically, but removing the folder while an app is running can cause that app to misbehave until it is restarted.

Does Maclean remove System Data automatically?

Maclean does not bulk-delete Library folders. It scans known cache, snapshot, backup and developer-artifact locations, labels each item with what happens if it is removed, and only deletes what you select — large files go to the Trash so they can be restored.

Preview first, then clean safely

Maclean breaks down caches, app data, large files and APFS snapshots, and labels the risk of every item before deletion.

Download for Mac→