Flowers to Plant in Vegetable Garden to Deter Pests

Discover the best companion flowers for natural pest control in your vegetable garden. Protect your tomatoes, peppers, and greens with beautiful blooms that repel harmful insects.

Explore Best Flowers

Why Plant Flowers in Your Vegetable Garden?

Growing flowers in your vegetable garden is one of the most effective and beautiful ways to manage pests naturally. Instead of relying on chemical pesticides, you can use companion planting with specific flowers that repel harmful insects while attracting beneficial pollinators. This organic approach not only protects your crops but also enhances biodiversity and creates a more resilient garden ecosystem.

Whether you're growing tomatoes, peppers, or leafy greens, integrating pest-repelling flowers like marigolds, nasturtiums, and lavender can significantly reduce pest pressure. Let gardening work with nature to keep your vegetable patch healthy and productive.

Best Flowers to Deter Pests in Vegetable Gardens

Here are the top flowers that provide excellent pest control benefits when planted alongside your vegetables.

Marigold

Tagetes spp.

Marigolds are the ultimate companion flower for vegetable gardens. Their strong scent repels nematodes, whiteflies, and aphids. French marigolds (Tagetes patula) are particularly effective against root-knot nematodes.

Pests Deterred:

  • Nematodes
  • Aphids
  • Whiteflies
  • Tomato hornworms

Plant with: Tomatoes, peppers, potatoes, and beans.

Lavender

Lavandula spp.

Lavender's calming fragrance for humans is a deterrent for fleas, moths, and mosquitoes. It attracts bees and butterflies, improving pollination in your vegetable garden.

Pests Deterred:

  • Fleas
  • Moths
  • Mosquitoes
  • Deer

Plant with: Herbs, brassicas, and fruit trees.

Nasturtium

Tropaeolum majus

Nasturtiums act as a "trap crop" for aphids, attracting them away from your vegetables. They also repel whiteflies, squash bugs, and cucumber beetles with their pungent scent.

Pests Deterred:

  • Aphids
  • Whiteflies
  • Squash bugs
  • Cucumber beetles

Plant with: Cucumbers, squash, tomatoes, and beans.

Calendula

Calendula officinalis

Also known as pot marigold, calendula repels tomato hornworms and asparagus beetles. Its bright flowers attract hoverflies, whose larvae feed on aphids, providing natural pest control.

Pests Deterred:

  • Tomato hornworms
  • Asparagus beetles
  • Aphids (via hoverflies)

Plant with: Tomatoes, asparagus, and peppers.

Petunia

Petunia × hybrida

Petunias are excellent for repelling asparagus beetles, leafhoppers, and tomato worms. Their sticky hairs trap small insects, and their scent deters many common garden pests.

Pests Deterred:

  • Asparagus beetles
  • Leafhoppers
  • Tomato worms
  • Aphids

Plant with: Tomatoes, peppers, and beans.

Chrysanthemum

Chrysanthemum spp.

Chrysanthemums contain pyrethrins, a natural insecticide that repels roaches, ants, ticks, and Japanese beetles. They are a powerful addition to any organic pest control strategy.

Pests Deterred:

  • Roaches
  • Ants
  • Ticks
  • Japanese beetles

Plant with: Cabbage, broccoli, and cauliflower.

Vegetable and Flower Companion Planting Guide

Use this quick reference table to choose the best flowers for your specific vegetables.

Vegetable Best Companion Flowers Pests Repelled
Tomatoes Marigold, Calendula, Nasturtium, Petunia Nematodes, tomato hornworms, aphids
Peppers Marigold, Calendula, Petunia Aphids, whiteflies, flea beetles
Cucumbers Nasturtium, Marigold Cucumber beetles, squash bugs
Beans Marigold, Nasturtium Mexican bean beetles, aphids
Cabbage Family Chrysanthemum, Lavender Cabbage worms, flea beetles
Potatoes Marigold, Calendula Colorado potato beetles, nematodes
Squash Nasturtium, Marigold Squash bugs, vine borers

🌱 Pro Tips for Success

How Flowers Deter Pests: The Science

Flowers use a variety of natural defense mechanisms that make them excellent companions for vegetables. Some release volatile organic compounds that mask the scent of vegetables, making it harder for pests to locate their host plants. Others produce chemical compounds that are toxic or repellent to insects. For example, marigolds produce alpha-terthienyl, a compound that kills nematodes in the soil. Nasturtiums emit a strong scent that confuses aphids and whiteflies, reducing their ability to find your crops.

Beyond repellent properties, flowers also attract beneficial insects like ladybugs, lacewings, and parasitic wasps that prey on common vegetable pests. By creating a diverse garden with a variety of flowers, you build a balanced ecosystem where pests are naturally kept in check. This approach, known as biological pest control, is safer for you, your family, and the environment.

Ready to Get Started?

Let gardening be your guide to a pest-free vegetable garden. Choose the right flowers for your crops, plant them strategically, and watch your garden thrive naturally. For more organic gardening advice, explore our gardening tips and guides.

Essential Tools & Supplies for Your Pest-Repelling Garden

⚠️ AFFILIATE DISCLOSURE: This website contains affiliate links. As an Amazon Associate, we earn from qualifying purchases. If you make a purchase through these links, we may receive a small commission at no additional cost to you. Read our full affiliate policy.

Plant & Garden Pest Control by Premo Guard - 32 oz - Insect & Disease Control for Organic Gardening - Effective Natural Plant Based Formula for Inside & Outside Plants

