For UK gardeners seeking eco-friendly ways to protect their plots, companion planting for pest control offers a time-tested, chemical-free strategy. By pairing specific plants, you can repel pests, attract beneficial insects, and boost crop health. This guide answers key questions about the best (and worst) plant partnerships, flowers that act as natural insecticides, and resilient vegetables for pest-prone gardens.

Companion Planting for Pest Control

What is the Best Flower for Pest Control?

Nasturtiums take the crown as one of the most effective flowers for pest control. Their vibrant blooms act as a “trap crop,” luring aphids, whiteflies, and cabbage moths away from vegetables like tomatoes and brassicas. Once pests swarm the nasturtiums, simply remove the affected plants to protect your harvest. For root pest control, French marigolds (Tagetes patula) excel at deterring soil nematodes and repelling aphids with their pungent scent.


Do Marigolds Deter Pests?

Yes! Marigolds are a powerhouse in companion planting. Their roots release a chemical called alpha-terthienyl, which suppresses harmful nematodes in the soil. Plant them near tomatoes, potatoes, or beans to shield these crops. Their strong aroma also confuses pests like aphids and carrot flies. Opt for French marigolds over other varieties for maximum pest-repelling benefits.


What to Plant With Carrots to Deter Pests?

When it comes to searching for the best companion planting for pest control, one of the “pests” I think of is the Carrot root fly. Carrot flies are a notorious nuisance in UK gardens. To protect your crop:

  • Rosemary or sage: Their strong scent masks the carrot’s aroma.
  • Leeks or onions: The onion family deters carrot flies and vice versa.
  • Chives: Improve carrot growth while repelling aphids.

Avoid planting carrots near dill or parsnips, which can attract similar pests.


What Should You Not Plant Next to Each Other?

Certain plant pairings hinder growth or attract pests:

  • Beans + Onions/garlic: Alliums stunt bean growth.
  • Brassicas (cabbages, broccoli) + Strawberries: Strawberries attract slugs that harm brassicas.
  • Potatoes + Tomatoes: Both are prone to blight, risking cross-contamination.

What Not to Plant With Rosemary?

Rosemary thrives in dry, sunny conditions. Avoid pairing it with moisture-loving plants like cucumbers, pumpkins, or mint, which require frequent watering. Overly damp soil can cause rosemary roots to rot.

Why Rosemary and Moisture-Loving Plants Don’t Mix

Rosemary (Rosmarinus officinalis) is a Mediterranean herb that thrives in dry, sunny, and free-draining conditions. Its natural habitat—rocky, sandy soils with infrequent rainfall—shapes its growing preferences. In UK gardens, rosemary often struggles in heavy clay soils or areas prone to waterlogging, making companion planting choices critical to its survival.

The Problem with Moisture-Loving Companions

Plants like cucumbers, pumpkins, squash, and mint have vastly different needs:

  • High water demand: These crops require consistently moist soil to support their rapid growth and fruit production. Frequent watering around rosemary can oversaturate its root zone, leading to root rot or fungal diseases like powdery mildew.
  • Soil competition: Rosemary’s shallow roots struggle to compete with vigorous growers like mint, which spreads aggressively and monopolizes nutrients and moisture.
  • Microclimate clash: Cucumbers and pumpkins create dense foliage that traps humidity, raising local moisture levels—a disaster for rosemary, which prefers arid, breezy conditions.

Even if you water these plants separately, UK rainfall patterns (particularly in regions with wet summers) can exacerbate soil dampness, stressing rosemary and shortening its lifespan.


What Happens If You Pair Rosemary with the Wrong Plants?

  • Root rot: Soggy soil suffocates rosemary’s roots, causing them to turn brown and mushy. The plant may wilt, drop leaves, or die suddenly.
  • Reduced fragrance and flavour: Overwatered rosemary produces fewer essential oils, weakening its pest-repelling properties and culinary value.
  • Pest attraction: Stressed rosemary becomes vulnerable to spider mites and aphids, pests that thrive in humid conditions.

Better Companions for Rosemary

