Best companion plants for pest control in vegetable gardens

A productive vegetable patch depends on more than fertile soil and regular watering. The plants growing around your tomatoes, beans, brassicas and herbs can influence which insects arrive, where they feed and whether beneficial predators stay long enough to help. Companion planting adds biodiversity while making the garden more attractive and practical.

For Australian gardeners, timing matters. A Melbourne winter bed behaves differently from a Brisbane summer garden, while Perth’s dry conditions can limit which flowering herbs thrive beside vegetables. Choosing plants that suit local temperatures, soil and rainfall is more reliable than copying a planting chart from another climate.

The most useful companions combine several functions. Some produce flowers for hoverflies, lacewings and native bees; others release strong scents that confuse pests. A few act as sacrificial plants, drawing aphids or caterpillars away from crops that you want to harvest.

Companion plants support pest management, but they do not replace observation. Check leaves each week, remove heavily infested growth, encourage birds and beneficial insects, and avoid broad-spectrum sprays that can disrupt the garden’s natural balance.

Marigolds, calendula and nasturtiums

Marigolds are popular around tomatoes, capsicums and beans because their bright flowers attract pollinators and predatory insects. French marigolds are particularly useful as edging plants, fitting neatly into small raised beds in Sydney or suburban Melbourne. Their roots and foliage may also discourage some soil pests, although they should be treated as one part of a wider plan rather than a guaranteed barrier.

Calendula flowers through cool seasons and suits many Australian vegetable gardens. Its yellow and orange blooms can bring hoverflies, whose larvae consume large numbers of aphids. Nasturtiums work well beside cucumbers, pumpkins and brassicas as a trap crop, since aphids and caterpillars may settle on the softer leaves first.

Allow some nasturtium and calendula flowers to set seed if you want low-cost plants for the following season. In hotter areas, provide afternoon shade and consistent moisture so they continue flowering instead of collapsing during heatwaves.

Herbs that confuse and deter pests

Basil beside tomatoes is a familiar pairing, and its strong scent may make it harder for some pests to locate host plants. It also attracts bees when allowed to flower. Dill, coriander and fennel provide umbrella-shaped blooms that feed hoverflies, parasitic wasps and other helpful insects, though fennel is best planted at the edge because it can become vigorous.

Rosemary, thyme and sage suit sunny beds and containers, especially in Adelaide, Perth and other areas with relatively dry summers. Their aromatic foliage can help mask the smell of brassicas and legumes, while their flowers provide nectar. Mint may repel or confuse some insects, but it spreads aggressively, so grow it in a pot sunk into the soil rather than directly in the bed.

Harvest herbs regularly to encourage fresh growth, but leave a few flowers available for insects. A mixed border of herbs creates shelter and scent variation without crowding vegetables or competing heavily for water.

Flowers for beneficial predators

Pest control improves when a garden offers food throughout the season. Alyssum is a compact choice for paths and bed edges, producing small flowers that attract hoverflies and parasitic wasps. Yarrow, cosmos and zinnias provide longer-lasting blooms and can help maintain insect activity during the warmer months.

In Australia, select flowers that can cope with local conditions. Gardeners in Brisbane may have a long flowering season, while those in Canberra need to account for frost and cool nights. Native flowering plants such as paper daisies, fan flowers or small grevilleas can support local pollinators when placed near, rather than inside, intensively watered vegetable beds.

Avoid filling every spare space with flowers. Leave open soil for access, maintain airflow around cucumbers and tomatoes, and use mulch to conserve moisture. Companion planting works best when beneficial insects can move easily between shelter, flowers and prey.

Plants for brassicas and leafy greens

Cabbage moths, aphids and whitefly can be persistent around kale, broccoli, cabbage and silverbeet. Dill, coriander, alyssum and calendula attract natural enemies, while thyme and rosemary add aromatic diversity around the bed. A few nasturtiums can draw aphids away from young brassicas, provided you inspect them often and remove infested leaves when necessary.

Physical protection is especially valuable in Australian gardens. Fine insect netting secured around hoops can exclude cabbage moths without affecting light, and hand-picking caterpillars is effective in a small patch. For gardeners growing greens in a cooler or shaded position, these shade-growing lettuce tips can help balance plant spacing, airflow and harvest timing.

Rotate brassica beds between seasons rather than planting the same family in one place repeatedly. Crop rotation reduces the build-up of host-specific pests and diseases, while removing old leaves prevents pests from sheltering between crops.

Soil cover and chemical-free management

Low-growing companions can protect bare soil and make it harder for weeds to establish. Sweet alyssum, nasturtiums and spreading herbs create living cover, while straw, lucerne or composted mulch suppresses weed seedlings and reduces water loss. For a practical approach to bed maintenance, see these chemical-free weed methods.

Mulch should be kept slightly away from stems to reduce fungal problems and hiding places for slugs. In wetter parts of Queensland or during a rainy period in coastal New South Wales, use a thinner layer and check that soil is draining freely. In dry South Australia or Western Australia, deeper organic mulch can be valuable for keeping roots cool.

If treatment becomes necessary, identify the pest first and choose the least disruptive option. Australian products must be registered and used according to their label under the national agricultural chemical framework administered through the APVMA. Gardeners should also protect children, pets and pollinators; health questions involving household medicines and pregnancy deserve professional advice, such as this pregnancy medication guidance.

A practical planting combination

A balanced bed might place tomatoes with basil and marigolds, surround brassicas with alyssum and dill, and grow beans near nasturtiums and calendula. Keep taller plants on the southern side where practical, so they do not shade lower vegetables during winter. In the Southern Hemisphere, this orientation can make a noticeable difference in compact courtyards.

Australian home gardeners should also consider water restrictions, local council rules and the availability of seedlings at weekend markets or independent nurseries. Plants that are easy to replace and suited to the local season usually offer better value than rare varieties that struggle with heat, frost or poor drainage.

Vegetable crop Helpful companions Main benefit
Tomatoes Basil, marigold, calendula Flowers for beneficial insects and scent diversity
Brassicas Dill, alyssum, thyme, nasturtium Supports predators and distracts aphids
Beans Nasturtium, rosemary, calendula Pollinator support and trap-crop potential
Cucumbers Dill, nasturtium, alyssum Attracts hoverflies and adds ground cover
Leafy greens Coriander, calendula, alyssum Encourages natural aphid control
Carrots Rosemary, sage, marigold Aromatic border and insect habitat

Companion planting is most effective when paired with healthy soil, seasonal crop rotation, netting and frequent inspection. A diverse garden gives beneficial insects reasons to stay, reduces reliance on chemical controls and makes every harvest bed more resilient.