The "System Data" category in macOS Storage settings can balloon to tens of gigabytes and offer no obvious way to shrink it. Finding the best way to clear system data on Mac means understanding what that category actually contains, which parts are safe to remove, and which tools are worth your time. This guide compares seven approaches — from built-in macOS tools to third-party apps — scored honestly on safety, speed, and reach.
What Is System Data on Mac?
System Data is a catch-all bucket in macOS Storage that includes:
- System and application caches (
~/Library/Caches,/Library/Caches) - Log files (
~/Library/Logs,/var/log) - Temporary files (
/private/tmp,/private/var/folders) - Purgeable disk space (optimized storage placeholders)
- Time Machine local snapshots
- Plugin and extension caches for apps like Xcode, Homebrew, and creative tools
Not all of it should be deleted. Cache files speed up apps; removing them causes a one-time slowdown while they rebuild. Log files are generally safe to clear. Time Machine snapshots are managed automatically by macOS and are almost never worth touching manually.
The 7 Best Ways to Clear System Data on Mac
1. macOS Storage Recommendations (Safest, Limited)
Apple's built-in storage panel handles purgeable space automatically and offers basic recommendations.
- Open System Settings → General → Storage.
- Review recommendations: Store in iCloud, Optimize Storage, Empty Trash Automatically.
- Click Review Files under each category to browse and delete manually.
Safety: High. Speed: Slow — no bulk action. Reach: Low — purgeable and large files only, does not touch caches or logs.
2. Manually Delete Caches in Finder
User caches are safe to delete; macOS and apps will recreate them.
- In Finder, press Shift-Command-G and go to
~/Library/Caches. - Select the folders for apps you use heavily (e.g.,
com.apple.Safari,com.spotify.client). - Move them to Trash and empty it.
- Repeat for
/Library/Caches(requires your admin password for some folders).
Do not delete system-level cache folders unless you know what they contain — some are used during boot. Safety: Medium (user caches are fine; system caches require care). Speed: Medium. Reach: Medium.
3. Clear Logs via Terminal
Log files accumulate silently. This command removes user-level logs:
rm -rf ~/Library/Logs/*
For system logs (requires sudo):
sudo rm -rf /var/log/*
sudo log erase --all
Safety: High for user logs; Medium for system logs (diagnostic data is lost permanently). Speed: Fast. Reach: Medium — logs only.
4. Remove Xcode and Developer Caches
If you use Xcode, its derived data and device support folders are major contributors to System Data.
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Developer/Xcode/Archives
rm -rf ~/Library/Developer/CoreSimulator/Caches
These are safe to delete; Xcode recreates them on the next build. Safety: High. Speed: Fast. Reach: High for developers.
5. OnyX (Free, Maintenance Scripts)
OnyX by Titanium Software is a long-standing free utility that runs Unix maintenance scripts, clears several cache locations, and lets you rebuild Launch Services. It is version-specific — download the build that matches your macOS version exactly.
Safety: High when used as directed. Speed: Medium (requires reboot for some operations). Reach: Medium — caches, logs, maintenance scripts.
6. DaisyDisk ($9.99 one-time)
DaisyDisk visualizes your disk as an interactive sunburst map. It is excellent for finding large hidden files and folders but does not automate cache or log removal — you manually select and delete what you find. Best used as a discovery tool, not a bulk cleaner.
Safety: High (you choose what to delete). Speed: Slow for cleanup. Reach: High for visible files; Low for caches and System Data internals.
7. A Dedicated Mac System Data Cleaner App
Dedicated cleaners automate cache sweeping, log removal, and leftover detection in one pass. The main contenders in 2026:
| App | Price | Reaches System Caches | Leftover Uninstaller | Safe-Delete Guidance | Privacy |
|---|---|---|---|---|---|
| CleanMyMac | $39.95/yr subscription | Yes | Yes | Partial | Cloud-based scanning |
| DaisyDisk | $9.99 one-time | No (manual only) | No | None | On-device |
| Crumb | $49 one-time / $8.99 mo | Yes | Yes (+ leftovers) | AI explains any folder | On-device; metadata only if AI used |
Crumb lives in the menu bar and runs a one-click Clean that covers system and user caches, logs, temp files, and purgeable space without requiring Terminal access. Its standout feature for cautious users is the Is this safe to delete? AI: select any folder and get a plain-English explanation of what it does and the risk of removing it — entirely on-device, no file contents ever leave your Mac. The Uninstaller tab goes beyond dragging an app to Trash by finding and reviewing leftover preference files, caches, and support files before deletion. If you want to try it before committing, a free tier lets you run one cleanup. Download Crumb and see how much it finds.
Which Method Should You Use?
- Quickest safe win: Start with macOS Storage settings to handle purgeable space, then manually clear
~/Library/Cachesand~/Library/Logs. - Developer with a full disk: The Terminal commands for Xcode DerivedData and Simulator caches often reclaim the most space fastest.
- Power user who wants visibility: OnyX + DaisyDisk together cover maintenance scripts and large file discovery without spending money.
- Users who want automation without an annual subscription: A one-time-purchase cleaner like Crumb handles the full sweep and adds an uninstaller, so you are not repeating these steps manually every few months.
What to Avoid
- Do not delete
/System/Libraryor/Library/Extensions— these are OS components. - Avoid any tool that asks to "clean RAM" — macOS manages memory pressure automatically.
- Do not run
sudo rm -rfon paths you do not recognize. Cleaning is permanent; there is no undo outside of a backup. - Be cautious with Time Machine local snapshots: macOS automatically expires them when disk space is needed, so manual deletion is rarely necessary.
Conclusion
The best way to clear system data on Mac depends on how comfortable you are with Terminal, how often you want to repeat the process, and whether you need guidance on what is safe. Manual methods are free and give full control but require ongoing attention. A dedicated cleaner automates the routine and — if it includes folder-level AI explanations — removes the guesswork that makes manual cleanup feel risky. Whatever method you choose, always have a Time Machine backup before any bulk deletion.