Free Up Space on Your Mac (Without Breaking Anything!)

Free Up Space on Your Mac (Without Breaking Anything!)

Here are some safe, effective ways to reclaim lots of space on your Mac without touching system files.


1. Use Apple’s Built-in Storage Management

  1.  → About This Mac → Storage → Manage…
    • Store in iCloud: Offload Desktop & Documents.
    • Optimize Storage: Remove watched iTunes movies/TV shows and mail attachments.
    • Empty Trash Automatically: Automatically delete items in Trash after 30 days.
    • Reduce Clutter: Review large files and delete what you don’t need.

2. Tackle Large & Old Files

  • Find big folders:
    du -sh ~/* 2>/dev/null | sort -h
    
  • Spot huge files:
    find ~ -type f -size +500M -exec ls -lh {} \;
    
    Delete or archive anything you don’t use (old disk images, ISO backups, installer packages).

3. Clean Up Caches & Logs

Warning: Only clear ~/Library caches, never /System or /Library.

rm -rf ~/Library/Caches/*
rm -rf ~/Library/Logs/*
  • Safari/Chrome caches: In each browser’s preferences → Advanced → “Clear Browsing Data.”

4. Remove Xcode & Developer Junk

If you’ve installed Xcode or command-line tools:

rm -rf ~/Library/Developer/CoreSimulator
rm -rf ~/Library/Developer/Xcode/DerivedData
xcodebuild -alltargets clean
sudo xcode-select --reset
  • Uninstall old simulators via Xcode → Preferences → Platforms.

5. Pry Loose Hidden Local Snapshots (Time Machine)

Local snapshots can eat dozens of GB:

tmutil listlocalsnapshots /
# then remove each snapshot:
sudo tmutil deletelocalsnapshots 2025-04-10-123456

Or disable them entirely (not recommended if you rely on snapshots):

sudo tmutil disablelocal

6. Prune Package Manager Caches

  • Homebrew:
    brew cleanup
    brew autoremove
    
  • npm/Yarn:
    npm cache clean --force
    yarn cache clean
    

7. Docker & Virtual Machines

  • Docker:
    docker system prune --all --volumes
    
  • VMs (Parallels, VirtualBox):
    Remove unused virtual disks or snapshots.

8. Archive or Offload

  • Photos & Videos: Move old libraries to an external drive or to iCloud Photos.
  • Mail Attachments: In Mail → Preferences → Accounts → “Download Attachments”—set to “Recent” or “None.”
  • Podcasts & iOS Backups: Delete old iOS device backups in Finder (or iTunes) and Podcast episodes you’ve listened to.

9. Third-Party Disk Scanners (Optional)

Tools like DaisyDisk or GrandPerspective let you visually map disk usage—great for spotting random space hogs.


⚠️ Pro Tips & Precautions

  • Back up first: Especially before mass-deleting.
  • Avoid /System and /Library: Never delete Apple system files.
  • Review twice: Make sure you won’t need a file before trashing it.

By combining Apple’s storage tools with targeted manual cleanups and cache prunes, you can free tens or even hundreds of gigabytes—while leaving your macOS installation untouched. Good luck!

Profile picture
Luiz Fernando - Senior Software Engineer

Thanks for reading!

I hope you enjoyed reading this article. If you have any questions or feedback, don't hesitate to reach out to me on my social media bellow. Have a great day!

Carousel imageCarousel imageCarousel imageCarousel imageCarousel image

Latest Insights

Luiz Fernando

Senior Software Engineer

Senior Software Engineer with a passion for creating elegant solutions to complex problems

Connect With Me

Contact Me

If you're interested in learning more about my work, have a question, or just want to say hi, please don't hesitate to reach out.

© 2026 Luiz Fernando. All rights reserved