Wipecraft
English
Buy · $19

How to clear System Data on Mac safely

You cannot clear System Data on a Mac as one item, because System Data is not one item. The safe steps are a restart, clearing app caches in ~/Library/Caches, and removing Xcode build data and simulators that no longer run. Old iPhone backups, local models and Docker images are your decision. Swap, the Spotlight index and anything under /System stay.

This page gives eight steps in that order. Each step has a label, says whether the space comes back, and shows a size measured on one real Mac.

If you first want to know what the number holds, read what System Data is. If your System Data is huge, or it came back after you cleaned it, the last section is for you.

The sizes come from the author's own Mac, a MacBook Pro with an M2 Pro chip, macOS 27.2 and Xcode 27.2. Wipecraft scanned it on 2026-11-08. The folder sizes were read by hand on 2026-11-15. The author makes Wipecraft. Every step on this page works without it.

How do you reduce System Data on a Mac?

To reduce System Data on a Mac, work through eight steps, from the least risk to the most: restart, old iPhone and iPad backups, Time Machine local snapshots, app caches, Xcode build data, simulators, local models and Docker images. The eighth step is a list of what to leave alone. The table shows each label and whether the space comes back.

StepLabelDoes it come back?Size on the measured Mac
1. Restart your MacSafeYesNot measured
2. Old iPhone and iPad backupsYour callNoNot measured
3. Time Machine local snapshotsYour callYesNone on this Mac
4. App caches in your Library folderSafeYes6.0 GB
5. Xcode build dataSafeYes11.0 GB
6. Simulators that no longer runSafeNo53.0 GB for all simulators
7. Local models and Docker imagesYour callNo3.3 GB and 8.6 GB
8. What you should never deleteLeave aloneDoes not apply125.6 GB

Is it safe to delete System Data on a Mac?

It is safe to delete parts of System Data on a Mac, and not safe to delete all of it. Caches and Xcode build data are safe, because the app makes them again. Backups, local models and Docker images are the only copy on this Mac. On the measured Mac, System Data was 271.1 GB, and 125.6 GB of that was space the Mac needs to run.

Nobody should delete System Data from that part.

This page uses three labels.

Wipecraft uses the same idea with five buckets. You can read the full bucket rules.

Before you begin

Before you clear System Data on a Mac, do three things: write down the System Data number, make sure a current backup exists, and quit the apps whose caches you will remove. Some of Apple's own steps free disk space without changing the System Data number.

How to clear System Data on Mac by hand

To clear System Data on a Mac by hand, do the eight steps below in order. Steps 1, 4, 5 and 6 are safe. Steps 2, 3 and 7 are your call: read what you lose first. Step 8 lists what to leave alone. Each step says what you lose and whether the space comes back.

1. Restart your Mac (safe)

Restarting a Mac is the first step to reduce System Data, and it is safe. Open the Apple menu and choose Restart. A restart ends every app and lets macOS remove temporary files and start with empty swap. Apple also says that starting in safe mode clears some system caches, and that macOS creates them again as needed (support.apple.com/116946).

You lose nothing. The space comes back with use. This guide did not measure how much a restart changes the number, so it gives no size. Compare your own number before and after.

2. Old iPhone and iPad backups (your call)

Old iPhone and iPad backups stay on the Mac's disk until you delete them, and deleting them is your call. Apple states that you cannot recover a backup after you delete it (support.apple.com/108809). Keep the newest backup, or check first that the device has an iCloud backup. The space stays free unless you back up to the Mac again.

  1. Connect the device.
  2. Select it in Finder.
  3. Open the General tab and click Manage Backups.
  4. Right-click a backup and choose Delete.

The backups are stored in ~/Library/Application Support/MobileSync/Backup/. The Storage panel counts them under iOS files, not under System Data (support.apple.com/guide/mac-help/find-and-delete-files-syspf5a64aa6/mac), so this step frees disk space but may not lower the System Data number.

macOS protects this folder, so its size was not read for this guide.

3. Time Machine local snapshots (your call)

When Time Machine is on, macOS saves a Time Machine local snapshot of the disk about once per hour and keeps it for 24 hours. macOS deletes local snapshots by itself as they get old or when the disk needs space, and Apple counts the space that snapshots use as available storage (support.apple.com/102154). In most cases you do not need to delete them, and removing them may not change the System Data number.

Look before you act:

tmutil listlocalsnapshots /

On the measured Mac the list had three entries. All three had names that begin with com.apple.os.update. Those belong to macOS updates. This guide does not remove them. There were no Time Machine snapshots, so this step has no size.

Apple's own way to remove Time Machine snapshots:

  1. Open Time Machine settings.
  2. Click Options and set Backup Frequency to Manually.
  3. Wait a few minutes.
  4. Turn automatic backups on again.

There is also a Terminal command, tmutil deletelocalsnapshots, followed by the date from the list. It cannot be undone, and tmutil does not report the size of a snapshot. The command was not run for this guide.

4. App caches in your Library folder (safe, comes back)

