# How to Reduce System Data on a Mac: 7 Steps

> System Data on your Mac is huge? Seven steps in order, from a restart to Time Machine snapshots, caches and developer files, with the command for each and when to stop.

Canonical: https://bytesweep.app/answers/reduce-system-data-on-mac.html
Last updated: 2026-11-04

## How do I reduce System Data on a Mac?

System Data on your Mac is huge? Seven steps in order, from a restart to Time Machine snapshots, caches and developer files, with the command for each and when to stop.

- By [Shajeen Ahamed](https://bytesweep.app/about.html#author)
- Updated 4 November 2026
- Steps checked against Apple's documentation

**Short answer**

Restart, empty the Trash and check the bar again. If System Data is still large, remove local Time Machine snapshots, clear the caches of the biggest apps, closed first, delete Xcode build data and old simulators if you develop, and shrink Docker from Docker. Measure after each step; stop when the grey bar is a size you can live with.

### Before step 1: write down the number

Open System Settings, General, Storage, wait for the bar to fill in, and hold the pointer over the grey part. Write that figure down. System Data moves on its own (it includes swap and caches that grow and shrink while you work), so without a starting number you cannot tell whether a step did anything. If you want to know what the category is before you change it, [what is System Data on a Mac](https://bytesweep.app/mac-system-data.html) explains every part of it.

### Step 1: restart and empty the Trash (2 minutes)

A restart removes the swap files macOS writes when memory runs short, and clears many temporary files. Empty the Trash first, because its contents still count. Then reopen Storage. On a Mac that has been running for weeks this alone can take several gigabytes off System Data.

### Step 2: local Time Machine snapshots (2 minutes)

If you back up with Time Machine, macOS also keeps snapshots on the internal disk. List them in Terminal:

```
tmutil listlocalsnapshots /
```

Names beginning `com.apple.TimeMachine` belong to Time Machine. Each one can be deleted by its date:

```
## the date is the part after "com.apple.TimeMachine." in the list above
sudo tmutil deletelocalsnapshots 2026-11-04-091512
```

Snapshots named `com.apple.os.update` belong to macOS updates; leave them. Deleting a Time Machine snapshot cannot be undone, but your backups on the backup disk are not affected, and macOS will make new local snapshots after the next backup.

### Step 3: see which Library folder is biggest (3 minutes)

Most of what remains lives in your Library folder. This prints its 15 largest folders, biggest last:

```
du -sh ~/Library/* 2>/dev/null | sort -h | tail -15
```

Terminal needs Full Disk Access (System Settings, Privacy & Security) to see everything. Without Terminal: in Finder hold Option, choose Go, Library, press Command-J, tick Calculate all sizes and sort by Size. The top one or two folders decide which of the next steps you need.

### Step 4: clear the biggest app caches (5 minutes)

If `Caches` is near the top, look inside it the same way and find the two or three largest subfolders. Each is named after an app (for example `com.spotify.client` or `Google`). Quit that app, move its cache folder to the Trash, and reopen the app; it rebuilds what it needs. Skip folders you do not recognise. [How to clear the cache on a Mac](https://bytesweep.app/answers/clear-cache-on-mac.html) covers browsers too.

### Step 5: developer files, if you write software (5 minutes)

If `Developer` is at the top, it is Xcode. These two are safe and usually the largest:

```
## build data Xcode regenerates on the next build
rm -rf ~/Library/Developer/Xcode/DerivedData

## simulators the installed Xcode can no longer run
xcrun simctl delete unavailable
```

Keep `Archives` unless you no longer need to read crash reports from builds you shipped. [Xcode storage cleanup](https://bytesweep.app/xcode-storage-cleanup.html) goes further.

### Step 6: Docker and local AI models (5 minutes)

If `Containers` is at the top and Docker Desktop is installed, the space is almost certainly `Docker.raw`. Never delete the file. Remove what you do not need with Docker's own command, then check the size again:

```
docker system df
docker system prune
```

`docker system prune` removes stopped containers, unused networks, dangling images and build cache, and asks before it starts. [Docker disk space on a Mac](https://bytesweep.app/docker-disk-space-mac.html) explains why the file does not always shrink at once. Local AI models (Ollama, LM Studio, Hugging Face) live outside Library, but are often counted in the same bar: [where AI models are stored](https://bytesweep.app/ai-model-storage.html).

### Step 7: decide when to stop

System Data is never zero, and it should not be. Swap, caches and snapshots exist to make the Mac faster and safer, and they come back. A grey bar of a few tens of gigabytes on a Mac you use every day is normal. Stop when the number is stable from one day to the next and you have the free space you need; chasing the last few gigabytes buys a slower Mac for a week while everything rebuilds.

If it keeps growing quickly after you have done all seven steps, something is writing a lot: a sync client stuck in a loop, a runaway log, a VM disk. [Finding large files](https://bytesweep.app/answers/find-large-files-on-mac.html) usually catches it.

### Can Bytesweep do these steps?

Most of them. Bytesweep breaks the grey bar into the folders behind it, names each one (snapshots, app caches, Xcode data, Docker's disk image, iPhone backups, AI models), rates it safe, review first or keep, and cleans the safe ones with a 7-day undo. Deleting Time Machine snapshots is done by macOS and cannot be undone, and Bytesweep says so before you confirm. It runs on macOS 14 or later and is free to try for 3 days; cleaning needs a licence, $29.99 once per computer, no subscription.

### Sources

Read on 4 November 2026. If something here has changed, write to [support@bytesweep.app](mailto:support@bytesweep.app) and it will be corrected.

- [Apple, What is System Data on Mac storage](https://support.apple.com/en-us/102624)
- [Apple, Free up storage space on your Mac](https://support.apple.com/guide/mac-help/free-up-storage-space-sysp4ee93ca4/mac)
- [Docker, docker system prune](https://docs.docker.com/reference/cli/docker/system/prune/)

### Keep reading

- [**What System Data on a Mac is made of**](https://bytesweep.app/mac-system-data.html)
- [**Why the System Data number keeps changing**](https://bytesweep.app/blog/system-data-explained-numbers.html)
- [**How to clear disk space on a Mac quickly**](https://bytesweep.app/answers/free-up-disk-space-on-mac-fast.html)
- [**All answers**](https://bytesweep.app/answers/)

### See what is filling your disk, and why.

Bytesweep is free to try for 3 days on [Mac](https://bytesweep.app/mac.html), [Windows](https://bytesweep.app/windows.html) and [Linux](https://bytesweep.app/linux.html). Cleaning needs a licence: $29.99 once per computer, no subscription.

[Download](https://bytesweep.app/download.html) [Pricing](https://bytesweep.app/pricing.html)
