Natural Control for Onion Flies, Nematodes, and Other Pests in Garlic

Even rugged crops like garlic can face tough pests—especially onion flies, nematodes, root maggots, and soil-dwelling bugs. But you don’t need harsh chemicals to defend your patch! With simple, eco-friendly strategies, you can keep garlic healthy, minimize pest damage, and keep your garden safer for pollinators, pets, and the planet. Here’s how to tackle garlic pests—naturally.

🚨 FLASH AMAZON DEAL RIGHT NOW 🚨
Monday 12 October 2026

Keter Manor Outdoor Apex Double Door Garden Storage Shed (6 x 8ft)

A durable and stylish beige and brown garden storage shed perfect for storing garden tools, equipment, bikes, and outdoor essentials. Weather-resistant, low maintenance, and ideal for any garden or allotment setup.

🍂 Essential Garden & Allotment Products for October
October is the perfect time to prepare your garden for winter, improve your soil and get ahead with autumn planting. Here are some useful gardening essentials for this month.

🌱 Compost & Soil Improvers
Give your garden beds a boost before winter with compost and organic matter.
Shop Compost & Soil Improvers

🌿 Autumn Plant Feed & Fertiliser
Prepare your soil for autumn planting with suitable fertilisers and soil nutrients.
Browse Garden Fertilisers

🥬 Seed Trays & Propagation Kits
Keep growing through autumn by starting suitable hardy crops under cover.
Shop Seed Trays

As an Amazon Associate, Gardening with Ben earns from qualifying purchases at no extra cost to you.

👉 VIEW THE AMAZON DEAL

1. Onion Fly (Onion Maggot or Onion Fly, Delia antiqua)

Symptoms:

  • Seedlings collapse, yellow leaves on young plants, small white maggots in roots.

Natural Controls:

  • Crop rotation: Never plant garlic (or onions, leeks, shallots) in the same spot for at least three years.
  • Physical barriers: Cover rows with fine mesh, insect netting, or floating row cover from planting until midsummer.
  • Timing tricks: Plant garlic later in spring or earlier in autumn to avoid peak fly laying season (spring).
  • Companion plants: Carrots, lettuce, or mint near garlic beds help mask plant odor, confusing flies.
  • Remove infested plants quickly—bin, don’t compost, maggots.

2. Stem and Bulb Nematodes (Ditylenchus dipsaci)

Symptoms:

  • Stunted, twisted, or swollen plants; bulbs split, browned, or soft; yellow striping on leaves.

Natural Controls:

  • Rotation and rest: Don’t replant alliums in same spot for 4+ years. Let soil rest if infestation is found.
  • Soil solarization: Use clear plastic over problem beds in midsummer for 4–6 weeks to kill nematodes.
  • Sanitation: Start with disease-free seed; never compost infected bulbs or plant debris.
  • Encourage predatory nematodes and beneficial soil life with compost and green manure crops.

3. Wireworms, Root Maggots, and Soil Pests

Symptoms:

  • Weak growth, holes in bulbs, roots chewed through.

Natural Controls:

  • Trap cropping: Bury chunks of carrot, potato, or beet in the bed; pull and discard after a week to remove pest larvae.
  • Crop rotation: Essential for all soil-borne pests.
  • Hand-picking: At planting and harvest, examine soil for pests and crush any grubs found.
  • Healthy soil: Good compost, rotation, and planting after beans/peas encourages predators and reduces pest populations.

4. Preventing Pest Problems Before They Start

  • Companion planting: Grow garlic alongside carrots, lettuce, or brassicas to block pest tracking.
  • Soil health: Rotate crops, fix drainage, and keep soil organic for stronger, resilient plants.
  • Remove debris: Keep beds tidy—old plant matter is a haven for pests.
  • Clean tools: Wash spades, forks, and knives between beds, especially if you spot disease.

When to Replant or Start Over

  • Persistent nematodes, fly buildup, or maggot infestations may require a soil break, solarization, or new raised beds.
  • Always start new beds with healthy, certified garlic stock—not saved bulbs from an infested patch.

Wrapping Up

Natural pest control for garlic rests on prevention: clean seed and soil, barriers, crop rotation, and a keen eye for trouble. With these methods, you’ll harvest healthy, pest-free garlic—no chemicals required.


Join our new daily newsletter for tips, advice. recipes, videos plus lots more. Join for free!

📘 Learn How to Grow Your Own Fruit & Vegetables

Growing your own veg is one of the most rewarding things you can do on an allotment or in the garden — saving money, eating better, and enjoying the process from seed to harvest.

Allotment Month By Month: Grow your Own Fruit and Vegetables, know exactly what to do and when, with clear month-by-month guidance that makes growing easier and more successful.

👉 Take a look at this book on Amazon

Table of Contents

Share: