How to Clear System Data on Mac: Step-by-Step Guide
How to Clear System Data Safely
When your Mac displays the "Disk Almost Full" alert and System Data consumes 40GB, 80GB, or more of your internal SSD, here is what you need to know:
- Zero Risk to macOS: Apple seals core operating system files on a read-only volume behind digital security glass. Clearing user caches in your home directory cannot break macOS.
- Top Cultprits: Stale app caches in
~/Library/Caches, local Time Machine APFS snapshots, orphaned containers from uninstalled apps, and developer build folders. - Typical Recovery: Following the steps in this guide safely reclaims between 20GB and 80GB of disk space without deleting personal photos or documents.
- The 1-Click Alternative: If you prefer not to dig through hidden Library folders manually, use a native utility like DiskCompanion ($29 one-time purchase, zero background daemons).
It is one of the most frustrating experiences on a Mac: you open Storage settings, and a giant gray bar labeled "System Data" is devouring 50GB, 100GB, or even half of your entire internal SSD.
You click on it, but there is no simple button labeled "Clean." Why does this clutter pile up, and how do you reclaim your space without accidentally breaking anything? In this guide, we break down what System Data actually contains and share safe, practical steps tested hands-on in real daily use. You can also estimate your potential space recovery with our free Mac System Data Estimator.
What is "System Data" on a Mac, Really?
On modern Macs, macOS categorizes anything as "System Data" that does not fit neatly into standardized categories like Applications, Photos, Documents, or Music. It is not a single giant file, but an umbrella label for thousands of small and medium files scattered across your drive:
1. Application Caches & Streaming Buffers
Web browsers, Spotify, Slack, and video apps cache images, audio streams, and web scripts in ~/Library/Caches so content loads faster on subsequent visits. Over months, these caches quietly grow to 20GB+.
2. Orphaned App Support & Containers
When you drag an application to the Trash, its hidden support folders and settings stay behind in ~/Library/Containers and Application Support. Learn more in our guide on why dragging apps to Trash leaves leftover files.
3. Local Time Machine APFS Snapshots
When your external backup drive is disconnected, macOS silently creates temporary hourly backup snapshots directly on your internal SSD, labeling them as System Data or purgeable space.
4. Developer & Creative Build Artifacts
Xcode build caches (DerivedData), iOS simulator runtimes, Homebrew download caches, and Adobe scratch files can rapidly consume 50GB to 100GB of unmonitored disk space.
When System Data expands unchecked, your drive can suddenly drop to zero free space. If macOS is already showing emergency alerts or applications have started freezing, follow our step-by-step triage on how to fix a Mac startup disk that is almost full immediately.
Safety First: Apple's "Two-Vault System"
Many Mac owners hesitate to clean System Data because of a common fear: "What if I delete something essential and my Mac refuses to restart?"
Here is reassuring news. On modern Macs, Apple employs a strict Two-Vault System:
Why Your Operating System Is Completely Protected
- The Sealed System Vault (Apple's Vault): The core macOS operating system lives on a dedicated, cryptographically signed, and read-only volume called the Signed System Volume (SSV). This volume sits behind digital security glass. Neither you nor any disk cleaning utility can modify or erase these system files, even with administrator credentials.
- Your Personal Data Vault: This is where your documents, pictures, downloaded files, and user caches reside. All cleanup operations happen strictly inside this personal data space.
It is technically impossible to prevent your Mac from booting simply by clearing user caches or removing stale Time Machine snapshots.
8 Steps: How to Clear System Data on Mac Manually
If you want to perform a thorough manual spring cleaning through the Finder, follow these eight tested steps:
Step 1: Empty User Application Caches in Finder
This step often delivers the quickest immediate storage recovery:
- Open the Finder.
- Press
Command + Shift + Gon your keyboard (or click Go > Go to Folder... in the menu bar). - Enter
~/Library/Cachesand press Return. - You will see hundreds of folders for installed applications. Look inside folders for heavy apps like web browsers, Spotify, Slack, and video editors.
- Select the files inside those individual folders, drag them to the Trash, and empty the Trash. Avoid deleting the top-level
~/Library/Cachesfolder itself.
For detailed guidelines on which caches are completely safe to remove, see our dedicated guide on whether you can delete Library caches on Mac.
Step 2: Remove Local Time Machine Snapshots
If you use Time Machine, macOS saves temporary APFS snapshots locally until your backup drive is reconnected. You can inspect and delete them safely:
- Open Disk Utility (press
Command + Space, type "Disk Utility", and press Return). - Click View > Show APFS Snapshots in the top menu bar.
- Select your main data volume in the left sidebar (usually named "Macintosh HD - Data" or "Data").
- A list of local snapshots will appear in the bottom pane. Highlight older snapshots you no longer need and click the minus (
-) button to delete them.
Step 3: Remove Orphaned App Support Folders
When you uninstall apps by dragging them to the Trash, their support folders stay behind indefinitely:
- In Finder, press
Command + Shift + G. - Type
~/Library/Application Supportand press Return. - Scan the list for folder names belonging to software you uninstalled months ago.
- Move those abandoned folders to the Trash. For an automated inspection of common apps, use our free Mac App Leftovers Finder.
Step 4: Clean Abandoned Sandbox Containers
Modern Mac App Store applications store their isolated data inside containers:
- In Finder, press
Command + Shift + G. - Type
~/Library/Containersand press Return. - Look for folders with bundle identifiers or names of applications you no longer use. Moving these orphaned containers to the Trash can instantly free 5GB to 15GB. In addition to third-party apps, Apple Mail caches gigabytes of attachment previews inside its sandbox container; read our dedicated guide on how to clear Mail downloads and attachments on Mac to safely recover another 10GB to 30GB.
Step 5: Clear Old iOS and iPadOS Device Backups
If you ever backed up your iPhone or iPad directly to your Mac, old backups can occupy 30GB to 100GB of invisible System Data:
- Open System Settings > General > Storage.
- Scroll down to iOS Files and click the info icon (
i). - Review old device backups and delete backups for devices you no longer own. For a complete guide, read our walkthrough on where iPhone backups are stored on Mac.
Step 6: Clear Stale Diagnostic Logs
- In Finder, press
Command + Shift + G. - Type
~/Library/Logsand press Return. - Review old crash dumps and diagnostic logs. Files older than a month or exceeding hundreds of megabytes can be moved to the Trash safely.
Step 7: Clear Temporary OS Staging Folders
macOS uses private temporary directories for running processes:
- In Finder, press
Command + Shift + G. - Type
/private/var/foldersand press Return. - This folder contains short-term cache folders managed by macOS. While macOS manages this area, third-party apps sometimes leave multi-gigabyte temporary files. Restarting your Mac (Step 8) is the safest way to clear this folder automatically.
Step 8: Restart Your Mac to Flush Virtual Memory Swap
After clearing caches and emptying the Trash, restart your Mac. During a clean reboot, macOS:
- Purges temporary virtual memory swap files written to disk.
- Updates internal filesystem indexes and Spotlight catalogs.
- Refreshes the System Settings storage bar with accurate reclaimed figures.
Clearing Developer & Creative Caches (Big Wins)
If you write code, design in 3D, or edit video, professional software creates massive hidden cache stores that standard macOS tools never show:
| Tool / Category | File Path | Typical Size | How to Clean Safely |
|---|---|---|---|
| Xcode DerivedData | ~/Library/Developer/Xcode/DerivedData |
20GB to 60GB | Delete old build folders; Xcode rebuilds projects on next compile. |
| iOS Simulator Runtimes | ~/Library/Developer/CoreSimulator/Devices |
15GB to 40GB | Run xcrun simctl delete unavailable in Terminal. |
| Homebrew Cache | ~/Library/Caches/Homebrew |
5GB to 20GB | Run brew cleanup -s in Terminal. |
| Docker Virtual Disk | ~/Library/Containers/com.docker.docker |
30GB to 80GB | See our guide on why Docker disk is so big on Mac. |
| Final Cut Pro Renders | Inside project Library bundles | 25GB to 100GB | See our tutorial on clearing Final Cut Pro render files. |
| Photoshop Scratch Disks | /private/var/folders or custom disk |
20GB to 50GB | See our guide on fixing Photoshop scratch disks full. |
Terminal Inspection: Spot Giant Hidden Folders
You do not need to be an engineer to check where System Data hides. You can run this completely safe, read-only terminal command to list the 10 largest folders inside your hidden Library directory:
du -sh ~/Library/* 2>/dev/null | sort -hr | head -n 10
This command only inspects folder sizes; it modifies and deletes zero files. Look at the top three lines of output to see whether Caches, Application Support, or Developer accounts for the bulk of your storage.
The Safer Alternative: 1-Click Cleanup with DiskCompanion
Manually hunting through hidden Library folders requires patience, and accidentally deleting the wrong configuration plist can reset application preferences or force you to sign into services again.
We built DiskCompanion to give Mac users complete visibility and effortless cleaning without recurring subscription costs:
- Disk Explorer Visual Map: Turns your storage into an intuitive visual map so you can immediately see which folders are truly consuming gigabytes.
- Automated Smart Clean: Identifies bloated System Data caches, video buffers, developer leftovers, and orphaned app containers with one safe click.
- 100% Trash-First Safety: Every cleaned item moves to your native macOS Trash first. You retain complete control and can right-click any file to "Put Back" instantly.
- Strict Zero-Daemon Policy: DiskCompanion installs no background helper daemons, no menu bar processes, and consumes 0% battery when closed.
- Transparent Lifetime License: A single flat $29 lifetime license covers up to 3 personal Macs with all future maintenance updates included.
Inspect Your System Data with Free Unlimited Scanning
You do not have to guess where your space went. Download the lightweight app to scan your internal drive in seconds and see exactly how many gigabytes of System Data you can reclaim safely.
Frequently Asked Questions About System Data
Straightforward answers on macOS storage categories, caches, and system safety.
Why does System Data take up so much space on my Mac?
System Data is an umbrella category for files that do not fall into standard buckets like Documents, Photos, or Apps. It holds temporary app caches, streaming media buffers, local APFS Time Machine snapshots, developer build folders, and orphaned containers left behind by deleted applications.
Can clearing System Data damage my Mac?
No, as long as you target user-level caches, logs, and application leftovers. Modern macOS protects core system files on a cryptographically sealed, read-only volume known as the Signed System Volume. Even with administrator permissions, no cleaner or script can delete essential Apple system files.
Why didn't emptying the Trash reduce my System Data size?
Emptying the Trash only removes files from standard user folders. If your deleted files are locked inside local APFS Time Machine backup snapshots, macOS retains those storage blocks until the snapshot is purged. In addition, application caches in hidden Library directories bypass the Trash entirely.
Will deleting files in ~/Library/Caches cause problems?
Deleting files inside user cache folders is completely safe because applications recreate them automatically when needed. However, you should delete the contents inside individual app cache folders rather than deleting the parent folders themselves.
Is System Data the same thing as Purgeable Space?
They overlap, but they are not identical. Purgeable space is a subcategory of System Data that macOS considers expendable (such as local Time Machine snapshots and optimized cloud files) which macOS can automatically clear when disk space becomes critically low.
How does DiskCompanion help with System Data?
DiskCompanion combines interactive visual storage mapping with safe automated cleaning. Its Smart Clean engine identifies stale caches, developer build artifacts, and orphaned app containers, routing everything safely into the macOS Trash with full Put Back restoration support and zero background daemons.
Reclaim Storage Safely. Zero Subscriptions.
Explore your Mac with the Disk Explorer visual map, clear hidden System Data caches with one safe click, and eliminate leftover files from uninstalled apps. Buy once for $29, keep it forever on up to 3 personal Macs.