Mac storage full? How to free up space safely
Short answer
If your Mac says “Your disk is almost full”, open System Settings → General → Storage to see what is using the space. Then remove what is safe first: empty the Trash, delete old downloads and installers, clear app caches and logs, remove old iPhone backups, and delete large files you no longer need. Developers usually get the most space back from Xcode, npm, Homebrew and Docker caches. Try to keep at least 10–15% of the disk free.
1. See what is using your storage
Before you delete anything, look at the breakdown macOS gives you.
- Open the Apple menu and choose System Settings.
- Click General, then Storage.
- Wait for the coloured bar to finish calculating, then click the i button next to a category to see what is inside it.
On macOS 12 Monterey or earlier, choose Apple menu → About This Mac → Storage → Manage instead.
2. Quick wins that take five minutes
- Empty the Trash. Files in the Trash still take up space. Right-click the Trash in the Dock and choose Empty Trash.
- Clear out Downloads. Open Downloads in Finder, switch to List view and sort by Size. Old installers (
.dmgand.pkgfiles) and zip archives are usually safe to delete once the app is installed. - Use the built-in recommendations. In Storage settings, turn on Empty Trash Automatically and Optimize Storage. Store in iCloud helps too if you pay for iCloud space.
- Restart your Mac. A restart clears temporary files and the swap files macOS creates when memory runs low.
3. Clear app caches and logs
Apps keep caches so they load faster, and those caches can grow to many gigabytes. They are safe to remove because apps rebuild them.
- Quit the apps you have open.
- In Finder, press Shift Command G and enter
~/Library/Caches. - Press Command J and tick Calculate All Sizes so Finder shows how big each folder is.
- Move the contents of the largest folders to the Trash.
- Repeat for
~/Library/Logs, then empty the Trash.
The full walkthrough, including browser caches, is in how to clear cache on Mac.
4. Shrink System Data
System Data is the grey catch-all in the storage bar. It holds caches, logs, Time Machine local snapshots, swap files and files left behind by apps. You cannot delete the category in one go, but you can shrink what is inside it. See how to clear System Data on Mac.
5. Find large and old files
A few forgotten files often hold more space than every cache combined: old videos, virtual machines, disk images and archives. In Storage settings, click the i next to Documents and open Large Files. There are two more methods in how to find large files on Mac.
6. Remove apps you do not use
Dragging an app to the Trash removes the app but leaves its support files, caches and preferences in your Library folder. How to uninstall apps on Mac completely lists where those leftovers live.
7. If you write code
Build caches and package downloads are usually the biggest space users on a developer’s Mac. These commands are safe because the tools download or rebuild what they need:
rm -rf ~/Library/Developer/Xcode/DerivedData
npm cache clean --force
brew cleanup --prune=all
pip cache purge
docker system prune
More tools and what each command removes: free up disk space on a Mac for developers.
What you should not delete
| Leave this alone | Why |
|---|---|
/System and /usr | These are macOS itself. |
~/Library/Keychains | Your saved passwords and certificates. |
~/Library/Application Support folders for apps you still use | This is app data, not cache. Deleting it can erase settings, projects or chat history. |
~/.ssh, .env files and .git folders | Keys, secrets and your project history. |
| Your only iPhone or iPad backup | It cannot be rebuilt. Keep the most recent one. |
The faster way: scan once with iClearer
iClearer does every step on this page in one scan. It lists caches, logs, leftovers, developer files and large files with their sizes, labels each one Safe or Ask first, and moves what you choose to the Trash so you can undo it. Keychain, accounts, tokens and git repositories can never be selected.
Scanning is free on every Mac and the free plan includes 500 MB of cleanup. Unlimited cleanup starts at $29.99 per year for one Mac, with a 14-day money-back guarantee. Needs macOS 13 Ventura or later, Intel or Apple silicon.Frequently asked questions
Why is my Mac storage full when I have nothing on it?
Most of the space is in places Finder hides by default. The Library folder holds app caches, logs and files left behind by apps you deleted, and System Data holds Time Machine local snapshots and swap files. Open System Settings → General → Storage to see the breakdown.
How much free space should a Mac have?
A common rule of thumb is to keep at least 10–15% of the disk free. macOS needs room for swap files, updates and local snapshots, and major macOS upgrades often need 20 GB or more of free space to install.
Does emptying the Trash free up space on a Mac?
Yes. Files in the Trash still count against your storage until you empty it. If the free space does not change straight away, a Time Machine local snapshot may still be holding the files; macOS removes those snapshots automatically when it needs the space.
What is the fastest way to free up space on a Mac?
Empty the Trash, delete old installers from Downloads, and clear the largest folders in ~/Library/Caches. A cleaner app such as iClearer does the same in one scan and shows the size of each item before anything is removed.
Is it safe to use a Mac cleaner app?
It depends on the app. Look for one that shows exactly what it will remove, moves files to the Trash instead of deleting them, and cannot touch passwords or personal documents. iClearer labels every item Safe or Ask first, moves everything to the Trash with undo, and never selects Keychain, accounts, tokens or git repositories.
Related guides
- How to clean up your Mac: a 10-step checklistA 10-step checklist to clean up a Mac and free up space: Trash, downloads, unused apps, caches, large files, old backups and more, safest steps first.
- How to clear System Data on MacSystem Data taking up too much space? Learn what it contains and how to shrink it safely: caches, logs, Time Machine snapshots and app leftovers.
- How to find large files on MacThree ways to find the biggest files on your Mac: Storage settings, Finder search by file size, and a Terminal command. See what is safe to delete.