DiskLens › How to free up space on Mac
How to Free Up Space on Mac
The internet's usual advice is a laundry list. This is an order of operations: start at the top where the gigabytes are, work down only if you still need more.
or drop a folder — 100% local, nothing uploads
🗺️ Visual map
1. Delete old installers — the fastest way to free up space on your Mac
Every .dmg and .pkg you ever downloaded is still sitting in ~/Downloads. The app you installed doesn't need its installer — it's pure re-downloadable waste. Open Finder, go to Downloads, sort by Kind, and delete every disk image older than a month (Xcode installers alone are 7-12 GB each). Terminal equivalent: find ~/Downloads -name "*.dmg" -mtime +30 lists them; add -exec rm -i {} \; to delete one-by-one with confirmation. Typical recovery on a never-cleaned Mac: 5-15 GB.
2. Clear developer caches to free up space (5-50 GB if you write code)
If you've ever run npm, Xcode or Python, caches are the biggest hidden item on your disk. Check each with du -sh: ~/Library/Developer/Xcode/DerivedData (build output, safe to delete entirely), node_modules in every project (find ~ -name node_modules -maxdepth 4 -type d lists them; delete freely and reinstall with npm install), ~/.npm and ~/.gradle, plus Python virtualenvs (venv/.venv folders — rebuild with pip install -r requirements.txt). A single old Xcode project can hold 10 GB of DerivedData. All of it is regenerable by design.
3. Empty the Trash and remove old iPhone backups
Trashed files still count against your disk until you empty the Trash — right-click the Trash icon in the Dock and Empty. Then check for old device backups: System Settings → General → Storage → iOS Backups, or the folder ~/Library/Application Support/MobileSync/Backup (each subfolder is one device). Backups of phones you no longer own are 4-10 GB of pure reclaim. Terminal check: du -sh ~/Library/Application\ Support/MobileSync/Backup/*.
4. Remove duplicate files to free up space (3-30 GB)
"Grand Canyon.mov" and "Grand Canyon copy.mov" — duplicates are the most deletable gigabytes because you keep one of each. The duplicate finder flags same-name same-size groups instantly (it also catches "file (1).jpg" and "file_backup.docx" variants); verify one copy opens, then stage the rest for deletion. Manual alternative: sort Movies and Documents by name in Finder and eyeball adjacent pairs, or list the heavy hitters with find ~/Movies -size +100M and compare sizes by hand.
5. Move old archives and device backups off your Mac
That 2023 macbook backup tar and last year's iPhone export zip in ~/Backups belong on an external drive or cloud storage, not your working disk. This is the category our AI plan labels "back up first, don't delete" — moving (not removing) frees the same space with zero risk. Check what's there: du -sh ~/Backups ~/Documents/*.zip 2>/dev/null. Typical haul: 10-50 GB.
6. Clear browser caches and app logs
Chrome can cache 2-5 GB per profile: quit Chrome, delete the contents of ~/Library/Caches/Google/Chrome, and it rebuilds as you browse. Safari: Settings → Privacy → Manage Website Data. App logs live in ~/Library/Logs — a crashing app can generate gigabytes of DiagnosticReports. Safe rule: anything inside a Caches folder can be deleted; the app rebuilds it slowly on next use.
7. Free up photo and video storage by offloading, not deleting
4K video is roughly 350 MB per minute — two holiday clips can outweigh everything else on the disk. If Photos is your biggest folder, the honest answer is iCloud Photos (System Settings → [your name] → iCloud → Photos → Optimize Mac Storage) or an external library: quit Photos, move ~/Photos Library.photoslibrary to the external drive, then option-open Photos to pick the new location. This is a back-up problem disguised as a cleanup problem — deleting memories to free space is the one trade you can't undo.
8. Leave System Data alone (mostly)
macOS manages the "System Data" category and reclaims it under disk pressure — chasing it with cleaner apps mostly buys trouble. The few safe levers: local Time Machine snapshots expire on their own (tmutil listlocalsnapshots / to see them, tmutil deletelocalsnapshots <date> to force), old iOS backups (step 3), and per-app caches (step 6). Anything inside /System is off-limits. Full breakdown in our Mac System Data guide.
Do the whole cleanup in one pass
Every category above lives in folders you can check in one go: map your home folder with DiskLens, work the biggest red blocks first, stage what you agree with, export a reviewed cleanup script, and you're done in fifteen minutes instead of an afternoon. The verdict card tells you upfront how much is safely freeable before you delete anything.
Frequently asked questions
How do I free up space on my Mac fast?
Delete old installers and developer caches first — regenerable, huge, zero risk. One DiskLens scan names every file in both categories.
Is it safe to delete caches on a Mac?
App caches and build output are designed to be rebuilt. Never touch /System or /Library system folders; anything under ~/Library/Caches is fair game.
How much space can I free on a Mac?
First cleanup on a never-cleaned Mac typically frees 10-40 GB across installers, caches, duplicates and old device backups.
What should I never delete to free space?
Photos, documents, code and archives — move them to cloud or external storage instead. And leave /System alone entirely.