App caches in ~/Library/Caches are safe to clear when the app is closed, because the app builds its cache again. In Finder, open the Go menu, choose Go to Folder and type ~/Library/Caches. Sort by size. Quit an app, then move that app's folder to the Trash. Do one app at a time, the largest first.

Do not select everything. For a browser, use the browser's own setting to clear its cache.

You lose nothing permanent. The app builds the cache again and may be slower the first time. So the space comes back.

On the measured Mac this folder was 6.0 GB. The two largest folders in it belonged to a package manager and a browser. In Wipecraft the same kind of data is in two buckets, Safe to remove and Comes back. They were 58.7 GB and 2.7 GB on the scan. Those are whole buckets, with logs and temporary files from the whole disk, so they are larger than this one folder.

The steps above and below are what Wipecraft does in one scan, with the same labels. The scan is free.

5. Xcode build data (safe, comes back)

Xcode build data in ~/Library/Developer/Xcode/DerivedData is safe to delete, because Xcode makes it again from your source files at the next build. Quit Xcode, open the folder in Finder and move its contents to the Trash. You lose nothing. The next build of each project takes longer, and the folder grows again.

The space comes back with the next build, and this Mac shows how fast. On 2026-11-08 the scan found 16 kB of Xcode build data, because it had just been cleared. On 2026-11-15 the folder was 11.0 GB.

6. Simulators that no longer run (safe)

Simulators that the installed Xcode can no longer run are safe to delete. After an Xcode update, these simulator devices stay on the disk, and you lose nothing that you can still use when you remove them. This command removes only the devices that the current Xcode does not support:

xcrun simctl delete unavailable

On the measured Mac there were none on 2026-11-15, so the command would have freed nothing. That is normal on a Mac where it was run before.

The larger part is your call: simulator runtimes and the devices you still use. All simulator data on this Mac was 53.0 GB, and the two installed runtimes alone were 11.1 GB. Remove a runtime you do not need in Xcode Settings, in Components: select its info button and choose Delete. If no runtime for a platform is installed, Xcode shows a Get button that downloads the most recent one. Apple documents this at developer.apple.com/documentation/xcode/downloading-and-installing-additional-xcode-components.

7. Local models and Docker images (your call)

Local models and Docker images are your call, because each is the only copy on the Mac and does not come back by itself. Remove a local model with the tool that downloaded it, such as Ollama or LM Studio. For Docker, ask Docker what it can remove. Do not move or delete the Docker.raw file in Finder.

Local models. A local model takes time to download again. With Ollama, list the models and remove one by name:

ollama ls
ollama rm <name>

On the measured Mac the models were in LM Studio, and its folder was 3.3 GB. LM Studio removes a model from its own model list.

Docker images. Docker keeps all images, volumes and build cache in one disk image file named Docker.raw. Finder shows the largest size the file may reach, not the space it uses. On this Mac, Finder showed 460.0 GB and the file used 8.6 GB. Ask Docker what it can remove:

docker system df

Here it reported 6.7 GB as reclaimable. This command removes stopped containers, unused networks, dangling images and build cache:

docker system prune

It does not remove volumes unless you ask for it, and there is no undo. It was not run for this guide. While Docker is running, Wipecraft shows the disk image under Your Mac needs this, because the file is in use.

Android emulators (14.2 GB on the scan) and git worktrees (22.4 GB) are the same kind of decision. None of this grows back by itself. This is where space that stays free comes from.

8. What you should never delete (leave alone)

Never delete these parts of System Data by hand: system folders, swap files and the sleep image, the Spotlight index, and the support folders of apps you still use. macOS or an app needs them. Removing them can break the app or stop the Mac from starting.

On the measured Mac this group was 125.6 GB. Erasing the Mac and installing macOS again is not a step for System Data.

Why is System Data still huge, or back after cleaning?

System Data stays huge or comes back after cleaning for four common reasons. Caches fill again with use. The large part is data that no cache step removes, such as simulators, local models and Docker images. The Storage panel has not counted again. And a large part is space the Mac needs, which should not go lower.

  1. The caches came back. Steps 1, 4 and 5 remove data that apps make again. On the measured Mac, Xcode build data went from 16 kB to 11.0 GB in one week. If the number keeps growing after each cleaning, this is the usual cause, and it is expected.
  2. The large part is your call. No cache step touches models, simulators, emulators or images. On the scan, Your call was 84.0 GB and Safe to remove was 58.7 GB. Go back to steps 6 and 7.
  3. The Storage panel has not counted again. The panel does not always update at once. Restart the Mac, open the panel again and wait until the bar stops moving.
  4. A large part is space the Mac needs. On this Mac that was 125.6 GB of 271.1 GB. On a disk with 200 gigabytes of System Data, a share like this cannot go lower, and it should not.

For the causes behind the growth, read why System Data grows.

A faster way to do the same steps

Wipecraft scans your disk for free and shows the same labels for your own data, with a size on every row. Items in Your call go to Quarantine first, where you can undo them for 30 days. Read how undo works.

CleanMyMac vs DaisyDisk vs Wipecraft: what each one shows in System Data

See what Wipecraft finds on your Mac