Guide · Mac
How to clear System Data on Mac
System Data is the grey bar in your Mac's storage settings that keeps growing and won't say why. Here is what is inside it, what is safe to remove, and how to get the space back.
The short answer
System Data is everything macOS can't file under another category: caches, logs, temporary files, local Time Machine snapshots, swap files and app support data. You can't delete it as one thing, but you can shrink it.
- Restart your Mac to clear swap and temporary files.
- Delete local Time Machine snapshots.
- Clear app caches and old logs in your Library folder.
- Remove developer leftovers like Xcode DerivedData and old simulators.
- Delete iPhone and iPad backups you no longer need.
What is System Data on a Mac?
System Data is a catch-all. When macOS adds up your storage, it sorts files into categories like Applications, Documents, Photos and macOS itself. Anything that doesn't fit a category lands in System Data. Apple describes it as system files such as logs, caches and virtual memory files, along with temporary files, fonts, app support files and plug-ins, managed by macOS and changing in size with the state of your Mac.
In practice, the biggest pieces are usually these:
- Caches. Apps keep copies of things they've downloaded or worked out, in
~/Library/Caches, so they open faster next time. - Local Time Machine snapshots. If you back up with Time Machine, macOS keeps snapshots on your internal disk between backups.
- Swap and sleep files. When memory runs short, macOS writes memory to disk. These files shrink again after a restart.
- Logs. Apps and macOS write logs all the time; most rotate on their own, some don't.
- Developer files. Xcode build data, simulators, device support files and Docker's disk image can each run to tens of gigabytes.
- Device backups. iPhone and iPad backups made in Finder live in your Library folder.
How to see how big System Data is
- Open the Apple menu and choose System Settings.
- Click General in the sidebar, then Storage.
- Wait for the bar at the top to finish calculating, then hold the pointer over the grey part to see System Data.
The number can take a minute to settle and often moves between visits. That's normal: caches, swap and snapshots come and go on their own.
The categories under the bar can be cleared, System Data can't. Click the info button next to Applications or Documents and macOS lets you review and delete files. There is no such button for System Data, which is why the steps below go folder by folder.
Why System Data gets so big
Most Macs that end up with 100 GB or more of System Data have one or two of these going on:
- Time Machine snapshots holding deleted files. Files you delete can stay in a local snapshot, still taking space, until the snapshot expires.
- Weeks without a restart. Swap files grow under memory pressure and only reset when you restart.
- Developer tools. Xcode's DerivedData, iOS simulators and device support files, Docker images and package caches from npm, pnpm, Cargo or Go add up quickly.
- Apps that cache heavily. Browsers, Slack, Spotify, Adobe apps and games can each keep several gigabytes.
- Old device backups. Every iPhone and iPad you've backed up to this Mac keeps a full backup until you delete it.
How to clear System Data, step by step
Work through these in order. The first steps are the safest and often free the most.
1. Restart your Mac
Choose Apple menu > Restart. A restart clears swap files and many temporary files. If you haven't restarted in weeks, this alone can free several gigabytes. Check Storage again afterwards so you have a fair starting number.
2. Delete local Time Machine snapshots
macOS removes local snapshots by itself when space runs low, but they still count as used space until then. To see them, open Terminal and run:
tmutil listlocalsnapshots /
Each line ends in a date, like com.apple.TimeMachine.2026-10-20-101530.local. To delete one, pass its date:
sudo tmutil deletelocalsnapshots 2026-10-20-101530
Type your Mac's password when asked; nothing shows as you type. Your backups on the Time Machine drive itself are not affected.
3. Clear app caches
- Quit the apps you use most.
- In Finder, choose Go > Go to Folder (or press Shift Command G) and enter
~/Library/Caches. - Open the folders of the apps taking the most space and move their contents to the Trash. Leave the Caches folder itself in place.
Apps rebuild their caches as you use them, so the first launch afterwards can be a little slower. That's expected.
4. Clear old logs
Go to ~/Library/Logs the same way. Old logs and crash reports from apps you no longer use are safe to delete. Logs are usually small, but an app stuck in a loop can write gigabytes.
5. Remove developer leftovers
If you write code or have ever installed Xcode, this is often the biggest win.
- Xcode DerivedData at
~/Library/Developer/Xcode/DerivedDataholds build products. Xcode rebuilds them on the next build. - Old simulators. Remove simulators for runtimes you no longer have:
xcrun simctl delete unavailable - Device support files in
~/Library/Developer/Xcode/iOS DeviceSupportare re-created when you next connect a device. - Package caches.
npm cache clean --force,pnpm store pruneandbrew cleanupclear what each tool can download again. - Docker.
docker system pruneremoves stopped containers, unused networks, dangling images and build cache.
6. Delete old iPhone and iPad backups
- Connect any iPhone or iPad, or just open Finder.
- Select the device in the Finder sidebar, then click Manage Backups on the General tab.
- Choose the backups you no longer need and click Delete Backup.
Backups live in ~/Library/Application Support/MobileSync/Backup. Delete them through Finder rather than by hand, and keep the latest backup of any device you still use.
7. Empty the Trash
Everything above goes to the Trash first. The space only comes back once you empty it: Control-click the Trash in the Dock and choose Empty Trash.
What not to delete
Some folders look like clutter but hold things your Mac needs. Leave these alone:
/Systemand/Libraryat the top of the disk. macOS protects most of it anyway, and the rest belongs to the system and your apps.~/Library/Application Supportas a whole. It holds app settings and data, not just caches. Remove a single app's folder only after you've deleted that app.~/Library/Keychainsand~/Library/Containers. Passwords, and the data of sandboxed apps like Mail and Notes.- Anything inside a code project or a cloud folder. iCloud Drive, Dropbox and project folders sync or build from those files.
The fast way: let Safai do it
Safai's Smart scan finds the caches, logs, Xcode build data, package caches and Trash behind System Data, lists them biggest first, and clears them in one click. Nothing is deleted outright: it all waits in Safai Trash, so you can put any of it back. It never touches your code, synced folders, keychains or device backups.
$29.99 once, for Mac and Windows. No subscription.
Get Safai, from $29.99Questions
Is it safe to delete System Data on a Mac?
Not as one block, and macOS will not let you anyway. Parts of it are safe to clear: app caches, old logs, local Time Machine snapshots, developer build files and old device backups. Leave the system folders, Application Support, Keychains and Containers alone.
Why is System Data so big on my Mac?
Usually a mix of local Time Machine snapshots, app caches, swap files after a long time without a restart, and files from developer tools like Xcode, simulators and Docker. Old iPhone and iPad backups can add tens of gigabytes too.
Does restarting a Mac clear System Data?
Partly. A restart clears swap files and many temporary files, which can free several gigabytes. Caches, snapshots, backups and developer files stay until you remove them.
Why did System Data grow after I deleted files?
Files you delete can still be held by a local Time Machine snapshot, which macOS counts as System Data until the snapshot expires or space runs low. Deleting old local snapshots releases that space.
How much System Data is normal?
There is no fixed number; it depends on your apps and how you use your Mac. What matters is the trend. If it keeps growing by tens of gigabytes, something is piling up, usually snapshots, caches or developer files.