Skip to content
GEEKnodes

macOS

Mac "System Data" Takes Up Space: What It Is and How to Cut It

What Mac "System Data" holds and how to free space safely: Time Machine snapshots, caches, iPhone backups, Xcode files and what you should not touch.

You open the storage panel and a gray bar called System Data eats 60, 80 or more gigabytes. It is not macOS itself but a junk drawer for everything the Mac cannot classify. Here you will see what is inside, how to reduce it with safe tools and which folders you must not touch.

In short

  • “System Data” mixes local Time Machine snapshots, caches, logs, virtual machines and development files.
  • You usually recover most with tmutil for snapshots, user caches and Xcode folders.
  • Never delete anything inside /System, /private/var/vm or /Library with sudo rm.

What “System Data” is

Under System Settings › General › Storage, macOS splits the disk into categories: Applications, Documents, Photos, iOS Files, Developer… Whatever fits none goes into System Data (called “Other” in older versions).

Mac storage bar with the gray System Data segment broken down into snapshots, caches, logs, swap and Xcode
“System Data” is a junk drawer: part of it can be reduced, not all

It usually contains:

ContentWhere it livesCan it be reduced?
Local Time Machine snapshotsSystem volume (APFS)Yes, with tmutil
App and browser caches~/Library/CachesYes, with the apps closed
Logs/private/var/log, ~/Library/LogsLittle; macOS rotates them itself
Swap and sleep memory/private/var/vmNo, macOS manages it
Virtual machines and container imagesEach program’s foldersYes, from the program itself
Xcode and simulator data~/Library/DeveloperYes
Files of apps in containers~/Library/ContainersOnly from the app

An important detail: the panel takes a while to calculate and sometimes shows stale figures. Restart the Mac before drawing conclusions; on startup, macOS frees swap and part of the purgeable space.

See the real space from Terminal

The panel mixes free space with “purgeable” space (which macOS can free when needed). To see what is really there:

df -h /

And to find what weighs most inside your home folder, Library included:

du -sh ~/Library/* 2>/dev/null | sort -h | tail -15
du -sh ~/Library/Caches/* 2>/dev/null | sort -h | tail -15

du only reads, it deletes nothing. If Terminal gives permission errors, grant it Full Disk Access under System Settings › Privacy & Security.

Local Time Machine snapshots

If you use Time Machine, macOS keeps local snapshots on the internal disk so you can recover files even when the backup drive is not connected. It normally deletes them itself when space runs low, but sometimes they pile up and show as System Data.

The Mac's internal disk holds local Time Machine snapshots; tmutil removes them without touching the external drive backups
tmutil deletes snapshots on the internal disk; external drive backups are untouched

To list them:

tmutil listlocalsnapshots /

Each line is a snapshot with its date, for example com.apple.TimeMachine.2026-07-20-101530.local. To delete a specific one, use just the date:

sudo tmutil deletelocalsnapshots 2026-07-20-101530

If you prefer macOS to decide, ask it to free an amount of space (in bytes) with the highest urgency, 4:

sudo tmutil thinlocalsnapshots / 20000000000 4

That example tries to free about 20 GB. External drive backups are not touched: only snapshots on the internal disk are removed. There are more tmutil commands in the complete Time Machine guide.

User caches

~/Library/Caches stores data apps can regenerate: thumbnails, temporary downloads, browser cache. Deleting its contents is safe, with caveats:

  1. Quit the app whose cache you are deleting.
  2. In the Finder, press Shift + Cmd + G and type ~/Library/Caches.
  3. Delete the subfolders of the apps that take up the most, not the whole Caches folder.
  4. Empty the Trash and restart.

The first time you open those apps again they will be a bit slower while rebuilding the cache. That is normal. If a cache grows back right away, the problem is the app, not the Mac.

For browsers, use their own clear browsing data option: that way you do not lose sessions or passwords by accident.

iPhone and iPad backups

Local backups of iOS devices can take tens of gigabytes each. They usually appear under iOS Files, but it is worth checking:

  1. Under System Settings › General › Storage, click the info button next to iOS Files.
  2. Select backups of devices you no longer own and delete them.

You can also do it from the Finder: connect the iPhone, select it in the sidebar and click Manage Backups. The backups live in ~/Library/Application Support/MobileSync/Backup; do not move or rename that folder by hand, or the Finder will stop recognizing them.

Xcode and development tools

If you program, this is usually the biggest hole. All of this regenerates itself:

FolderWhat it holdsEffect of deleting
~/Library/Developer/Xcode/DerivedDataIntermediate buildsThe next build takes longer
~/Library/Developer/Xcode/iOS DeviceSupportSymbols for each iOS version you connectedCopied again when you connect the device
~/Library/Developer/CoreSimulator/CachesSimulator cachesNothing relevant
~/Library/Developer/Xcode/ArchivesArchived buildsYou lose the dSYMs needed to read crash reports

Simulators for versions you no longer have installed are removed like this:

xcrun simctl delete unavailable

Virtual machines and container images behave the same way: a single huge file that does not shrink just by deleting things inside. Clean them with the program’s own maintenance option, never by deleting the disk file by hand.

Optimized storage

Under System Settings › General › Storage, in Recommendations, macOS offers:

  • Store in iCloud: keeps Desktop and Documents files and full-size photos in the cloud and downloads them when you open them.
  • Optimize Storage: removes movies and shows you have watched in the TV app.
  • Empty Trash Automatically: deletes items that have been in the Trash for 30 days.

These options free space in other categories, but they help macOS avoid having to purge snapshots and caches in a hurry.

What not to touch

PathWhy
/SystemSealed, protected volume; macOS will not let you and you should not try
/private/var/vmSwap and sleep file; macOS manages them
/Library (root)Extensions, profiles and system settings
~/Library/ContainersApp data; delete it from the app or by uninstalling
~/Library/Mobile DocumentsThis is iCloud Drive; deleting here deletes in the cloud

Be wary of any recipe with sudo rm -rf on system folders. If you do not know what a file does, leave it.

Common mistakes

  • Deleting the whole ~/Library/Caches folder with apps open. Some fail until restart.
  • Trusting the panel’s figure without restarting. It often drops on its own after a restart.
  • Turning off Time Machine to remove snapshots. Better use tmutil thinlocalsnapshots, and you keep your backups.
  • Using “cleaner” programs that delete things without telling you what. What they do well you can do yourself with du and the Finder.
  • Deleting Xcode’s Archives of published apps and then being unable to interpret crash reports.
  • Forgetting to empty the Trash. Until then, space is not freed.

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor