How to free up space on a Mac
When the disk is full, the usual advice is "delete big files". But most lost space sits in folders you never open. Here are the 10 places to check.
Start with what macOS shows you
Open System Settings › General › Storage. The bar shows how space is split, and "System Data" is often the largest part. System Data includes caches, logs, local Time Machine snapshots and developer files, which is why the places below matter.
1. iPhone and iPad backups
Local backups live in ~/Library/Application Support/MobileSync/Backup and can take 50 GB or more each. To remove old ones, connect your iPhone, select it in the Finder sidebar and, in the General tab, click Manage Backups. The list shows the backups of every device, so you can delete old ones there. Keep the newest backup of each device unless it's also in iCloud.
2. App caches
~/Library/Caches holds files apps keep to load faster: browsers, Spotify, Slack, Teams, editors and AI tools. Apps that use web technology (VS Code, Cursor, Slack, Discord, Claude) also keep caches inside ~/Library/Application Support/<App> in folders like Cache, Code Cache and GPUCache. Caches are rebuilt as needed; quit an app before deleting its cache.
3. Downloads
Sort ~/Downloads by size in Finder. Installers (.dmg, .pkg) you already used are safe to remove; you can download them again.
4. The Trash
Files in the Trash still take space. Empty it from the Dock (right click › Empty Trash).
5. Leftovers of deleted apps
Dragging an app to the Trash leaves its settings and data behind in ~/Library/Application Support, ~/Library/Preferences and ~/Library/Saved Application State. Look for folders named after apps you no longer have. Remember that deleting them removes the app's settings if you install it again.
6. Logs
~/Library/Logs keeps diagnostic logs from apps and crash reports. Old logs are only useful for troubleshooting.
7. Xcode (if you develop for Apple platforms)
Xcode is often the single biggest consumer on a developer's Mac: DerivedData, simulator runtimes, device support files and archives can add up to 50 to 100 GB. See how to delete DerivedData and how to delete old simulators and runtimes.
8. node_modules and build folders
Every JavaScript project keeps its own node_modules, often 300 MB to 1 GB each. To list them in your code folder:
find ~/Developer -name node_modules -type d -prune -exec du -sh {} + | sort -h
Delete the ones from projects you're not working on; npm install brings them back. The same goes for Pods, Gradle build folders and Rust target folders.
9. Package manager caches
brew cleanup # Homebrew
npm cache clean --force
docker system prune # unused Docker images and containers
10. Local Time Machine snapshots
If you use Time Machine, macOS keeps local snapshots that it frees automatically when space runs low. To see them: tmutil listlocalsnapshots /.
Do it all in one scan
Roomy checks all of these places at once, shows how much each one takes and what happens if you remove it, and pre-selects only what rebuilds itself or downloads again. Scanning is free, so you can see how much you'd get back before deciding anything.
Do it in one click with Roomy
Roomy finds everything in this guide, shows what's safe to remove and cleans it for you. Scanning is free.
More guides
How to delete Xcode DerivedData
Where Xcode keeps DerivedData, how much space it takes, and three ways to delete it safely: from Xcode, Finder or Terminal.
How to delete old iOS simulators and runtimes
Simulator runtimes take 5 to 8 GB each. How to list them, delete unavailable simulators and remove old iOS runtimes with Xcode or simctl.