What Do Maggots Turn Into? From Larva to Adult Fly

Maggots turn into adult flies. Every maggot you encounter is the larval stage of a fly belonging to the order Diptera, and it will, if conditions allow, pass through a pupal stage before emerging as a winged adult. The transformation is called complete metamorphosis, and it involves one of the more dramatic body-plan overhauls in the insect world: the soft, legless feeding machine essentially dissolves much of its internal structure and reassembles into a flying, reproducing adult. The process is more complex, more variable across species, and more ecologically significant than most people realize.

The Four Stages of a Fly’s Life

Flies are holometabolous insects, meaning they pass through four distinct life stages: egg, larva, pupa, and adult. The word “Diptera” itself translates to “two wings,” and the larval stage of these insects is specifically called a maggot.1The Wonders of Diptera – Characteristics, Diversity, and Significance for the World’s Ecosystems. Characteristics of Dipteran Insects That four-stage cycle separates flies from insects like grasshoppers or cockroaches, which hatch looking like miniature versions of the adult and simply grow larger through molts.

A female fly lays eggs on or near a food source suited to her species. For a housefly or blowfly, that food source is often decaying organic matter. The eggs hatch into larvae, which go through several growth phases called instars, shedding their outer covering each time they outgrow it. Once the larva has fed enough and reached its final size, it stops eating and enters the pupal stage. Inside the pupal case, the body undergoes a radical reorganization. What crawls in as a pale, worm-like creature emerges as a six-legged insect with compound eyes, wings, and functioning reproductive organs.

What Happens Inside the Pupa

The pupal stage is where the real transformation happens, and it is far stranger than simply “growing wings.” Much of the larval body is broken down. Organs that served the maggot’s feeding lifestyle are dismantled, and structures called imaginal primordia (small clusters of cells that have been quietly sitting inside the larva since it hatched) begin to grow and differentiate into adult body parts: legs, wings, eyes, antennae. These clusters undergo both growth and what researchers call morphogenetic development, meaning they don’t just get bigger, they take on entirely new shapes and functions.2PubMed Central. The evolution of insect metamorphosis: a developmental and endocrine view

Hormones orchestrate the entire process. During the feeding larval stages, juvenile hormone keeps the body in its larval form and allows the imaginal primordia to grow without changing shape. Once the larva reaches its final instar and feeding conditions are right, the morphogenetic program switches on. A surge of steroid hormones called ecdysteroids, acting in the absence of juvenile hormone, triggers the general body surface to commit to its pupal identity and eventually deposits the pupal cuticle.2PubMed Central. The evolution of insect metamorphosis: a developmental and endocrine view

Some larval organs are not merely remodeled but destroyed outright. Research on the fruit fly Drosophila has shown that salivary glands, which were highly active during the larval stage, undergo programmed cell death during metamorphosis in response to ecdysone. The glands essentially self-destruct through a stress-linked process, clearing the way for adult structures.3PubMed Central. Developmentally-regulated post-apocrine cell death of Drosophila salivary glands utilizes ER stress-linked apoptosis So the pupa is not a resting stage in any comfortable sense. It’s a demolition and construction site running simultaneously.

How Long the Transformation Takes

There is no single answer to how long it takes a maggot to become a fly, because temperature is the dominant variable. Flies are ectotherms: their metabolic rate, and therefore their developmental speed, tracks the temperature of their environment. A study on flesh flies (Sarcophaga africa) found that the entire egg-to-adult life cycle took roughly six days in summer heat, about eleven days during the rainy season, and nearly thirteen days in winter.4Bio Science Research Bulletin. Forensically Important and Seasonal Changes in Temperatures of Developmental Stages in Life Cycle of Sarcophagidae Fly, Sarcophaga Africa That same study noted that larvae were physically larger in the rainy season and smaller in summer, suggesting that faster development at higher temperatures comes at the cost of body size.

For common houseflies and blowflies, the larval feeding period alone typically lasts several days, the pupal stage another several days, and the complete cycle from egg to adult can range from about a week in warm conditions to three weeks or more in cool ones. If you spot maggots on something in your kitchen during a hot spell, adult flies could be emerging in under two weeks. In cooler environments, you have more time before the next generation takes wing.

Not All Maggots Become the Same Fly

When people picture a maggot, they usually think of the pale, squirming larvae found on garbage or roadkill. These are typically the larvae of blowflies or houseflies. But the order Diptera contains an enormous range of species, and their larvae are just as diverse. A maggot in your compost bin might become a housefly, a blowfly, a fruit fly, or a black soldier fly. A maggot in a stream might become a midge or a crane fly. A maggot inside an aphid colony on your garden plants might become a hoverfly.

