Skip to content
Gardener's hands sprinkling used coffee grounds onto a layered backyard compost pile of leaves and vegetable scraps
Peter Vogel

Peter Vogel

Peter Vogel is the founder of GrowPerma, bringing together evidence-based gardening advice with permaculture principles. When he's not writing about companion ...

Soil & Composting July 10, 2026

Composting Coffee Grounds: Best Practices

You finish your morning pour-over, and there they are again: a soggy puck of used coffee grounds headed for the trash. The good news is that composting coffee grounds is one of the easiest wins in the garden, and the science backs it up. The catch is that almost everything you have heard about how to use them is a little bit wrong. Grounds are not acidic, they are not a fertilizer you can sprinkle straight onto seedlings, and more is definitely not better.

Used well, coffee grounds add nitrogen, feed compost microbes, and even help your pile heat up faster. Used badly, they can mat into a slimy layer or actually stunt the plants you were trying to help. Here is exactly how to get it right, based on decades of university extension research.

20:1

Carbon-to-Nitrogen Ratio

Makes grounds a "green"

2.4%

Nitrogen by Dry Weight

Penn State lab analysis

6.5–6.8

pH of Used Grounds

Near neutral, not acidic

20%

Max Share of Pile

By volume

Here is what you'll learn in the next few minutes:

  • Whether coffee grounds count as a "green" or a "brown" in your compost recipe
  • The exact proportion to use so you help plants instead of harming them
  • Why the "coffee grounds are acidic" advice is a myth
  • How to add grounds straight to soil safely, and when to never do it
  • Whether worms actually like coffee

Key Takeaway

Treat coffee grounds as a nitrogen-rich "green" compost ingredient, keep them to 20% or less of the pile by volume, and always compost or age them before they touch seeds and seedlings. Done that way, they are a genuinely useful free resource.

Cross-section of a healthy compost pile showing layered dried leaves, coffee grounds, kitchen scraps and finished compost with earthworms

Are Coffee Grounds a Green or a Brown?

Despite their dark color, coffee grounds are a "green," not a "brown." In composting shorthand, "greens" are nitrogen-rich materials like grass clippings and kitchen scraps, while "browns" are carbon-rich materials like dry leaves and cardboard. What decides the category is the carbon-to-nitrogen (C:N) ratio, and coffee grounds land right in green territory.

Laboratory analyses put spent grounds at roughly 20:1 to 26:1 carbon to nitrogen, with a Penn State Extension-affiliated test of Starbucks grounds measuring about 24:1 and Oregon State citing a reference value near 20:1. Because that number sits below the 30:1 threshold that separates greens from browns, Penn State's Bucks County Master Gardeners flatly recommend calling grounds "green stuff." That same analysis measured about 2.4% nitrogen by dry weight, plus modest phosphorus and potassium.

PropertyCoffee GroundsWhat It Means
C:N ratio~20:1 to 26:1A nitrogen-rich "green"
Nitrogen (dry weight)~2.0–2.4%Slow-release, not instant
pH (used grounds)6.5–6.8Near neutral
Ideal compost target~30:1 overallPair grounds with browns

Sources: Penn State Extension / Bucks County Master Gardeners, Washington State University Extension, Cornell Waste Management Institute

Because grounds behave like grass clippings, the fix is simple: balance every bucket of grounds with a couple of buckets of dry, carbon-rich "browns" such as shredded leaves, straw, or torn cardboard. That pushes your overall pile toward the ideal 30:1 ratio that Cornell's composting program recommends for fast, odor-free decomposition. Your paper coffee filter can go in too, as long as it has no plastic lining. If you are new to the greens-and-browns dance, our complete guide to composting for beginners walks through the whole recipe.

Why This Works: The Soil Food Web

Balancing greens and browns is really about feeding a living community. The nitrogen in coffee gives compost microbes the protein they need to multiply, while the carbon in leaves gives them energy. In permaculture terms, you are running a closed nutrient loop: yesterday's breakfast becomes next season's soil life. Get the ratio right and that invisible web does the composting for you.

Close-up of dark damp used coffee grounds held in cupped hands over a compost bin showing the fine crumbly texture

One more myth to bury while we are here: used coffee grounds are not acidic. Most of the acid in coffee is water-soluble, so it ends up in your cup, not the grounds. Oregon State reports that brewed grounds test between pH 6.5 and 6.8, essentially neutral, and any pH change they cause in soil is short-lived and localized. So no, they will not turn your blueberry bed acidic, and you should not rely on them to.

How Much Coffee Should Go in the Pile?

Keep coffee grounds at 20% or less of your compost by volume. This is the single most important number in the whole topic. Horticulture scientist Linda Chalker-Scott's Washington State University fact sheet reviews the research and concludes that piles with 10–20% grounds produce good compost, while piles above 30% can actually suppress plant growth. Oregon State gives the same ceiling and a ready-made recipe.

1

Measure by volume, not by guilt

Aim for roughly three parts dry leaves, one part fresh grass clippings, and one part coffee grounds. That keeps coffee at about 20% of the total, exactly where Oregon State's research lands.

2

Mix, never dump

Stir grounds thoroughly into the pile instead of leaving a thick layer. Grounds are fine-textured and compact easily, which blocks air and water if left alone.

3

Turn and wait

Turn the pile weekly and keep it as moist as a wrung-out sponge. Finished compost typically takes three to six months.

There is a bonus to that nitrogen: grounds help the pile run hot. Coffee-amended piles reach higher internal temperatures than piles without them, which speeds decomposition and helps kill weed seeds. As the grounds break down, their C:N ratio drops toward 10:1 and the nitrogen becomes plant-available.

Common Mistake to Avoid

Never pile grounds in a thick, unmixed mat. Their fine texture seals into a hydrophobic crust that goes anaerobic, turns slimy, and starts to smell. A thin scatter mixed with coarse browns keeps oxygen flowing.

Infographic showing coffee grounds compost facts: 20 to 1 carbon nitrogen ratio, counts as green nitrogen, keep under 20 percent of pile, pH near neutral 6.5

Get Our Free Companion Planting Chart

Join 10,000+ gardeners getting weekly tips on what to plant together, soil health, and permaculture techniques.

Send Me the Chart
Thriving vegetable garden bed with tomato plants and blueberry bushes beside a bucket of dark coffee grounds and a garden fork

Can You Put Coffee Grounds Straight on the Garden?

Mostly, no, and this is where good intentions go wrong. Fresh, uncomposted grounds still carry caffeine and phenolic compounds that are demonstrably phytotoxic, meaning they can slow or stop germination and stunt young plants. A peer-reviewed study by Hardgrove and Livesley (2016) applied spent grounds directly to soil and found that growth "greatly reduced" across broccoli, leek, radish, viola, and sunflower. A 2024 study confirmed the mechanism, showing coffee extracts measurably cut seed germination.

If you do want to work grounds into soil directly rather than composting first, Oregon State's rule is to incorporate no more than a 0.5 inch (1.3 cm) layer into the top 4 inches (10 cm) of soil and mix it in well. Keep it away from seedbeds entirely. The safest route by far is to let grounds pass through the compost first, because the microbes that do the composting also break down the caffeine and allelochemicals that cause the trouble.

Why This Works: Letting Time Do the Work

Nature never applies concentrated inputs; it layers and ages them. Composting mimics the forest floor, where materials decompose slowly and their harsher compounds mellow before reaching living roots. That same patience is a core permaculture idea, one you can trace right back to the design ethics in our practical guide to permaculture. Aged coffee is safe coffee.

Red wiggler earthworms moving through dark compost mixed with coffee grounds and shredded paper in a worm bin

Do Worms Like Coffee Grounds?

In moderation, yes. A 2024 study found that spent coffee grounds make a suitable substrate for composting worms (Eisenia andrei), performing much like standard soil. Many vermicomposters report red wigglers gathering in aged, coffee-rich patches once the material has begun to break down.

The catch is the same as always: proportion. Research summarized by composting practitioners found worm growth and survival dropped when coffee dominated the feedstock, with mixing in cardboard reducing the harm. Keep grounds under about 20–25% of what goes into a worm bin, add them gradually, and mix them through bedding rather than dumping a thick fresh layer. Coffee grounds fit naturally into a whole-system approach to feeding soil life, the same thinking behind building a resilient companion planting garden.

Frequently Asked Questions

Are coffee grounds good for compost?

Yes. Coffee grounds are a nitrogen-rich "green" with a carbon-to-nitrogen ratio around 20:1 and roughly 2 to 2.4% nitrogen by dry weight, so they feed compost microbes well. University extension research shows they can raise pile temperatures and speed decomposition. The key is balance: keep grounds to about 20% of the pile by volume, mix them with carbon-rich browns like dry leaves or shredded cardboard, and avoid thick unmixed layers that compact and go anaerobic.

Do coffee grounds make soil acidic?

No, this is a myth. Most of the acid in coffee is water-soluble and ends up in your cup, so used grounds test near neutral at pH 6.5 to 6.8, according to Oregon State University. Any pH change they cause in soil is small, short-lived, and confined to the area right around the grounds. Do not rely on coffee grounds to acidify a blueberry or azalea bed. If you need to lower soil pH, use elemental sulfur guided by a soil test instead.

How long does it take to compost coffee grounds?

Inside a well-balanced, turned pile, coffee grounds break down along with everything else, producing finished compost in roughly three to six months. Grounds actually help the process along because their nitrogen fuels the microbes that heat the pile. As they decompose, their carbon-to-nitrogen ratio falls toward 10:1 and the nitrogen becomes available to plants. Turning the pile weekly and keeping it evenly moist speeds things up considerably.

Can you put coffee grounds directly on plants?

It is risky, especially for seeds and seedlings. Fresh grounds contain caffeine and phenolic compounds that are phytotoxic and can suppress germination and growth, as multiple studies confirm. If you apply grounds directly, work only a thin 0.5 inch (1.3 cm) layer into the top 4 inches (10 cm) of soil and keep them away from seedbeds. Composting the grounds first is far safer, because the process degrades the compounds that harm plants.

Can you compost coffee grounds with the paper filter?

Yes. Unbleached or bleached paper coffee filters are compostable and count as a carbon-rich "brown," which nicely complements the nitrogen-rich grounds. Just tear the filter to help it break down and make sure it has no plastic lining or coating. Tossing the whole filter and grounds together straight into the bin is one of the simplest zero-waste habits you can build.

Ready to Grow Smarter?

Get our free 20-page beginner's guide to backyard food forests, with two printable worksheets and a year-by-month planting calendar you can use this weekend.

Read the Free Guide

Browse All Guides →

Resources

Get the Weekly Dig

One email a week. Practical permaculture tips, seasonal planting guides, and zero spam. Join 2,000+ gardeners growing smarter.

Subscribe Free