How to Identify and Control Garlic Pests

Garlic is a stinky, pungent bulb. For this reason, it’s logical to assume that most pests will leave it alone.

It’s even used as a pest deterrent in the garden, planted as a companion for roses, peppers, and tomatoes to keep pesky insects away.

But we think it’s delicious, so why shouldn’t the bugs? There are some creepy crawlies out there that are immune to garlic’s sulfuric pungency.

A vertical close up picture of garlic growing in the garden in light sunshine. To the center and bottom of the frame is green and white text.

We link to vendors to help you find relevant products. If you buy from one of our links, we may earn a commission.

In this article, we’ll take a look at the top five pests that can damage this fragrant member of the Allium genus.

Here are the pests we’ll cover:

1. Bulb Mites

There are several types of bulb mites that plague garlic and other Alliums, but according to researchers Agnieszka Majer, Brian Rector, et al., in a paper published in the Experimental and Applied Acarology Journal, dry bulb mites are one of the most significant and widespread garlic pests.

A close up of a tiny dry bulb mite on a dark colored leaf.
Dry bulb mites on a leaf. Photo by Frank Peairs,, via CC BY-SA

Dry bulb mites are part of the same taxonomic class, Arachnida, as spiders and ticks. This pesky critter is considered an eriophyid mite, though its scientific name is Aceria tulipae.

Dry bulb mites are usually 0.3 millimeters long or smaller at maturity, and look like tiny, curled worms.

They go through their entire life cycle in just one to two weeks, so you’re likely to see them in every stage – from egg to larva to nymph to adult – at any time of the year. If you have a strong magnifying glass, that is.

These mites spend the winter inside stored cloves or in the ground with fall-planted garlic.

A close up of a row of Allium sativum growing in the garden with bright green foliage fading to soft focus in the background.

True to their name, dry bulb mites feed exclusively on bulbs: garlic, tulip, onion, and lily, to be exact.

They live between the layers of a garlic clove or inside the leaves and feast from within, often causing galls to appear. Other signs of dry bulb mite infestation include twisted, stunted leaves and failure to develop past a certain point.

The other major mite group that feasts on garlic are the bulb mites of the Rhizoglyphus genus, most particularly R. echinopus. These bulb mites look like squishy, damp pearls, have four sets of legs, and reach a size of 0.5 to 1 millimeter in length.

Like the dry bulb mite, this one also completes its life cycle in two weeks. Its eggs are white and oval-shaped.

Larvae emerge with three pairs of legs, but nymphs and adults have the full four sets.

Plants affected by bulb mites will often be stunted – or you might not notice anything until the cloves are stored and begin to rot.

If you notice brown spots and decay on the wrappers and cloves, you can put both types of bulb mites high on your list of suspects.

With all types, the females lay eggs on the leaves of your plant, and when the eggs open, they release dozens of hungry larvae that can ruin your crop.

Larvae, nymphs, and adult mites will all feast on every part of a bulb, whether it’s in the ground or harvested.

You can still eat whatever’s left of your cloves after bulb mites get to them, but it’s best to treat them before they ruin your crop.

How to Manage Bulb Mites

Bulb mites are resistant to chemical pesticides, so your best bet is to manage them with cultural, predatory, and organic pest control methods.

Mites can live in the soil through successive growing seasons, so it’s important to rotate your crops and avoid planting alliums in the same area for the next four years.

Don’t designate a raised bed to be your garlic bed forevermore. Instead, plant your garlic there one year, switch it out for carrots the next, and so on.

Only use the same raised bed or other planting area – or the same soil, for that matter – to grow alliums again after four years have passed.

But that’s not all. It’s also important to avoid planting Alliums after growing brassicas, corn, wheat, or grass in the same area, as these play host to mites as well.

According to experts at the University of California’s Integrated Pest Management Program, soaking seed cloves in hot water at 130°F for 10-20 minutes before planting can decrease the chance of infestation by killing any existing mites or eggs.

They also note that this can inhibit germination, and water temperatures over 132°F can damage the clove tissue – so keep a cooking thermometer handy.

You can also handle infestations by introducing beneficial predatory insects such as rove beetles, Dalotia coriaria.

A close up of a rove beetle, a beneficial insect in the garden, pictured on a soft focus background.

