Developer IDEs
Clear IntelliJ IDEA Cache on Mac
To clear the IntelliJ IDEA cache, open File > Invalidate Caches inside the app and restart it. The cache holds indexes the app rebuilds on its own, so your projects and settings stay as they are.
Clear the IntelliJ IDEA cache without guessing
IntelliJ IDEA data usually takes 2 GB – 30 GB on a Mac. The free scan shows the exact size on your Mac before you change anything.
Free scan · No account · Nothing is deleted without your OK · Moves to the Trash first · macOS 14+
OptiClear is a Mac app. Copy this page's link and open it on your Mac.
Email me the link- Application
- IntelliJ IDEA
- Typical data size
- 2 GB – 30 GB
- Category
- Developer IDEs
- File Location
~/Library/Caches/JetBrains
Clear it from inside IntelliJ IDEA first
The safest way is the option built into the app: File > Invalidate Caches, then restart; this clears only the current version's caches, not folders left by older releases or by other JetBrains IDEs.
IntelliJ IDEA cache folders you can clear
These folders are rebuilt automatically, so removing them does not touch your own files.
Locations are the standard macOS folders IntelliJ IDEA uses; some appear only after you use the matching feature.
What the IntelliJ IDEA cache holds
Specific to IntelliJ IDEA
The cache for IntelliJ IDEA is stored in the JetBrains caches folder in your Library, with one subfolder per product and version. It holds indexes and temporary data that the app rebuilds automatically. Clearing it helps when indexing keeps running again and again, when code completion gives wrong results, or when old version folders pile up, because each IntelliJ IDEA release leaves its own versioned folder behind. Your projects stay in their own folders, and settings and plugins are kept separately, so clearing the cache does not touch them. Typical data for this app takes 2 GB – 30 GB.
What changes after you clear the IntelliJ IDEA cache
After you clear the cache and restart, the app rebuilds its indexes in the background, so the first start and the first project opening will be slower. Your projects, settings and plugins stay where they were. Window positions from the last session are rebuilt automatically. If you use Backup and Sync with your JetBrains Account, your settings can also be brought back from that account. Version folders from earlier releases are not removed by Invalidate Caches, so remove those separately if you need the space.
0 of 4 done
- Account and sync
- Paid JetBrains IDEs are activated with a JetBrains Account; settings can also be synced to that account with Backup and Sync.
Try it without risk
- Download and scan for freeSee every IntelliJ IDEA file and its size. No account needed.
- Clean free for 7 daysStart the 7-day free trial of the yearly plan inside the app.
- Keep it or cancelCancel in your App Store settings at least 24 hours before the trial ends and you won't be charged.
After the free trial, Pro costs $39.99 per year in your country's App Store; cancel any time.