10 Best Companion Flowers for Vegetable Gardens

February 17, 2025 · Harvest Home Guides

If your vegetable garden is nothing but neat rows of tomatoes and beans, you’re missing out. Interplanting flowers among your vegetables is one of the smartest things you can do as a gardener. The right flowers attract pollinators that increase your yields, lure beneficial insects that eat pests, and can even improve soil health — all while making your garden gorgeous.

Here are the 10 best companion flowers for vegetable gardens, all included in our free planting calendar with zone-specific planting dates.

1. Marigolds — The Ultimate Companion Plant

If you plant only one flower in your vegetable garden, make it marigolds. French marigolds release a compound from their roots called alpha-terthienyl that kills root-knot nematodes in the soil. They also repel whiteflies, tomato hornworms, and many other pests.

Best companions: Tomatoes, peppers, squash, beans, cucumbers — basically everything.

Planting: Start indoors 6 weeks before last frost or direct sow 1 week after. Marigolds are incredibly easy to grow and bloom continuously until frost. Deadhead spent flowers to keep them producing.

Pro tip: Plant a border of marigolds around your entire vegetable garden for maximum pest protection.

2. Nasturtiums — The Trap Crop

Nasturtiums are a sacrificial hero in the garden. Aphids love nasturtiums even more than your vegetables, so they function as a “trap crop” — drawing pests away from your food plants. They also attract hoverflies and predatory insects that eat aphids.

Both the flowers and leaves are edible with a peppery, watercress-like flavor. Toss them in salads or use as a beautiful garnish.

Best companions: Squash, cucumbers, beans, brassicas (broccoli, cabbage, kale).

Planting: Direct sow after last frost. Nasturtiums actually prefer poor soil — too much nitrogen gives you lots of leaves and few flowers. They handle partial shade better than most flowers on this list.

3. Sunflowers — Pollinator Magnets

Tall sunflowers serve as living trellises for climbing beans (this is part of the classic “Three Sisters” planting method). They’re also irresistible to bees, which increases pollination of nearby squash, cucumbers, and other crops that depend on insect pollination.

Best companions: Corn, squash, cucumbers, lettuce (provides afternoon shade), beans.

Planting: Direct sow 1-2 weeks after last frost once soil is warm. Choose multi-branching varieties for cut flowers or single-head varieties for seeds. Sunflowers are allelopathic — they release compounds that can inhibit some plants, so give them a few feet of space from sensitive crops.

4. Zinnias — Cut-and-Come-Again Color

Zinnias attract butterflies, bees, and hummingbirds while adding brilliant color to the garden. They’re heat-loving, drought-tolerant, and bloom more profusely the more you cut them — making them the perfect dual-purpose flower for the garden and the vase.

Best companions: Tomatoes, peppers, squash, and any crop that benefits from pollinator visits.

Planting: Start indoors 4 weeks before last frost or direct sow 1 week after. Zinnias are prone to powdery mildew in humid climates — give them good air circulation and water at the soil level, not overhead.

5. Cosmos — Effortless Beauty

Cosmos are among the easiest flowers to grow from seed, and they attract an incredible diversity of beneficial insects including lacewings, parasitic wasps, and hoverflies — all of which prey on garden pests.

Best companions: Any vegetable that suffers from aphids, caterpillars, or thrips.

Planting: Direct sow after last frost. Cosmos actually bloom better in poor soil — fertile soil produces tall, floppy plants with fewer flowers. Once established, they self-seed and return year after year.

6. Calendula — The Edible Pest Fighter

Sometimes called “pot marigold” (though it’s a different plant), calendula is a cool-season flower with sticky stems that trap whiteflies and aphids. The bright orange and yellow petals are edible and can be used as a saffron substitute in cooking.

Best companions: Tomatoes, peppers, asparagus, and brassicas.

Planting: Direct sow 2 weeks before last frost — calendula handles cool weather well. In zones 8-10, it’s actually a fall/winter flower. It self-seeds readily and attracts beneficial insects throughout its long bloom season.

7. Sweet Peas — Early-Season Fragrance

Sweet peas are a cool-season flower that can be planted very early — 6 weeks before last frost. This makes them valuable for attracting early-season pollinators when your fruit trees and early vegetables need them most. As legumes, they also fix nitrogen in the soil.

Best companions: Early brassicas, peas, lettuce, and other cool-season crops.

Planting: Direct sow as early as 6 weeks before last frost (soak seeds overnight first). They need a trellis or support. Sweet peas fade in summer heat, so enjoy them in spring and pull them when temperatures rise.

8. Snapdragons — Cool-Season Workhorses

Like sweet peas, snapdragons thrive in cool weather and can be planted early. They attract bumblebees (one of the few insects heavy enough to open the “jaw” of the flower) and make excellent cut flowers. In mild-winter areas (zones 8-10), they can bloom through winter.

Best companions: Early vegetables, brassicas, root crops.

Planting: Start indoors 10 weeks before last frost and transplant 4 weeks before last frost. They tolerate light frosts. In zones 7+, fall-planted snapdragons overwinter and bloom the following spring.

9. Dahlias — Late-Season Pollinator Support

Dahlias bloom from mid-summer through first frost, providing crucial late-season nectar and pollen when many other flowers have faded. Single and semi-double varieties are best for pollinators (the fully double “dinner plate” types hide their pollen).

Best companions: Late-season crops, fall brassicas, and anything still producing.

Planting: Plant tubers 1 week after last frost. In zones 7 and below, dig tubers up after the first frost and store them over winter. Dahlias are heavy feeders — give them rich soil and regular fertilizing.

10. Echinacea (Coneflower) — Perennial Pollinator Powerhouse

Echinacea is a native perennial wildflower that’s incredibly low-maintenance once established. It attracts butterflies, bees, and birds (goldfinches love the seed heads in fall). As a perennial in zones 3-9, it comes back year after year — no replanting needed.

Best companions: Any perennial vegetable bed or garden border.

Planting: Start indoors 8 weeks before last frost or direct sow in spring. Echinacea is drought-tolerant, deer-resistant, and thrives in poor soil. It’s also the plant used to make echinacea herbal supplements.

Companion Planting Layout Tips

  • Border planting: Ring your vegetable beds with marigolds and nasturtiums for pest deterrence
  • Interplanting: Tuck zinnias and cosmos between tomato and pepper plants
  • Succession: Plant sweet peas and snapdragons early, then follow with warm-season flowers
  • Pollinator corridor: Create a continuous bloom from spring through fall by mixing cool and warm-season flowers

Flowers are just one piece of the companion planting puzzle. For a complete guide to vegetable pairings — including which crops boost each other’s growth and which to keep apart — see our Companion Planting Guide: What to Grow Together.

Get Your Planting Dates

All 10 of these flowers are included in our planting calendar. Enter your zip code to see exactly when to plant each one based on your USDA hardiness zone.

For comprehensive companion planting charts and garden layout guides, check out the Harvest Home Guides regional gardening books. Each guide includes zone-specific companion planting recommendations and month-by-month garden planning schedules. Available on Amazon.



🌱 Ready to Plan Your Garden?

Use our free planting calendar to get personalized planting dates for 50+ vegetables, herbs, and flowers based on your zip code.

Find My Planting Dates

📚 Go Deeper with Harvest Home Guides

Want detailed, region-specific gardening advice? Our Harvest Home Guides books include month-by-month planting schedules, companion planting charts, pest management, and more — tailored to your USDA zone.

Browse Guides on Amazon