Hoverflies are a good example of how different fly larvae can be from one another. The adults look like small bees and are important pollinators. But their larvae are predators: soft-bodied, slug-like creatures that crawl through plant foliage eating aphids. One species, Eupeodes corollae, provides what researchers describe as dual ecosystem services, with larvae that eat aphids and adults that pollinate flowers.5PubMed Central. Genome of the hoverfly Eupeodes corollae provides insights into the evolution of predation and pollination in insects Trials on strawberry crops showed that hoverfly species both pollinated the flowers (increasing fruit quality and seed count) and suppressed aphid populations by roughly half to two-thirds.6PubMed. Dual purpose: Predatory hoverflies pollinate strawberry crops and protect them against the strawberry aphid, Chaetospihon fragaefolii

Then there are the genuinely unsettling examples. Botfly larvae develop inside living tissue. The human botfly lays its eggs via a carrier insect, and the larva burrows into the skin of the host, feeding and growing for weeks before dropping out to pupate in the soil. A case report described a man who returned from Belize with a botfly larva growing in his forearm for eight weeks before it was surgically removed.7PubMed Central. Human botfly infestation: the tip of the iceberg The adult that would have emerged is a large, fuzzy fly that does not bite or feed on humans at all; only the larval stage is parasitic.

Some fly larvae have surprisingly athletic abilities. The larvae of the Mediterranean fruit fly (Ceratitis capitata) are legless, like most fly maggots, yet they can jump. They use their mouth hooks to grip the rear end of their body, pressurize themselves into a curved shape, and launch. Measurements show these maggots can jump up to fifteen times their own body length, accelerating at twenty-seven times the force of gravity.8PubMed Central. Rearrangements in the musculature correlate with jumping behaviour in legless Mediterranean fruit fly larvae Ceratitis capitata (Tephritidae) This behavior helps them escape predators and find suitable pupation sites.

The Ecological Muscle of Maggots

Maggots are among the most efficient decomposers on land. When an animal dies in the wild, blowflies are typically the first insects to arrive, and their larvae do the bulk of the work in breaking down soft tissue. A study using rabbit carcasses found that maggot biomass reached about 22% of the total fresh carcass weight, or 39% of the consumable soft tissues. The largest share of carcass mass loss, about 45%, went to evaporation of moisture into the atmosphere, while the maggots themselves sequestered significant carbon, nitrogen, and phosphorus.9Food Webs. Nutrient and moisture transfer to insect consumers and soil during vertebrate decomposition

Research on deer carcasses in a temperate forest found that maggot activity dramatically accelerated decomposition, with the larvae generating metabolic heat that created a feedback loop: warmer temperatures sped up their metabolism, which generated more heat, which sped decomposition further.10PubMed Central. Necrophagous Insects and Internal Temperature Synergistically Determine Duration of the Decomposition Process for Deer Carcasses When Vertebrate Scavengers are Excluded Without vertebrate scavengers (no coyotes, vultures, or ravens intervening), maggots were the primary agents breaking down the carcass.

Maggot Masses Generate Their Own Heat

One of the stranger aspects of maggot biology is that large groups of feeding larvae create measurable heat. A dense aggregation of blowfly larvae is not just a pile of worms; it’s a collective metabolic engine. Studies have found that maggot masses can raise their internal temperature anywhere from about 2.5°C to 14°C above ambient, depending on the number of larvae present. A mass of at least 1,200 individuals produced temperatures significantly warmer than the surrounding environment, diverging from ambient after roughly 26 hours of feeding.11PubMed. Quantifying the temperature of maggot masses and its relationship to decomposition

Peak temperatures tend to occur at the center of medium-sized aggregations, between about 200 and 2,000 larvae, where heat dissipation is slowest.12PubMed Central. Maggot Mass Effect on the Development and Survival of Forensically Important Blow Flies This self-heating means larvae at the core of a mass develop faster than those at the edges, and faster than solitary larvae at the same ambient temperature. It also means that decomposition in the field can proceed much more rapidly than laboratory models based on single-larva development would predict.

Maggots in Forensics and Medicine

The predictable relationship between temperature, time, and larval development stage is what makes maggots useful in forensic investigations. Because each fly species develops at a known rate at a given temperature, forensic entomologists can collect larvae from a body, identify the species, determine the developmental stage, and work backward to estimate when the eggs were laid, giving investigators a minimum time since death.13PubMed. Effects of antibiotics ceftriaxone and levofloxacin on the growth of Calliphora vomitoria L. (Diptera: Calliphoridae) and effects on the determination of the post-mortem interval The complicating factor, as the maggot-mass heat research shows, is that larvae developing in a group may mature faster than expected, so accurate estimates need to account for the thermal microclimate the maggots create for themselves.

