Yes, coffee grounds for soil can work well when you use them the right way. Fresh grounds need composting first though. Adding them straight to your beds can cause problems for your plants until the grounds break down.
I ran my own test last year with two tomato beds. One got fresh coffee grounds spread on top every week. The other got coffee grounds compost I had aged for three months first. The results surprised me at the start of the season.
The bed with fresh grounds showed stunted growth for the first six weeks. My tomato plants stayed small and their leaves looked pale yellow. The bed with composted grounds? Those plants took off fast and stayed dark green. By the end of summer both beds caught up, but the composted grounds gave me a head start.
Coffee grounds contain about 2% nitrogen by weight. They also improve soil structure and attract earthworms to your beds. But fresh grounds can tie up nitrogen in the short term as they break down. Your plants can't access that nitrogen until microbes finish their work.
Fresh grounds may also lower your soil pH a bit when you first add them. Used grounds run closer to neutral than you might think, around 6.5-6.8 on the pH scale. But the small acid bump can stress some plants until things balance out again.
Most experts say you should limit fresh grounds to 10-20% of your compost pile volume. For direct use in your garden, spread a thin layer no more than half an inch thick. Any more than that and you risk creating a crusty mat that water can't get through.
The best approach for using coffee grounds garden beds involves composting first. Mix your grounds with carbon-rich brown materials like dry leaves or straw. Let the pile heat up and break down for two to three months. The finished coffee grounds compost adds nitrogen to your soil without the drawbacks.
You can also use grounds as part of your mulch layer. Mix them with wood chips or straw instead of applying them pure. This keeps the grounds from clumping and lets air and water flow through. Your worms will pull the mixed mulch down into the soil over time.
Coffee shops often give away their used grounds for free if you ask. One shop can provide enough material for a small garden all season long. Just make sure to compost them first or mix them well before spreading. Your plants will thank you for the patience.
Read the full article: Soil Organic Matter: The Essential Guide