Pair rosemary with plants that share its love for dry, sunny, and low-water conditions:

  1. Thyme: Drought-tolerant and pest-repellent, thyme thrives in similar soil.
  2. Lavender: Shares rosemary’s need for poor, dry soil and deters moths and fleas.
  3. Sage: Another Mediterranean herb that resists pests and prefers minimal watering.
  4. Oregano: Improves rosemary’s vigour while repelling cabbage moths.

For vegetable pairings, opt for drought-resistant crops like artichokes, asparagus, or garlic.


Tips for Growing Rosemary in the UK

  1. Soil prep: Amend heavy clay soils with grit, sand, or gravel to improve drainage.
  2. Raised beds/containers: Elevate rosemary to prevent waterlogging, especially in rainy regions.
  3. Avoid overwatering: Water only during prolonged dry spells—rosemary is more likely to die from overwatering than drought.
  4. Prune regularly: Improves air circulation, reducing humidity around the plant.

Why This Matters for Pest Control

Rosemary isn’t just a culinary herb—it’s the perfect companion planting for pest control. Its strong scent repels carrot flies, bean beetles, and cabbage moths. However, if weakened by poor growing conditions, its effectiveness diminishes. By pairing it wisely, you protect both the plant and its pest-control benefits.

Final Note: Always group rosemary with “like-minded” plants to create a harmonious, low-maintenance garden zone. Avoid the temptation to tuck it into vegetable beds with thirsty crops—your rosemary (and your pest-control efforts) will thank you!


What Flower is a Natural Insecticide?

Chrysanthemums contain pyrethrins, compounds used in organic insecticides to paralyse insects. Plant them near aphid-prone crops, but note they’re toxic to pets. Lavender also works wonders, repelling moths, fleas, and flies with its fragrance.


What Plant Repels the Most Insects?

Lemon balm is a top contender, deterring mosquitoes, midges, and aphids and a good option when choosing companion planting for pest control. For vegetable gardens, basil repels thrips, flies, and mosquitoes while enhancing tomato growth.


How to Stop Bugs From Eating Leaves?

  1. Companion planting: Use pest-repelling herbs like basil or marigolds.
  2. Physical barriers: Netting or fleece protects brassicas from caterpillars.
  3. Homemade sprays: Neem oil or garlic spray disrupts pest life cycles.

What Vegetables Are Most Pest-Resistant?

  • Onions, garlic, and leeks: Their strong scent deters most pests.
  • Kale and Swiss chard: Hardy greens with few natural enemies.
  • Radishes: Fast-growing and less prone to infestations.

Which Flower Attracts the Most Insects?

Sunflowers are a magnet for pollinators like bees and hoverflies, whose larvae devour aphids. Borage also lures beneficial insects while improving tomato and strawberry resilience.


What Herbs Deter Rats?

Rats dislike strong herbal scents. Plant mint (in pots, as it’s invasive), lavender, or bay laurel around compost bins or shed entrances. Rosemary and thyme also help mask food smells that attract rodents.

Rats dislike strong herbal scents. Plant mint (in pots, as it’s invasive), lavender, or bay laurel around compost bins or shed entrances. Rosemary and thyme also help mask food smells that attract rodents. By embracing companion planting for pest control, UK gardeners can cultivate thriving, biodiverse plots while reducing reliance on chemicals. Experiment with these pairings to discover what works best in your garden’s microclimate. Happy planting!


Final Tips for UK Gardeners

  • Rotate crops annually to disrupt pest life cycles.
  • Encourage birds and hedgehogs, natural predators of slugs and insects.
  • Combine companion planting with organic mulch for soil health.

By embracing companion planting for pest control, UK gardeners can cultivate thriving, biodiverse plots while reducing reliance on chemicals. Experiment with these pairings to discover what works best in your garden’s microclimate. Happy planting!

Further reading on the topic of companion planting for pest control

One excellent way of controlling smaller pests is by encouraging birds, reptiles, amphibians and hedgehogs. Here is an article written on this topic. For even more information, I suggest you visit the RHS page on pest control without chemicals.

Leave a Reply