Key points
- Open System Settings > General > Storage and df -h / to confirm the real numbers before deleting.
- Empty the Trash, clear Downloads and remove old installers; these are safe and often immediately effective.
- Local Time Machine snapshots and iOS backups are invisible in normal Finder browsing but can use tens of gigabytes.
- Developer Macs often recover the most from Xcode, Docker, node_modules and local AI model caches.
- Do not delete ~/Library/Application Support, ~/Library/Containers or ~/Library/Keychains in bulk.
A full MacBook is a storage problem, not a mystery. macOS reports categories, but the space is usually in a handful of places: the Trash, Downloads, local snapshots, device backups, caches and media libraries. Start with df -h / and System Settings, then delete the largest identified items to the Trash.
Read the numbers correctly
df -h /
This shows the capacity of the data volume and the space available to macOS. Open System Settings > General > Storage for the category breakdown. Finder may report a different “available” number because it includes purgeable space that macOS can reclaim under pressure.
To find the responsible folders:
du -xhd 1 ~/ 2>/dev/null | sort -hr | head -20
-x stays on the startup volume, -d 1 limits the depth, and sort -hr ranks the results. Once a folder stands out, run the same command inside it.
Empty the Trash and Downloads
The Trash still occupies space. Empty it from Finder, or select Finder > Empty Trash.
Then review ~/Downloads for:
- Old
.dmgand.pkginstallers .ziparchives that have already been unpacked- Video exports and screen recordings
- Duplicate downloads of the same file
Installers are safe to delete once the app is installed. Move anything you might need to an external drive first.
Remove local snapshots
Time Machine keeps local APFS snapshots on the startup disk, and Finder does not display them:
tmutil listlocalsnapshots /
Delete a specific snapshot with admin rights:
sudo tmutil deletelocalsnapshots com.apple.TimeMachine.2026-10-20-120000.local
Only do this if you have a current external backup, and remember that Time Machine creates new snapshots as it runs. macOS does not report a reliable per-snapshot size, so delete by date rather than by size. Maclean exposes the same list with maclean apfs list and deletes a selection with maclean apfs delete <name> --yes, which triggers the system authorization prompt. The full trade-offs are in how to delete Time Machine snapshots.
Delete old device backups
Local iOS and iPad backups can be many gigabytes each:
du -sh ~/Library/Application\ Support/MobileSync/Backup/*
Each folder inside represents one device backup. Delete backups for devices you no longer own or restore, or when the same device is already backed up to iCloud.
Clear caches and developer artifacts
On a development Mac, this is usually where the largest recoverable space is:
du -xhd 1 ~/Library/Caches 2>/dev/null | sort -hr | head -20
Quit the apps involved, then remove the contents of ~/Library/Caches. Caches regenerate, but deleting them while an app is running can cause temporary misbehavior. The cache-clearing guide covers the safe categories.
Developer artifacts deserve their own pass:
- Xcode: Derived Data, old simulator runtimes and device support files
- Docker: unused images, build cache and stopped containers
- Node.js: inactive
node_modulesfolders and package manager caches - Local AI models: Ollama models and the Hugging Face cache
Each has a dedicated guide. Start with the Xcode and Docker guides if you build or run containers.
Photos and Mail
The Photos library is often the single largest item on a personal Mac:
du -sh ~/Pictures/Photos\ Library.photoslibrary
Manage it through Photos. Delete unwanted videos, empty Recently Deleted, and if you use iCloud Photos, enable Optimize Mac Storage. Keep a backup before deleting anything irreplaceable.
For Mail, erase deleted messages and junk through the app rather than deleting files inside ~/Library/Mail, which can corrupt the mailbox.
System Data and purgeable space
System Data is a category, not a folder; shrink it by removing caches, snapshots and backups, never by deleting ~/Library. The category can lag until a restart, so a deletion may not show immediately. See what Mac System Data contains for the full breakdown.
Purgeable space explains why Finder and df disagree; macOS can reclaim it from snapshots and caches.
Keep a buffer going forward
- Keep enough free space for swap, macOS updates and temporary exports.
- Move large video, photo and archive libraries to an external drive.
- Empty the Trash regularly instead of using it as storage.
- Schedule a cleanup pass instead of waiting for the warning.
How Maclean handles a full MacBook
Maclean scans caches, large files, snapshots, app leftovers and developer artifacts, then labels each item with what happens if it is removed. The free CLI:
maclean check-disk --breakdown
maclean scan --deep
maclean clean --tab large-files --dry-run
Large files and duplicate files move to the Trash and can be restored with maclean restore <id>. Other CLI cache tabs delete permanently, so preview first. APFS snapshots are handled with maclean apfs list and maclean apfs delete <name> --yes, with admin authorization. Login items are listed with a one-click jump to System Settings; Maclean does not toggle them. The app adds storage history and a 14-day trial, while the CLI is free and open source under Apache-2.0.
For a step-by-step cleanup plan, see the free-up-space guide.
Bottom line
Start with the Trash, Downloads and old backups, then check local snapshots and developer caches. Delete the largest identified items to the Trash, empty it, and restart so macOS recalculates storage. If the disk fills again quickly, find the category that is growing instead of repeating the same cleanup.