Mac hard drive cleanup — the modern checklist
An updated cleanup checklist for modern Macs. Skip the advice that's been wrong since 2015.
Most “Mac hard drive cleanup” guides still tell you to defrag, repair permissions, and reset PRAM. None of those help on a modern Mac. Here’s the actually-relevant checklist for macOS Sonoma, Sequoia, and later on Apple Silicon and Intel SSDs.
What’s changed
Three things that used to be advice but aren’t anymore:
- Defragging. SSDs don’t fragment in the way HDDs did. macOS hasn’t needed manual defrag in over a decade.
- Repairing permissions. System Integrity Protection makes most permission changes impossible, and “Repair Disk Permissions” doesn’t exist anymore.
- Resetting PRAM/SMC. Doesn’t free disk space. Apple Silicon Macs don’t even have these to reset.
The modern checklist
In rough order of payoff:
- Empty Downloads of installers and ZIPs. Sort by Kind, batch-delete the DMGs and ZIPs.
- Delete old iOS backups. Finder > iPhone > Manage Backups. Wipe anything from a phone you don't own anymore.
- Optimize Photos for iCloud. Photos > Settings > iCloud > Optimize Mac Storage. Reclaims the local copy of your iCloud library.
- Clear Mail attachments. Mail > Settings > Accounts > Advanced > "Download Attachments: None."
- Audit Applications. Apps you haven't opened in a year? Go.
- Hunt large files.
find ~ -type f -size +1G 2>/dev/null - Clear Xcode caches (if applicable).
~/Library/Developer/Xcode/DerivedDataoften holds 20+ GB. - Hunt duplicates. Last big bucket.
- Empty Trash. Or better, set it to auto-empty after 30 days.
Terminal one-liners for each
du -sh ~/* 2>/dev/null | sort -h # biggest home folders
du -sh ~/Library/* 2>/dev/null | sort -h # biggest library folders
find ~ -type f -size +1G 2>/dev/null # files over 1 GB
ls -lah ~/Library/Application\ Support/MobileSync/Backup/ # iOS backups
rm -rf ~/Library/Developer/Xcode/DerivedData/* # Xcode caches (re-builds on next compile)
What’s actually new on modern Macs
A few features that didn’t exist in older guides:
- Storage Settings recommendations. System Settings > General > Storage gives you “Store in iCloud,” “Optimize Storage,” “Empty Trash Automatically,” and “Reduce Clutter.” Decent first pass.
- iCloud Drive optimisation. Files not used recently get evicted from local disk (small download cloud icon shown) and re-downloaded on demand.
- APFS snapshots. macOS keeps automatic Time Machine local snapshots.
tmutil listlocalsnapshots /to see; auto-purge when space is tight.
Don’t waste time on
A list of things that won’t help:
- “Cleaning RAM” — disk space and RAM are unrelated
- Disabling Spotlight — saves negligible space, makes search worse
- “Removing language packs” — saves maybe 200 MB and risks breaking apps
- Subscription cleaner apps that auto-renew at $90/year
On the duplicates step
The reason it’s at the bottom of the list is also the reason it’s worth doing: every other step has a Finder-level UI. Duplicates don’t. They’re invisible without hashing.
Download Dupe, which does SHA-256-based duplicate detection across whatever folders you pick. Trash-only, never permanent deletes, never touches system files, $14.99 one-time. Pairs well with this whole list — runs after you’ve cleared the obvious junk.
More Dupe tips
-
Apple Photos Duplicates album — what it catches and what it misses
The Photos app Duplicates album is handy, but it has real limits. Here's what it finds, what it doesn't, and how to fill the gaps.
-
Clean up leftover files from uninstalled apps on Mac
Dragging an app to the Trash doesn't remove all its data. Here's where the leftovers live and how to clean them.
-
Clean up your Mac without buying a cleaner app
Most paid cleaner apps do things macOS already does. Here's a free, manual workflow that's just as effective.
-
A no-bullshit guide to cleaning up your Mac's disk
Skip the SEO bait and the sketchy cleaner apps. Here's what actually works to reclaim disk space on a Mac.