Plants That Attract Beneficial Insects (Good Bugs vs Bad Bugs)
Which plants pull in ladybugs, lacewings, and parasitic wasps — and which layouts keep the bad bugs busy. A practical plant list, bed map, and product picks
Like this garden guide? Subscribe to Rude Insect on YouTube for more hands-on growing videos.
Subscribe on YouTube
If I had to restart our kitchen garden from bare soil, I’d plant the insectary strips before I worried about another tomato cage. No joke. The best plants that attract beneficial insects have done more for our aphids, cabbage worms, and “what is chewing the kale now?” problems than half the sprays I bought back when I was impatient. We still use row cover. We still hand-pick hornworms into a yogurt cup of soapy water. But the beds that have dill, yarrow, alyssum, calendula, fennel, marigolds, and a few messy flowering herbs nearby are the beds where the pest outbreaks stay boring.
Boring is good.
We garden in Zone 6b, clay-under-everything soil, fourteen raised-ish beds depending on how generously you define “raised.” Our worst years were the tidy years. I used to rip out bolted cilantro the second it looked ugly. I deadheaded everything. I kept paths clean enough for a garden magazine photo I was never going to be in.
Then 2024 happened. Aphids stacked up on the zucchini stems like green dust. The kale had cabbage worms. The peppers had mystery chewing. And the only bed that didn’t turn into a pest buffet was the scruffy one with overwintered parsley, flowering cilantro, and three volunteer calendulas I’d been meaning to pull.
I stopped pulling them.
Plants that attract beneficial insects are not magic, but they do change the odds
“Good bugs” is a squishy phrase, but in the garden it usually means insects that eat pests, parasitize pests, pollinate crops, or do some small useful job while you’re busy fixing the irrigation again.
The big ones I want around:
- Lady beetles, especially the larvae — they look like tiny black-and-orange alligators and eat aphids like they’re paid by the hour.
- Lacewings — the larvae are mean little aphid vacuums.
- Hoverflies — adults look like tiny bees, larvae eat aphids.
- Parasitic wasps — many are so small you’ll never notice them, but you’ll notice the white “mummies” they leave behind on aphid colonies.
- Tachinid flies — not cute, very useful.
- Ground beetles — mostly night shift.
- Predatory bugs like minute pirate bugs and damsel bugs.
The catch: most of these helpers need food when pests are scarce. Adult hoverflies and parasitic wasps often feed on nectar and pollen, and they do better with small, shallow flowers. That’s why big flashy flowers aren’t always the best insectary plants. A dinner-plate dahlia is pretty. A patch of cilantro gone to bloom is a tiny-wasp café.
If you’re building a whole no-spray plan, this fits nicely with broader organic pest control — not as a replacement for everything else, but as the living layer that keeps pressure off your crops.
The short list: plants that attract beneficial insects and earn their bed space
I’m picky now. If a plant doesn’t feed us, feed pollinators, feed predators, confuse pests, or look good enough to justify itself, it doesn’t get prime garden real estate.
Here are the ones I’d plant again without hesitation.
Dill
Dill is probably my favorite beneficial insect plant, which is annoying because it bolts the second our weather gets rude. Still worth it.
Flowering dill brings in tiny wasps, hoverflies, ladybugs, and lacewings. I let it bloom near cucumbers, brassicas, and potatoes. It also hosts swallowtail caterpillars, so don’t panic if you find striped green caterpillars eating the leaves. Those are not cabbage worms. Different crew.
What didn’t work: planting one neat row in May and expecting it to carry the season. It bloomed, cooked, and vanished. Now I sow a pinch every 2–3 weeks from April through early July, wherever there’s a gap.
Cilantro/coriander
Same story. Cilantro bolts fast in heat, but that “failure” is the useful part. The white umbrella flowers are excellent for small beneficial insects.
We used to yank bolted cilantro because it looked like it had given up. Bad call. Now I plant cilantro in spring, use what we can, and let at least half go to flower. If it reseeds in the paths, I leave some. Not all. Some. Cilantro can get cocky.
Fennel
Fennel is a magnet for beneficial insects, but I don’t plant it inside tight vegetable beds anymore. It gets big, casts shade, and can be pushy. I keep bronze fennel at the bed ends and along the fence.
The advantage is huge insect activity: wasps, flies, bees, hoverflies. The disadvantage is size. Give it room or you’ll be cutting it back with irritation in August.
Yarrow
Yarrow is one of those plants I underappreciated until I saw how much traffic it gets. The flat flower heads are perfect landing pads. White yarrow seems to work best for us, though I grow a yellow one near the compost bins too.
It spreads. Not like mint, but enough that I don’t put it in the middle of a tidy annual bed. Edge plant. Fence plant. “You may wander here” plant.
Sweet alyssum
This one looks delicate, but it pulls its weight. I tuck sweet alyssum under peppers and along lettuce beds. It stays low, blooms for ages, and hoverflies love it.
The white varieties have been more reliable for us than the purple ones, though that may just be our soil and heat. Your mileage may vary.
Calendula
Calendula is a trap crop, pollinator plant, and general garden cheerleader. Aphids will sometimes load onto it, which sounds bad until you realize the ladybug larvae find that buffet and start breeding nearby.
One caution: calendula reseeds like it owns the mortgage. We let it, then thin ruthlessly. Free plants are only free until they smother your carrots.
Marigolds
Marigolds are oversold and undersold at the same time. They are not a force field. Planting one marigold beside a tomato won’t stop every pest within county lines.
But a solid border of marigolds does help make a bed more confusing to pests, and the blooms keep pollinators moving through. We use French marigolds around tomatoes, peppers, and eggplants. I like variety packs because I can fill gaps cheaply; something like these Marigold Seeds (Pest-Deterrent Mix) is the kind of thing I’d buy before spring potting season. Advantage: inexpensive, easy, long-blooming. Disadvantage: they don’t do much until they’re actually blooming and established, so direct-seeded marigolds can be late help if pests arrive early.
Also, slugs ate half my marigold starts one wet May. I’m still mad.
Buckwheat
Buckwheat is the plant I use when a bed is empty for 3–5 weeks and I don’t want bare soil. It flowers fast, bees love it, and beneficial insects show up when it blooms.
Do not let it seed unless you want buckwheat forever. I cut it when the first flowers are going strong. Sometimes I chop-and-drop. Sometimes I haul it to compost if it’s in the way.
Parsley
Second-year parsley is useful. First year, you eat it. Second year, it flowers and becomes an insect plant. I leave a couple plants to overwinter every year, even if they look rough by March.
Swallowtail caterpillars like parsley too. I plant extra. That’s the whole trick.
Borage
Borage brings bees, and bees bring better fruit set on squash, cucumbers, and strawberries. It’s not the top plant for parasitic wasps in my garden, but I still grow it because the flowers are busy all day.
Downside: it gets floppy and reseeds. Wear gloves if the hairy stems bother your skin.
Native flowers, if you have the space
I’m not precious about natives in the vegetable garden, but I do think they’re worth including nearby. Mountain mint, goldenrod, asters, coneflowers, bee balm, and milkweed all support more life than a sterile strip of mulch.
Goldenrod does not cause hay fever the way people blame it for. Ragweed is usually the villain. Goldenrod is just standing there looking guilty.
Good bugs vs bad bugs: what I actually watch for
I don’t try to identify every insect. That way lies madness and 47 phone photos you’ll never sort through.
I watch patterns.
A few aphids? Fine. That’s food. A few cabbage moths? Annoying, but expected. One hornworm? Removed immediately, unless it has white parasitic wasp cocoons on its back — then I move the whole leaf to the edge and let the wasps finish the job. Grim? Yep. Gardening is not a cartoon.
Here’s my rough field guide:
Usually helpful or neutral:
- Ladybug larvae, not just adult ladybugs
- Lacewing eggs on tiny stalks
- Hoverflies hovering over flowers like little striped helicopters
- Small wasps on dill, fennel, cilantro, yarrow
- Spiders in the mulch
- Ground beetles under boards or leaf litter
- Soldier beetles on flowers
Usually trouble if numbers climb:
- Aphids on soft new growth
- Cabbage worms and cabbage looper caterpillars
- Squash bug eggs under leaves
- Flea beetles on eggplant, arugula, and radishes
- Japanese beetles skeletonizing beans and grapes
- Whiteflies in greenhouse-ish corners
- Cucumber beetles on squash family crops
The goal isn’t zero bad bugs. Zero bad bugs means no food for predators. The goal is balance — and early warning. I’d rather see aphids on calendula in May than discover a pepper plant collapsing in June.
A bed map for plants that attract beneficial insects
Here’s the layout that worked best for us after a few awkward attempts.
We use 3-foot-wide beds with 18-inch paths. Some are 8 feet long, some 12, because I built them in different years and apparently measuring was optional in 2016.
For a standard 3 x 8 bed, I’d do this:
Back/north edge:
Tall insect plants. Dill, fennel if you’re brave, borage, cosmos, or a staked calendula patch. Keep tall stuff north so it doesn’t shade crops.
Corners:
One clump each of yarrow, calendula, or marigolds. Corners are perfect because you don’t have to reach through them constantly.
Crop row or center:
Your vegetables. Tomatoes, peppers, beans, brassicas, whatever the bed is for.
Front/south edge:
Low flowers. Sweet alyssum, thyme in bloom, dwarf marigolds, chamomile, or low calendula seedlings.
Path-side spillover:
Let cilantro, dill, and alyssum self-seed in cracks if they’re not blocking the wheelbarrow. This sounds lazy because it is. It also works.
For brassicas, I like flowering herbs near the bed but not so thick that I can’t use insect netting. This was a lesson learned the annoying way. I planted a beautiful dill-and-cilantro border around cabbage, then couldn’t tuck the row cover properly, and cabbage moths got in anyway. Pretty bed. Holey cabbage.
For tomatoes and peppers, I’m more relaxed. Marigolds on the ends, basil if I have it, alyssum along the front, calendula nearby. I don’t overthink it.
For squash, I plant beneficial insect flowers near the bed, not inside the squash jungle. Once zucchini gets going, it eats the world. Put flowers at the ends where they can still get sun.
The product picks I’d actually spend money on
Seeds beat gadgets most of the time. That’s my bias. But a few purchases can help if you’re starting from a blank yard or trying to fix a garden that’s been too clean for too long.
If you buy one thing, buy the beneficial insect seed mix
A mixed packet with dill, fennel, yarrow, and similar small-flowered plants is the best starting point for most gardens. This Dill + Fennel + Yarrow Beneficial Insect Seed Mix is the product category I’d choose first — see current price.
Specific advantage: you get several insect-attracting flower shapes and bloom times without hunting down six separate seed packets. That matters if you’re new or you’re filling a long border.
Specific disadvantage: mixes can be uneven. You may get more of one plant than another, and fennel/yarrow aren’t ideal in the middle of small annual beds. I’d sow it along a fence, at bed ends, or in a dedicated strip rather than sprinkling it everywhere like fairy dust.
My pick: this kind of beneficial insect seed mix is the best first purchase. Not ladybugs. Not a bug hotel. Seeds. Get the habitat started.
Marigold seeds are useful, just don’t expect miracles
I keep marigolds in the rotation because they’re cheap, cheerful, and they bloom until frost if you deadhead occasionally. A Marigold Seeds (Pest-Deterrent Mix) makes sense if you need lots of plants for borders — see current price.
Advantage: marigolds are easy to start in cell trays under basic shop lights. We start ours about 6 weeks before last frost, usually in 72-cell trays, and transplant them 8–10 inches apart around peppers and tomatoes.
Disadvantage: they are not enough by themselves. I’ve had aphids on marigolds. I’ve had spider mites on marigolds during dry heat. Treat them as one piece of the system.
Also, if you have heavy slug pressure, start them bigger before transplanting. Tiny marigold seedlings are slug snacks.
Bug hotels: helpful sometimes, decorative often
I have mixed feelings about bug hotels. A well-placed, well-maintained insect house can provide nesting spots for solitary bees and shelter for some insects. A damp, forgotten block of mystery holes can become a moldy spider condo.
If you want one, look at a Bug Hotel / Insect House Kit and check the current options. Advantage: it gives kids and new gardeners a visible way to pay attention to insect life, and it can add nesting habitat if your yard lacks hollow stems, brush, and dead wood.
Disadvantage: many bug hotels are more cute than functional. Too-shallow holes, splintery tubes, no rain protection, and placement in deep shade all reduce usefulness. I’d rather leave some hollow stems standing over winter and keep a small brush pile behind the shed. Free, ugly, effective.
If you do use one, mount it firmly, face it toward morning sun, keep it out of heavy rain, and clean or replace nesting tubes as needed. Don’t hang it on a swinging hook like a bird feeder. We tried that. It became yard décor, not habitat.
Live ladybugs are tempting — and usually my last choice
I get why people buy them. Aphids appear, panic rises, and then you see Live Ladybugs for Garden Pest Control — see current price — and it feels like ordering reinforcements.
Specific advantage: if released correctly at dusk, on watered plants, near active aphid colonies, some ladybugs may stick around long enough to feed. They’re also great for kids to observe, and I’m not immune to the charm.
Specific disadvantage: many fly away. Sometimes fast. If your garden doesn’t already have food, water, shelter, and no broad-spectrum sprays, purchased ladybugs are a short show, not a pest control plan.
I bought ladybugs once for greenhouse aphids. Released them at night. Misted the plants. Did the whole routine. Some stayed. Many disappeared. The aphids dropped for a bit, but the longer-term fix was removing the worst plants, cutting nitrogen, and growing alyssum and dill nearby.
So no, live ladybugs are not my first recommendation. If you’re desperate, fine. But build the habitat or you’ll be buying bugs again.
Where the “bad bugs” go when you plant decoys
One of the sneaky benefits of plants that attract beneficial insects is that some of them also act like pest monitoring stations.
Calendula gets aphids before my peppers do. Nasturtiums — which I like but didn’t put on the main list because they can get messy — pull aphids and flea beetles in our garden. Radishes show flea beetle pressure early. Mustard greens can lure pests away from cabbage, though they can also become a pest nursery if ignored.
That’s the part people skip. Trap crops need management.
If nasturtiums are covered in aphids and ladybug larvae are present, I leave them. If no predators show up and the aphids are spreading, I cut the worst stems and compost them hot or trash them. Same with flea beetle-riddled mustard. A trap crop that never gets removed is just a breeding program.
We learned this with a row of sacrificial kale. I planted it to pull cabbage worms away from broccoli. It did. Then I got busy, didn’t clear it, and basically raised a second generation of cabbage moths. Brilliant. Really elite work.
Now I check trap plants twice a week during pest season. Coffee in one hand, underside of leaves with the other.
What not to do — learned the dumb way
Don’t spray everything because you saw five aphids.
Aphids reproduce fast, yes. But if you hit them with broad sprays every time they show up, you also knock back the predators that were about to solve the problem. Even organic sprays can cause trouble when used carelessly. Soap sprays, neem, pyrethrin — they all have a place, but I use them as spot treatments now, not blanket fog.
Don’t plant only flowers and forget water.
Beneficial insects need water too. We keep shallow saucers with stones near the herb beds during dry spells. Nothing fancy. A chipped plant saucer, a few pea gravel handfuls, topped off when I remember. The stones keep tiny insects from drowning.
Don’t make the garden too clean.
This one took me years. A little leaf litter, some mulch, standing hollow stems through winter, and perennial edges all give predators places to overwinter. I still clean diseased tomato debris. I still pull rotting squash vines. But I don’t scalp every bed down to bare soil anymore.
Don’t let fennel bully small beds.
I know I already said it. Saying it again. Fennel belongs at the edge unless you have room.
Don’t assume more nitrogen equals healthier plants.
Soft, lush growth is aphid heaven. The year I overdid fish emulsion on peppers, aphids showed up like I’d printed invitations. Feed the soil, yes. But don’t push leafy growth so hard that pests get the easy version of your plants.
For a bigger no-spray strategy, pair insectary planting with crop rotation, row cover timing, and hand removal. That’s the boring backbone of organic pest control, and it works better than chasing every pest after it arrives.
My “helper-heavy” planting plan for spring through fall
This is the rough schedule I use. Adjust for your zone, obviously. If you’re in Zone 8, you’re laughing at my April dates. If you’re in Zone 4, you’re still staring at snow when I’m sowing cilantro.
Early spring, 4–6 weeks before last frost:
Direct sow cilantro, dill, bachelor’s buttons, calendula, and sweet alyssum as soon as the soil can be worked. Start marigolds indoors if you want them blooming early. Leave overwintered parsley if it survived.
Around last frost:
Transplant marigolds and calendula. Sow another pinch of dill and cilantro. Plant alyssum along bed edges. Add yarrow plants if you’re starting with transplants rather than seed.
Early summer:
Let spring cilantro and dill bloom. Don’t yank it all. Start another small dill sowing in partial afternoon shade if your summers are hot. Cut back calendula if it gets ragged; it usually rebounds.
Midsummer:
Watch water. Tiny flowers dry out fast in raised beds. Buckwheat can fill empty beds after garlic or spring peas. Keep trap crops from becoming pest factories.
Late summer into fall:
Asters, goldenrod, yarrow, calendula, and late dill flowers keep insects fed when the garden starts looking tired. I leave some stems standing after frost, especially yarrow and bee balm outside the main vegetable beds.
The best year we had for beneficials was not the prettiest year. The paths had alyssum spilling into them. Dill leaned over the onions. Calendula popped up in stupid places. But I saw lacewing eggs on tomato stakes, ladybug larvae on the calendula, hoverflies over the cilantro, and parasitic wasp activity on aphids before the peppers got hammered.
I’ll take that over tidy.
The plant combinations I’d repeat
For plants that attract beneficial insects, combinations matter more than single plants. You want bloom overlap, different heights, and places for insects to hide.
Tomato bed combo
- French marigolds at both ends
- Sweet alyssum along the front edge
- Basil between plants if spacing allows
- Calendula in nearby corners
- Dill outside the bed, not inside the tomato cage jungle
This keeps flowers accessible after tomatoes fill in. I made the mistake of planting alyssum too far under tomatoes one year; it got shaded out by July.
Brassica bed combo
- Cilantro and dill nearby, not blocking row cover
- Alyssum at the bed ends
- Yarrow in the permanent border
- Calendula as an aphid monitor
Use insect netting early if cabbage moths are bad in your area. Beneficial insects help, but uncovered young cabbage is basically a dare.
Pepper bed combo
- Marigold border
- Alyssum between every other pepper if your spacing is generous
- Calendula at corners
- Flowering parsley nearby
Peppers seem to like the company, or at least they tolerate it well. Don’t crowd them in humid climates. Airflow matters.
Squash bed combo
- Borage at the ends
- Buckwheat in an adjacent resting strip
- Dill and yarrow nearby
- Calendula outside the vine zone
Squash bugs are still squash bugs. I check leaves for eggs and crush them. Beneficial insects help around the edges, but I don’t rely on them for squash bugs.
The one plan I’d recommend
If you’re overwhelmed, do this:
Make a 2-foot-wide strip along one side of the garden. Plant yarrow at the back, dill and cilantro through the middle, calendula and marigolds in clumps, and sweet alyssum along the front. Add fennel only at the far end where it can get big without being a jerk. Keep it watered until established. Let herbs flower. Don’t spray it unless something truly gets out of hand.
That strip will do more than random companion plants tucked one by one beside vegetables. It gives beneficial insects a real place to live and feed.
My affirmative pick from the product list is the Dill + Fennel + Yarrow Beneficial Insect Seed Mix. It’s the most practical first buy because habitat beats one-time releases. I’d add marigold seeds second, then consider a bug hotel only if your yard lacks natural stems and wood. Ladybugs? Last resort, or a fun learning project, not the foundation.
Start with plants. Keep some mess. Watch before you spray.
That’s how the good bugs find you.