Developer IDEs
Clear PyCharm Cache on Mac
Clearing the PyCharm cache is safe, and the cleanest way is inside the app: File > Invalidate Caches, then restart. It usually frees space or fixes indexing problems, and it does not touch your projects.
Clear the PyCharm cache without guessing
PyCharm data usually takes 1 GB – 20 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
- PyCharm
- Typical data size
- 1 GB – 20 GB
- Category
- Developer IDEs
- File Location
~/Library/Caches/JetBrains
Clear it from inside PyCharm 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.
PyCharm 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 PyCharm uses; some appear only after you use the matching feature.
What the PyCharm cache holds and when to clear it
Specific to PyCharm
The cache folder at ~/Library/Caches/JetBrains holds indexes that the app builds so code completion and search stay quick. The app rebuilds these automatically, and the folder is shared with other JetBrains IDEs, so clearing only affects the current version. Clearing helps when indexing keeps running again and again, when code completion gives wrong results, or when old version folders pile up. The app's data typically takes 1 GB – 20 GB.
What happens after you clear the PyCharm cache
The first start afterwards takes longer, because the app rebuilds its indexes, and large projects may index for a while. Your projects keep their own folders and the .idea folder inside each one, so nothing you wrote is lost. Settings, plugins and any Backup and Sync data are stored outside the cache and stay in place. Python virtual environments inside your projects are not removed either.
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 PyCharm 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.