This is one of several small flies in the genus Fannia, whose males tend to hover aimlessly and for long periods in shaded locations, such as patios, breezeways, open garages, or shaded garden areas. Larvae breed in any of the typical decaying organic matter situations that other filth flies do, such as animal feces, decomposing piles of lawn clippings, or filthy garbage containers. Adult flies feed on sugary materials, and honeydew accumulations on plants may draw them. The period from egg to adult averages about 3 weeks, and adult flies live from 2 to 3 weeks. The larvae tend to move to the surface of their food material, or wander away from it, just prior to pupation.
Elimination of breeding sites for the larvae is extremely important, and in an urban setting this may be pet feces in yards, filthy garbage cans, or piled, decomposing lawn clippings. In rural areas the accumulation of livestock or poultry feces will produce vast numbers of flies. Proper exclusion from structures involves keeping doors and windows screened or closed, and the use of UV light traps will capture many adults indoors. Outdoors the use of fly bait strips or granules will be effective in killing adult flies. In locations where the adult males choose to hover continuously they can be discouraged by increasing the air movement through the area.