Brew coffee and set aside to cool.
Weigh and melt the coconut oil, olive oil, sunflower oil, castor oil, and shea butter in a large mixing bowl.
Weigh the lye in a small mixing bowl and add to the brewed coffee. Mix carefully to avoid splashing.
Once the oils and lye solution are at a similar temperature, slowly pour the lye solution into the oils while blending with a stick blender.
Blend the mixture until it reaches trace, which is a thick, pudding-like consistency.
Add coffee grounds to the mixture and blend again.
Pour the mixture into a soap mold lined with freezer paper or parchment paper.
Cover the mold with plastic wrap and place it in a cool, dry place to cure for 24 hours.
After 24 hours, remove the soap from the mold and cut into bars.
Allow the soap to cure for 4-6 weeks before using.