Companion planting means growing different kinds of plants close together so they help each other, and for pest control the idea is simple: some plants draw in the insects that eat pests, others hide a crop with scent or leaf cover, and a few give pests a tastier target elsewhere. When it works, the result is fewer pests and less work, with more flowers and variety in the bed as well.
It is worth being honest about the limits, though. No pairing makes a garden pest-free, and many old claims have never been tested properly. A flower that draws hoverflies is a real help, while a plant said to repel every pest by scent is usually wishful thinking. The pairings in this guide are the ones gardeners see working season after season, and they work best as part of a wider plan that includes checking plants, hand picking, and healthy soil.

What Companion Planting Can and Cannot Do
The heart of companion planting is simple: plants grown side by side can change what pests find and what helpers stay for. A flower may feed the hoverfly whose young eat aphids, a strong scent may hide a carrot from the fly that hunts it, and a nasturtium may take the aphids so the cabbages stay clean. Each pairing is a small nudge, not a shield, and the best results come from stacking several small nudges together.
That is why honest expectations matter. A single herb will not keep every pest off a whole bed, and some pairings passed down by word of mouth do little at all when tested in a real garden. Judge a pairing by what you see in your own beds over a season: fewer pests, more helpers, and crops that keep growing. The pairings below are the ones that pass that test most often.
| Pairing | How it helps | How strong is the help |
|---|---|---|
| Marigolds with tomatoes | Draws hoverflies, hides crop | Good, widely seen |
| Nasturtiums near brassicas | Aphids prefer the nasturtium | Good for aphids |
| Onions with carrots | Scent masks the crop | Fair, helps a little |
| Basil with tomatoes | May confuse some pests | Modest, still tasty |
| Herbs among vegetables | Draws helpful insects | Good across the bed |
Flowers That Bring in the Helpers
The most reliable companions are flowers that feed helpful insects. Hoverflies, ladybirds, and lacewings all need nectar and pollen, and their young eat aphids in large numbers. Small, open flowers are best, since the helpful insects have short mouthparts and cannot reach deep into a large bloom. A patch of alyssum, calendula, or marigolds at the edge of a vegetable bed will draw them in within days.
Scatter flowers through the bed rather than planting them in one block at the far end. Helpers that arrive for the flowers will hunt aphids on the plants nearby, so a flower every metre or so through the vegetables works better than a single border. Let a few herbs flower as well: dill, coriander, and fennel in bloom are loved by hoverflies and tiny wasps that prey on caterpillars.
Keep the flowers going through the season by sowing a second patch in midsummer. A gap in flowering means the helpers move on, and aphids can build up quickly while they are away. In the UK and Canada, sow the first flowers with the spring vegetables and the second round in early summer; in warmer parts of Australia and the USA, keep sowing small patches through the long growing season.

Strong Scents and Confused Pests
Some plants give off strong scents that can confuse pests searching for their favourite crop by smell. Onions and garlic planted among carrots, for example, may make it harder for the carrot fly to find its target, and the same idea lies behind planting strong herbs among cabbages. The effect is modest and never total, but in a mixed bed it adds one more layer of protection.
Scent works best when the plants are truly mixed, not planted in separate blocks. A row of onions beside a row of carrots is easy for a pest to cross, while onions dotted through the carrot bed are far more confusing. Mix herbs into the bed as well, and let them brush against the vegetables so their scent hangs in the air around the crop.
- Dot onions and garlic through carrot beds, not in separate rows
- Let dill, coriander and fennel flower to feed hoverflies
- Grow basil close to tomatoes for scent and easy picking
- Plant marigolds every metre through vegetable beds
- Mix herbs into beds so their scent hangs around crops
Trap Crops: Giving Pests a Better Offer
A trap crop is a plant that pests prefer over the crop you want to protect, grown on purpose so the pests gather there instead. Nasturtiums are the classic example: aphids choose them over cabbages and beans, leaving the crop cleaner. Plant the trap crop a little earlier than the main crop, and place it at the edge of the bed so the pests stop there first.
A trap crop needs watching, since a plant covered in pests can become a breeding ground that spills back onto the crop. Check it weekly, and once it is full of pests, cut it down and remove it, or wash it hard with water. Plant a fresh one if the season is still young, and keep the main crop checked at the same time so nothing is missed.
| Trap crop | Draws away from | Care needed |
|---|---|---|
| Nasturtiums | Aphids on brassicas | Cut down once covered |
| Radishes | Flea beetles on greens | Sow early, pull when full |
| Marigolds | Root pests near tomatoes | Replace through the season |
| Dill | Aphids from nearby crops | Let it flower, then cut back |
| Mustard | Flea beetles on salads | Dig in before it seeds |

Planning a Mixed Bed That Works
A mixed bed starts on paper, not in the soil. Sketch the bed, place the tallest plants where they will not shade the rest, and then dot flowers and herbs through the gaps. Aim for three or four kinds in each bed rather than one, and mix quick crops with slow ones so the bed is never empty. A bed with variety is harder for pests to find, and if one crop fails, the others still carry the season.
Think about timing as well as spacing. Sow flowers with the first vegetables, add herbs as the season warms, and keep a few spare seedlings ready to fill gaps where a crop finishes. A bed that stays full and flowering from spring to autumn gives helpful insects a home all season, and it looks better too — a vegetable bed dotted with orange and yellow flowers is a pleasure to walk past.
Keep notes on what worked, since every garden is different. One year the marigolds may be full of hoverflies while the nasturtiums do little, and the next year the reverse. Write down the pairings, the pests you saw, and the crops that did best, and next season plant more of what helped and less of what did not. Companion planting is a slow craft, learned one season at a time.
Key takeaways
- Flowers that feed hoverflies and ladybirds are the most reliable pest-control companions.
- Strong scents help only when plants are truly mixed, not grown in separate blocks.
- Trap crops draw pests away, but cut them down once they are covered in insects.
- A mixed bed with three or four kinds is harder for pests to find than one crop on its own.
Questions readers ask
Does companion planting really keep pests away?
It helps, but it does not make a garden pest-free. Flowers that feed helpful insects are the most reliable part, while scent pairings give a smaller boost. Use companions alongside weekly checks, hand picking, and healthy soil rather than instead of them.
Which flowers are best for bringing in helpful insects?
Small, open flowers work best: marigolds, calendula, alyssum, and flowering dill or coriander. Their nectar is easy for hoverflies and tiny wasps to reach, and their young eat aphids. Sow them through the bed, not in one corner, so helpers hunt close to the crops.
Do marigolds really protect tomatoes?
Marigolds help in two ways: their flowers draw hoverflies that eat aphids, and their roots are unkind to some soil pests. They will not stop every pest, but tomatoes grown with marigolds dotted through the bed usually suffer less damage than tomatoes grown on their own.
What is a trap crop and how do I use one?
A trap crop is a plant pests prefer over your main crop, such as nasturtiums for aphids on cabbages. Sow it early at the edge of the bed, check it weekly, and cut it down once it is covered in pests so it does not become a breeding ground.
Can I plant herbs and vegetables in the same bed?
Yes, herbs and vegetables grow well together and the mix confuses pests and feeds helpful insects. Keep tall herbs from shading small crops, give each plant room to grow, and let a few herbs flower so hoverflies and tiny wasps have food through the season.