Live Rove Beetles, Dalotia coriaria

Pull and destroy the infected plant or plants, and then let loose one to two live rove beetles per square foot of the affected area.

You can purchase rove beetles from Arbico Organics in packs of 100 for smaller gardens, all the way up to 3,000 per package for large crops.

These beetles won’t harm your garden, but they’ll feast on the bulb mites.

A close up of the packaging of a bottle of neem oil for controlling pests in the garden.

Bonide Neem Oil

You can also use an organic insecticide to spray the entire growing area, according to package instructions, like this neem oil-based product from Bonide, available from Arbico Organics.

2. Leafminers

Allium leafminers, Phytomyza gymnostoma, are small yellow and black flies that lay tiny, curled, white eggs on the undersides of leaves.

When those eggs hatch into larvae, the whitish-yellow, 8-millimeter-long maggots tunnel inside the leaves, eating the tissue. They continue to do so as they turn into red-orange, 3.5-millimeter-long pupae.

A close up of the pupae of an onion leafminer on a green stem, on a green, soft focus background.

They will also eat their way down into the bulbs themselves.

Telltale white, curving squiggles and holes on the stalks and leaves will alert you to the presence of these wretched little creatures.

How to Manage Leafminers

If leafminers are a known problem in your area, consider installing floating row covers to keep adult flies away from your crops.

Make sure to place them right after planting in the spring. You can also install them during fall plantings, as leafminer flies often look for host Alliums to overwinter in, and you don’t want them to choose your garlic crop.

A close up of floating row covers held down by bricks covering vegetables to protect them from insects.

Keep the area around your plants mulched and weed-free to limit the spread of leafminers.

And as soon as you see that telltale white streak on a leaf anywhere in your garden, remove and destroy the leaf immediately.

Continue to check the area regularly, to ensure that any additional larvae are destroyed before they can damage your plants.

Leafminers multiply quickly, especially in warm weather, when their life cycle can take as little as two weeks to complete, often ending with the mature adults laying more eggs.

A close up of a leaf showing the damage done by the Allium leafminer on a green soft focus background.

As far as predators go, female parasitic wasps (Diglyphus isaea) seek out leafminer larvae, paralyze them, and lay eggs on the larvae. The wasp larvae that hatch feast on the leafminer larvae.

Within a couple of weeks, the wasp larvae will turn into full-grown parasitic wasps that will then kill more leafminers.

A close up of a beneficial leafminer parasite on a white surface.

Parasitic Wasps

Parasitic wasps to set loose in your garden are available at Arbico Organics or at your local nursery.

If the infestation gets bad enough to warrant the use of an insecticide, try using spinosad, a chemical naturally derived from the soil bacteria Saccharopolyspora spinosa.

A close up of a spray bottle of insecticide with green and white packaging on a white background.

Monterey Garden Spinosad Insect Spray

This is your best bet because spinosad is an organic insecticide that does minimal damage to the beneficial predatory bugs you don’t want to get rid of – like parasitic wasps.

You can find spinosad spray available from Arbico Organics.

3. Nematodes

Some nematodes are beneficial to plants, but not the garlic bloat nematode, Ditylenchus dipsaci.

These flat, microscopic, soil-dwelling roundworms complete their entire life cycle in about 21 days within the bulbs, stems, and leaves of your garlic.

Feeding destroys the plant, causing the foliage to turn yellow and wilt. The ruined bulbs often swell up – or bloat,  hence the name “garlic bloat nematode” – before turning soft and brown, and they become prime territory for fungal infections.

How to Manage Nematodes

Nematodes can live in dead, dried out host tissue, so make sure your planting area is free of dead Allium plant material.

If you plant Allium crops in an area one year, avoid planting any Alliums there again for the next four years.

You should also avoid planting celery, parsley, hydrangeas, flower bulbs, and alfalfa in successive years, as the nematodes like to feast on those crops as well.

Keep the garden free of weeds, as the pests can live in host weeds – particularly field thistle and hairy nightshade – that are surrounding your garlic. They’ll happily make the short trip from there to your precious bulbs.

It’s also important to clean and sanitize your garden tools before and between each planting project. Nematodes can’t move very far on their own, but they’re easily spread through infected gardening tools, gloves, and even on the bottoms of your favorite gardening shoes!

