How to clear System Data on Mac
Your Mac's storage screen says System Data is using 80, 150 or 300 GB, and gives you no way to open it. This guide shows what is inside, how to measure each part yourself in Terminal, and how to clear it without breaking anything.
Short answer. System Data is everything macOS can't file under Apps, Documents, Photos or another named category. When it is very large, the cause is almost always one of six things: local snapshots, app caches, Docker, Xcode, downloaded AI models, or old iPhone backups. Each one can be measured and cleared on its own. There is no single "clear System Data" button in macOS.
What is System Data on a Mac?
Open System Settings › General › Storage. The bar splits your disk into Apps, Documents, Photos, macOS and so on. System Data (called "Other" before macOS Monterey) is the leftover: files that belong to the system or to apps but aren't your documents. macOS shows one number for it and no list.
What usually sits inside:
| What | Where it lives | Can you clear it? |
|---|---|---|
| Local Time Machine snapshots | Hidden, on the APFS volume | Review You lose the ability to restore from those hours |
| macOS update snapshots | Hidden, on the APFS volume | Review You lose the roll-back for that update |
| App caches | ~/Library/Caches | Safe Apps rebuild them |
| Docker images and volumes | ~/Library/Containers/com.docker.docker | Review Unused images re-download; volumes hold data |
| Xcode build data and simulators | ~/Library/Developer | Safe Xcode rebuilds it |
| AI models (Ollama, Hugging Face, LM Studio) | ~/.ollama, ~/.cache/huggingface | Review They re-download, but they are large |
| iPhone and iPad backups | ~/Library/Application Support/MobileSync/Backup | Review Keep the latest one you need |
| App support data | ~/Library/Application Support, ~/Library/Containers | Review App by app; this is real app data |
| Swap and the sleep image | /private/var/vm | Keep macOS manages these |
| System files and temporary folders | /System, /private/var/folders | Keep A restart clears what can be cleared |
Step 1: See what is taking the space
Open Terminal (Applications › Utilities). These commands only read sizes; they delete nothing.
The biggest folders in your Library, largest last:
du -sh ~/Library/* 2>/dev/null | sort -h | tail -15
The biggest caches:
du -sh ~/Library/Caches/* 2>/dev/null | sort -h | tail -15
Snapshots, which no folder listing will show you:
tmutil listlocalsnapshots /
diskutil apfs listSnapshots /System/Volumes/Data
Terminal needs Full Disk Access (System Settings › Privacy & Security) to read some of these folders. Without it, the numbers come out too small.
Step 2: Clear each part
Go from the top. The first three are where most of the space usually is. Where a command moves files, it moves them to the Trash, so you can put them back until you empty it.
1. Local Time Machine snapshots Review
If Time Machine is on, macOS keeps hourly snapshots on your internal disk for about a day. They are meant to be freed automatically when space runs low, but they often are not freed fast enough. Deleting them does not touch the backups on your backup drive.
sudo tmutil deletelocalsnapshots /
2. macOS update snapshots Review
Before an update, macOS takes a snapshot so it can roll back. Sometimes one stays behind and holds tens of GB. List them, then delete by name:
diskutil apfs listSnapshots /System/Volumes/Data
sudo diskutil apfs deleteSnapshot /System/Volumes/Data \
-name com.apple.os.update-MSUPrepareUpdate
Snapshots can't go to the Trash. Once deleted, that roll-back point is gone.
3. App caches Safe
Browsers, Spotify, Slack and most other apps keep caches here. Quit the app first, then move its cache folder to the Trash. The app builds a new one the next time it runs.
mv ~/Library/Caches/com.spotify.client ~/.Trash/
Don't delete the whole Caches folder in one go while apps are running.
4. Docker Review
Docker keeps everything in one disk image that grows and rarely shrinks. See what is in it, then remove images, containers and build cache that nothing is using:
docker system df
docker system prune -a
Add --volumes only if you are sure no volume holds a database you need.
5. Xcode Safe
Build products and simulators for old iOS versions pile up. Xcode recreates build data on the next build.
mv ~/Library/Developer/Xcode/DerivedData ~/.Trash/
xcrun simctl delete unavailable
6. AI models Review
One local model is often 5 to 40 GB. List what you have and remove the ones you no longer run:
ollama list
ollama rm <model name>
du -sh ~/.cache/huggingface/hub/* | sort -h
7. Old iPhone and iPad backups Review
Each backup can be as large as the phone. In Finder, select your iPhone, choose Manage Backups, and delete the ones you don't need. Or look at the sizes directly:
du -sh ~/Library/Application\ Support/MobileSync/Backup/*
8. Restart
A restart clears swap files and temporary folders that nothing else will. If your Mac has been up for weeks, do this before measuring again.
What you should never delete. Anything in /System, the swap files and sleep image in /private/var/vm, and /private/var/folders. Don't run rm -rf on a Library folder because a forum post said so: use mv … ~/.Trash/ so you can undo it. And don't delete folders in ~/Library/Application Support unless you know which app they belong to; that is where apps keep real data, not caches.
The faster way: let Kura do the measuring
Kura is a small Mac app built for exactly this. It scans System Data and names every part of it, with sizes: each snapshot, each cache, Docker, Xcode, each AI model, each backup. Every item is marked Safe, Review or Keep, with one line on what you give up by removing it and the exact command Kura would run.
The scan is free and shows everything on this page for your own Mac. Kura Pro (₹1,299 once, no subscription) clears what you select in one click, moving files to the Trash first.
Common questions
Why is System Data so large on my Mac?
Usually because of one or two big things rather than many small ones: local Time Machine or update snapshots, a Docker disk image, Xcode build data, downloaded AI models, or old iPhone backups. A few tens of GB of System Data is normal. A hundred GB or more nearly always has a specific cause you can find with the commands above.
Is it safe to delete System Data?
Parts of it, yes. Caches and Xcode build data are rebuilt when needed. Snapshots, Docker data, AI models and backups are safe to remove if you accept what you lose: a restore point, an image that has to download again, or a backup. Swap files, the sleep image and anything in /System should be left alone.
Does restarting a Mac reduce System Data?
A little. A restart clears swap files and temporary folders, which can free a few GB. It does not remove snapshots, caches, Docker data, models or backups.
Why did System Data not shrink after I deleted files?
Two common reasons. The files are still in the Trash, so empty it. Or a local snapshot still holds the old copies: space taken by deleted files stays in use until the snapshots that contain them are deleted or expire.
Is there a built-in way to clear System Data on macOS?
No. System Settings › General › Storage shows the size of System Data but has no list and no clear button. Its recommendations cover documents, apps and the Trash, not System Data.
Does Safe Mode clear System Data?
Starting in Safe Mode clears some system caches, which can free a small amount. It does not remove the large items such as snapshots or Docker data.