Skip to main content

What pests does garlic keep away? What you need to know about this natural pest control

Find out if you should add garlic to your garden toolbox

A basket of freshly harvest garlic
1195798 / Pixabay

Keeping your plants safe from pests is a struggle that every gardener shares, and determining which pest control methods will repel the specific pests plaguing your garden can be tricky. Not every pest control method works for every pest, and not every method is suitable for all garden types.

If you’re looking for organic pesticides, your options are even more limited. One method you might not be aware of is garlic. That’s right, garlic doesn’t just keep vampires at bay, but pests as well! What pests does garlic keep away, and how does it work? Here’s what you need to know about using garlic as pest control.

Does garlic work as pest control?

Yes, garlic works as a pest repellant, and it’s typically extremely effective. Garlic repels insects in much the same way it repels some people. That is to say, the smell is unpleasant and so insects avoid it. When garlic is applied to the plants you want to protect, the plant absorbs the scent of the garlic, or, more specifically, the allicin in garlic.

The scent is faint enough that humans typically can’t detect it after application, but insects can. Although garlic won’t kill any insects that persist and take a bite, the scent is enough of a deterrent in most cases. Garlic spray can kill some soft-bodied insects, but only if it’s sprayed directly on them.

A garlic bulb peeled and pulled partly apart, so the cloves are splayed like petals
Michele Blackwell / Unsplash

How is garlic used as pest control?

Garlic can be used in a few different ways to control pests, but the most common method is to make a garlic spray. The basic recipe for garlic spray is easily adjustable, so you can take this recipe and experiment with different proportions to find the strength that best works for you. There is also a range of recipes available across the internet, adjusted to different strengths or with different add-on ingredients that you can test out. For the most basic recipe, here’s what you’ll need:

  • 4-6 cloves of garlic
  • 2 quarts of water
  • Optional
    • 1 tablespoon of natural dish soap or natural oil
    • 2 hot peppers or 1 tablespoon of hot sauce

Adding soap or oil can help the spray stick to the plant. Hot peppers contain capsaicin, which is what makes them spicy. Capsaicin is another natural pest repellent. Keep in mind that it is also a skin and eye irritant, so you may want to wear skin and eye protection as a precaution. Always wash your hands thoroughly after handling capsaicin.

Crush or chop your cloves of garlic as finely as you can. Heat your water until it’s nearly boiling, then add your garlic to it. If you’re adding in hot peppers as well, chop them finely and add them to the water with the garlic. Keep the water hot for another 15-20 minutes, then remove it from the heat. Once it’s cool, strain it to remove any chunks of garlic or pepper, then pour the water into your spray bottle or another container, if you intend to store it.

If you want to add a natural soap or oil, you can put it into the container first and pour the garlic water over it to make it easier to mix. Spray your plants with the garlic spray once a week. Make sure to target the undersides of leaves, since insects often lay their eggs there.

Garlic bulbs and cloves on a table
Congerdesign / Pixabay

What pests does garlic keep away?

Garlic spray will repel most small flying or crawling, but not burrowing, insects. In particular, garlic spray has been noted to work against aphids, mites, caterpillars, armyworms, cutworms, beetles, slugs, mosquitoes, and flies. Garlic spray doesn’t kill pollinators, but it can dissuade them from stopping by. Avoid spraying garlic spray directly onto the flowers of your plants and they shouldn’t be bothered by it too much.

Planting garlic around your garden may help repel burrowing pests, but results can vary. Planting garlic and using garlic spray together can, however, help repel rabbits and deer. Rabbits are deathly allergic to garlic, while deer typically aren’t fond of the smell.

Garlic plants growing in a garden
zoosnow / Pixabay

What are the benefits and the drawbacks?

Garlic spray is an organic pesticide, so it won’t harm your plants or the environment. It’s also much safer for people and pets than chemical sprays, unless one of your pets is a rabbit. Garlic spray is effective against many different pests, but it won’t stop most burrowing pests. It’s safe and inexpensive to make at home, although it can be a mild skin and eye irritant.

The pros and cons at a glance:

  • Pros
    • Organic
    • Safe for people and pets
    • Easy and inexpensive to make
    • Effective against a wide range of pests
  • Cons
    • Ineffective against burrowing pests
    • Can cause mild skin and eye irritation
Garlic bulbs and cloves and two onions on a wooden cutting board
monicore / Pixabay

What other alliums can be used as pest control?

If garlic is in short supply, then you might be wondering if you can use its relatives instead. The answer is yes! Other alliums, such as onions, chives, leeks, and shallots can all be used in the same way. You can use them as a substitute for garlic or use a combination of garlic and other alliums in your pest control spray. In fact, mixing alliums might be the best option if you’re using alliums you’ve grown yourself. This way you can devote only a portion of your harvest to pest control and have more left over for delicious meals!

Garlic is an easy, effective, organic way to keep your plants safe from pests. If you’re dealing with or trying to prevent an infestation of flying or crawling insects, then garlic spray may be a great choice for you. Using the simple recipe we’ve provided, or one of your own design, you can get rid of anything from aphids to mosquitoes, and even keep rabbits at bay.

Editors' Recommendations

Cayla Leonard
Cayla Leonard is a writer from North Carolina who is passionate about plants.  She enjoys reading and writing fiction and…
Everything you need to know about how to get rid of ants in the garden
Natural ways to send those ants marching one by one away from your space
A small red ant

Ants are among the most (if not the most) common pests known by homeowners, lawn care experts, and gardeners. You sit down to a nice relaxing evening on the patio with your favorite snacks, and then here come the ants to investigate. They build their hills, swarm around the yard, and cause trouble when they find their way through cracks in your home’s foundation and into the kitchen.

So naturally, it may be concerning when you see an anthill forming in your garden. The strange thing about ants, though, is that they aren’t bad all the time. Before we go over natural pest control remedies and how to get rid of ants in the garden, here are some things to consider.

Read more
When should you harvest watermelons? What you need to know
Get the timing right for your watermelon harvest
Freshly cut watermelon slices

Knowing when to harvest watermelons can be tricky, especially if you’re used to growing crops like tomatoes, where there’s an obvious physical change (like turning from green to red) that indicates ripeness. Watermelons go through more subtle changes, so they can be difficult to spot if you don't know what to look for. If you're wondering if your watermelons are ready to harvest, this is the guide for you. We'll break down everything you need to know about when to harvest watermelons for the perfect summer snack!

How to tell your watermelons are ready for harvesting
Most watermelon varieties are ready to harvest roughly 1 month after the plant has bloomed, or 2 to 3 months after planting your watermelon seeds. The exact time can vary depending on the type of watermelons you're growing, what the weather has been like, and whether all the plant's needs have been met.

Read more
Does Epsom salt kill ants (and is it safe)? Here’s what we’ve found
Could this inexpensive staple really be the solution to your pesky ant problem?
Hand in a brown and white glove holding a pile of Epsom salt next to an evergreen tree

Ants play a vital role in the ecosystem, but they can also be a major pest for gardeners. While the ants themselves aren't necessarily a problem, they can protect and support more harmful pest species, such as aphids. Ants can also take advantage of damage done by other pests, exacerbating existing problems.

There are many products on the market that promise to kill ants, but some of them are also dangerous for animals, plants, or people. If you’re looking for a safer alternative to get rid of your infestation, you may have heard that Epsom salt will do the trick. Does it actually work, though, and are there any side effects you should be aware of? There's no need to keep wondering, "Does Epsom salt kill ants?" -- this handy guide will answer all your questions!

Read more