Why Use Coffee Grounds in the Garden? Coffee grounds provide an unlimited source of nutrients for your garden . . . They hold moisture, They are free, They smell good, They contain Nitrogen-Phosphate-Potassium (N-P-K) and other trace minerals, They help keep slugs away from plants, They repel ants, Earthworms LOVE them, They add acidity to the soil.