9 Easy Flowers to Plant in Your Veggie Garden to Help Keep Pests Away

- Planting certain flowers in or near vegetable gardens can help reduce the impact of insect pests.
- Native flowers attract beneficial insects, which feed on bag bugs while pollinating vegetable crops.
- Plant flowers on the borders of vegetable gardens or interplant them with veggies.
Planting flowers in your vegetable garden doesn't just add a pretty pop of color among the green. This companion planting strategy can help deter pesky insect pests that damage plants and impact your harvest.
Here are nine flowers to consider planting in your vegetable garden, plus tips for where to plant them, which pests they target, and how easy they are to grow.
Marigolds

Marigolds are easy-growing, popular companion flowers in vegetable gardens. They've been shown to reduce the prevalence of multiple types of cabbage worms in brassicas, can help reduce the number of thrips attacking tomatoes when planted with basil, and may even promote tomato growth. 1
Put marigolds on the sunny edges of garden beds, so they're not shaded out by taller vegetable plants, or interplant them with shorter plants.
Queen Anne's Lace

Many beneficial flowers for the vegetable garden help with pest issues not by repelling pests, but by attracting beneficial insects that feed on unwanted insects.
Often seen growing as a wildflower along the roadside, low-maintenance Queen Anne's lace provides habitat for beneficial insects without becoming weedy in your garden bed, as these biennial plants live for only two years.
Plant it on the north border of a south-facing bed to keep it from shading out shorter vegetable plants. 2
Sweet Alyssum

This low-growing annual flower is a popular plant in hanging baskets and container gardens, but it may support healthy growth in the vegetable garden by deterring certain pests.
Studies have shown that planting sweet alyssum in lettuce fields can reduce the numbers of aphids and boost populations of beneficial hoverfly larvae.
Since sweet alyssum tops out at nine inches tall, plant it as a border plant or interplant it along the sunny edge of a garden bed. 3
Nasturtium

Nasturtiums can do triple duty in the vegetable garden, offering vivid orange color, edible flowers and foliage, and the power to keep away certain unwanted insects.
Interplant these easy-growing flowers with brassicas to help deter cabbage worms and around squash plants to ward off damage from cucumber beetles and squash bugs. 1
Sunflowers

Sunflowers add dramatic height and striking color anywhere they're planted. They can also benefit your vegetable garden if planted nearby, thanks to their ability to attract beneficial pollinating insects , which can keep populations of pests down. 4
Just be sure to give sunflowers sufficient space and plant them at the north end of the bed so their height doesn't shade out your veggies.
Purple Coneflower

Purple coneflower , as well as other types of coneflower, are native plants well known for their ability to attract beneficial insects.
In addition to being hardy and easy to grow, planting them near or around your vegetable beds can help maintain good bugs, which can help keep bag bug populations down on a variety of garden plants. 2
Cosmos

Another popular annual flower, cosmos charm in cutting gardens and ornamental beds—and these easy-to-grow blooms can also attract pollinating insects.
Site them near or interplant them with your vegetables, where they may help reduce pest populations while ensuring your tomatoes, squash, and other fruiting veggies get pollinated. 4
Blanketflower

Vivid, colorful blanketflower is a common plant in native and pollinator gardens. Add plantings around veggie beds or in nearby ornamental beds.
True to its name, blanketflower will spread naturally over time. Leave some space between it and annual beds, or plan to divide it regularly to keep it from crowding out your veggies.
Chamomile

This low-maintenance flowering herb's sweet-smelling blooms attract hoverflies, whose larvae feast on insect pests, as well as predatory wasps that can also reduce populations of unwanted insects.
Interplant chamomile with low-growing herbs and brassicas, or plant them near cucumbers and melons. Keep in mind that these vining plants will spread, so give the herbs plenty of space. 5
Source: https://www.thespruce.com/flowers-to-plant-in-vegetable-garden-to-deter-pests-11910137