Fly larvae are eaten by a wide range of predators, from birds and fish to beetles, wasps, and even fungi. Packed with 40 to 60% protein by dry weight and up to 35% fat, maggots are one of the most nutrient-dense food sources in nature. That makes them a target for dozens of species across nearly every ecosystem.
Birds and Small Mammals
Birds are among the most prolific consumers of fly larvae. During breeding season, adult birds feed their nestlings protein-rich insects, and fly larvae (order Diptera) rank among the most commonly captured prey. In Arctic tundra habitats, birds feed primarily on crane fly larvae (tipulids), which dominate the sparse vegetation. Snow buntings, warblers, and other insectivores rely heavily on these larvae to fuel the short, intense breeding window of about 100 days in the Arctic summer.
Robins, starlings, and blackbirds dig through soil and leaf litter looking for grubs and maggots. Swallows and martins catch adult flies on the wing but will also pick larvae from exposed surfaces. Woodpeckers target wood-boring fly larvae beneath bark. Globally, insectivorous birds consume an estimated 400 to 500 million tons of arthropod prey each year, and fly larvae make up a meaningful share of that total.
Among mammals, shrews, hedgehogs, and moles are consistent predators of fly larvae. Shrews have extremely high metabolisms and forage through soil and compost almost constantly. Moles encounter fly larvae while tunneling through the moist, organic-rich soil where many species develop. Frogs, salamanders, and lizards round out the vertebrate predator list, though they tend to consume fewer larvae overall than birds do.
Ground Beetles and Other Insects
Predaceous ground beetles (family Carabidae) are some of the most effective insect predators of fly larvae. Both the adult beetles and their own larvae hunt through soil, leaf litter, and decaying organic matter, exactly the habitat where fly larvae develop. Ground beetles feed on caterpillars, root-feeding insects, slugs, and a broad range of soil-dwelling invertebrates, including maggots.
Ants are opportunistic feeders that swarm fly larvae when they find them, particularly in compost piles, animal waste, or rotting fruit. Rove beetles (Staphylinidae) are another major group. They’re slender, fast-moving predators that thrive in the same moist, decomposing environments that fly larvae call home. Some predatory flies even eat the larvae of other fly species. Certain species in the family Asilidae (robber flies) and Muscidae will prey on maggots of competing species.
Parasitoid Wasps
Parasitoid wasps don’t simply eat fly larvae. They use them as living nurseries. A female wasp injects her eggs directly into a fly larva or pupa. The wasp’s offspring then develop inside the host, consuming it from the inside over days or weeks before emerging as adults. The host larva dies in the process.
Nearly 200 described species of parasitoid wasps target fruit flies (Drosophila) alone. Figitid and braconid wasps specialize in laying eggs inside fly larvae, while pteromalid, diapriid, and encyrtid wasps attack fly pupae. Records of these wasp-fly relationships go back more than two centuries, and parasitoid wasps are now used commercially for fly control on farms and in livestock operations. A single release of the right wasp species in a barn or feedlot can significantly reduce fly populations over the course of a season.
Fish and Aquatic Predators
Many fly species lay their eggs in water, and their larvae become a cornerstone of freshwater food webs. Midge fly larvae, which are among the most abundant aquatic insects on Earth, serve as a primary food source for young fish, aquatic insects, and salamanders. Trout, bass, bluegill, and other freshwater species feed heavily on these larvae, which is why fly fishers have imitated midge and mayfly larvae for centuries.
Dragonfly nymphs, damselfly nymphs, and predatory diving beetles are voracious underwater hunters that consume midge and mosquito larvae. Water boatmen and backswimmers also prey on small fly larvae near the surface. In ponds, streams, and wetlands, fly larvae form such a large share of the available biomass that removing them would collapse the food chain for many species above them.
Fungi and Bacteria
Not all of the organisms that kill fly larvae are animals. Entomopathogenic fungi, meaning fungi that specifically infect and kill insects, are a natural check on fly larvae populations. The fungus Beauveria bassiana is one of the best studied. Its spores attach to a larva’s outer surface, germinate, and penetrate the body. The fungus then grows inside the larva, consuming its tissues and eventually killing it. Beauveria bassiana is now widely used in agriculture as a biological pest control agent.
Certain bacteria play a similar role. Bacillus thuringiensis (Bt) produces toxins that destroy the gut lining of insect larvae when ingested. Different strains of Bt target different insect groups, and specific formulations are used against fly larvae in standing water, manure, and agricultural settings. Fly larvae do produce antimicrobial compounds and harbor gut bacteria that offer some defense, but these protections are often overwhelmed by concentrated pathogen exposure in the wild.
Why Fly Larvae Attract So Many Predators
The sheer number of species that eat fly larvae comes down to two factors: abundance and nutrition. A single female housefly can lay 500 eggs in her lifetime, and those eggs hatch into larvae within 24 hours under warm conditions. Larvae develop in decaying organic matter that exists virtually everywhere, from forest floors and stream beds to compost heaps and animal carcasses. That makes them one of the most consistently available prey items in nature.
Their nutritional profile explains the rest. Black soldier fly larvae contain roughly 40 to 60% protein and 15 to 35% fat by dry weight, depending on what they’ve been eating. Housefly maggots hit about 50% protein. For comparison, soybean meal contains around 47% protein but only 1% fat. Fly larvae pack energy and protein into a soft, easy-to-digest package with no shell, no exoskeleton worth mentioning, and no ability to fight back or flee quickly. From a predator’s perspective, they’re one of the most efficient meals available.

