# Is it safe to delete Xcode’s cache in Library/Caches?

- URL: https://moreroom.app/folders/xcode-cache
- Item: Xcode caches
- Location: `~/Library/Caches/com.apple.dt.Xcode`
- Verdict: Safe to remove — Rebuilt or re-downloaded automatically when needed.
- Comes back on its own: yes
- Source: MoreRoom rules catalogue (2026-10-17), by Yando Pte. Ltd.

## What is it?

`~/Library/Caches/com.apple.dt.Xcode` holds files Xcode downloads or generates to work faster, such as documentation and download caches and other temporary data. It is a regular app cache and usually ranges from a few hundred megabytes to a few gigabytes.

## What happens if you delete it?

Xcode recreates the folder and refills it as you use it; some features may be a little slower the first time. No projects or settings are stored here.

## How to remove it properly

Quit Xcode, then move `~/Library/Caches/com.apple.dt.Xcode` to the Trash with Finder’s Go › Go to Folder….
