Updated November 2026
Companion planting for insect control means placing certain plants near crops so they deter pests, draw beneficial insects, or disrupt the pest’s life cycle. Done well, it can reduce the number of aphids, cabbage worms, and cucumber beetles you need to pick off by hand. This guide covers how it works, how to plan a layout, and what to avoid.
How Companion Planting Reduces Insect Damage
Companion planting works through three main routes. Some plants release strong scents that confuse or repel pests that rely on smell to find food. Others, like flowering herbs and daisies, attract predatory insects such as lacewings, hoverflies, and parasitic wasps that feed on aphids and caterpillars. A third route is physical: a tall or dense plant can shade a crop or hide it from pests that search by sight.
Shopping for one? See our guide: Companion Planting with Pole Beans: 5 Best Picks for 2026.
The effect is real but modest. Companion plants support good pest control; they rarely replace monitoring, hand removal, or row covers when pressure is high.
Plan Your Pairings and Spacing
Start with the pest you actually have. Aphids, whiteflies, cabbage worms, and squash bugs each respond to different plants, so identify the problem before choosing partners.
- Marigolds (French types, Tagetes patula): Often planted near tomatoes, cucumbers, and beans to deter nematodes and some beetles. Set plants 8 to 12 inches apart along the bed edge.
- Nasturtiums: Trap aphids on their leaves, drawing them away from brassicas and squash. Plant 12 inches from the crop they protect.
- Dill, fennel, and cilantro in flower: Attract hoverflies and parasitic wasps. Let a few plants bolt and flower, and keep them at least 18 inches from carrots and fennel-sensitive crops.
- Thyme and rosemary: Their strong aroma can mask host plants from cabbage moths and carrot flies. Place them at the corners or edges of a raised bed.
- Alliums (onions, garlic, chives): Their sulfur compounds can deter aphids and some beetles. Interplant between lettuce, carrots, and brassicas.
Spacing matters as much as species. Dense interplanting can raise humidity and invite fungal disease, so leave normal crop spacing intact and add companions in gaps, borders, or every fourth or fifth row. For layout ideas that fit small beds, see Raised Bed Garden Layout Companion Planting: A Step-by-Step Guide.
Build a Layout That Attracts Beneficial Insects
Predatory insects need food and shelter, not just a single flower. Plan a continuous supply of blooms from spring through fall. Early bloomers like alyssum and calendula feed hoverflies in April and May, while dill, cosmos, and yarrow carry them through late summer.
- Map your beds and mark the pests that caused trouble last season.
- Assign one flowering companion per 4 to 6 feet of bed edge.
- Stagger bloom times so something is open from early spring to frost.
- Leave a few plants to flower rather than cutting everything back.
- Check the undersides of leaves weekly and note which beneficials appear.
For a broader list of pairings with spacing notes, the Vegetable Companion Planting Guide: Pairings, Spacing and Pitfalls (2026) covers the common crops in detail.
Common Mistakes to Avoid
- Expecting companions to control a heavy infestation alone. Scout regularly and act early.
- Planting aggressive flowers like mint or borage too close to crops; they spread and compete.
- Overcrowding beds, which blocks airflow and encourages disease.
- Using broad-spectrum sprays that kill the beneficial insects you are trying to attract.
- Ignoring known incompatibilities, such as keeping fennel away from most vegetables.
Recommended Gear
A few supplies make companion plantings easier to manage and protect young plants while the beneficials establish.
- Floating row cover fabric: lets light and water through while keeping flying beetles and moths off brassicas and squash during early growth. View on Amazon
- Yellow sticky traps: help you monitor whitefly and fungus gnat populations so you know when companions are enough and when to intervene. View on Amazon
- Seed packets of mixed insectary flowers: a simple way to fill borders with dill, alyssum, and calendula in one purchase. View on Amazon
FAQ
How long does it take for companion plants to affect insect numbers?
Results depend on the pest and the season. Predatory insects often arrive within two to four weeks of blooms opening, so expect gradual changes across a full growing season rather than overnight.
Do marigolds really repel insects?
French marigolds show the strongest evidence for deterring certain nematodes and some beetles, though effects vary by location. They work best as one part of a broader plan that includes crop rotation and regular inspection.
Can companion planting replace pesticides entirely?
Sometimes it can reduce pest pressure enough that sprays are unnecessary, but not always. Consult your local extension office for guidance on severe or recurring infestations.
Conclusion
Companion planting for insect control works best as a steady habit rather than a one-time fix. Choose flowers and herbs that match your specific pests, space them so crops stay healthy, and keep blooms going from spring to frost. Monitor your beds each week, and adjust your layout each year based on what you see.
