Coffee Grounds Deter These 14 Pests (And 1 Pest They Attract)

by | Animals, Insects, Pest Control

This post contains affiliate links: Full Disclosure 

Got pests? Got coffee grounds? Then you can use coffee grounds to keep those pests away.

Coffee grounds deter pests because they contain chemicals that harm or kill many insects and animals, such as ants, mosquitoes, flies, snails, cats, and deer. These insects and animals stay away from coffee because they know it’s dangerous.

In this post, you’ll find out:

  • Why insects and animals stay away from coffee
  • A list of pests that coffee grounds deter
  • How to use coffee grounds as a pest repellent
  • What pest coffee attracts (and how to kill the pest anyway)

How coffee grounds deter pests

Coffee grounds make an eco-friendly and effective pest repellent.

Animals and insects have sensitive noses, which help them stay away from strong smells and things that might harm them. Coffee smells dangerous to many insects and animals, so they stay away from it.

Coffee contains many chemical compounds, but there are two that play a major role in deterring pests:

Photo of coffee grounds to explain that it's the caffeine and diterpenes that repel pests
Coffee grounds, like the ones in this photo, contain caffeine and diterpenes, which deter pests. These chemical compounds make insect and animal pests very sick, and can even kill them.

  • Caffeine

The caffeine in coffee is what gives people a boost and surge of energy. It’s also why many of us enjoy drinking coffee.

But caffeine is toxic to animals and insects.

If animals or insects take in or are exposed to too much coffee, they could experience higher blood pressure, an irregular heartbeat, muscle spasms and loss of muscle control, shaking, and even seizures.

A caffeine overdose kills insects and animals, and it’s even being used by the Environmental Protection Agency (EPA) to control invasive species under strict controls.

  • Diterpenes

Diterpenes occur naturally in plants as a form of self-protection: Plants use diterpenes to stop animals and insects from eating them.

Diterpenes are chemical compounds that are designed to disrupt an insect’s hormones, so they don’t grow properly. And diterpenes make animals restless, bloated, weak, and can even kill them.

[source and source]

Coffee comes from a plant and has diterpenes in it.

Pests that coffee grounds keep away

Coffee grounds can be used on many insects and animals as a pest deterrent. Below is a list of what coffee grounds repel, and how to use coffee to keep these pests away.

Ants

Ants mainly use their sense of smell to find food and as their internal map book to find their way around.

The strong smell of coffee grounds sprinkled in a pot plant or on the ground messes with the ants’ ability to smell, and the coffee smells dangerous to ants so they stay away from it.

Here’s a list of all the things you can do to stop ants from nesting in your pot plants.

Beetles

Coffee is harmful to beetles.

Spread coffee grounds on the soil around plants that are being destroyed by these pests.

Bees

Burning coffee grounds in your home repels bees and stops them from coming into your house.

Caterpillars

To keep caterpillars away, dissolve coffee grounds in warm water. It should look like weak tea.

When the mixture has cooled, spray it directly onto plants and soak the ground around the plants with the solution.

Photo of coffee grounds scattered on the ground to stop pests from eating strawberry plants
Spread coffee grounds on the soil around plants, like in the photo above, to deter many animal and insect pests.

Cats

The intense smell of coffee grounds can help keep cats away from a yard.

Simply spread coffee grounds around plants and garden borders to discourage cats from coming in and using your yard as a litter box or a place to hunt and fight.

Fleas

Used coffee grounds can repel fleas and help get rid of an existing infestation.  

Next time you give your pet a bath, gently scrub used coffee grounds through the animal’s fur, then rinse well. 

Click here for a list of pet-friendly ways to get rid of fleas in a yard.

Flies

Some common flies are attracted to sweet-tasting substances and avoid bitter foods. Coffee grounds are bitter, so they don’t attract these flies. In fact, flies can smell the harmful chemicals in coffee and tend to stay away from it.

So coffee grounds repel some flies, from regular house flies to fruit flies. Burning coffee grounds or putting a bowl of grounds near food can be a great way to repel these pests.

Photo of a fruit fly with labels to identify a fruit fly
A fruit fly is different than a regular house fly. The labels in the picture above will help you identify a fruit fly. Burning coffee grounds deters both house flies and fruit flies because the coffee smells bitter and these flies are attracted to sweet smells.

Click here to get a list of all the smells flies hate, not just coffee.

Mosquitoes

You can keep adult mosquitoes away by sprinkling fresh or used coffee grounds around plants and trees, and close to pooled water where mosquitoes are breeding. Alternatively, burn coffee grounds to keep them out of your home.

One study shows that adding coffee grounds to water sources is a great way to control mosquitoes because:

  • Mosquitoes avoid laying eggs in water that smells like coffee
  • Coffee grounds stop mosquito larvae from developing or surviving
  • Mosquito larvae can’t become immune to coffee grounds like they do to commercial repellents on the market, so coffee grounds keep working on mosquitoes

