I have not tested this recipe with coconut oil but it should work. Measure out the coconut oil after it has been melted to ensure an accurate amount. You can melt it in a glass measuring cup in the microwave in 30 seconds to 1 minute or in a sauce pot on the stove over medium-low heat.