## Mac storage full? What to delete first

Source: https://diskcity.app/guides/mac-storage-full-what-to-delete (updated 21 October 2026)

When macOS says your disk is almost full, the fastest wins are rarely your own files. Most Macs carry tens of gigabytes of things that rebuild themselves or that you forgot were there. Work down this list in order: each step is safer than the one after it, and you can stop as soon as you have enough room.

### 1. See where the space went

Open System Settings, then General, then Storage. The bar shows the big categories, and the info buttons next to Applications, Documents and Developer list the largest items. Storage settings hides a lot inside System Data, though, so treat it as a starting point rather than the full picture.

In Terminal, this lists the biggest folders in your home folder, largest first:

```sh
du -sh ~/* ~/Library/* 2>/dev/null | sort -rh | head -20
```

### 2. Empty the Trash and clear Downloads

Files in the Trash still use space until you empty it, and Downloads tends to collect installers, disk images and zip files you only needed once. Sort Downloads by size in Finder and delete the `.dmg`, `.pkg` and `.zip` files of apps you've already installed.

### 3. Clear what rebuilds itself

Caches, build output and package downloads come back on their own when they're needed. Clearing them costs a slower first build or launch, nothing more. The biggest ones on most Macs:

- App caches in `~/Library/Caches` (quit the app first).
- Xcode's DerivedData, old simulators and device support files. See [freeing space from Xcode](https://diskcity.app/guides/delete-xcode-derived-data).
- `node_modules` folders in projects you're not working on. See [cleaning up node_modules](https://diskcity.app/guides/delete-node-modules-mac).
- Package manager caches: `brew cleanup`, `npm cache clean --force`, `pnpm store prune`, `pip cache purge`.
- Docker's images and build cache. See [Docker filling your Mac](https://diskcity.app/guides/docker-disk-full-mac).
- Local AI models you no longer use. See [deleting Ollama models](https://diskcity.app/guides/delete-ollama-models).

### 4. Remove old iPhone and iPad backups

Local device backups live in `~/Library/Application Support/MobileSync/Backup` and can run to tens of gigabytes each. Manage them from Finder: select your device in the sidebar, click Manage Backups, and delete the ones for devices you no longer own. If you back up to iCloud, you may not need local copies at all.

### 5. Let macOS and iCloud help

- Optimise Mac Storage in iCloud Drive settings keeps rarely used files in iCloud and downloads them on demand.
- Photos can store full-size originals in iCloud and keep smaller versions on the Mac.
- Messages can keep conversations for a year instead of forever (Messages, Settings, General, Keep messages), which removes old attachments with them.
- Local Time Machine snapshots are removed by macOS when space runs low. `tmutil listlocalsnapshots /` shows them.

### 6. Only then, your own files

Large videos, old projects and archives are the last resort, and the riskiest. Rather than deleting them, consider moving them to an external drive or a NAS. Check the copy opens before you delete the original.

What to leave alone: anything in `/System`, the `Docker.raw` disk image (prune inside Docker instead), the Photos library package (delete inside Photos), and app folders in `~/Library/Application Support` unless you've removed the app.

### How DiskCity helps

DiskCity is in development. It draws your disk as a city so the biggest and longest-forgotten folders stand out, sorts everything into what rebuilds itself and what's personal, and builds a cleanup plan you approve item by item. Rebuildable items go first, personal files wait 30 days in a Recycling Yard, and Autopilot, included with every licence, can keep space free from then on. [Join the waitlist](https://diskcity.app/) to hear when it launches.
