Housefly
Life cycle

Each female housefly can lay up to 500 eggs in her lifetime, in several batches of about 75 to 150. The eggs are white and are about 1.2 mm (1 ⁄ 16 in) in length, and they are deposited by the fly in a suitable place, usually dead and decaying organic matter, such as food waste, carrion, or feces. Within a day, larvae (maggots) hatch from the eggs; they live and feed where they were laid. They are pale-whitish, 3 to 9 mm (1 ⁄ 8 to 11 ⁄ 32 in) long, thinner at the mouth end, and legless. Larval development takes from two weeks, under optimal conditions, to 30 days or more in cooler conditions. The larvae avoid light; the interiors of heaps of animal manure provide nutrient-rich sites and ideal growing conditions, warm, moist, and dark.

At the end of their third instar, the larvae crawl to a dry, cool place and transform into pupae. The pupal case is cylindrical with rounded ends, about 8 mm (5 ⁄ 16 in) long, and formed from the last shed larval skin. It is yellowish at first, darkening through red and brown to nearly black as it ages. Pupae complete their development in two to six days at 35 °C (95 °F), but may take 20 days or more at 14 °C (57 °F).

When metamorphosis is complete, the adult housefly emerges from the pupa. To do this, it uses the ptilinum, an eversible pouch on its head, to tear open the end of the pupal case. Having emerged from the pupa, it ceases to grow; a small fly is not necessarily a young fly, but is instead the result of getting insufficient food during the larval stage.

Male houseflies are sexually mature after 16 hours and females after 24. Females produce a pheromone, (Z)-9-tricosene (muscalure). This cuticular hydrocarbon is not released into the air and males sense it only on contact with females; it has found use as in pest control, for luring males to fly traps. The male initiates the mating by bumping into the female, in the air or on the ground, known as a "strike". He climbs on to her thorax, and if she is receptive, a courtship period follows, in which the female vibrates her wings and the male strokes her head. The male then reverses onto her abdomen and the female pushes her ovipositor into his genital opening; copulation, with sperm transfer, lasts for several minutes. Females normally mate only once and then reject further advances from males, while males mate multiple times. A volatile semiochemical that is deposited by females on their eggs attracts other gravid females and leads to clustered egg deposition.

The larvae depend on warmth and sufficient moisture to develop; generally, the warmer the temperature, the faster they grow. In general, fresh swine and chicken manures present the best conditions for the developing larvae, reducing the larval period and increasing the size of the pupae. Cattle, goat, and horse manures produce fewer, smaller pupae, while mature swine manure composted with water content under 30%, approached 100% mortality of the larvae. Pupae can range from about 8–20 milligrams (0.12–0.31 gr) in weight under different conditions.

The life cycle can be completed in seven to ten days under optimal conditions, but may take up to two months in adverse circumstances. In temperate regions, 12 generations may occur per year, and in the tropics and subtropics, more than 20.
language:response_language[French]