If your Mac's internal SSD is running low on space, opening System Settings → General → Storage often reveals an infuriating sight: a massive grey bar labeled System Data consuming anywhere from 60 GB to over 200 GB of your drive. Unlike Documents or Applications, clicking on System Data provides no file list, no inspect button, and no apparent way to clean it.
The good news: System Data is not a permanent mystery. It is a catch-all bucket macOS uses for APFS local snapshots, system-level caches, sandboxed application containers, sleepimages, and developer build logs. In this technical walkthrough, you will learn exactly what files constitute System Data and how to purge them safely without risking operating system stability.

What Exactly is 'System Data' on macOS?
macOS defines System Data by exclusion: any file that does not strictly belong to the user's primary categories (Photos, Music, Podcasts, TV, Books, Apps, or Trash) is categorized as System Data. The five largest real-world culprits are:
- APFS Local Snapshots (
/.snapshots): Delta backups created by Time Machine when your external backup drive is disconnected. They lock deleted disk blocks from being freed. - Application Containers (
~/Library/Containers/): Isolated app sandboxes holding cached streaming video, message attachments, and temporary databases. - System & User Caches (
/Library/Caches/&~/Library/Caches/): Volatile scratch data generated by browsers, creative suites, and background OS processes. - macOS Sleepimage (
/private/var/vm/sleepimage): Full RAM snapshots written to your SSD when MacBooks sleep, claiming 16GB to 64GB of space. - Temporary Variable Folders (
/private/var/folders/): Per-user scratch spaces for compiler objects, QuickLook thumbnails, and font rendering caches.
Step 1: Check and Purge APFS Local Time Machine Snapshots
The single most common reason why deleted files fail to free space is hidden Time Machine snapshots. When you delete a 50 GB folder, APFS preserves the data blocks if a local snapshot was taken within the last 24 hours. You can audit snapshots via Terminal:
Open Terminal and run: tmutil listlocalsnapshots /. If you see a list of date-stamped snapshots (e.g., com.apple.TimeMachine.2026-09-22-140000.local), you can delete them one by one with tmutil deletelocalsnapshots <date>, or automate the entire purge safely using MagicMacCleaner's System Data module.
Step 2: Clean the Bloated Application Containers
Under Apple's sandbox architecture, apps like Telegram, WhatsApp, Spotify, and Chrome store their media cache inside ~/Library/Containers/. To inspect them manually, press Cmd+Shift+G in Finder and navigate to ~/Library/Containers. Sort by size to reveal the worst offenders. Deleting the Data/Library/Caches directory inside these folders will safely clear cached videos and voice notes while keeping your login sessions intact.
Step 3: Clear the Hidden /private/var/folders/ Cache
The /private/var/folders hierarchy is where macOS assigns temporary execution subdirectories for active user sessions. Over time, crashed daemon processes leave behind orphaned temporary directories that can grow to 30 GB+. A safe restart in macOS Safe Mode clears these automatically, or you can use MagicMacCleaner's Level 1 Fast Sweep to purge expired session tokens without restarting.
Pro-Tip: Never Delete System Roots Directly
Never run sudo rm -rf blindly in /System or /private/var/vm. Active swap files in /private/var/vm/swapfile* are locked by the Darwin kernel; deleting them while active will trigger an immediate kernel panic. Use native tools that inspect file descriptors before deletion.
Apple Ecosystem Synergy: Stop iPhone Clutter from Bloating macOS Storage
Because macOS and iOS are deeply integrated through iCloud Photos and AirDrop, clutter on your iPhone inevitably spills over onto your Mac. When your iPhone camera roll is stuffed with duplicate bursts and uncompressed 4K videos, iCloud Photo Library continuously downloads high-resolution caches and database thumbnails into ~/Library/Containers/com.apple.photolibraryd, inflating your Mac's "System Data".
- Clearly Smart Storage Cleaner: Scans your iPhone library using on-device machine learning to compress heavy videos by up to 75%, detect identical and blurry photos, and merge duplicate contacts.
- Swipe Photo Cleaner: Turns tedious camera roll cleanup into a satisfying 5-minute task with intuitive Tinder-like swipe gestures—swipe right to keep, swipe left to delete.
Ecosystem Cleanliness: Two Sides of the Same Coin
Decluttering your iPhone directly relieves pressure on your Mac's iCloud cache and local sync databases, keeping both devices running fast and responsive.
Instant iPhone Storage & iCloud Savings Calculator
Adjust your photo library size, duplicate estimates, and 4K video count to calculate how many gigabytes you can safely reclaim.
