Storage · free up space

How to free up space on a Mac

Start with Apple's recommendations in Storage settings, which cost nothing, then measure the places they leave out: caches, developer and AI tool files, duplicates and old downloads. Remove what regenerates freely; move what is yours to another drive.

Apple's tools first

System Settings → General → Storage has a Recommendations list worth reading before anything else:

  • Store in iCloud keeps Desktop, Documents and full-size photos in iCloud and only recent ones on the Mac.
  • Optimise Storage removes films and TV programmes you have already watched in the TV app.
  • Empty Trash Automatically deletes items that have been in the Trash for 30 days.

Below the recommendations, each category opens a list you can sort by size. What it will not show you is most of System Data, which is where the rest of this page goes looking.

The places Storage settings leaves out

Caches and logs

~/Library/Caches, the hidden ~/.cache, and ~/Library/Logs. All of it regenerates; the cost is apps being slower the first time they open afterwards. How to clear the cache on a Mac has the commands.

Developer files

If you have ever installed Xcode, this is likely the biggest section of the page. On the Mac this app was built on, DerivedData alone was 9.06 GB, and the Android emulator and NDK came to 15 GB when they were removed on 5 September 2026. Old simulator runtimes are several gigabytes each. Package caches for npm, Yarn, CocoaPods, Gradle and Homebrew are re-downloaded on the next install, and a JavaScript project's node_modules folder comes back with one npm install — how to find and delete them. More how-tos like it are on the blog, and the whole job is walked through in a four-minute video.

AI tool data

Coding agents and AI desktop apps download runtimes and updates and leave build folders behind, almost none of it where Finder shows you. The biggest single item ever reclaimed on that same Mac was here: 9.1 GB of abandoned build trees from earlier coding-agent sessions. The folders to check are listed in the hidden data AI tools leave.

Apps you no longer open

Applications sorted by size, with the date each was last opened, is a better guide than memory. Removing an app through its own uninstaller, or with its support folder, gets back more than dragging it to the Trash.

Duplicates, large files and Downloads

Downloads collects installers you ran once. Duplicate files are worth finding by content rather than by name, so a renamed copy still counts and a different file with the same name does not; how to find duplicate files on a Mac has the one Terminal command that does it. These are yours, so look before deleting, or move them to an external drive.

Time Machine local snapshots

With automatic backups on, Time Machine keeps an hourly snapshot of the startup disk on the Mac itself for 24 hours. macOS counts that space as available and deletes the snapshots when it needs the room, so this is rarely the thing to fix first — but it is part of what System Data is holding, and you can clear them sooner. The backup disk is a separate job: deleting old Time Machine backups and local snapshots covers both.

iPhone backups, Mail and Messages

Local device backups can be tens of gigabytes. Delete one only when the device also backs up to iCloud or a newer backup exists: how to delete old iPhone and iPad backups. Messages attachments can go too, but the conversations keep a blank where each one was, and Mail keeps a second copy of every attachment you have opened in a folder that is safe to clear.

What to leave alone

The Photos library (use Photos' own settings), Application Support (for many apps it is the data), and anything under /System. If the disk is critically full right now, the shorter triage in Mac storage full is the better place to start.

Moving a file to the Trash frees nothing until the Trash is emptied: see how to delete files on a Mac, and where Secure Empty Trash went.

Where the app comes in

Atzu Safe Data Cleaner measures everywhere space builds up, across all of these sections, in one scan, rates each item for what removing it would cost you, and shows the result before it deletes anything. See how it decides what is safe.

What to do next: see these numbers for your own Mac. Download Atzu Safe Data Cleaner free, or get it on the Mac App Store.

What it costs to have an app do this

Atzu Safe Data CleanerCleanMyMacMacKeeper
Pay once$24.99€119.95 on MacPaw’s store; $89.99 for CleanMyMac X on the Mac App Storesubscription only
Yearly$14.99 a year, first 7 days free$39.99/yr on the Mac App Store; €39.95/yr on MacPaw’s store€71.40 for the first year, 1 Mac. Their page shows it against a €119.40 list price
Monthly$1.99 a month$9.99/mo€10.95/mo
Account neededNoYesYes

Both versions' yearly plans start with 7 days free. CleanMyMac and MacKeeper prices read from their own pages and the Mac App Store on 27 October 2026; the full comparison is at Atzu Safe Data Cleaner vs CleanMyMac and MacKeeper.

Frequently asked questions

What does Optimise Storage do on a Mac?

In System Settings → General → Storage, Optimise Storage removes films and TV programmes you have already watched in the TV app. The same Recommendations list offers Store in iCloud and Empty Trash Automatically, which deletes items that have been in the Trash for 30 days.

Is it safe to delete iPhone backups and message attachments on a Mac?

Local device backups can be tens of gigabytes. Delete one only when the device also backs up to iCloud or a newer backup exists. Message attachments can go too, but the conversations keep a blank where each one was.

Can I delete package caches and node_modules to free up space?

Package caches for npm, Yarn, CocoaPods, Gradle and Homebrew are downloaded again on the next install, and a JavaScript project’s node_modules folder comes back with one npm install. If you have ever installed Xcode, developer files are likely the biggest place to look.

What should I not delete to free up space on a Mac?

Leave the Photos library to Photos’ own settings, leave Application Support alone because for many apps it is the data, and do not touch anything under /System. Your own large files and downloads are better moved to another drive than deleted without a look.