How to Clear System Data on Mac — Safe, Practical Steps
If “System Data” or “Other” on your Mac is using tens of gigabytes, this guide shows what that category contains and how to safely reduce it — without deleting your documents or risking system stability.
Quick answer (for voice search & featured snippets)
«System Data» stores caches, logs, local Time Machine snapshots, virtual memory, sleep images, and app leftovers. To clear it: 1) check Storage Management, 2) delete old iOS/Time Machine backups, 3) remove safe caches and large log files, 4) reboot and reindex Spotlight. Use Terminal commands only after backing up. For a script-oriented approach, see the repository: clear system data on mac.
This article walks you through identification, step-by-step safe cleanup, advanced Terminal options, and when a reinstall is reasonable. Follow the safety checklist before you remove anything critical.
What is «System Data» on Mac?
macOS groups various files that don’t fit neatly into «Apps», «Documents» or «Photos» under the label «System Data» (previously called «Other»). That includes system and app caches, log files, temporary files, virtual memory (swap), sleep images, and local Time Machine snapshots. Over time these elements can accumulate to tens or even hundreds of gigabytes.
Importantly, some of these files are managed by the system and are safe to leave alone — macOS will purge them when it needs space. However, when the category grows unexpectedly large it usually means leftover app caches, old backups, or persistent local snapshots are taking up space that can be reclaimed.
Understanding the pieces inside «System Data» is the key to safe cleanup: you want to remove waste and duplicates while keeping active system files intact. The next sections cover which components you can safely target and which you should not touch without a backup.
Why «System Data» grows — common culprits
Local Time Machine snapshots: When Time Machine is enabled, macOS keeps local snapshots on disk. These can appear in «System Data» and grow if backups are frequent or if the disk is otherwise constrained.
Caches and app leftovers: Web browsers, video editors, Xcode, and virtual machines create large cache folders. Apps sometimes leave behind incomplete downloads or temporary data after crashes.
Virtual memory and sleep images: macOS uses swap files and a sleep image for hibernation. Under low-disk scenarios or heavy memory usage these can expand. Log files and diagnostic reports can also accumulate after repeated crashes.
- Large app caches (Browsers, Xcode, Docker, etc.)
- Old iOS backups and app support files
- Local Time Machine snapshots and large log files
Safe step-by-step method to clear System Data
Follow these steps in order. Each step is designed to reclaim space without breaking your macOS installation or user files. Always start by making a current backup (Time Machine to an external disk or a cloud backup).
1) Inspect storage and find large files
Open Apple menu → About This Mac → Storage → Manage. The Storage Management window shows large categories and recommendations (Empty Trash Automatically, Reduce Clutter, Store in iCloud). Use the «Review Files» and «Large Files» views to identify candidates for deletion. This UI is the safest place to start for most users.
If you want a deeper inventory, run Finder searches for files over a certain size: in Finder press ⌘+F, choose «File Size» and set «greater than» e.g., 1 GB. That exposes big files that might be hidden under System Data.
2) Remove old device backups and large app support files
iPhone/iPad backups are often stored under ~/Library/Application Support/MobileSync/Backup — delete old backups you don’t need using Finder (Manage Storage → iOS Files) or directly from that folder. Similarly, check ~/Library/Application Support and /Library/Application Support for orphaned large folders from apps you uninstalled.
Be deliberate: if a folder belongs to an app you still use, clean within the app (e.g., Xcode DerivedData via Xcode > Preferences > Locations > Derived Data) rather than removing the support folder entirely.
3) Clear safe caches and logs
Caches usually live in ~/Library/Caches and /Library/Caches. You can remove individual app caches but avoid mass-deleting everything blindly. Clear browser caches within the browser settings; for other apps, remove specific cache subfolders that are clearly large and related to uninstalled or malfunctioning apps.
Log files and crash reports in ~/Library/Logs can often be removed if they’re clearly old and large. Use Finder or a tool such as OmniDiskSweeper to find the biggest folders before acting.
4) Reboot and reindex Spotlight
After cleanup, reboot to allow macOS to clear temporary swap/sleep images and to make space available to the system. To force Spotlight reindexing (which can also update the Storage reporting), run:
sudo mdutil -E /
This will reindex Spotlight and update the storage breakdown over time.
If System Data remains large after reboot and reindex, proceed to the advanced methods below.
Advanced methods (Terminal & snapshots) — use with caution
If you are comfortable with Terminal and you have a recent backup, these commands can help remove specific elements that commonly inflate «System Data». Always copy-paste with care and double-check what you delete.
Local Time Machine snapshots
List local snapshots with:
tmutil listlocalsnapshots /
Remove an individual snapshot (note: replace the timestamp token with an entry from the list):
sudo tmutil deletelocalsnapshots 2023-07-19-123456
Deleting local snapshots safely reclaims space used by historical backups. Do not remove snapshots if you currently rely on them instead of an external backup.
Run built-in maintenance scripts and clear diagnostic files
macOS includes scheduled maintenance tasks that sometimes don’t run frequently on laptops. You can trigger them manually:
sudo periodic daily weekly monthly
To clear diagnostic and usage data that can accumulate in /var/log and /Library/Logs, inspect the files first and remove only large, old logs. Avoid removing active system logs.
Terminal caution: avoid indiscriminate rm -rf
Commands like sudo rm -rf can permanently destroy your OS if pointed at the wrong path. If you are not an advanced user, avoid bulk rm operations and stick with the Storage Management UI and app-level cleanup.
If you prefer automation, review and use well-maintained scripts from trusted repositories and inspect them line-by-line. For a curated script that outlines safe checks and steps, see the GitHub repository: clear system data on mac.
When to reinstall macOS or contact Apple Support
If System Data remains abnormally large (e.g., hundreds of GB) after safe cleanup, reindexing, and deleting snapshots/backups, a corrupted system volume or persistent filesystem metadata can be the cause. Reinstalling macOS without erasing user data is a non-destructive option that often resolves such corruption.
Before reinstalling, create a full external backup. Boot into Recovery (Command + R), choose “Reinstall macOS”, and follow the prompts. This reinstalls system files while leaving your data and settings intact in most cases.
If you’re unsure or the problem persists after reinstall, contact Apple Support or visit an Apple Store. For Time Machine-specific issues and official guidance, consult Apple’s documentation: About Time Machine local snapshots.
Precautions & backup checklist
Before deleting anything: always create a recent backup (Time Machine to an external drive or a verified online backup). Double-check whether a large folder is actively used by an app you still rely on.
Keep a note of what you delete. If you remove a cache and a problem appears, you can reinstall or recreate the cache by launching the app. If you remove backups, those versions are gone forever.
When in doubt, move suspect folders to an external drive for a few days instead of deleting immediately. If nothing breaks, you can delete the copy later.
- Make a complete backup before major cleanup
- Prefer app-level cleanup over system-wide deletions
- Reboot and reindex after cleaning to refresh Storage reporting
Semantic Core (keyword clusters)
- how to clear system data on mac
- clear system data on mac
- mac system data too large
- how to delete system data on mac
- system data mac storage
- what is system data on mac
Secondary & high-intent phrases:
- delete local snapshots mac
- clear cache mac safely
- free up storage mac system
- remove iOS backup mac
- tmutil deletelocalsnapshots
- mdutil reindex mac
Clarifying / LSI & related phrases:
- Other storage on Mac meaning
- purgeable space mac
- macbook system data too large
- safe mac cleanup
- spotlight reindex mac
- xcode derived data cleanup
Use these clusters to optimize headings, alt text, and internal linking. Place primary queries in H1/H2 and secondary phrases naturally in subheadings and the first 100–150 words of each major section.
Popular user questions (sourced from People Also Ask & forums)
Collected top questions:
- What is included in System Data on Mac?
- How do I permanently delete Time Machine local snapshots?
- Can I safely delete files from ~/Library/Caches?
- Why is System Data still large after deleting files?
- How to find what’s taking up space in System Storage?
- Does reinstalling macOS reduce System Data?
- How to remove iPhone backups from Mac storage?
Below are the three most relevant questions answered in the FAQ.
FAQ
Q: What is System Data on my Mac and can I safely delete it?
A: System Data contains caches, logs, local Time Machine snapshots, virtual memory, sleep images, and other system/app files that don’t fall into categories like Documents or Apps. Some items are safe to delete (old backups, large app caches), while others should be left to macOS. Always back up before deleting and use Storage Management or app settings for safe removals.
Q: How do I delete local Time Machine snapshots?
A: Use Terminal to list snapshots: tmutil listlocalsnapshots /. Remove a snapshot by running sudo tmutil deletelocalsnapshots YYYY-MM-DD-HHMMSS (use the exact name from the list). Deleting snapshots reclaims space used by local backups; do this only if you have an external Time Machine backup or you do not need those local versions.
Q: Why is System Data still large after I delete files?
A: macOS may not immediately update the Storage calculation or may reallocate space to purgeable storage. Reboot and reindex Spotlight: sudo mdutil -E /. Also check for remaining local snapshots, caches that regenerate, or app-specific files (e.g., Docker images, virtual machines) that you may need to clear separately.
