Dried coffee grounds are very good for rosemary. It supplies nitrogen to the soil. Do not use brewed coffee grounds because the acidity can harm your plant.