A maggot's worm-like stage lasts roughly 3 to 10 days in most species that colonize carrion or garbage, though some complete it in under 48 hours and a few take weeks. Blow fly larvae are the fastest: at 80 to 90°F they finish larval development in about 3 to 4 days, then spend 1 to 2 weeks as pupae before emerging as adults. Cold weather stretches the whole sequence to several weeks; constant warmth and food compress it toward the low end.

That range hides a structural point most short explainers miss. A maggot does not transform into a fly the moment it stops eating. It leaves its food, wanders to a dry site, contracts into a hardened barrel-shaped puparium, and rebuilds its body through histolysis, in which enzymes dismantle larval tissues and clusters of dormant cells rebuild adult structures. The worm-like stage is only the first act. Total time from egg to adult fly is typically 1 to 3 weeks in warm conditions and can exceed a month in cool ones.

The Three-Stage Mechanism

A fly's life cycle runs egg, larva, pupa, adult. What people call a maggot is the larval stage, and it exists for one purpose: eating and growing fast. A newly hatched blow fly larva weighs a fraction of a milligram. Over the next few days it can gain more than a hundredfold in mass, molting twice along the way. The third-stage larva, called a third instar, is the fat, restless worm most people recognize.

When the third instar finishes feeding, it stops. It crawls away from the food source, often 10 to 50 feet, seeking drier ground. There it contracts into a capsule, and its outer skin hardens and darkens into the puparium, which is actually the last larval skin retained as a shell. Inside, the animal undergoes histolysis. Most larval cells break down into a nutrient soup, and imaginal discs, small cell clusters set aside since embryonic development, reorganize into wings, legs, eyes, and reproductive organs. This is why the pupal stage looks inert but consumes the most biological time and energy.

Different species carry different gear for this transition. Blow flies and house flies are the sprinters. Flesh flies and cheese skippers run slower. Some flies skip the egg stage entirely and deposit live larvae, which shortens the clock further, while a few parasitic species keep larvae inside a host for weeks. The word "maggot" is a body plan, not a species, so any universal number is a range with exceptions attached.

Quantified Context: Days by Species and Temperature

Blow flies dominate carrion and trash, and their timing is well documented because forensic entomologists use it to estimate time of death. At a constant 80°F, a blow fly egg hatches in about 12 to 24 hours, the larval stage runs roughly 3 to 4 days, and the pupal stage lasts about 6 to 8 days, putting egg-to-adult near 10 to 14 days. At 60°F, the larval stage stretches past a week and pupation runs longer, so total development approaches three weeks or more. Below roughly 50°F, development slows sharply, and near 40°F many species arrest entirely until temperatures rise.

House flies run a similar but slightly slower schedule. Their larvae typically feed for 5 to 7 days in warm weather, and total egg-to-adult time is commonly cited as 7 to 10 days in summer heat. At 90 to 95°F they develop fastest, though extreme heat above roughly 100°F can kill eggs and young larvae outright. Flesh flies, which often deposit larvae directly, can produce adults in as little as 8 to 12 days in warm weather, with some records faster.

Temperature is the master variable because insects are ectotherms. Their metabolic rate scales with ambient heat, so development follows a predictable thermal budget: a species needs a fixed number of degree-days above a threshold temperature to complete each stage. Cold weather does not pause the clock cleanly; it drags it out, and near the threshold it nearly stops. This is why a maggot in a summer garbage can is a different animal, developmentally, from the same species in a January dumpster.

Species group Larval stage (70–90°F) Total egg-to-adult (warm) Notes
Blow flies ~3–4 days ~10–14 days Fastest carrion colonizers; used in forensics
House flies ~5–7 days ~7–10 days Common in garbage and manure
Flesh flies ~3–5 days ~8–12 days Often deposit live larvae
Cheese skippers ~2–4 weeks ~4–6 weeks Slow; tolerate rich, salty media
Fruit flies ~4–5 days ~8–10 days Smaller scale, similar speed

The counterintuitive detail: the longest phase of the maggot's "wait before becoming a fly" is often not the feeding larva but the pupa. A blow fly that fed for three days may sit immobilized in its puparium for a week or more. People who see pupae mistake them for dead maggots or empty shells. They are neither.

Day (80°F, blow fly) Stage What you observe
0 Egg Clustered near food, barely visible
1 First instar Tiny larvae, rapid growth
2–3 Second and third instar Largest, most active feeding
3–4 Post-feeding larva Crawls away to dry site
4 Puparium forms Darkens, hardens, immobile
4–11 Pupa Shell intact, no visible movement
11–14 Adult emergence Empty shell, fly exits

Edge Cases: Cold, Heat, Crowding, and Chemical Limits

Temperature extremes rewrite the timeline. In cool conditions near 50°F, a blow fly larva might take two to three weeks to reach pupation, and the pupa another two weeks or more, so "maggot to fly" can span a month. Some species survive winter as larvae or pupae in diapause, a programmed dormancy that can hold development for months without killing the animal. In practice, maggots living in a heated building or a compost pile that stays warm can develop through winter at near-summer speed, which is why indoor fly problems persist in January.