[source]

But coffee should be used sparingly and never added to any water that other insects live in or that animals drink because coffee is toxic to them.

Rodents

Coffee grounds aren’t a reliable way to deter rodents like rats, mice, squirrels, and chipmunks. Rodents are used to digging around in foul-smelling trash and rotten foods, so the smell of coffee doesn’t have much of an effect on them if they’re hungry enough and want to go somewhere.

But, in general, rodents do try to stay away from coffee because they don’t like the gritty texture under their paws and they won’t try to eat coffee grounds because they can smell the grounds are harmful.

Slugs and snails

The mere smell of coffee grounds is enough to keep slugs and snails away because coffee is toxic to them.

Scientists have found that:

  • Slugs and snails rarely eat food that’s been sprayed with coffee
  • They stay away from growing materials that smell like coffee
  • And spraying slugs and snails directly with a strong coffee solution kills them

Caffeine increases the heart rate in slugs and snails, making them weak and killing most of them within 96 hours. And if slugs or snails crawl over soil or growing materials sprayed with a strong coffee solution, about 95% of them die soon after.

[source]

Click here to find out how to collect snails in your garden and what to do with them.

Spiders

Spiders naturally avoid areas that smell like coffee and don’t eat things that have coffee on them because coffee is bad for spiders.

After taking in coffee, spiders struggle to build their webs.

Squash bugs

Coffee repels squash bugs that love eating squash, cucumbers, pumpkins, and other harvests.

Add coffee grounds to boiled water and spray the cooled solution onto vegetation or spread coffee grounds around plants to deter squash bugs.

Yellow jackets (wasps)

Burning coffee grounds in your home repels yellow jackets (wasps) and stops them from coming into your house.

How to use coffee grounds to deter pests

Fresh, unused coffee grounds work best to deter pests as these have high caffeine and diterpene concentrations. Used coffee grounds aren’t as potent or effective as fresh coffee grounds, but they can still work.

Here are some easy ways to use coffee grounds based on what pest you’re trying to deter, along with tips on what to avoid:

  • Sprinkle coffee grounds on soil to stop cats and others pests from using your garden as a litter box.
  • Create a snail and slug barrier by spreading coffee grounds on the earth around any shrubs and plants you want to protect.
  • Spread coffee grounds around pet bowls, to stop ants from getting into the animal’s food and water.
  • Burn coffee grounds as you would incense in a bowl to deter mosquitoes, yellow jackets (wasps), and bees. Put the bowl of burning coffee on a flat surface and use water to put out the embers when they smell burnt or scorched.  
  • Dilute coffee grounds in warm water in a spray bottle, then spray the mixture onto plants, focusing on those that attract the most bugs.
  • Don’t put wet coffee ground clumps of more than 1/4 cup in a single spot or mold could start growing there.
  • As a bonus, coffee grounds are packed with nutrients so they attract many good things like earthworms, red wigglers, and nightcrawler worms. Coffee grounds also feed the soil.

Pests that coffee grounds attract

Coffee grounds attract cockroaches. In fact, many homeowners have trouble with cockroaches nesting in their coffee canisters because cockroaches love the pungent aroma of coffee that repels many other pests.

But you can still use coffee grounds to catch and kill cockroaches. Here’s how:

  • Pour some coffee grounds into a paper cup
  • Fill a glass jar halfway with water
  • Drop the paper cup into the glass jar
  • Leave out the trap and wait for cockroaches to drown in the water as they try to get to the coffee grounds
About Me heading
Photo of Monique - Blogger

I'm Monique. I love gardening and spending time in my backyard growing things. Here's where I share what I know about backyard pests and what to do about them, so you can enjoy your yard too.

Legal stuff heading

Backyard Pests participates in the Amazon Services LLC Associates Program, the ShareASale affiliate program, and other affiliate programs. This means that if you buy a product or service through one of our links, we may receive a small commission from the sale for referring you. Thank you for your support!

MONIQUE

Monique loves gardening and spending time in her backyard, where she grows flowers, succulents, herbs, fruits, and vegetables.

Monique spends a lot of time researching how to protect her backyard from harmful pests and trying to attract beneficial insects and animals.

She shares everything that she learns and tests here at Backyard Pests.

 

7 Ways To Get Rid Of Bed Bugs In A Car

7 Ways To Get Rid Of Bed Bugs In A Car

To get rid of bed bugs in a car, first stop more from coming in. Then combine several methods to kill the bed bugs until you see no signs of them for at least 6 weeks. Some methods include heat treatments, steam, and starvation. There are many ways to kill bed bugs in...

read more