Coffee grounds work well for a wide range of vegetables, particularly those that thrive in slightly acidic to neutral soil. Tomatoes, peppers, carrots, radishes, squash, cucumbers, and leafy greens like spinach all respond positively. But how you apply the grounds matters just as much as which plants you choose, because raw coffee grounds can actually suppress growth if used carelessly.
What Coffee Grounds Add to Soil
Used coffee grounds contain about 2.4% nitrogen, which is the nutrient most responsible for leafy green growth. They also carry a solid dose of potassium (9,600 mg/kg) and meaningful amounts of magnesium, sulfur, calcium, and phosphorus. That nutrient profile makes them a useful, free soil amendment, especially for heavy-feeding vegetables that pull a lot of nitrogen from the ground during the growing season.
The carbon content is high at around 50%, which means grounds also feed soil microbes and earthworms. Earthworms thrive in organic-rich amendments like coffee grounds, and their burrowing improves soil structure, speeds up nutrient cycling, and increases the availability of nitrogen to plant roots. Over time, this creates healthier, more biologically active soil.
Vegetables That Benefit Most
The vegetables that respond best to coffee grounds are those comfortable in slightly acidic to neutral soil (roughly pH 5.5 to 7.0). That covers a large portion of a typical garden:
- Tomatoes prefer soil around pH 6.0 to 6.8 and are heavy nitrogen feeders, making them a natural match.
- Peppers (both hot and sweet) share similar soil preferences and benefit from the potassium in grounds, which supports fruit development.
- Carrots and radishes do well with the loose, organic-rich soil texture that composted grounds create. A study on red radishes grown with spent coffee grounds showed positive results for root development.
- Squash and cucumbers are nutrient-hungry plants that appreciate the steady nitrogen release from decomposing grounds.
- Spinach, parsley, and other leafy greens respond to the nitrogen boost with more vigorous leaf production.
- Garlic, turnips, rutabagas, and parsnips all tolerate the mildly acidic conditions and benefit from the trace minerals.
- Cauliflower and endive round out the list of vegetables that gardeners report good results with.
The pH Question Is Misunderstood
One of the most persistent gardening myths is that coffee grounds will dramatically acidify your soil. Fresh, unbrewed grounds do have a pH around 5.5, which is mildly acidic. But after brewing, the grounds land close to neutral, between 6.5 and 6.8. Research from Oregon State University confirms that whatever pH change coffee grounds bring to soil is short-lived. So if you’re using spent grounds (the kind left over after making coffee), don’t count on them to meaningfully lower your soil pH.
This is actually good news for most vegetable gardeners. It means you can use spent grounds around a wide variety of plants without worrying about creating overly acidic conditions. If you genuinely need to lower soil pH for a specific crop, you’ll need a different amendment like sulfur.
Where to Be Careful
Coffee grounds contain residual caffeine, which can inhibit seed germination and stunt young seedlings. Washington State University Extension recommends keeping grounds away from areas where you’re starting plants from seed. Multiple experiments have shown reduced germination rates and slower early growth when seeds are in direct contact with coffee grounds, whether used as a soil amendment or a mulch.
Fresh, unbrewed grounds carry a higher risk of this kind of damage than spent grounds. If you’re working with fresh grounds, keep them away from direct contact with plant roots entirely. For spent grounds, the safest approach is to avoid applying them around seedlings or newly planted seeds and instead use them on established plants.
Composting vs. Direct Application
The single best way to use coffee grounds is to compost them first. Cornell University classifies them as a “green” (nitrogen-rich) composting material. Mix them with “brown” carbon-rich materials like dried leaves, straw, or wood chips at a ratio of 1:1 to 4:1 browns to greens. The composting process breaks down the caffeine, balances the carbon-to-nitrogen ratio, and produces a finished product that won’t suppress plant growth.
Once composted, spread the material 2 to 4 inches deep on top of your soil as mulch, or mix it into the top 6 inches with a garden fork. You can incorporate up to an equal volume of compost to existing soil.
If you want to skip composting, you can apply spent grounds directly, but keep the amount modest. A thin layer (half an inch or less) scratched into the soil surface around established plants is a reasonable approach. Adding grounds at high rates without composting first can suppress plant growth, according to Cornell’s research. The grounds can also compact into a dense mat if applied too thickly as mulch, which blocks water and air from reaching the soil.
Do They Actually Repel Slugs?
Many gardeners scatter coffee grounds as a slug and snail barrier. There is some basis for this. Oregon State University notes that coffee grounds can kill slugs, likely due to the caffeine content. However, the effect works best with a concentrated application, and a thin ring of grounds around a plant may not be enough to reliably stop a determined slug. Consider it a mild deterrent rather than a guaranteed solution, and pair it with other pest management if slugs are a serious problem in your garden.

