It's okay to water plants with leftover coffee or to add coffee grounds to the compost pile but learning when and why to use coffee in the garden will protect your plants. Only use black, unflavored coffee with this method to offer plants a source of nitrogen which can fertilize certain indoor and outdoor plants.