Attracting pollinators to your vegetable garden

Last reviewed September 2026 · written from public-domain USDA/NOAA data and Cooperative Extension references — see how we source data

Illustration of bees visiting a large yellow squash flower among broad squash leaves, with pink and white cosmos and a marigold nearby and a butterfly overhead.

Squash, cucumbers, melons and most other fruiting vegetables need a pollinator visit to nearly every flower to set a full, well-shaped fruit. A garden that supports pollinators through the season simply yields better than one that does not.

Why pollinators matter to yield

Poor pollination shows up as small, lopsided, or partly unfilled fruit — a half-pollinated squash blossom still makes a fruit, just a misshapen one. Companion planting that brings in more visiting insects directly improves fruit set on these crops.

Which crops need them

Squash, pumpkins, cucumbers and melons depend on insects to carry pollen from male to female flowers. Tomatoes, peppers, beans and peas pollinate themselves, though wind and bumblebee visits improve fruit set on tomatoes.

Leafy greens, root crops and cabbage-family heads are harvested before they flower, so pollination does not affect the crop at all. Sweet corn is pollinated by wind, which is why it is planted in blocks rather than a single row.

Who needs pollinators - and flowers to keep them coming

Need insects: squash, zucchini, pumpkins, cucumbers, melons, watermelon

Pollinate themselves: tomatoes, peppers, eggplant, beans, peas (bees and wind still help tomatoes)

Pollinated by wind: sweet corn - plant in blocks, not a single row

Harvested before flowering: lettuce, spinach, kale, cabbage, broccoli, carrots, beets, radishes

FLOWERS FOR POLLINATORS, BY MONTH

Sweet alyssum
Calendula
Borage
Dill & cilantro (bolted)
Lavender
Zinnia & cosmos (single)
Sunflower
Asters
AMJJASO
Bloom months are typical for a temperate garden (April-October) and shift earlier in warm climates. Overlap them so something is always in flower while squash and cucumbers bloom.

Plants that bring them in

Let a few herbs bolt to flower — basil, cilantro and dill are especially good at it. Tuck in borage, sweet alyssum, and single-flowered (not double or frilly) zinnias and cosmos near the vegetable beds; single flowers give pollinators easier access to nectar than heavily doubled ornamental varieties.

Give them more than flowers

A shallow dish of water with pebbles for landing spots helps in hot weather. Leave a little bare, undisturbed soil or a small brush pile — most native bees are solitary ground- or stem-nesters, not hive-builders, and need somewhere to nest close to the flowers they visit.

What undoes the effort

A broad-spectrum insecticide applied while anything nearby is in flower kills visiting pollinators along with the target pest. If a spray is ever necessary, applying it in the evening after pollinators have left for the day reduces — though does not eliminate — the harm.

Hand-pollinating squash and cucumbers

If fruit keeps shrivelling while small, do the bees' job. Early in the morning, find a male flower (a plain stem behind it) and a female flower (a tiny fruit behind the petals). Peel the petals off the male flower and brush its pollen onto the centre of the female flower.

See poor fruit set on squash and cucumbers for the other causes of fruit that drops or withers.

Keep something flowering all season

Pollinators need food from spring to fall, not just when the squash is in bloom. Plan a sequence: early flowers such as fruit trees and herbs, summer annuals, and late bloomers like asters and goldenrod nearby.

Common questions

Why are my squash flowers falling off without making fruit?

The first flowers on a squash plant are usually male, which drop naturally after shedding pollen. If female flowers - the ones with a tiny fruit behind them - also shrivel, they were not pollinated. Encourage bees or hand-pollinate in the morning.

Do tomatoes need bees to produce fruit?

No. Tomato flowers pollinate themselves, but they need vibration to release the pollen. Wind and visiting bumblebees provide it outdoors; in a greenhouse or on a still balcony, gently shaking the flowering trusses helps.

What flowers attract bees to a vegetable garden?

Borage, sweet alyssum, calendula, single-flowered zinnias and cosmos, sunflowers, lavender, and herbs such as basil, dill, cilantro and oregano when they flower. Plant several near the beds so something is always in bloom.

Is it safe to spray insecticide in the evening?

Spraying in the evening, after bees have stopped foraging, reduces the harm but does not remove it, because residues can remain on flowers the next day. Hand-picking, row cover and hosing pests off are safer for pollinators.

Related guides

Companion planting: what actually holds up →Identifying common vegetable garden pests and cultural control →