What’s safe to delete on a Mac (and what isn’t)

A plain list of what you can delete on a Mac to free space safely, what to check first, and what to leave alone, with the folder paths and the right tools.

Short answer

Usually safe: the Trash, old .dmg and .pkg installers, caches of apps that are closed, Xcode DerivedData, old iOS device support files, and package-manager caches. Check first: iPhone backups, Downloads, Mail attachments and Time Machine local snapshots. Leave alone: the macOS system, Docker.raw (shrink it with Docker), app containers of apps you use, and anything in /System.

The steps
  1. Empty the Trash and delete installers you’ve already used (.dmg, .pkg, old “Install macOS” apps).
  2. Clear caches of closed apps in ~/Library/Caches.
  3. Developers: delete Xcode DerivedData and unused simulators with xcrun simctl delete unavailable.
  4. Remove iPhone backups you no longer need from Finder › Manage Backups.
  5. Review Downloads and large files before deleting.
  6. Leave /System, Docker.raw and app containers alone.

Usually safe to delete

WhatWhereComes back?
TrashDock › TrashNo
Old installersDownloads, /Applications (“Install macOS…”)No
App caches (closed apps)~/Library/CachesYes, slowly
Xcode DerivedData~/Library/Developer/Xcode/DerivedDataYes, on next build
Old iOS DeviceSupport~/Library/Developer/Xcode/iOS DeviceSupportOnly for devices you connect
npm, pip, Homebrew caches~/.npm, ~/Library/Caches/pip, Homebrew’s cacheYes, on next install

More detail: App caches · DerivedData · Package caches

Check first

  • iPhone and iPad backups: delete only ones you don’t need. Where they are
  • Time Machine local snapshots: thin them with tmutil rather than deleting files. How
  • Downloads and large files: sort by size and decide. Find large files
  • Local AI models (Ollama, LM Studio): big, but re-downloading takes time. Models

Let Tidy Mac do this for you

See every part of your storage explained, and clear junk to the Trash with Undo. $9.99 once, 2 Macs.

Leave alone

  • /System and the macOS volume: sealed and read-only.
  • Docker.raw: use docker system prune instead. Why
  • Containers and Group Containers of apps you use: they hold the app’s data.
  • Anything a cleaner can’t explain.

Let Tidy Mac sort it

Tidy Mac's Clean screen sorts every item in a similar way: Safe to clear (ticked for you), Worth a look (never ticked, you decide) and Kept (shown, never removed). What you clear goes to the Trash first, with Undo in History. $9.99 once for 2 Macs. See how

Keep reading