Developers · Gradle daemon logs

Is it safe to delete the ~/.gradle/daemon folder?

Safe to removeComes back on its own
~/.gradle/daemon

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?

Gradle runs long-lived background processes (daemons) to make builds faster. This folder holds their registry and log files, one subfolder per Gradle version, and the logs can add up over time.

What happens if you delete it?

Gradle recreates the folder the next time a daemon starts. Only old daemon logs are lost.

How to remove it properly

Stop running daemons with ./gradlew --stop or gradle --stop, then move ~/.gradle/daemon to the Trash with Finder’s Go › Go to Folder….

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

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 the ~/.gradle/daemon folder?

Yes. Rebuilt or re-downloaded automatically when needed. Gradle recreates the folder the next time a daemon starts. Only old daemon logs are lost.

Will Gradle daemon logs come back after I delete it?

Yes. Gradle recreates the folder the next time a daemon starts. Only old daemon logs are lost.

How do I remove Gradle daemon logs properly?

Stop running daemons with ./gradlew --stop or gradle --stop, then move ~/.gradle/daemon to the Trash with Finder’s Go › Go to Folder….

Guides that mention it

Related folders