1. Find What's Actually Eating Your Space
Before deleting anything, find out where your storage actually went. Apple's built-in storage overview (System Settings > General > Storage) is often misleading and slow to update. Terminal gives you the real numbers instantly.
Open Terminal and run this command to see the 20 largest folders in your Library:
This usually reveals the biggest offenders: app caches, Xcode data, IDE state files, old container data from apps you uninstalled months ago.
For a full disk overview:
This shows you the actual free space on your drive, which is always more accurate than the Finder or System Settings display.
2. Clear User Caches (5-20 GB)
Your ~/Library/Caches folder stores temporary data from every app you use. Over time this can grow to 5-20 GB, especially if you use browsers, IDEs, or creative apps.
Check how much space your caches use:
You can safely delete most cache folders. Apps rebuild them on next launch. To clear everything:
If you use Logic Pro, Ableton, or other DAWs, deleting AudioUnitCache forces a plugin re-validation that can take 10-30 minutes. Delete browser and app caches, but leave audio-related caches alone unless you know what you're doing.
3. Remove Time Machine Local Snapshots (10-50 GB)
macOS keeps local Time Machine snapshots even if you don't have a backup drive connected. These can quietly eat 10-50 GB. Most people don't even know they exist.
Check for local snapshots:
Delete all local snapshots:
This is completely safe. Time Machine will create new snapshots when you connect your backup drive.
4. Clean Up Xcode Data (10-30 GB)
If you've ever installed Xcode (even just the command line tools), you might have massive amounts of leftover data:
DerivedData is build cache that's safe to delete entirely. iOS DeviceSupport contains data for iOS devices you've connected for debugging. Old simulators can be removed too:
5. Remove Docker Data (15-60 GB)
Docker Desktop creates a sparse disk image (Docker.raw or Docker.qcow2) that grows over time. If you're not actively using Docker, this can be 15-60 GB of wasted space.
If you're not using Docker, uninstall it completely from Applications. If you need it, run a prune to clean up unused images and containers:
6. Uninstall Apps Properly
Dragging an app to Trash leaves behind caches, preferences, containers, launch agents, and logs scattered across ~/Library. A single app can leave 500 MB to several GB of remnants.
To find leftovers from apps you already deleted, check these locations:
Look for folder names matching apps you no longer have installed. For thorough uninstalls, use a dedicated uninstaller tool that finds all remnant categories automatically.
7. Clean Up Your Downloads Folder
Downloads is often the biggest single folder on your Mac. Old DMG installers, ZIP files, PDFs you looked at once, forgotten videos.
Sort by size and delete what you don't need. Or sort by date and remove anything older than 6 months that you haven't touched.
8. Reduce Mail Attachments
Mail downloads and caches every attachment locally. Over years this adds up significantly.
In Mail.app: go to Preferences > Accounts > your account > uncheck "Download attachments" or set it to "Recent" to stop caching everything locally.
9. Optimize iCloud Storage
If you use iCloud Drive, enable "Optimize Mac Storage" to keep only recently accessed files local:
System Settings > Apple ID > iCloud > iCloud Drive > Optimize Mac Storage
This offloads files you haven't opened recently to iCloud and frees up local space. The files still appear in Finder but download on demand when you open them.
10. Use a Mac Cleaner Tool
All the methods above work, but they require Terminal knowledge and careful attention to what you're deleting. A good Mac cleaner automates the safe parts and warns you about the risky parts.
What to look for in a Mac cleaner:
- Risk classification per item, so you know what's safe vs. risky to delete
- Safety whitelist that protects critical folders like Documents, Photos, Music, and Mail
- Full Trash support so you can undo deletions via Put Back
- Visual disk map to see where your space went at a glance
- App uninstaller that finds all leftover remnants
MacCare does all of this for $29/year
Risk-classified cleanup with color-coded safety indicators. Hardcoded whitelist protects Documents, Photos, Music and Mail. Full Trash put-back support. Visual TreeMap disk analyzer. 7-day free trial.
⬇ Download Free TrialmacOS 14+ · 1.6 MB · Apple-notarized
How Much Space Can You Expect to Free Up?
Based on typical Mac usage, here's what you can expect to reclaim:
- Caches: 5-20 GB
- Time Machine snapshots: 10-50 GB
- Xcode data (if installed): 10-30 GB
- Docker (if installed): 15-60 GB
- App remnants from uninstalled apps: 2-10 GB
- Downloads cleanup: 5-30 GB
For a typical Mac that hasn't been cleaned in a year, 20-50 GB is realistic. Power users with Xcode and Docker can often reclaim 50-100 GB.
What NOT to Delete
Some folders look like junk but are actually important:
- ~/Library/Application Support for apps you still use (contains settings, databases, saved state)
- ~/Library/Keychains (your passwords and certificates)
- ~/.ssh (your SSH keys for Git, servers, etc.)
- AudioUnitCache if you use any music production software
- Any folder inside /System (never touch system files)