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…
Zone 9b planting guide: Everything you need to know about nourishing a garden in this warm climate
The best plants to grow in zone 9b and when to grow them
A happy gardener with gloves

From show-stopping roses to hardy agave, zone 9b is home to plants of all stripes, thanks to its warm, sunny conditions. It’s also an ideal environment for a wide range of fruits and veggies, whether you’re partial to hot peppers or sweet cherries. Its hot summers can be challenging, but it’s generally a productive and lush area for thriving plant life. Here’s your zone 9b planting guide so you can nourish a fruitful and beautiful garden in one of the country's warmest areas.

What is a climate zone?
With climate zones on the Plant Hardiness Zone Map, the United States Department of Agriculture divides the country into 13 regions based on average annual minimum temperature ranges. The temperature ranges go from coldest to hottest as we move from zone 1 to 13. Zone 9b, as you may have already guessed, falls on the warmer parts of the map.

Read more
Zone 10a planting guide: Here’s what you need to know about what you can plant
Plants and their growing schedules for this zone
Woman reading book by plants

Consisting of the southernmost parts of the U.S., zone 10a is a rich region for a wide range of plants. While you might need to keep an eye out for your tender herbs and cold-hardy plants, many flowers, succulents, and plants can thrive in zone 10a's warm temperature outdoors. Below, we've put together a zone 10a planting guide to break down all that you need to know about this welcoming environment for nourishing foliage life.

What is a climate zone? 
With the Plant Hardiness Zone Map, the U.S. Department of Agriculture has divided the country into 13 different climate zones based on average annual minimum temperature ranges. Zone 1 has the coolest temperatures, while zone 13 has the warmest ones.

Read more
Is your propagation station breaking the law? Everything you need to know about plant patents
Learn about this legal form of protection that inventors of new hybrid plants can apply for
A propagation station in a wooden frame with three glass jars and plant cuttings.

One of the main ways gardeners fill their homes and gardens with plants is propagation. Growing a plant from a cutting, dividing the roots, or even just collecting and saving the seeds of a mature plant are all popular and easy forms of plant propagation. What you may not know is that not all plants can be propagated! It isn’t a quirk of the plant stopping you, though, it’s the law. This simple guide to plant patents will explain everything you need to know to make sure your propagation station follows the law.

What is a plant patent?
Patents are a legal protection meant to stop other people from making and selling a new invention. Any inventor can apply for one, and there are different types of patents for different types of inventions. Since patents apply to new inventions, you may be wondering what sorts of plants can be patented. The answer is hybrid plants. Hybrids are created by pollinating one plant with the pollen of a different one, creating seeds that grow into a plant with some qualities of both plants.

Read more