Composting Coffee Grounds
Used coffee grounds are one of the most common things people toss into a compost pile — and one of the most misunderstood. They're a nitrogen-rich green, not the acid bomb people assume.
Brew coffee at home and you've got a steady, year-round supply of one of the better nitrogen sources a backyard pile can ask for. The catch: almost everything "everyone knows" about composting coffee grounds — that they're acidic, that they count as a brown, that worms thrive on them — is either wrong or needs an asterisk. Here's what the data and the extension literature actually say.
Coffee grounds are a green, despite the color
The most common mistake is filing coffee grounds under "browns" because, well, they're brown. But color has nothing to do with how a material sorts into greens and browns — the carbon-to-nitrogen ratio does. Used grounds come in around 22:1 (commonly cited at roughly 20:1),[1] which puts them squarely in green territory, right alongside fresh grass clippings and vegetable scraps. That nitrogen is what feeds the microbes doing the heating. So when you add grounds, you're adding fuel, not structure — you still need real carbon browns (dry leaves, shredded paper, cardboard) to balance them out. See where grounds land relative to everything else on the full C:N chart, and work out your proportions with the C:N Ratio Calculator.
The acidity myth
The idea that coffee grounds acidify compost — and can be used to keep blueberries, azaleas, and hydrangeas happy — is stubborn, and mostly wrong. Coffee itself is acidic, but the acids are largely water-soluble and leave with the brewed liquid. Used, rinsed grounds test close to neutral, usually around pH 6.5 to 6.8.[3] Fresh, unbrewed grounds run more acidic, but hardly anyone composts those. And even if grounds went in acidic, finished compost tends to drift toward neutral as it matures anyway. Add grounds because they're a good nitrogen source, not because you're trying to acidify soil — that job belongs to elemental sulfur or an acidic mulch like pine needles, and even those work slowly.
How much to add, and why they mat
Grounds are fine, dense, and hold a lot of water — the dataset above puts their typical moisture near 60%. The same qualities that make them a good green also make them prone to compaction. Pile a thick, standalone layer of wet grounds and it packs into a slick, airless mat that goes anaerobic and sour fast. The fix is simple: keep grounds to roughly 10–20% of the pile by volume, and mix them through with bulky browns instead of dumping a week's worth in one spot. Paper coffee filters can go in too — they're a carbon brown and break down fine once you tear them up.
Coffee grounds in a worm bin
Worms genuinely like used coffee grounds — the fine, gritty texture even helps their digestion, the way grit helps a chicken. But a worm bin is small and closed, and grounds can heat up slightly as they break down and nudge the pH downward, both of which stress worms if you overdo it. The common guideline is no more than about a fifth of what you feed, added thin and mixed into the bedding rather than piled on top. If your coffee habit outpaces what the bin can handle, send the surplus to the outdoor pile instead. The Worm Bin Calculator helps size feeding to your worm population.
The bottom line
Treat used coffee grounds as a free, reliable nitrogen green sitting near 22:1 C:N. Add them in moderation, always alongside carbon browns, and don't expect them to shift your soil's pH. Keep the layer thin so it doesn't mat, toss the filters in with them, and if you keep worms, go easy on the grounds. Do that, and your coffee habit ends up quietly feeding the garden too.
Frequently Asked Questions
Are coffee grounds a green or a brown in composting?
A green — despite the color. Used grounds run about 22:1 C:N, close to grass clippings, so they act like a nitrogen source that helps heat a pile. Pair them with true browns like dry leaves or shredded paper.
Do coffee grounds make compost acidic?
Mostly no. Used, brewed grounds sit close to neutral (about pH 6.5–6.8) because the acidity leaves with the liquid coffee. Fresh grounds run more acidic, but adding used grounds to a mixed pile doesn't meaningfully acidify the finished compost — so they're not a reliable way to lower soil pH.
How many coffee grounds can I add to a compost pile?
Keep them to roughly 10–20% of the pile by volume. They're fine, dense, and wet, so a thick layer packs down and turns anaerobic fast. Mix them through with plenty of bulky browns instead of dumping them in one slug.
Can you put coffee grounds in a worm bin?
Yes, in moderation — a common guideline is no more than about a fifth of what you feed. Add them thin and mixed with bedding; a big sudden dose can heat the bin slightly and drop the pH inside.