Developers · JetBrains IDE caches and indexes

Is it safe to delete JetBrains caches in Library/Caches/JetBrains?

Safe to removeComes back on its ownTypical size: 1–30 GB
~/Library/Caches/JetBrains

Updated October 17, 2026By the MoreRoom team, Yando Pte. Ltd.This page as Markdown

The short answer

Yes. Rebuilt or re-downloaded automatically when needed.

What is it?

IntelliJ IDEA, PyCharm, WebStorm, GoLand and other JetBrains IDEs keep indexes, local history and caches in ~/Library/Caches/JetBrains, one folder per product and version. Folders for versions you no longer use stay after upgrades. Typically a few GB.

Indexes and caches of IntelliJ, PyCharm, WebStorm and others. Rebuilt when a project is opened (indexing can take a while).

What happens if you delete it?

The IDE rebuilds its indexes the next time you open a project, which can take several minutes on large projects. Your settings and projects are not stored here.

How to remove it properly

To reset the current IDE, use File › Invalidate Caches… inside it. To free space, quit the IDEs and move folders for old versions to the Trash in Finder (Go › Go to Folder… ~/Library/Caches/JetBrains). Recent IDEs also offer to delete leftover directories from old versions.

Quit the app that uses it, then move it to the Trash. Empty the Trash when you’re sure.

Before you delete it

Local History (the IDE’s own record of file changes) is stored in these caches and is lost when they are deleted.

How MoreRoom helps

MoreRoom recognises this item, shows its real size and when it was last used, and labels it “Safe to remove”. In the free version you can move it to the Trash in one click, with Undo; Pro collects every safe item at once.

Frequently asked questions

Is it safe to delete JetBrains caches in Library/Caches/JetBrains?

Yes. Rebuilt or re-downloaded automatically when needed. The IDE rebuilds its indexes the next time you open a project, which can take several minutes on large projects. Your settings and projects are not stored here.

Will JetBrains IDE caches and indexes come back after I delete it?

Yes. The IDE rebuilds its indexes the next time you open a project, which can take several minutes on large projects. Your settings and projects are not stored here.

How do I remove JetBrains IDE caches and indexes properly?

To reset the current IDE, use File › Invalidate Caches… inside it. To free space, quit the IDEs and move folders for old versions to the Trash in Finder (Go › Go to Folder… ~/Library/Caches/JetBrains). Recent IDEs also offer to delete leftover directories from old versions.

Guides that mention it

Related folders