Levo guides · System Data

How to clear System Data on a Mac

Clear System Data from the outside in: Time Machine snapshots first, then caches and logs, then developer data, then old iPhone backups. Never delete anything inside /System, /private/var/db or the Library folders of other apps you still use.

Levo's popover with the disk bar showing System Data named, beside the Ready to free list
StepWhatTypical sizeComes back?
1Time Machine local snapshots5 to 50 GBYes, hourly while Time Machine is on
2Caches in ~/Library/Caches2 to 20 GBYes, as apps need them
3Logs and crash reportsUnder 2 GBYes, new ones
4Xcode, Docker and package caches10 to 100 GBYes, rebuilt or downloaded
5Old iPhone and iPad backups5 to 60 GB eachNo

How to do it yourself

Work through these in order and check System Settings › General › Storage after each one. It can take a minute or two to recalculate.

  1. Snapshots. List them, then thin them. The number is the bytes you want back and the 4 is the urgency.
tmutil listlocalsnapshots /
sudo tmutil thinlocalsnapshots / 20000000000 4
  1. Caches. Quit the apps first. Open Finder, choose Go › Go to Folder (⇧⌘G), enter ~/Library/Caches, and move the biggest folders to the Trash. Leave the folders themselves, delete what is inside.
  2. Logs. The same way, with ~/Library/Logs and ~/Library/Logs/DiagnosticReports.
  3. Developer data. If you use Xcode, these are the big ones:
rm -rf ~/Library/Developer/Xcode/DerivedData
xcrun simctl delete unavailable
docker system prune
  1. Old backups. In Finder, open your iPhone in the sidebar, or go to ~/Library/Application Support/MobileSync/Backup. Delete backups of devices you no longer own. Do this from Finder’s Manage Backups, not by dragging folders, so you don’t break one you want.

Leave the swap files in /private/var/vm, the contents of /System, and the Mail, Photos and Messages libraries alone. A restart is the safe way to shrink swap.

What to skip, and how much to expect

Most people get back 10 to 30 GB from steps 1 to 3, and the developer step is where the big numbers come from. If you skipped Xcode and Docker because you don’t use them, you will likely stop after the caches.

If the number is still high after all five steps, the remaining space is probably a virtual machine, a model library or a large project folder. See System Data over 100 GB for how to size each.

How Levo does it

Levo keeps a live index of your home folder, hidden folders included, so it already knows the sizes. Its popover lists what is really inside System Data under Ready to free: caches by app, Xcode build data, simulators, Docker images, old backups and more, each with a size and a reason.

Levo's popover under the menubar with the disk meter and the Ready to free list

Choose Select › Smartly and Levo ticks only what is safe at your cleanup level. Your own AI agent, such as Claude Code or Codex, helps judge the items, but it can only read; Levo does every deletion, and checks each item again right before it goes. Backups, virtual machines and large files are listed but never ticked for you. You untick anything you want to keep, then Clean up.

Levo leaves Time Machine’s local snapshots, the swap file and macOS’s own files to macOS, so step 1 above stays a Terminal job. There are two free cleanups, then a lifetime licence.

FAQ

Is it safe to clear System Data?

Clearing caches, logs, build data and old backups is safe. Deleting files inside the system folders or the Photos, Mail and Messages libraries is not.

Why did System Data not shrink after I deleted things?

Storage settings recalculates slowly, and emptying the Trash is a separate step. Local Time Machine snapshots also hold space until macOS thins them or you do.

Will clearing caches slow my Mac down?

Only for a moment. Apps rebuild the caches they need the next time you open them, so the first launch can be a little slower.

Can I clear System Data completely?

No. macOS keeps its own files, swap and snapshots in there, so it never reaches zero.