A vertical close up picture of a man's boot pushing a spade into the soil, on a soft focus background.

Most nematode infestations happen because an afflicted clove is unknowingly planted in the garden. To ensure that nematodes aren’t living in your seed garlic, you may soak cloves in 120°F water for 20 minutes to heat treat them.

The high temperature should kill any existing bugs or eggs. But note that the experts at the University of Maine Cooperative Extension do not recommend doing this without professional equipment. Instead, purchase heat treated seed garlic from a reputable source.

As for predators, remember those beneficial nematodes I mentioned earlier? Now’s the time to try introducing them to your infected garlic patch.

A close up of a cardboard box with green and white text, containing beneficial nematodes for the garden.

5 Million Live Sf Nematodes

Try letting loose this package of five million live Sf nematodes (Steinernema feltiae), available from Arbico Organics.

Arbico recommends adding five million Sf nematodes to every 1,600 square feet of land. The beneficial nematodes will parasitize the bad ones, killing them.

Check out our guide to learn more about using beneficial nematodes to control garden pests.

If you’d rather use an insecticide, a spray made with a high concentration of neem oil can kill parasitic nematodes while leaving beneficial ones unharmed.

To make your own neem oil spray, add 1 teaspoon neem oil and 1/2 teaspoon dish soap to 1 quart warm water. Mix well and add to a spray bottle, then spray your affected plants until they’re damp.

Reapply as needed, once a week.

4. Onion Maggots

Unlike nematodes, onion maggots (Delia antiqua), are big, growing to about 1 centimeter long, and they can travel. Well, they can when they’re mature flies, anyway.

Delia antiqua pupae hang out in the soil all winter. But in springtime, they emerge from the soil as adult flies who’ll travel up to a mile to find your garlic plants, in order to lay their eggs in the surrounding soil, or occasionally on the leaves.

The newly hatched larvae, or maggots, will eat everything: roots, bulbs, stems, and leaves.

A close up of a leafminer tunneling into a green leaf, showing the damage it can cause.

The eggs favor cooler temperatures, and perish when the first inch of soil reaches a temperature of 95°F. Once the larvae hatch, they head for the roots, and their munching will destroy the entire root system of your plants. The first signs of onion maggot damage are wilted or stunted leaves.

To find out if the flies are in your garden, set yellow sticky cards around your crops. If you trap narrow-bodied, five- to seven-millimeter-long flies with humped backs, it’s time to get ready to manage some maggots.

How to Manage Onion Maggots

Crop rotation will definitely help to keep onion maggots – the larvae of onion flies – from ravaging your garlic crop year after year. Don’t plant any Alliums in the same soil in consecutive years, and follow the every-four-years rotation guideline described above.

Also, consider sowing garlic in raised beds or containers. The loose, well-draining soil in containers is less favorable to onion flies than garden soil. And since onion flies typically start their annual life cycle in the middle of May, that’s a good time to set yellow sticky cards out in your garden to see how many you’re dealing with. Try these, available from Arbico Organics.

You can also cover your crop with a floating row cover immediately after you plant seeds or transplant seedlings, to prevent mature female onion flies from laying eggs – which look like grains of white rice.

A close up of an onion bulb cut in half showing damage from worms with maggots inside it, set on a brown surface.

As an extra precaution, consider adding diatomaceous earth to the area around your plants, to kill the soft-bodied larvae once they hatch. Reapply after periods of rain.

Luckily for you, there are several predatory bugs that feast on onion maggots. Beneficial live Sf nematodes are one of these. Rove beetles, as described above, are another.

Take your pick!

A close up of a parasitic wasp, a small black and yellow insect, on a green leaf, fading to soft focus in the background.

If you see any onion fly eggs, clear out the affected soil and plants, and spray the area with insecticide.

For a natural pest control option, choose a spinosad-based spray.

Most chemical pesticides for treating an infestation of onion maggots target the larvae, and should be administered at seeding time.

You can use a heavy duty pesticide like Trigard or Lorsban at the time of planting, but beware: these can also kill beneficial insects, and they but won’t get rid of onion maggots that have already hatched.

For that, you’re better off with a predatory control method via beneficial insects.

5. Thrips