On the medical side, maggots have been used deliberately for wound care for centuries. The species most commonly used is the green bottle fly, Lucilia sericata. Its larvae feed exclusively on dead tissue, leaving healthy tissue alone, making them effective debriders of chronic wounds that resist conventional treatment. Beyond just eating dead flesh, research has shown that the excretions and secretions produced by these larvae contain compounds with antimicrobial activity against both common bacterial types and fungi, and can even disrupt bacterial biofilms, the stubborn colonies that make chronic wound infections so hard to treat.14PubMed Central. Procedures for determining the antimicrobial activity of maggot excretions and secretions of the green bottle fly: a narrative literature review Maggot debridement therapy is approved in multiple countries and is still used when antibiotics and surgery fail to clean a wound.

Black Soldier Fly Larvae and the Waste Economy

Not every fly larva feeds on carrion. The black soldier fly (Hermetia illucens) has become one of the most economically significant insects in the world because its larvae can eat an extraordinary variety of organic waste, including food scraps, agricultural byproducts, and animal manure, and convert it into protein- and fat-rich biomass.15PubMed Central. Waste-to-feed bioconversion using Hermetia illucens Larvae: Current insights and prospects The adult black soldier fly is a harmless, wasp-like insect that does not bite, does not carry disease, and barely eats at all during its short adult life. All the action is in the larval stage.

The larvae convert waste substrates into biomass with protein content in the range of 31 to 37%, and they do so without accumulating dangerous levels of heavy metals, even when raised on contaminated substrates like municipal biosolids. One study found that despite initial heavy metal concentrations of up to 8,700 mg/kg in the substrate, the mature larvae contained less than 180 mg/kg, well below international guidelines for animal feed.16Resources, Conservation and Recycling. Black Soldier Fly-based bioconversion of biosolids creates high-value products with low heavy metal concentrations The heavy metals were mostly left behind in the residue rather than taken up into the larvae’s bodies.

Diet composition matters for larval quality. Larvae raised on vegetable-only diets showed about 26% less biomass and roughly 65% less fat compared to those raised on mixed diets. Larvae fed an omnivorous diet (a blend of plant and animal waste) produced nutritional profiles similar to those raised on high-quality commercial chicken feed.17PubMed Central. Assessing Substrate Utilization and Bioconversion Efficiency of Black Soldier Fly (Hermetia illucens) Larvae: Effect of Diet Composition on Growth and Development Temperature The resulting larval meal is already used in feed for poultry, pigs, farmed fish, and pets. In regions where insect consumption by humans is traditional, there is also growing interest in black soldier fly products as a direct food ingredient. A survey in rural Madagascar, where insect-eating is common, found that over 88% of respondents did not consider insect food disgusting, though most were unfamiliar with the black soldier fly specifically.18Journal of Insects as Food and Feed. Consumer acceptance of black soldier fly (BSF) larvae-based products in rural south-east Madagascar

The Myth of Spontaneous Generation

For most of human history, people believed maggots appeared spontaneously from rotting meat. The idea made intuitive sense: you leave meat out, and maggots show up without any visible parent. It took the Italian physician Francesco Redi, in the seventeenth century, to demonstrate that this was wrong. Redi placed meat in jars, some open to the air and some covered with gauze. Maggots appeared only in the open jars, where flies could reach the meat and lay eggs. The covered meat rotted but remained maggot-free. Redi, along with contemporaries Marcello Malpighi and Jan Swammerdam, who documented insect reproduction cycles in detail, established that insects come from other insects, not from decaying matter.19Resources, Conservation and Recycling. Flies from meat and wasps from trees: Reevaluating Francesco Redi’s spontaneous generation experiments It is one of the foundational experiments in biology, and it remains the reason we know what maggots actually are: baby flies, nothing more mysterious.

When Flies Become a Health Problem

The adult flies that maggots become are not all harmless pollinators or decomposition workers. Houseflies, in particular, are efficient carriers of bacteria. A study of flies collected from dairy farms found that individual houseflies carried every single bacterial taxon identified in the surrounding manure samples, plus additional species picked up from the cattle. Several of the bacteria they carried, including Escherichia and Corynebacterium, are potential pathogens for both livestock and humans.20PubMed Central. Bacterial Communities of House Flies from Dairy Farms Highlight Their Role as Reservoirs, Disseminators, and Sentinels of Microbial Threats to Human and Animal Health The flies don’t just pick up bacteria passively; they move between manure, feed, and other surfaces, spreading microbes as they go.

This is why fly control matters in agricultural and food-handling settings. The maggots feeding in manure or waste are not themselves the disease threat; it is the mobile adult they become that disperses pathogens over a wide area. In developing regions where sanitation infrastructure is limited, flies are a recognized vector for diarrheal diseases. Covering food, managing waste properly, and reducing fly breeding sites are all downstream consequences of understanding what maggots turn into and how quickly they do it.