Maggots are not worms. They are baby flies, the soft, legless feeding stage between the egg and the winged adult. Every maggot in a bin or on old meat hatched from an egg a fly laid there, even if no one saw it happen.
For most of history, people believed rotting meat simply turned into maggots, and it took a plain experiment with covered jars in the 1600s to prove otherwise.1PubMed. Flies from meat and wasps from trees: Reevaluating Francesco Redi’s spontaneous generation experiments The same appetite that makes maggots revolting in a trash can also makes them useful in hospitals, crime labs, and gardens.
What a Maggot Actually Is
A maggot is the larva, or young stage, of a fly. It has no legs and no eyes you’d recognise. The head end is pointed and carries dark mouth hooks, which sit on a hard internal mouth frame the young fly uses to rake and grip food.2PubMed. Larval morphology and anatomy of the parasitoid Exorista larvarum (Diptera: Tachinidae), with an emphasis on cephalopharyngeal skeleton and digestive tract The blunt rear end has breathing holes, so a maggot can keep its head buried in food and still breathe.
The cream-coloured maggots in household bins usually belong to house flies or to blow flies, the shiny green or blue bottle flies. Blow flies are typically the first insects to arrive at a dead animal.3Natural History Museum. Murder, maggots and forensic entomology Other flies have larvae with quite different lives, from fruit fly larvae in overripe fruit to hoverfly larvae that hunt aphids on plants.4Parasitology. Biology, morphology and anatomy of aphidophagous syrphid larvae
Earthworms are long and segmented, but they live in soil and never become anything else. Caterpillars have legs and a distinct head, and they turn into moths or butterflies. If it is legless and sitting on rotting food or waste, it is almost certainly a maggot.
Beetle grubs are a closer lookalike. The fat white C-shaped ones in garden soil have small legs near the head and a brown head capsule, while a maggot has no legs at all. Location helps too: grubs live in soil and rotting wood, while maggots are usually in food, waste, or carcasses. Some pantry pests, such as moth larvae in grain, also have legs and a visible head, so look closely before assuming you have a maggot.
When maggots wriggle, they are pushing forward in waves of muscle contraction that run from tail to head. They avoid light and burrow into food to stay dark and moist. The constant motion also helps spread their digestive juices through the food.
Where Maggots Come From
An egg-carrying female fly searches for a spot where her young will have food, then lays clusters of tiny white eggs there. Maggots on a bin lid or a forgotten piece of chicken are her offspring. Blow fly and house fly eggs often hatch in about a day in warm weather.
That speed is why maggots seem to appear overnight. The eggs are small and pale and easy to miss, and a fly needs only a few seconds of access to lay a batch. Maggots often hatch inside the folds of a bag or under a lid, out of sight, so the first thing you notice is already a squirming crowd.
If you do catch the eggs, they look like tiny grains of rice, pale and stuck together in clumps, usually in moist creases of the food or bin. Clumps alongside very small maggots suggest a batch has only recently hatched.
From ancient times through Shakespeare’s era, many people thought flies and maggots formed from rotting flesh itself.5Arquivos de Zoologia. From Homer to Redi: Some historical notes about the problem of necrophagous blowflies’ reproduction In the 1600s Francesco Redi put meat in covered and open jars and showed maggots only appeared where flies could reach the meat.6PubMed. Flies from meat and wasps from trees: Reevaluating Francesco Redi’s spontaneous generation experiments His work helped end the idea of spontaneous generation, that living things arise from non-living matter.7PubMed. Flies from meat and wasps from trees: Reevaluating Francesco Redi’s spontaneous generation experiments
Flies find their spots mainly by smell, picking up odours given off by waste, microbes, and other fly eggs and larvae.8PubMed Central. Advances and Prospects in Odour-based Management of Filth Flies House flies are drawn to fermenting manure and fermenting grain, and some of those smells make them lay more eggs.9PubMed Central. Advances and Prospects in Odour-based Management of Filth Flies Blow flies respond to the sight and smell of an opened carcass, and one rotting-flesh gas, a sulphur compound, can attract them on its own.10PubMed Central. Advances and Prospects in Odour-based Management of Filth Flies Some smells repel flies when a site is a poor place for young.11PubMed Central. Advances and Prospects in Odour-based Management of Filth Flies
The usual hotspots follow from this. Outdoors, look at bins holding meat scraps or nappies in summer, and at compost bins and spoiled fruit. Indoors, pet food bowls and litter areas are common, and so are dead mice or birds in walls or attics, which people often notice by smell first.
From Maggot to Fly
The blow fly life cycle runs from egg through three larval stages, a wandering stage, a pupa, and then the adult fly.12The Blow Fly Life Cycle: Egg to Adult. The Blow Fly Life Cycle: Egg to Adult After the third stage, larvae stop feeding and crawl away from the food to find a dry, sheltered place.13PubMed. Heat accumulation and development rate of massed maggots of the sheep blowfly, Lucilia cuprina (Diptera: Calliphoridae) There each forms a pupa, a resting stage inside a hard brown case where it rebuilds into a fly.14The Blow Fly Life Cycle: Egg to Adult. The Blow Fly Life Cycle: Egg to Adult
The three larval stages are separated by moults, in which the maggot sheds its skin and gets larger. A newly hatched maggot is tiny and hard to see, and it grows many times its length while feeding.
Once fully fed, the maggot stops eating and empties its gut, so it often looks slightly shrunken and paler or darker than before. It moves with purpose away from the food, which is why you may find maggots far from the bin, even in another room. They seek dark, dry spots like cracks and the undersides of objects.
Each step is driven by how much warmth the maggots have built up, not by days on the calendar.15The Blow Fly Life Cycle: Egg to Adult. The Blow Fly Life Cycle: Egg to Adult So maggots grow much faster on a hot summer day than in a cool garage. Crowded maggots also warm themselves, with large masses reaching 2.5 to 14°C above the surrounding air.16PubMed. Quantifying the temperature of maggot masses and its relationship to decomposition Big clusters can therefore grow faster than the weather alone would suggest.17PubMed. Quantifying the temperature of maggot masses and its relationship to decomposition
For a bin or carcass you found, that means the whole cycle from egg to fly often takes one to two weeks in warm weather. Brown seed-like cases near a bin mean some maggots have already left to pupate. Killing the visible maggots misses pupae hidden under bins or carpets, and a new batch of flies can emerge and lay eggs again soon after.
How Maggots Eat
Maggots scrape dead tissue with their mouth hooks and rough skin as they crawl.18AskNature. Maggots Eat the Dead, But Heal the Wounded — Biological Strategy They release juices full of protein-breaking enzymes and ammonia onto the food.19Open Book Publishers. Maggot Debridement The tissue softens and turns into a nutrient-rich liquid that the maggots swallow.20Open Book Publishers. Maggot Debridement Their crawling helps work the juices deeper into the food.21Open Book Publishers. Maggot Debridement Food in an infested bin turns slimy and runny as it liquefies, and the ammonia adds to the sharp smell.
Common bin and blow fly maggots feed on dead, decaying matter, and their enzymes work best on tissue that is already breaking down. That preference is what makes them safe to use medically on dead wound tissue.
They also feed in groups. Many maggots release more digestive juice onto the same spot, so food softens faster than it would for one maggot alone. Groups generate heat too, which speeds the enzymes and the maggots’ growth.
Are Maggots Dangerous to People
Household maggots mostly signal a hygiene problem, but fly larvae can feed on a person’s or animal’s living or dead tissue, body fluids, or swallowed food, a condition called myiasis.22PubMed Central. Myiasis The adult flies that emerge can also carry germs from waste onto food. The risk is highest in open wounds, especially in people or pets who can’t keep wounds clean. Some maggots are also serious farm pests: sugar beet root maggots cut crop income by about 45% in unprotected fields.23Journal of Sugar Beet Research. Economic Benefits of Additive Insecticide Applications for Root Maggot Control in Replanted Sugarbeet
In a pet, watch for a bad smell, moving larvae, or an animal licking one spot constantly. Long-haired, elderly, or incontinent pets are most at risk in summer. This needs a vet promptly rather than home treatment.
If you accidentally ate food with maggots, swallowing a few is usually harmless because stomach acid kills them. The bigger concern is bacteria in the spoiled food. Seek care for vomiting, fever, or diarrhoea that persists, or if someone is unwell for more than a day or two, or sees live larvae in vomit or stool, they should get medical advice.
If you see maggots in part of a food, throw out the whole item, since it was in a place flies could reach. Cooking would kill the maggots, but it does not remove toxins that bacteria in spoiled food may have produced. Don’t taste-test the rest to decide whether it is safe.
How to Get Rid of Maggots and Keep Them Away
Bag and seal the infested food or waste and remove it from the house. Pouring boiling water over maggots in an empty bin kills them quickly. Then scrub the bin with hot soapy water and dry it, since flies follow the smell of residue.24PubMed Central. Advances and Prospects in Odour-based Management of Filth Flies Check under and around bins for pupae, which survive surface cleaning.
Because flies lay where they smell rotting food, sealing that smell is the main defence.25PubMed Central. Advances and Prospects in Odour-based Management of Filth Flies Wrap meat and fish scraps tightly and keep bin lids closed. In hot weather, empty bins often, since warmth shortens the time from egg to maggot.26The Blow Fly Life Cycle: Egg to Adult. The Blow Fly Life Cycle: Egg to Adult
For maggots on the floor or counter, sweep or vacuum them up and put the contents into a sealed bag in an outside bin, rather than leaving a full vacuum bag indoors. Wipe the area with hot soapy water to remove the residue that attracted them. Then look for where they came from, since a few wanderers usually mean a food source nearby.
If maggots keep appearing indoors, look for a dead mouse or bird behind walls or appliances. Check pet food stores, under sinks, and forgotten produce. If the source is inside a wall, call pest control.
The Useful Side of Maggots
Maggots on a small carcass can grow to about a fifth of the carcass’s original weight.27Food Webs. Nutrient and moisture transfer to insect consumers and soil during vertebrate decomposition Through their waste and bodies they return nitrogen, phosphorus, and other nutrients to the soil.28PubMed Central. Thermal Ecology and Forensic Implications of Blow Fly (Family: Calliphoridae) Maggot Mass Dynamics: A Review At first the burst of nitrogen from decaying fluids kills nearby plants, but later the enriched soil boosts plant growth.29PubMed Central. Thermal Ecology and Forensic Implications of Blow Fly (Family: Calliphoridae) Maggot Mass Dynamics: A Review
Doctors use sterile, lab-raised maggots, usually of a green bottle fly, to clean dead tissue from wounds.30Nature Index. Maggot Debridement Therapy in Wound Care Their enzymes dissolve dead tissue and break up bacterial films while sparing healthy flesh, so they are used for hard-to-heal wounds such as diabetic foot ulcers, pressure sores, and severe burns.31Nature Index. Maggot Debridement Therapy in Wound Care They clean wounds faster than gel dressings and help healthy tissue form, but don’t speed full healing.32PubMed Central. Maggot Therapy in Wound Healing: A Systematic Review
For a patient, the maggots are placed in a mesh bag or dressing over the wound and usually stay a few days before being replaced. Some people feel a tickling or crawling sensation. They come from controlled labs, raised from disinfected eggs so they don’t carry bacteria into a wound. Wild maggots carry germs from waste and carcasses, which is why using found maggots on a wound is never advised.
Investigators use flies on a body to estimate the minimum time since death.33Natural History Museum. Murder, maggots and forensic entomology The age of the oldest maggots gives the best estimate of when flies first laid eggs.34Egyptian Journal of Forensic Sciences. Various methods for the estimation of the post mortem interval from Calliphoridae: A review That is especially valuable when a body is badly decomposed.35Journal of Indian Academy of Forensic Medicine. Estimation of Time Since Death from Entomological Evidence: A Case Series
Flies arrive within hours in suitable weather, so the oldest maggots show how long the body has been available. Investigators identify the species and the maggots’ size, then use temperature records to work out how long they would have taken to grow. The result is a minimum time since death rather than an exact hour, so it is used alongside other evidence.
Black soldier fly larvae turn food and farm waste into protein-rich animal feed and fertiliser.36PubMed Central. Black Soldier Fly: A Keystone Species for the Future of Sustainable Waste Management and Nutritional Resource Development: A Review They can handle many kinds of waste as long as it is nutritious enough.37Journal of Cleaner Production. Effects of feedstock on larval development and process efficiency in waste treatment with black soldier fly (Hermetia illucens) Gardeners sometimes find large, flat, brown larvae in compost. These are often black soldier fly larvae, whose adults don’t swarm houses, and they break down scraps fast and are generally welcome.

