How to free up space on your Mac
Updated October 14, 2026
When macOS warns that your disk is almost full, it’s rarely one thing. It’s usually a mix of forgotten downloads, caches, iPhone backups, developer tools and apps you no longer use. This guide goes from the easiest fixes to the more technical ones.
1. See what’s taking up space
Open System Settings → General → Storage. macOS shows how much each category takes (Apps, Documents, Photos, System Data) plus a few recommendations, such as emptying the Trash automatically after 30 days or reviewing large files.
System Data is often the biggest and least explained category. It includes caches, logs, iPhone backups, Xcode simulators and other files macOS doesn’t classify. Much of it can be cleaned up with the steps below.
2. Empty the Trash and go through Downloads
It sounds obvious, but whatever is in the Trash keeps taking space until you empty it. Then go through your Downloads folder: .dmg installers, .zip files you already extracted and PDFs you opened once pile up for years.
3. Find large files with Finder
- Open Finder and press ⌘F.
- Choose This Mac.
- In the first menu choose Other… and enable File Size.
- Set it to is greater than, for example 500 MB.
Sort the results by size. Old videos, virtual disk images and project exports tend to show up at the top.
4. Delete iPhone or iPad backups you no longer need
Local iPhone backups can take tens of GB. Connect the device, select it in the Finder sidebar and click Manage Backups. If you already back up to iCloud, old local backups are redundant.
5. Clear your user caches
Apps keep temporary files in ~/Library/Caches. You can delete the folders of apps you no longer use; the others recreate what they need, although they may open a little slower the first time. Don’t touch anything inside /System.
6. If you code: what takes the most
- Xcode:
DerivedData, simulators and device support. See Can you delete Xcode’s DerivedData?. - Node.js: every project has its own
node_modulesfolder. See How to delete node_modules and get space back. - Homebrew:
brew cleanupremoves old versions of what you installed. - Docker:
docker system pruneremoves stopped containers, unused networks and dangling images. Add-aonly if you also want to remove images no container uses.
7. Uninstall the apps you never open
In System Settings → General → Storage → Applications you can sort by size. Many apps also leave files in ~/Library/Application Support that stay there after you delete the app.
One rule so you don’t regret it
Before deleting something you don’t recognize, move it to the Trash instead of deleting it for good. If something stops working, put it back from Finder.