Heat has an upper limit. Temperatures above roughly 100°F suppress or kill many fly stages, and direct sun on a shallow container can push internal temperatures past that threshold. Larvae respond by migrating to cooler depths, which is why maggot masses in a large carcass or dumpster can be cooler than the surface air.

Crowding matters too. A maggot mass generates its own heat, sometimes raising internal temperature 10 to 20 degrees above ambient. That accelerates development in the middle of the mass and can cook the edges. Food quality, moisture, and ammonia or chemical contamination also slow or kill larvae; maggots are surprisingly sensitive to some insecticides, disinfectants, and desiccants. A maggot in a wet, warm, food-rich environment develops fastest. One in dry, cool, or chemically hostile conditions may never complete the transition.

Parasitic and specialized maggots are a separate case. Larvae of botflies and some parasitic flies live inside hosts for weeks, and their "before becoming a fly" window is governed by host biology, not ambient garbage temperatures. These are not the maggots people typically encounter, but the biology class spans the full range.

Misconceptions: What the Worm Is and Isn't

The biggest myth is that maggots "turn into flies" by growing wings. They do not. The larval body is dismantled and rebuilt. The fly inside the puparium is a new structure assembled from dormant cell clusters, which is why a pupa shows no legs or wings until very late in the process.

A second misconception treats all maggots as identical. House fly larvae, blow fly larvae, and flesh fly larvae have different schedules, body shapes, and habits. Identifying the species, not just the worm, is what changes the deadline. A forensic entomologist can place a blow fly larva's age within hours by measuring its length and stage; a homeowner cannot.

Third, people assume heat always speeds things up. Past a threshold, heat kills. A maggot mass in direct summer sun can overheat, and eggs laid on a hot surface may desiccate before hatching. The fastest safe window sits at moderate warmth, not maximum heat.

A professional caveat worth stating plainly: the "3 to 10 days" figure covers the larval stage, not the entire pre-adult period. If someone asks how long a maggot lives before it becomes a fly, the technically complete answer includes the pupal stage, which roughly doubles or triples the calendar time. Short explainers often blur the two, which is why the numbers seem to conflict. Reconcile them by asking which stage the source is counting.

Practical Actions: Deadlines, Thresholds, and Red Flags

The practical question is usually how fast to act, and the answer depends on species and warmth. As a working rule, treat three days as the action deadline in warm weather. Fruit fly and blow fly larvae can complete larval development in that window, and once larvae leave the food source they are harder to find and treat. In cool weather, the same work can wait a few extra days, but not indefinitely.

Concrete steps: Remove and bag the food source within 24 to 48 hours of seeing larvae. The larvae are in the food, not on the walls. Check for the wandering stage: larvae crawling 10 to 50 feet from the source are seeking pupation sites. Look along baseboards, under appliances, and in dry corners. Scrub and dry the area after disposal. Residual moisture and organic film restart the cycle. Keep indoor temperatures stable and inspect compost and garbage containers weekly in warm months. If larvae appear in a wound, stool, or living tissue, that is a medical situation, not a pest situation.

Red flags that change the response: Larvae in a wound or body opening: seek medical evaluation. Larvae appearing indoors in winter without an obvious source: check for a hidden food source or a heated breeding site. A persistent infestation after cleaning: look for a missed source such as a dropped food item, a drain, or a recycling bin. Maggots in a commercial food area: this is a food-safety and regulatory matter, not a do-it-yourself cleanup.

Costs vary by pest-control provider and region, so no single figure is reliable, and the simplest interventions, bagging, cleaning, and drying, cost nothing. Chemical treatments are usually unnecessary once the source is removed, because the larvae depend entirely on that source.

Limitations: What the Numbers Cannot Tell You

Published development times come mostly from controlled laboratory studies at constant temperatures. Real environments fluctuate, and fluctuating temperatures do not simply average out. A maggot in a 60°F night and 85°F day container develops at a rate closer to the warm periods, because metabolic processes respond nonlinearly to heat. That is why field estimates carry wide margins.

Species identification is the other limit. Without a trained eye or genetic testing, a layperson cannot reliably distinguish a house fly larva from a blow fly larva, and their schedules differ by days. Forensic applications also require accounting for larval migration, secondary colonizers, and drugs or toxins in the tissue that can alter development. No general number substitutes for a species-specific, temperature-specific estimate.

Finally, "how long can maggots live" has no single answer because maggots are not one thing. A maggot can be a three-day sprint or a month-long residency depending on species, heat, food, and whether it is a free-living larva or a parasite. The defensible range for common household and carrion maggots is roughly 3 to 10 days in the larval stage, 1 to 3 weeks from egg to adult in warmth, and longer in the cold. Anyone quoting a fixed number without the species and temperature is quoting a guess dressed as a fact.

The most reliable way to answer the question for a specific case is to observe the stage: feeding larvae, wandering larvae, or pupae. Each stage has a different clock attached, and the clock runs on temperature. Watch the container, record the room temperature, and check daily. The fly will arrive on schedule, and the schedule is written in heat.