Growli

edible gardening

Organic Pest Control for the Vegetable Garden

Organic pest control for your vegetable garden: BT, parasitic nematodes, trap crops, insect netting, and exact fence heights that actually work.

Growli editorial team · 17 Jun 2026 · 8 min read

Organic Pest Control for the Vegetable Garden

Try Growli: Snap a photo of any chewed leaf or mystery bug with the Growli app and we'll identify the pest and suggest the least-toxic organic control that actually targets it.

Most pest guides start and end with "spray neem oil." That's backwards. The cheapest, safest, and most effective organic garden is built on barriers, biology, and timing — so the pests never get established in the first place. This playbook covers the specific tools that work, in the order you should reach for them, plus the exact fence heights that keep rabbits and deer out.

If you're growing soft fruit alongside your veg, pair this with our guide to growing strawberries in a raised bed, where bird netting timing makes or breaks the harvest.

Why prevention beats treatment

The single biggest lever in organic pest control is stopping pests before they arrive, because once a population is established, even good organic sprays only knock it back. Healthy, unstressed plants — properly spaced, deeply watered at the base, and growing in living soil — resist pests far better than crowded, drought-stressed ones. Start with cultural controls (netting, crop rotation, trap crops), move to biological controls (nematodes, BT) if pests appear, and treat targeted sprays as the last resort rather than a weekly routine. Good watering is part of this: see how to water a vegetable garden for why morning, base-only watering keeps fungal disease down too.

Slugs and snails: parasitic nematodes

The most effective organic slug control is parasitic nematodes — microscopic worms sold as a powder you water into moist soil. The nematode Phasmarhabditis hermaphrodita (sold in the UK as "Nemaslug") seeks out slugs, infects them with a fatal bacterial disease, and kills them within about 4–21 days, according to the RHS. They work best applied repeatedly between spring and early autumn, when soil is moist and roughly 5–20°C (41–68°F).

A few honest caveats the marketing skips: nematodes move and survive best in light, sandy soils or compost and perform poorly in heavy, waterlogged ground. They reduce slug damage meaningfully but may not eliminate it, and one greenhouse study found little effect — so treat them as one layer, alongside hand-picking after dusk, beer traps, and clearing daytime hiding spots.

Cabbage worms: netting first, then BT

Cover brassicas with fine insect netting at planting to physically block cabbage white butterflies from laying eggs in the first place. A butterfly mesh of about 5–7 mm stops the cabbage whites, while a finer 1.3–1.4 mm mesh also excludes cabbage root fly and other small pests, per RHS guidance. Drape it over hoops so the net never touches the leaves — butterflies will lay through netting that's resting on the foliage.

For caterpillars that get through, BT (Bacillus thuringiensis subsp. kurstaki) is the organic standard. It's a naturally occurring soil bacterium; caterpillars that eat sprayed leaves stop feeding and die within a few days. UC IPM and Clemson Extension both list BT as a highly effective, OMRI-listed control for imported cabbageworm and cabbage looper. Two keys to success: spray while caterpillars are still small, and reapply about a week later, because BT breaks down within a few days and only kills larvae that actively eat it.

Squash vine borer: the Blue Hubbard trap crop

Plant Blue Hubbard squash as a sacrificial trap crop to draw squash vine borers and cucumber beetles away from your zucchini and summer squash. Blue Hubbard is far more attractive to these pests, so a perimeter ring of it intercepts them before they reach the main crop. Research from the University of Connecticut IPM program found that perimeter trap cropping lowered cucumber beetle infestations by up to 95% and squash vine borer by up to 88% on summer squash — while cutting pesticide use.

To make it work, plant the trap crop two to three weeks ahead of your main squash and around its perimeter, then monitor it closely. If pests pile up on the Blue Hubbard, you can spot-treat just that ring rather than your whole patch.

Cucumber beetles: amaranth trap + burpless varieties

Reduce cucumber beetle pressure by choosing "burpless" cucumber varieties, which are bred low in cucurbitacin — the bitter compound that strongly attracts cucumber beetles. Research confirms cucurbitacins act as feeding stimulants (kairomones) for these beetles, so less-bitter, burpless or "bitter-free" cultivars are simply less appealing to them, with the bonus of milder-tasting fruit.

Pair that with a perimeter trap crop and good monitoring. Yellow sticky traps help you catch a beetle build-up early, before the bacterial wilt they spread can take hold. Floating row cover over young cucurbits also works — just remove it once flowers open so pollinators can reach the blooms.

Birds and soft fruit: net before it reddens

Net strawberries and other soft fruit before the fruit starts to colour, not after — once birds find ripening berries, they'll strip a bed in days. Use bird netting on a simple frame or hoops so the mesh sits clear of the fruit, and check daily for trapped birds. Drape netting that contacts the berries lets birds peck through and can also entangle wildlife.

Rabbits, groundhogs, and deer: exact fence heights

