How to Use Coffee Grounds in the Garden

Done with your morning brew? Don't toss the grounds. Using coffee grounds for plants is grounded in fact, and it has several specific gardening benefits.
Audrey Stallsmith Avatar
Somebody dispersing coffee grounds with a teaspoon into the soil of a small raised garden bed.

We may earn revenue from the products available on this page and participate in affiliate programs. Learn More ›

When considering how to use coffee grounds in the garden, keep in mind that they don’t acidify soil, contrary to popular belief. Although fresh coffee grounds are acidic, used grounds tend to be near neutral in pH. According to Oregon State University, “Coffee grounds are best at improving soil. As the coffee grounds feed the soil microbes, microbial glues are released that promote good soil structure and improve drainage.”

That means a simple DIY coffee ground fertilizer still has plenty to offer your garden despite not being able to move the needle on your soil’s pH balance. Here’s everything you need to know about using coffee grounds in the garden.

Benefits of Using Coffee Grounds in the Garden

Point-of-view perspective of a home gardener adding used coffee grounds to a container plant.

Using coffee grounds is a common piece of DIY gardening advice, but are coffee grounds good for plants in the first place? Not always. Although they provide several benefits, they can suppress germination in alfalfa and clovers and growth in mustards, geraniums, asparagus ferns, and more, according to Linda Chalker-Scott of Washington State University. As for what plants like coffee grounds, you can safely apply them to beets, cabbage, soybeans, and anthuriums.

Coffee grounds improve soil structure.

As Chalker-Scott notes, composted coffee grounds can benefit garden soil directly. “The fact that earthworms pull coffee grounds deep into the soil may account for noted improvements in soil structure such as increased aggregation.” She explains that as coffee grounds degrade, they help produce substances that help form humus, or healthy and loose organic soil.

They add nutrients to the soil.

Composted coffee grounds will eventually add small amounts of nitrogen and micronutrients to the soil. However, they actually tie up nitrogen while they are breaking down, so don’t use coffee grounds as fertilizer unless they are thoroughly composted first or unless you supplement them with actual fertilizer.

They improve water retention in soil.

After they break down into compost in the garden, coffee grounds will cause the soil to retain more moisture. Whether or not that’s a benefit depends on how dry or wet your soil already is, as well as whether your plants might suffer from extra water retention.

They may suppress harmful fungi and bacteria.

The “good” fungi and bacteria found in composted coffee grounds may help fight off some of the “bad” ones, such as those that cause root rot. Among the bad fungi that decomposed coffee grounds can help suppress are Fusarium and Pythium.

A brew made from coffee can kill slugs.

Oregon State University research shows that using a 1 to 2 percent solution of coffee grounds mixed with water as a soil drench can eliminate slugs in the garden. A study found that 100 percent of slugs left coffee-treated soil and later died of caffeine poisoning, making it an effective natural slug killer.

Composting Coffee Grounds

Old coffee grounds being spooned into a compost container next to a coffee maker.

When composting coffee grounds, keep in mind that they attract fruit flies. Bury coffee grounds deep in your compost pile, which either can be freestanding or enclosed in a well-aerated bin, to avoid a fruit fly infestation.

Coffee beans, like grass clippings, are considered a “green” compost ingredient, you will also need to add at least one “brown” ingredient, such as autumn leaves, sawdust, or shredded paper. As for how much to use in compost, the amount of coffee grounds should make up no more than 20 to 25 percent of your compost pile. When vermicomposting, make sure that coffee grounds don’t make up more than ⅛ of the food your worms are eating.

For a coffee grounds compost pile, stick to a ratio of at least three parts leaves to one part grass clippings and one part coffee grounds. Cover the pile with plastic during heavy rains, keeping it lightly moist (but not soggy) and turning it about once per week. Patience is key, as the compost pile will generally take 3 to 6 months to break down completely and shrink by as much as 80 percent as it decomposes.

Direct Application

If you prefer to just spread the coffee over the soil around your plants, use a layer no more than ½ inch thick, making your grounds thin on the ground. Then cover them with 4 inches of another mulch such as wood chips. If you leave the grounds exposed on top of the soil, they are liable to dry out and prevent either water or air from penetrating their crust. Fertilize the soil first before you cover it, since coffee beans can bind up nitrogen as they break down.


Q. Which plants do not like coffee grounds?

Coffee can inhibit germination of alfalfa and clovers and inhibit growth of mustards, geraniums, asparagus fern, etc.

Q. Do coffee grounds keep mosquitoes away?

There is no conclusive proof that coffee grounds or coffee-filled water can keep mosquitoes away.

Q. Can I put coffee grounds directly on soil?

Yes, but use a thin layer and don’t leave them atop the soil or they’ll repel water. Work a ½-inch layer 4 inches into the soil or cover it with 4 inches of another mulch.

Q. Do coffee grounds make soil acidic?

No. Although unused coffee grounds are acidic, used ones generally are only mildly so—not enough to change the pH of soil.

Q. Are coffee grounds good for potted plants?

No. They can cause an unhealthy buildup of soluble salts in the potting mix.