Plant & Garden Pest Control by Premo Guard - 32 oz - Insect & Disease Control for Organic Gardening - Effective Natural Plant Based Formula for Inside & Outside Plants

$28.96
Price as of 2026-07-16 01:38:09
Buy on Amazon
⚠️ Note: The purchase links above are affiliate links. As an Amazon Associate, we earn from qualifying purchases at no additional cost to you.
Eunika 18 Pcs Round Plant Protector from Animals, 6 Pack 12" x 12" Metal Mesh to Keep Animals Out Wire Plant Protectors for Rabbits Chicken Bunny Barricades for Garden Vegetable Flowers Protection

Eunika 18 Pcs Round Plant Protector from Animals, 6 Pack 12" x 12" Metal Mesh to Keep Animals Out Wire Plant Protectors for Rabbits Chicken Bunny Barricades for Garden Vegetable Flowers Protection

$19.99
Price as of 2026-07-16 01:38:09
Buy on Amazon
⚠️ Note: The purchase links above are affiliate links. As an Amazon Associate, we earn from qualifying purchases at no additional cost to you.
KVITER 500 French Marigold Seeds, Sparky Mix (Tagetes patula) — Marigold Flowers, Heirloom & Non GMO, Vibrant Yellow & Orange Blooms — Flower Seeds to Plant Outside, Borders, Beds, Container

KVITER 500 French Marigold Seeds, Sparky Mix (Tagetes patula) — Marigold Flowers, Heirloom & Non GMO, Vibrant Yellow & Orange Blooms — Flower Seeds to Plant Outside, Borders, Beds, Container

$5.49
Price as of 2026-07-16 01:38:09
Buy on Amazon
⚠️ Note: The purchase links above are affiliate links. As an Amazon Associate, we earn from qualifying purchases at no additional cost to you.
Nasturtium Seeds for Planting – Survival Garden Seeds (1 Pack)

Nasturtium Seeds for Planting – Survival Garden Seeds (1 Pack)

$4.94
Price as of 2026-07-16 01:38:09
Buy on Amazon
⚠️ Note: The purchase links above are affiliate links. As an Amazon Associate, we earn from qualifying purchases at no additional cost to you.
8x24ft Garden Netting Pest Barrier, 0.8mm Ultra Fine Mesh Plant Cover for Vegetables Fruits Flowers, Durable Mesh Screen for Raised Garden Beds, Row Cover, Shield for Cicadas, Birds, & Wildlife

8x24ft Garden Netting Pest Barrier, 0.8mm Ultra Fine Mesh Plant Cover for Vegetables Fruits Flowers, Durable Mesh Screen for Raised Garden Beds, Row Cover, Shield for Cicadas, Birds, & Wildlife

$11.99
Price as of 2026-07-16 01:38:09
Buy on Amazon
⚠️ Note: The purchase links above are affiliate links. As an Amazon Associate, we earn from qualifying purchases at no additional cost to you.
TOYPOPOR Chicken Wire 16'' x 190''/16ft(40cm x 5m), Outdoor Anti-Rust Hexagonal Galvanized Chicken Wire Mesh Fencing to Protect Gardening Plants Vegetables Flowers Fruits from Dogs Rabbits Squirrels

TOYPOPOR Chicken Wire 16'' x 190''/16ft(40cm x 5m), Outdoor Anti-Rust Hexagonal Galvanized Chicken Wire Mesh Fencing to Protect Gardening Plants Vegetables Flowers Fruits from Dogs Rabbits Squirrels

$8.99
Price as of 2026-07-16 01:38:09
Buy on Amazon
⚠️ Note: The purchase links above are affiliate links. As an Amazon Associate, we earn from qualifying purchases at no additional cost to you.
Kikhope 5 Pcs Insect Bird Barrier Netting Mesh with Drawstring- 41"x27" Garden Netting Pest Barrier Plant Cover- Fruit Tree Net for Protect Plant Fruits Flower Vegetables from Insect Bird Eating

Kikhope 5 Pcs Insect Bird Barrier Netting Mesh with Drawstring- 41"x27" Garden Netting Pest Barrier Plant Cover- Fruit Tree Net for Protect Plant Fruits Flower Vegetables from Insect Bird Eating

$17.99
Price as of 2026-07-16 01:38:09
Buy on Amazon
⚠️ Note: The purchase links above are affiliate links. As an Amazon Associate, we earn from qualifying purchases at no additional cost to you.
MIXC 100 Pack Fruit Protection Bags, 8" x 12" Mesh Drawstring Covers for Fruit Trees, Garden Plants, Flowers, Pest Barrier Netting Bags

MIXC 100 Pack Fruit Protection Bags, 8" x 12" Mesh Drawstring Covers for Fruit Trees, Garden Plants, Flowers, Pest Barrier Netting Bags

$16.98
Price as of 2026-07-16 01:38:09
Buy on Amazon
⚠️ Note: The purchase links above are affiliate links. As an Amazon Associate, we earn from qualifying purchases at no additional cost to you.

Disclaimer

Let Gardening provides educational content only. Not a substitute for professional horticulturist or landscape architect services. Always consult a qualified professional for major landscaping or agricultural work. Some content may use AI. We are not responsible for plant damage, injuries, or outcomes. By using this site, you accept these terms. If you do not agree, please leave this website and discontinue its use. Read full disclaimer.