Attracting Dragonflies to a garden or backyard helps eliminate pest problems, as their main food source is the mosquito. Building a backyard pond is the best way to attract these insects as they mate and lay their eggs in water. While flowers don't attract dragonflies as a food source, planting flowers that attract their prey can bring dragonflies to a garden indirectly.
Black Eyed Susans
Black eyed Susans attract butterflies, a popular food choice of the dragonfly. Most recognizable for their flowers, these bright yellow wildflowers typically grow year round in almost every state. Also known as Rudbeckia hirta, Black Eyed Susans typically live for about two years. They adapt easily to nearly every type of soil and require full sunlight and regular watering to fully bloom.
The white and pink flowers on the Swamp Milkweed make it a popular food source for dragonfly prey such as bumblebees, wasps and butterflies. Monarch caterpillars and butterflies in particular like to feed on the foliage. Swamp milkweed can't tolerate dry conditions and prefers full or partial sunlight. Its soil should consist of a mucky clay, rich loam or peaty material. Natural habitats include thickets, marshes, swamps and areas along rivers, lakes or drainage ditches.
Joe Pye Weed
Joe Pye weed also attracts pollinating insects that dragonflies like to eat, such as bees and butterflies. This North American wildflower grows up to 12 feet tall, making it a popular addition to gardens as a privacy border. They grow in full or partial sunlight and occur naturally in moist woods or meadows. The dried roots and flowers of the Joe Pye weed can be used to make a diuretic tea.