These tiny bugs, less than 1 millimeter in size, are common throughout the garden, and they’re a real annoyance to gardeners everywhere.

Onion thrips, Thrips tabaci, and Western flower thrips, Frankliniella occidentalis, specifically attack garlic and other members of the Allium genus by sucking the juice from their leaves.

Onion thrips are narrow, translucent orange in color, and slightly reminiscent of bees, but much tinier at just over 1 millimeter long.

Western flower thrips are 1.5 millimeters long, narrow, and translucent yellow with a black streak between their wings.

Both are tiny, but visible to the naked eye.

Thrip-infested leaves will appear dotted with whitish spots. They may also take on a silvery hue.

A close up of two tiny thrips on a green leaf. The long narrow bugs are translucent and can cause damage to plants.

Thrips don’t immediately kill plants, but over time they can cause a lot of damage to a plant’s overall health, leaving it susceptible to disease.

How to Manage Thrips

As always, crop rotation is advisable here, as is keeping your garlic patch weed-free. Thrips can easily move from weeds to your garlic plants.

Watering from above (via overhead irrigation) can also help keep plants thrip-free, as these bugs thrive in hot, dry conditions.

Once an infestation breaks out, thrips are best controlled by natural predators like green lacewings, ladybugs, parasitic wasps, minute pirate bugs, and beneficial Sf nematodes.To ensure that there’s a healthy predator population, plant a diverse vegetable garden that attracts beneficial insects.

A lacewing insect feeding on the yellow flower of a dandelion on a soft focus green background.

If you have dandelions in your yard, leave them there! They attract lacewings, as do dill, coriander, and fennel flowers.

Another option is to purchase predatory bugs from a local nursery, or from Arbico Organics.

A close up of the packaging of a spray bottle of insecticidal soap on a white background.

Bonide Insecticidal Soap

You can also try using insecticidal soap, like this one from Arbico Organics, for moderate infestations – and spinosad or neem oil spray for heavy infestations.

You should steer clear of harsh chemical pesticides because they can kill beneficial predatory insects, which are one of the top natural defenses against thrip damage for home gardeners.

Read more about controlling thrips here.

Garlic Pests Begone

Now that you know the five most likely ravagers of your precious garlic crop, you can prepare to fend the destructive critters off. That old saying, an ounce of prevention is worth a pound of cure, is especially true when it comes to keeping your plants pest-free.

A close up of freshly harvested garlic bulbs with the roots and foliage still attached set on soil.

By rotating crops, covering newly planted seedlings, and providing your garlic with adequate soil drainage and watering, you can avoid a lot of pest issues.

Do you have any questions about garlic bugs? Ask in the comments below! And feel free to share your tips.

To learn more about growing garlic in your garden, check out these guides next:

Photo of author
Laura Ojeda Melchor grew up helping her mom in the garden in Montana, and as an adult she’s brought her cold-weather gardening skills with her to her home in Alaska. She’s especially proud of the flowerbeds she and her three-year-old son built with rocks dug up from their little Alaska homestead. As a freelance writer, she contributes to several websites and blogs across the web. Laura also writes novels and holds an MFA in writing from Vermont College of Fine Arts.
Notify of

Newest Most Voted
Inline Feedbacks
View all comments
Jim (@guest_8959)
3 years ago

Something is eating my garlic bulbs, while they are still growing! At first we thought it was squirrels since the plants are partially excavated, but neither red pepper flakes or coffee grounds have helped, and to my knowledge squirrels don’t eat garlic. The bulb predator appears to be nocturnal, because we find the upright plants partially knocked down/excavated in the early AM. We have weasels nearby, but they are carnivorous. We haven’t observed magpies in the garlic. The stalks are spared, and we had a full crop if scapes before the bulb thief appeared. But the bulbs are decimated. This… Read more »

Laura Melchor
Laura Melchor (@guest_8964)
Reply to  Jim
3 years ago

That’s so frustrating, Jim — thanks for reaching out! I’m guessing the problem could be gophers or other pesky rodents. Or maybe even birds, though you’ve mentioned not seeing any near your plants.

You could try using Plantskydd (learn more about this in our moose repellent article — the stuff works for voles, squirrels, etc as well as larger animals). You could also try putting wire mesh over the plants, or even under, as with these gopher baskets.