A fence is the only reliable long-term barrier against larger pests, and the height matters. For rabbits, a fence of about 2–3 ft (60–90 cm) of small-mesh wire (1-inch or smaller) is usually enough — University of Nebraska–Lincoln notes 2 ft stops cottontails, while 3 ft is safer where jackrabbits are present. A common myth is that you need a 6 ft rabbit fence; you don't — that height is for deer.

Deer are the real challenge. For high-value vegetable crops, plan on a fence of at least 8 ft (2.4 m); a 6 ft fence can work only for small, tightly enclosed beds deer won't risk jumping into. For burrowing pests like groundhogs (woodchucks), the above-ground height isn't enough — bury the wire about 12–14 in (30–35 cm) deep and bend the bottom outward into an "L" so diggers hit a horizontal shelf, per multiple Extension recommendations.

AnimalFence heightExtra measure
Cottontail rabbit2 ft / 60 cm1-inch or smaller mesh
Jackrabbit3 ft / 90 cmMesh flush to the ground
Groundhog / woodchuck3 ft / 90 cm aboveBury wire 12–14 in (30–35 cm), bend outward in an L
Deer (vegetable crops)8 ft / 2.4 m6 ft only for tight, enclosed beds

Marigolds and other companion planting

Plant French marigolds (Tagetes patula) among tomatoes to slow whitefly build-up — this is one of the few companion-planting claims with peer-reviewed support. A 2019 Newcastle University study (published in PLOS One) found that French marigolds release limonene, an airborne compound that repels glasshouse whitefly and significantly slows their population growth on neighbouring tomatoes. For best results, plant the marigolds early and throughout the season; adding them after whiteflies have already built up is far less effective. Treat broader "companion" charts with healthy scepticism — most pairings lack this kind of controlled evidence.

Sterilise your pruners

Wipe pruner and snip blades with isopropyl (rubbing) alcohol between plants, especially when handling anything diseased, because dirty blades spread bacterial and viral infections cut to cut. Bin or burn infected leaves and stems rather than composting them — a home compost pile rarely gets hot enough to kill many plant pathogens, so composting diseased material can recycle the problem back into next year's beds. This habit matters most for tomatoes, which spread disease readily; see our single-stem tomato method for how pruning fits a low-disease growing system.

When (and when not) to spray

Reach for organic sprays only after barriers, traps, and biological controls, and always choose the most selective product for the pest. A rough order of least to more disruptive:

ProductBest againstKey caution
Insecticidal soapAphids, soft-bodied pestsContact-only; reapply; can scorch in heat
Horticultural / neem oilAphids, mites, scaleReapply often; don't spray in full sun or heat
BT (kurstaki)Caterpillars onlySpray small larvae; reapply ~weekly
SpinosadCaterpillars, thrips, beetlesHighly toxic to bees when wet — see below

The safety rule that matters most: spinosad is highly toxic to bees while the spray is still wet, so never apply it to plants in flower — spray late in the day, after blooms have closed and bees have stopped foraging, when toxicity drops sharply once dry (typically within a few hours to a day). Neem has low mammalian toxicity but still isn't selective, so spot-treat rather than blanket-spray. The greenest garden uses the fewest sprays — let prevention do the heavy lifting, and you'll protect the pollinators and beneficial insects that are doing free pest control for you. For the full prevention-first system, start with how to start a vegetable garden for beginners.

About the sources

This guide synthesises three documented gardener journeys — Epic Gardening (Southern California), a first-year UK raised-bed build, and a 15-year New Jersey (zone 7A) grower — with authoritative agronomy. Every pesticide and barrier claim (BT, parasitic nematodes, spinosad, trap crops, fence heights) was cross-checked against university Extension services (UC IPM, Clemson, UConn, University of Nebraska–Lincoln), the RHS, and peer-reviewed research (Newcastle University, PLOS One 2019). Creator footage is treated as real-world experience, not a substitute for verified guidance.

Frequently asked questions

How do I stop slugs eating vegetables organically?

Apply parasitic nematodes — microscopic worms sold as a powder you water into the soil. They feed on slugs and meaningfully reduce damage, though may not eliminate it.

How do I control cabbage worms without spraying?

Cover brassicas with insect netting at planting to stop cabbage white butterflies laying eggs. For worms that get through, BT (Bacillus thuringiensis) is organic and highly effective.

What's a good trap crop for squash vine borer?

Blue Hubbard squash. Plant it as a sacrificial crop near your main squash to draw borers away from zucchini and summer squash.

What are burpless cucumbers and why grow them?

Burpless varieties are bred low in cucurbitacin, the bitter compound that attracts cucumber beetles. Milder taste, and fewer beetles too.

How tall should a fence be to keep rabbits out of a garden?

About 2 to 3 feet for rabbits, with 1-inch or smaller mesh flush to the ground. Deer fencing for vegetable crops needs at least 8 feet, and for groundhogs bury the wire 12 to 14 inches deep and bend it outward.

Should I sterilize my pruners between plants?

Yes, especially with diseased plants. Wipe blades with isopropyl alcohol between cuts and bin infected leaves rather than compost them.

Related articles

More from Edible Gardening