Coffee grounds are one of the most popular free garden inputs, and one of the most argued about. Some gardeners tip them straight onto beds; others insist they belong only in the compost heap. The truth is somewhere in between. Used coffee grounds are a genuinely useful source of organic matter and a modest amount of nitrogen, and they are excellent in compost. Used badly — thick layers on the soil surface, or fresh grounds piled around seedlings — they can do more harm than good.

This guide explains what coffee grounds actually contain, how to use them well, and where the common claims go too far.

What are coffee grounds?

Used coffee grounds are the damp, dark residue left after brewing coffee. They are mostly organic matter — the fibrous remains of the coffee bean — with a small amount of nitrogen and trace amounts of phosphorus, potassium, magnesium and other minerals. Their nitrogen content is typically around 2% by dry weight, which makes them a mild nitrogen source, roughly comparable to grass clippings.

Two things surprise most gardeners. First, used coffee grounds are not strongly acidic. Fresh, unbrewed coffee is acidic, but most of the acid washes out during brewing, and used grounds usually test close to neutral, around pH 6.5–6.8. They will not turn your soil acidic in any meaningful way, and they will not make your blueberries any happier on their own — blueberries need genuinely acidic soil, and coffee grounds cannot deliver that.

Second, coffee grounds contain small amounts of caffeine and other compounds that can inhibit seed germination and the growth of some seedlings. This effect is real but modest, and it fades as the grounds break down. It is the main reason to compost grounds rather than spreading them thickly on beds where seeds are germinating.

What coffee grounds add to the soil

The main benefit of coffee grounds is organic matter. Like any organic material, they feed soil microbes, improve soil structure, help sandy soil hold moisture and help clay soil drain better. They are a useful addition to a soil-building routine, but they are not a fertiliser in the usual sense — the nitrogen they contain is released slowly as microbes break them down, and the total amount is small.

Coffee grounds are also attractive to earthworms, which is always a good sign. Worms pull the grounds down into the soil and leave their castings behind, improving structure as they go. If you add grounds to a bed and find worms working through them within days, your soil life is doing its job.

They do not supply meaningful amounts of phosphorus or potassium, and they should not be relied on as a plant food. A garden fed only with coffee grounds will run short of nutrients. Pair them with compost and, where needed, a balanced fertiliser — our fertiliser calculator can help you plan feeding for a bed.

How to use coffee grounds in the garden

The best way to use coffee grounds is in the compost heap. They count as a "green" (nitrogen-rich) compost ingredient, and they balance well with carbon-rich materials such as dry leaves, straw and shredded paper. Aim for a thin layer — a few centimetres at most — mixed through the heap rather than dumped in a thick, wet slab. Thick layers of grounds compact, go slimy and turn anaerobic, slowing the whole heap down. Mixed in properly, they break down in a few weeks and add useful nitrogen to the finished compost.

If you want to apply grounds directly to the soil, use them thinly. Scatter no more than a thin layer — about a centimetre — over the soil surface and work it lightly into the top few centimetres, or sprinkle it around established plants and cover it with another mulch such as leaf mulch or wood chip mulch. Thin applications break down quickly and do not form the water-repellent crust that thick layers of grounds are famous for.

Dried grounds are easier to handle than wet ones. Spread them on a tray to dry before use, and they will scatter evenly instead of clumping. This is also a good way to store them if you produce more than your garden can use in a week.

A few practical rules: keep grounds away from seeds and very young seedlings; do not pile them against plant stems; do not use them as your only mulch; and wash produce before eating, as always. If you are unsure about any soil amendment, check your local extension service for guidance in your area.

Which plants benefit?

Established, hungry plants in compost-rich beds benefit most — not because coffee grounds are a special food for them, but because the organic matter and slow nitrogen help any plant in a healthy bed. Roses, tomatoes and other heavy feeders do well in beds that receive regular compost containing coffee grounds.

Acid-loving plants such as blueberries, azaleas and rhododendrons are often said to love coffee grounds. The grounds themselves will not acidify the soil enough to matter, but the organic matter helps these plants in other ways, and the grounds do them no harm in modest amounts. If you want to acidify soil, use a method that actually works — elemental sulphur, applied at the rate a soil test recommends — and check your local extension service for advice.

Avoid using fresh, unbrewed coffee grounds, or large amounts of used grounds, around seeds, seedlings and shallow-rooted plants. The germination-inhibiting compounds are strongest in fresh grounds and fade with composting, so compost is the safe route for sensitive plants.

Common mistakes with coffee grounds

The most common mistake is spreading thick layers on the soil surface. A thick layer of fine grounds dries into a hard, water-repellent crust that sheds rain and starves the soil below of air and water. It can also go mouldy and slimy underneath. Thin layers, or grounds mixed into compost, avoid this entirely.

The second mistake is believing coffee grounds will acidify soil. They will not, in any amount a home gardener is likely to use. If you have alkaline soil and acid-loving plants, you need a real acidification plan, not a pile of coffee grounds.

The third mistake is using grounds as a slug deterrent. A ring of coffee grounds around a plant is sometimes recommended, but it washes away in the first rain and slugs cross it without difficulty. Use proper methods instead — see our guide to slugs and snails control.

The fourth mistake is applying grounds to seedlings and seed beds. The compounds that slow germination are a genuine issue for small seeds. Keep grounds away from the seed bed and use finished compost there instead.

The fifth mistake is thinking grounds replace fertiliser. They do not. They are a soil amendment and a compost ingredient, not a plant food. A garden needs compost, balanced feeding and mulch; coffee grounds are a small, free contribution to the compost part of that routine.

Coffee grounds and the compost heap

Coffee grounds are one of the best things you can add to a compost heap, because they are free, available all year and nitrogen-rich. Mix them with roughly four parts carbon-rich material — dry leaves, straw, shredded cardboard — to one part grounds by volume, and turn the heap regularly. The grounds break down quickly and help heat the heap, speeding up the whole process.

Paper coffee filters can go in too, torn up. They are carbon-rich and break down readily. Just avoid adding coffee grounds mixed with milk or sugar in large quantities, which can attract pests and go sour.

Frequently asked questions

Are coffee grounds acidic? Used grounds are close to neutral, around pH 6.5–6.8. They will not acidify your soil in any meaningful way. Fresh, unbrewed grounds are acidic, but you should not use those in the garden anyway.

Can I put coffee grounds directly on the soil? Yes, in thin layers — about a centimetre — lightly worked into the surface and covered with another mulch. Thick layers form a water-repellent crust and should be avoided. Composting them first is the safest option.

Do coffee grounds keep slugs away? No, not reliably. A ring of grounds may slow a slug briefly, but rain dissolves it quickly. Use barriers, hand-picking and other proven methods instead.

Are coffee grounds good for tomatoes? They are fine as part of a compost-rich bed, but they are not a tomato fertiliser. Tomatoes need balanced feeding, consistent water and mulch. Coffee grounds contribute a little nitrogen and organic matter — useful, but not a substitute for proper feeding.

Can I use coffee grounds on houseplants? Only very sparingly, if at all. A small amount mixed into potting compost is fine, but a layer on the surface of a pot goes mouldy, holds too much moisture and can attract fungus gnats. Finished compost is a better choice for houseplants, and if gnats appear, see our guide to fungus gnats.

The bottom line

Coffee grounds are a useful, free compost ingredient and a modest soil amendment — not a fertiliser, not an acidifier and not a pest control. Compost them, use them thinly, keep them away from seedlings, and let compost and balanced feeding do the heavy work. For more on building healthy soil, browse the guides hub and the garden tools.