I hope this helps!

Azam (@guest_8995)
3 years ago

A farmer reported having green larvae type in roots of his garlic. He uses some pesticide with flood irrigation to control. What could be that larva?

Laura Melchor
Laura Melchor (@guest_9014)
Reply to  Azam
3 years ago

Hi Azam, thank you for reading. Hmm, the only thing I can think of is leafminers. While not green, their larvae are sometimes yellowish, which can look green as well. Do you have any photos you could attach?

If it is leafminers, a spinosad-based spray like this one from Arbico Organics should help control the infestation.

Last edited 3 years ago by Laura Melchor
Talluri Balaji
Talluri Balaji (@guest_9336)
3 years ago

Hi Laura, I am a home gardener and have been growing garlic for about ten years. About two hundred bulbs. I plant garlic in the fall (in North Carolina) and harvest very healthy looking and large bulbs in May. Then during storage I find some cloves attacked by yellowish while worms that are about 1 mm in diameter and about 3-4 mm long. I lose several cloves to these worms in spite of keeping the bulbs in very hygienic conditions. Please give your opinion as to what these may be and how I can prevent them. Thanks.

Laura Melchor
Laura Melchor (@guest_9344)
Reply to  Talluri Balaji
3 years ago

Hi Talluri! Hmm, that’s really frustrating. In trying to figure out what might be the culprit, I thought of wireworms, but those are bigger than what you described. Could it be onion maggots or even a type of bulb mite? I know it might be difficult to get a photo, but if you were able to post one, I might be able to identify the exact pest.

How do you cure and store the bulbs? Knowing the details might help me figure this out, too. 🙂

Andreas Jansson
Andreas Jansson (@guest_10397)
3 years ago

I got this maggot in ecologically grown spring violeta garlic, import from Spain. What could it be? I guess the purple colour of the maggot is from the pigmentation of the garlic.

Spring violeta maggot.jpg
Andreas Jansson
Andreas Jansson (@guest_10398)
Reply to  Andreas Jansson
3 years ago

Could it be leek moth?

dave herman
dave herman (@guest_10940)
3 years ago

are garlic infected with Nematodes ok to use to make garlic powder? 

Lori J
Lori J (@guest_12280)
3 years ago

I just found a bunch of tiny black gnats on my garlic plants. They’re all on the surface of the dirt and crawling up the side of the raised bed as well. They seem to be gathering at the base of the plant. A bunch are dead on the top rail of the raised bed. What are these little buggers and how do I get rid of them?? Thanks for any advice you can offer!

James (@guest_12364)
3 years ago

I have nice garlic plants potted on my deck and I noticed tiny black insects all over plant stalk! What are they and what insect spray to kill/get rid of? Thanks.

Pam Caudell
Pam Caudell (@guest_16444)
2 years ago

Can you tell me what this is on garlic plant? What should I do to get rid of this?

Sarah (@guest_16747)
2 years ago

I have Wild Garlic in my garden in Cyprus. Every year I have a wonderful display of the beautiful flowers but this year the flowers have all been eaten. I cannot see any sign of bugs or eggs, just a display of stems about 25-30cm long. Any idea what could be doing this? Thank you.

Kristine Lofgren
Kristine Lofgren(@kristinelofgren)
Gardening Writer
Reply to  Sarah
2 years ago

When an entire flower head disappears, it’s more likely that herbivores have come to visit rather than an insect. I’m not entirely familiar with the wildlife in Cyprus, but any number of bird species, rodents, and sheep or goats are known to eat wild garlic flowers.

Rajen (@guest_18363)
1 year ago

My garlic is 3 months and some plants wilted. I dug and found the bulbs soft and black. I live in South Africa. Thanks

Kristine Lofgren
Kristine Lofgren(@kristinelofgren)
Gardening Writer
Reply to  Rajen
1 year ago

While there are several things that can cause this, it sounds like you might have some sort of fungal rot, most likely one caused by Botrytis species. There isn’t much you can do this season to remedy things, but next year be extra careful not to overwater. You should also remove any weeds and space your garlic well to improve air circulation. If you’re having wet weather, control can be difficult. You should definitely be sure to plant your garlic in a different place next year since the disease lives in the soil.