If we look at the history of the fly, we’ll see that this insect is capable of surviving in a variety of environments. Some species can even survive in hot springs and feed on petroleum. Others are able to survive in arid, desert-like areas, where dead animals and plants abound.
Most flies have a life expectancy of about 24 hours, but some species can survive for days or months. Those that can survive in an urban area are regarded as pests. They are considered adversarial creatures, but they can live together with people. In many urban areas, flies are considered a nuisance.
The lifespan of a fly depends on the ambient temperatures. During the winter months, flies tend to hibernate. Hibernation slows their metabolism, so they don’t live as long as they could in a more temperate climate. In Canada, a cold climate promotes long-term fly life, and the average fly lifespan in this country is more than four months.
Flies are attracted to decaying organic materials. Fruit flies, phorid flies, and house flies all seek out fermenting liquids and decaying foods. If you’re looking for ways to prevent these critters from infesting your home, consider removing food scraps and animal carcasses.