---
title: "What is the DerivedData folder on Mac? (Xcode)"
description: "What is DerivedData on a Mac? It belongs to Xcode. What’s inside, how big it gets (5 – 80 GB), whether it’s safe to delete, and how to shrink it."
url: https://tidymac.space/folders/deriveddata/
updated: 2026-10-30
---

[Home](/) [Folders](/folders/) DerivedData

# What is the DerivedData folder on my Mac?

It belongs to **Xcode**. Here’s what’s inside and the right way to deal with it.

SafeUsually 5 – 80 GBUpdated October 2, 2026By the Tidy Mac team

Short answer

DerivedData is Xcode’s build folder: compiled files and indexes for every project you’ve built. It’s safe to delete, and Xcode recreates it on the next build. Quit Xcode first.

**Skip the manual steps.** Tidy Mac finds this and every other hidden space hog on your Mac in under a minute.

[Download free](/download/TidyMac.dmg)[Buy · $9.99 $29](/buy/)

**Location:** `~/Library/Developer/Xcode/DerivedData`

## What’s inside

-   One folder per project (name + hash)
-   ModuleCache.noindex
-   Index data

**Our verdict: Safe.** Your Mac or your apps recreate this automatically. Removing it won’t lose anything you made.

## Clear it

```
rm -rf ~/Library/Developer/Xcode/DerivedData/*
```

![](/img/brand/tidy-128.png)

### Find every folder like this on your Mac

Tidy Mac’s Space Map shows every big folder at its real size, and Apps › Leftovers finds folders left by apps you already deleted.

[Download](/download/TidyMac.dmg) [Buy Tidy Mac · $9.99 $29](/buy/)

## Frequently asked questions

Can I delete DerivedData?

Safe: Your Mac or your apps recreate this automatically. Removing it won’t lose anything you made. DerivedData is Xcode’s build folder: compiled files and indexes for every project you’ve built. It’s safe to delete, and Xcode recreates it on the next build. Quit Xcode first.

Where is DerivedData on my Mac?

~/Library/Developer/Xcode/DerivedData. In Finder choose Go › Go to Folder and paste the path.

How big does DerivedData get?

Usually 5 – 80 GB.

## Keep reading

[Xcode DerivedDataLibrary](/learn/xcode-deriveddata/)[What is .npm/\_cacache?npm](/folders/npm-cacache/)[What is Caches/Homebrew?Homebrew](/folders/homebrew-cache/)[What is Adobe/Common/Media Cache Files?Adobe Premiere Pro, After Effects, Media Encoder](/folders/adobe-media-cache/)[What is pnpm store?pnpm](/folders/pnpm-store/)

Share:[X](https://x.com/intent/post?text=What%20is%20the%20DerivedData%20folder%20on%20my%20Mac%3F&url=https%3A%2F%2Ftidymac.space%2Ffolders%2Fderiveddata%2F)[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Ftidymac.space%2Ffolders%2Fderiveddata%2F&title=What%20is%20the%20DerivedData%20folder%20on%20my%20Mac%3F)[Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Ftidymac.space%2Ffolders%2Fderiveddata%2F&t=What%20is%20the%20DerivedData%20folder%20on%20my%20Mac%3F)[LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Ftidymac.space%2Ffolders%2Fderiveddata%2F)

#### On this page

[What’s inside](#whats-inside)[Clear it](#clear-it)[FAQ](#faq)

**Tidy Mac**

See this on your own Mac in under a minute. $9.99 $29 once, 2 Macs.

[Download](/download/TidyMac.dmg)
