The short answer
- A house fly goes through four stages: egg, larva (maggot), pupa and adult. The maggot passes through three larval stages, called instars.[5][2][7]
- Eggs hatch in 8 to 20 hours according to New Hampshire, LSU and Missouri Extension, or 12 to 24 hours according to Arkansas. Maggots finish feeding in 3 to 7 days (New Hampshire, Missouri) or 4 to 7 days (Arkansas).[6][7][8][9]
- In summer heat the whole trip from egg to adult can take as little as 7 days. In cool weather it stretches out: Texas A&M says about 45 days at 60 °F, and Missouri gives a range of 6 days to 5 weeks.[2][5][3][8]
- Because maggots can't leave their food until they are ready to pupate, removing, bagging or drying the material at least once a week, and once or twice a week in hot weather, stops them before they become flies.[1][2][9][5]
- Fly baits, traps and swatters only remove adults. Growth regulators and larvicides work on the maggots and are sold mostly for livestock and poultry. Parasitic wasps kill the pupae.[2][9][4]
Related profiles
Egg, maggot, pupa, adult: what each stage looks like and how long it lasts
House flies have complete metamorphosis, like beetles and butterflies. The young look nothing like the adult and live in a different place: maggots live inside moist organic material, and the adult flies off to feed, mate and find new material to lay eggs in. Stage lengths below are from fact sheets; where they differ, both are given.[2][5][8]
- Egg: white, about 1/20 of an inch (1.2 mm) long and shaped like a small grain of rice, laid in clumps on moist material. LSU, New Hampshire and Missouri give 75 to 150 eggs per batch; UC Riverside says about 100 to 150. Eggs need moisture to develop and hatch in 8 to 20 hours (New Hampshire, LSU, Missouri) or 12 to 24 hours (Arkansas).[7][6][8][2][9]
- Larva (maggot), three instars: cream colored, blunt at the rear and tapering to a point at the head. Each larva molts through three instars and grows between molts; LSU puts the length at about 1/10 to 1/3 of an inch (2.5 to 8.0 mm). Maggots feed on the bacteria in the material they live in, and the feeding stage lasts 3 to 7 days (New Hampshire, Missouri) or 4 to 7 days (Arkansas) in good conditions.[2][7][9][6][8]
- Wandering larva: when the maggot is done feeding it leaves the wet material for a drier, cooler spot to pupate, often at the edge of the pile it grew in. Missouri says mature larvae can move up to 50 feet per day. These are the maggots people find crawling out of trash cans.[2][6][8][1]
- Pupa: the pupa forms inside a barrel-shaped case, the puparium, about 1/3 of an inch (8 mm) long. The case is cream or yellowish-red at first and turns dark red, brown or black with age. The pupal stage lasts 3 to 4 days in warm conditions according to Arkansas, and anywhere from 3 days to 4 weeks depending on temperature according to New Hampshire and Missouri.[7][6][9][8]
- Adult: gray, with four dark stripes on the thorax; 1/5 to 1/3 of an inch (6 to 7 mm) according to LSU, under 3/8 inch (5 to 10 mm) according to UC Riverside. Females start laying eggs 4 to 12 days after leaving the pupal case (New Hampshire); LSU says 4 to 20 days after mating. Lifetime totals: 350 to 900 eggs (New Hampshire) or about 500 (LSU), in 5 to 6 batches (Missouri).[7][2][6][8]
- Adult lifespan: Arkansas gives an average of 3 to 4 weeks and Texas A&M says up to three weeks. In a Malaysian mark-and-recapture study, marked flies were found for up to 8 days in the field, and the authors put field life expectancy at 1 to 2 weeks.[9][3][15]
Temperature sets the speed
Fly development runs on heat. Texas A&M says a house fly takes about 45 days to complete its life cycle at 60 °F and only 7 days at 95 °F, which is why fly numbers build so fast in midsummer.[3]
A lab study that reared house flies at seven constant temperatures shows the same curve in finer steps. Egg to adult took an average of 884.6 hours at 16 °C (about five weeks), 297.0 hours at 25 °C (under two weeks) and 155.3 hours at 34 °C (under a week). The authors estimated that development stops below about 12.42 °C.[11]
The pupal stage alone shows it too. In a Brazilian lab study, adults emerged at 162 to 180 hours at 23 °C, 138 to 144 hours at 27 °C and 96 to 102 hours at 30 °C.[12]
Temperature also changes how fast adults lay eggs. In a North Carolina State study, half of a female's eggs were laid by day 34.5 at 20 °C but by day 7.1 at 35 °C. Total eggs per female were 184 at 20 °C, 729 at 25 °C, 709 at 30 °C and 506 at 35 °C, so moderate warmth is the most productive range.[10]
Very hot weather cuts fly reproduction but hurts their natural enemies more. In a USDA study, house flies held at fluctuating temperatures of 26.7 to 41.7 °C laid about half as many eggs (89 per female) and had 47.3 percent egg-to-adult survival, while three of the four parasitic wasp species tested produced only 24 to 28 percent as many offspring as at 25 °C.[13]
- Generations per year: New Hampshire counts six to eight. Missouri says there may be as many as 10 to 12 per summer.[6][8]
- Winter: in New Hampshire, house flies spend the winter outdoors as pupae in manure piles and organic debris. An Iowa State study notes that in northern latitudes they overwinter in animal confinement buildings, and that overwintering sites must stay above -5 °C with enough time above 10 °C for larvae, pupae and eggs in the female to develop.[6][14]
- Year round: Texas A&M says house flies are active on warm days year round but reproduce fastest in summer.[3]
What house fly maggots can grow in
Females lay eggs in warm, moist organic material: manure, garbage, lawn clippings, decaying fruit and vegetables, or soil mixed with any of these. UC IPM says fermenting grass clippings and compost work as well as animal waste.[2][1]
Moisture is the requirement. Texas A&M notes that fly larvae can't develop without some source of water, and UC IPM says breeding material has to be removed, spread thin so it dries completely, or composted hot with the pile turned.[3][1]
Fresh material is the most attractive on farms. New Hampshire lists fresh manure less than one day old, manure mixed with hay or straw, and waste grain, hay or straw.[6]
- Around a house: garbage cans, dumpsters, compost bins and pet droppings are common breeding sites. NPIC notes that damp droppings can breed maggots.[5]
- Inside a house: Texas A&M says house flies rarely breed indoors but come in through open doors and unscreened windows. If you are finding many small flies rather than house flies, the source may be indoors; see the small-flies guide.[3]
- On farms: animal waste, especially poultry manure, is a frequent breeding site. The barn fly-control guide covers farm sites in detail.[1]
Why the cleanup deadline is one week
Put the stage lengths together and the reason for the weekly rule is plain. Eggs laid in a trash bag or a pile of dog droppings hatch within a day, and the maggots finish feeding within about a week. After that they crawl out to pupate somewhere you probably won't find them. Material removed within the week takes the maggots with it; material left longer has already released the next generation.[6][8][9][2]
That is the timing behind the published schedules. UC IPM says to remove organic waste, including dog feces, rotting fruit and kitchen waste, at least once a week. NPIC says to take trash out once or twice a week. Arkansas says removing manure at least once a week prevents fly buildup by breaking the life cycle, and UC Riverside says manure in animal pens should go at least 1 to 2 times per week in hot summer months so immature flies can't finish developing.[1][5][9][2]
Heat is the reason to clean more often in summer. At 34 °C the lab flies above went from egg to adult in under a week, so a once-a-week pickup leaves little margin in a heat wave.[11]
Bagging matters as much as frequency. UC IPM says many homeowners have seen maggots crawl out of a backyard trash can in a mass emergence when kitchen waste was not sealed in a plastic bag first.[1]
The payoff goes beyond nuisance. A 2018 systematic review of 99 studies found that house flies caught around homes and farms carried over 130 pathogens, mostly bacteria, often on their body surfaces.[19]
Which stage each control method hits
Fly control works best aimed at the stages that can't move. UC Riverside points out that larvae are restricted to their breeding material, which makes them easier targets than adults, and NPIC says getting rid of larvae works better than going after adult flies.[2][5]
- Eggs and young maggots: in poultry manure, natural predators such as the hister beetle Carcinops pumilio and several mites eat house fly eggs and first-instar larvae, according to Arkansas. Larvicide sprays on manure kill these predators along with the maggots.[9]
- Maggots, by removal: cleanup, bagging and drying are the main tools for homes and farms alike.[1][2][5]
- Maggots, with growth regulators and larvicides: feed-through products are mixed into animal feed and pass into the manure, where they keep larvae from developing. Arkansas describes cyromazine (Larvadex) as an insect growth regulator that kills flies in the immature stages without harming predators and parasites; it is limited to chickens. Kentucky's horse-barn guide lists cyromazine and diflubenzuron feed-throughs for horses, and describes larvicides as treatments for breeding sites with many maggots that can't be cleaned in time. These are farm products; follow the label for any use.[2][9][4]
- Pupae: several parasitic wasps lay their eggs on fly pupae and kill them, and some can be bought and released on animal facilities. UC Riverside advises against broad-spectrum insecticides on manure where these wasps and predators are working.[2]
- Adults, with baits: granular baits combine an attractant, such as the fly pheromone (Z)-9-tricosene, with an insecticide, and work best where flies already gather, such as garbage areas. Kentucky says baits work best when there are few competing food sources and lists imidacloprid (QuickBayt) and methomyl (Golden Malrin and others) baits. UC IPM says baits alone won't control flies that have access to garbage.[2][4][1]
- Adults, with traps and swatters: sticky traps, UV light traps and odor-baited traps catch flies already flying. They do nothing to the maggots still in the material.[1][2]
Fast generations mean fast resistance
With a new generation every week or two in summer, house fly populations adapt quickly. UC Riverside says house flies will quickly develop resistance to insecticides used continuously and recommends using them only when needed and changing the chemical class (IRAC code) seasonally or yearly.[2]
Bait resistance can be behavioral as well as physiological. A University of Florida study found flies selected on an imidacloprid bait ate less of it when other food was available, pointing to taste aversion rather than repellency, and a UC Riverside study bred behavioral resistance to imidacloprid quickly in flies collected from a southern California dairy.[16][17]
Growth regulators are not immune. Arkansas warns that relying too heavily on Larvadex will lead to resistance, and a study of house flies from five Saudi dairies measured resistance to pyriproxyfen of up to 29.75-fold and to diflubenzuron of up to 28.67-fold compared with a susceptible strain.[9][18]
Telling the stages apart where you find them
Adults can fly in from elsewhere, so the immature stages are what point to the breeding site. Look in the wet material first, then in drier spots at its edges where wandering larvae pupate.[2][6]
- Clumps of tiny white eggs on wet garbage or manure: house fly or a relative. Each egg is about 1/20 of an inch long.[7]
- Cream maggots inside the material, pointed at one end: feeding larvae. House fly and blow fly maggots look and act alike, so if the adults are shiny green or blue, or the maggots are near something dead, read the house fly versus blow fly comparison.[2][1]
- Maggots crawling across pavement or a floor away from the source: mature larvae looking for a dry place to pupate.[2][8]
- Small brown or black barrel-shaped cases: puparia. UC Riverside notes they can be confused with rodent droppings, but puparia have rounded ends and regular ridges on the surface. New Hampshire's fact sheet shows pupae with holes where parasitic wasps came out.[2][6]
- Fly specks on white cards: on farms, New Hampshire and Arkansas both treat 100 or more spots per card in a week as a sign that fly control is needed.[6][9]
- A smaller fly that rests with its wings held straight over its back instead of in a V: likely the little (lesser) house fly, which UC IPM says isn't drawn to the same baits and traps as house flies.[1]
How far the next generation can travel
A clean yard can still see flies from a farm or dumpster some distance away. In a Malaysian mark-and-recapture study, marked house flies released up to 7 km from a poultry farm made it back to the farm; at a stable farm the range was 5 km. Arkansas says house flies are known to disperse for over 25 miles. If your own trash and pet waste are handled and flies keep arriving, the breeding site may not be on your property.[15][9]
Common questions
- How long does it take house fly eggs to hatch?
- Less than a day. New Hampshire, LSU and Missouri Extension give 8 to 20 hours; Arkansas gives 12 to 24 hours.[6][7][8][9]
- How long do house flies live?
- Arkansas gives an average adult life of 3 to 4 weeks and Texas A&M says up to three weeks. A field study put life expectancy outdoors at 1 to 2 weeks.[9][3][15]
- Why are maggots crawling out of my trash can?
- They have finished feeding and are leaving to pupate in a drier spot. UC IPM links it to kitchen waste that went into the can without being sealed in a plastic bag. Bag food waste and empty the can at least once a week.[1][5]
- Do house flies die off in winter?
- Not entirely. In New Hampshire they overwinter as pupae in manure piles and organic debris, and in northern areas they also survive in animal buildings. Texas A&M says they are active on warm days year round.[6][14][3]
Photo credits
- House Fly: ivan_humljani, public domain (CC0), via iNaturalist
- Lesser House Fly: (c) Dustin Edmundson, some rights reserved (CC BY) — via iNaturalist, CC BY 4.0
- Black dump fly: Hydrotaea aenescens by Janet Graham (CC BY 2.0), via Wikimedia Commons — via Wikimedia Commons, CC BY 2.0
- Stable Fly: (c) Phoenix M.S, some rights reserved (CC BY) — via iNaturalist, CC BY 4.0
- Filth fly parasitoids: (c) Svavar Martin Andreasen, some rights reserved (CC BY) — via iNaturalist, CC BY 4.0
Sources
- University of California Statewide IPM Program, “Pest Notes: Flies (Home and Landscape).” ipm.ucanr.edu/home-and-landscape/flies/ (accessed 2026-11-20)
- University of California, Riverside, Veterinary Entomology, “House Fly (Musca domestica L.).” www.veterinaryentomology.org/house-fly (accessed 2026-11-20)
- Texas A&M AgriLife Extension Service, “Indoor Flies and Their Control.” agrilifeextension.tamu.edu/library/insects/indoor-flies-and-their-control/ (accessed 2026-11-20)
- University of Kentucky Entomology, “Fly Control Around Horse Barns and Stables (ENTFACT-514).” entomology.ca.uky.edu/ef514 (accessed 2026-11-20)
- National Pesticide Information Center, “Flies.” www.npic.orst.edu/pest/flies.html (accessed 2026-11-20)
- University of New Hampshire Extension, “House Fly [fact sheet].” extension.unh.edu/resource/house-fly-fact-sheet (accessed 2026-11-20)
- LSU AgCenter, “Musca domestica, House Fly (Diptera: Muscidae).” www.lsuagcenter.com/articles/page1669656019180 (accessed 2026-11-20)
- University of Missouri Extension, “House Fly (Urban Entomology Fact Sheet), R. M. Houseman.” extension.missouri.edu/media/wysiwyg/Extensiondata/Pro/UrbanEntomology/House_fly_info.pdf (accessed 2026-11-20)
- University of Arkansas System Division of Agriculture Cooperative Extension Service, “Biology and Control of Flies in Poultry Facilities (FSA7063).” www.uaex.uada.edu/publications/PDF/FSA-7063.pdf (accessed 2026-11-20)
- Fletcher, Axtell and Stinner, Journal of Medical Entomology 27:922-926 (1990), “Longevity and fecundity of Musca domestica (Diptera: Muscidae) as a function of temperature.” pubmed.ncbi.nlm.nih.gov/2231628/ (accessed 2026-11-20)
- Wang et al., Forensic Science International 285:172-180 (2018), “Development of Musca domestica at constant temperatures and the first case report of its application for estimating the minimum postmortem interval.” pubmed.ncbi.nlm.nih.gov/29510361/ (accessed 2026-11-20)
- do Couto and Queiroz, Journal of Medical Entomology 61:64-73 (2024), “Characterization of intrapuparial development of Musca domestica (Diptera: Muscidae), under different temperatures in laboratory conditions.” pubmed.ncbi.nlm.nih.gov/37967473/ (accessed 2026-11-20)
- Geden et al. (USDA ARS), Journal of Medical Entomology 56:1650-1660 (2019), “Effect of fluctuating high temperatures on house flies (Diptera: Muscidae) and their principal parasitoids (Muscidifurax spp. and Spalangia spp.) from the United States.” pubmed.ncbi.nlm.nih.gov/31198940/ (accessed 2026-11-20)
- Rosales, Krafsur and Kim, Journal of Medical Entomology 31:671 (1994), “Cryobiology of the face fly and house fly (Diptera: Muscidae).” pubmed.ncbi.nlm.nih.gov/7966169/ (accessed 2026-11-20)
- Nazni et al., Tropical Biomedicine 22:53-61 (2005), “Determination of the flight range and dispersal of the house fly, Musca domestica (L.) using mark release recapture technique.” pubmed.ncbi.nlm.nih.gov/16880754/ (accessed 2026-11-20)
- Seraydar and Kaufman, Medical and Veterinary Entomology 29:60-67 (2015), “Does behaviour play a role in house fly resistance to imidacloprid-containing baits?.” pubmed.ncbi.nlm.nih.gov/25557105/ (accessed 2026-11-20)
- Hubbard and Gerry, Journal of Medical Entomology (2020), “Selection, reversion, and characterization of house fly (Diptera: Muscidae) behavioral resistance to the insecticide imidacloprid.” pubmed.ncbi.nlm.nih.gov/32516402/ (accessed 2026-11-20)
- Abbas and Hafez, PLoS One 16:e0248693 (2021), “Resistance to insect growth regulators and age-stage, two-sex life table in Musca domestica from different dairy facilities.” pubmed.ncbi.nlm.nih.gov/33831013/ (accessed 2026-11-20)
- Khamesipour et al., BMC Public Health 18:1049 (2018), “A systematic review of human pathogens carried by the housefly (Musca domestica L.).” pubmed.ncbi.nlm.nih.gov/30134910/ (accessed 2026-11-20)