Skip to main content

Flying Gems: Long-Legged Flies

Originally Submitted: June 21, 2022

Whether scouting for pests in crops or in a garden, chances are you’ve encountered a long-legged fly and didn’t even know it! Many species are metallic in color and resemble small, shiny gems. Long-legged flies are in the family Dolichopodidae within the order Diptera (true flies). It is a very large and diverse group with approximately 1,300 species in North America alone. Long-legged flies are predators of many different pest insects, making them beneficial to have around.

Long-Legged Fly Identification

A fly with a metallic body, long legs, and clear wings with smoky markings.
Figure 1. A long-legged fly (Condylostylus) with a metallic greenish red color resting on a leaf. Courtesy: MJ Hatfield,

Long-legged flies are true flies, meaning that they undergo complete metamorphosis (i.e. egg, pupa, larva, adult). However, most people only ever observe the adult stage. Many species of long-legged flies have a metallic sheen in varying colors (i.e. green, copper, red, blue, gold) that make them look like little mobile gems (Figure 1). There are some species that are a little less flashy and range in color from brown to black or yellow (Figure 2). They are small to medium in size, but most are less than ¼ of an inch in length.

Long-legged flies have long, slender legs, a pair of clear wings that typically have a smoky pattern near the tips, and an abdomen that tapers towards the rear. They also possess short, hair-like antennae, large iridescent eyes and short mouthparts used for piercing prey and extracting fluids (Figure 3).

A fly with long yellow legs, large red eyes, and a long slender black and yellow abdomen.
Figure 2. Long-legged fly (Argyra setipes) with large red eyes perched on a leaf. Courtesy: Tom Murray,


A greenish-gold iridescent fly with long, slender legs and smoky wings.
Figure 3. A long-legged fly perched on its long, slender legs. Courtesy: Steve Nanz,


Life Cycle

A fly with long, slender legs and clear wings. The double-sided arrow is pointing to the enlarged structures used for courtship.
Figure 4. A male long-legged fly with “flag-like” appendages on the front legs used for courtship. Courtesy: Ron Johnson,

As mentioned previously, long-legged flies have an egg, larva, pupa and adult stage. Prior to eggs being laid, adults have unique and sometimes elaborate mating behavior. Some species of males have enlarged appendages on their front legs (i.e. “flags,” scales, hairs) and wave them around to try and attract a mate, while others use the unique wing patterns (Figure 4).

Once eggs are laid and hatched, larvae (maggots) will develop and undergo multiple growth stages (i.e. instars). The larvae are creamy white in color and lack a distinguished head (Figure 5). Once larvae are mature, they create cocoons that are pieced together out of particles of soil and pupate (Figure 6). After pupation, adults emerge, and the cycle begins again.

A creamy white fly larva.
Figure 5. A close-up view of a long-legged fly maggot. Courtesy: Gerald J. Lenhard, Louisiana State University,


A creamy white fly pupa.
Figure 6. A close-up view of a long-legged fly pupae. Courtesy: Gerald J. Lenhard, Louisiana State University,


Habitat and Feeding Behavior

Long-legged fly adults are predators that feed on gnats, bark beetles and mites. They also feed on common pests, such as aphids, thrips and mosquitoes. The adults can be found in a wide variety of habitats, such as gardens, meadows and landscapes near water margins. In these habitats, adults can commonly be found perched on partially shaded vegetation searching for prey. Once prey is captured, they use their mouthparts to hold, pierce and extract internal fluids. Long-legged fly larvae are commonly found near semi-aquatic landscapes, while others can be found under tree bark or mulch. Larvae are thought to be predaceous on small insects in the soil, as well as scavengers.


Long-legged flies do not bite and are not known to spread any sort of diseases. They provide essential biocontrol of garden and yard pests and should be encouraged in the landscape. Simple ways to draw in long-legged flies as well as other natural enemies is to plant a diversity of plants (preferably native), ensure overwintering sites are available, and avoid the use of insecticides whenever possible.