Maggots eat dead and decaying flesh, and that is their defining food source. They also consume rotting plant material, spoiled food, and the bacteria and fluids that come with decomposition. Some species eat living tissue, which is why maggots sometimes appear in open wounds.
That short answer hides a lot of variety. “Maggot” is not one animal. It is the larval stage of many fly species, and each species has its own menu. Understanding what they eat explains why they show up in garbage, in wounds, and sometimes in medical treatment.
What Are Maggots Exactly?
A maggot is the legless larva of a fly. Flies go through four life stages: egg, larva, pupa, and adult. The larva is the feeding stage. Its whole job is to eat and grow.
Maggots look like small pale worms. They have no legs and no visible head. The mouth end tapers to a point with hook-like structures used for scraping and tearing food. They breathe through openings at the back end, which is why you often see the blunt end near the surface of whatever they are eating.
Most maggots are the young of blow flies, flesh flies, or house flies. Blow flies are the ones most often found on dead animals and in wounds. House fly larvae are more common in garbage and manure.
What Do Maggots Eat?
Maggots eat soft, moist, protein-rich material. Dead animals are a primary food source for many species. So are open wounds, spoiled meat, garbage, and animal waste.
They do not chew solid food the way we do. They release digestive enzymes onto the surface of the food and absorb the broken-down liquid. This is called external digestion. It is why they need wet, soft material. A dry surface is hard for them to feed on.
The diet varies by species:
- Blow fly larvae: dead animals, wounds, rotting meat
- House fly larvae: manure, garbage, moist organic waste
- Flesh fly larvae: carrion and, in some species, living tissue
- Fruit fly larvae: overripe fruit and fermenting plant material
One detail surprises people. Maggots do not just eat tissue. They also eat the bacteria growing on it. In some species, the larvae carry their own bacteria that help break down food. This matters for how they behave in wounds, which we will get to.
Why Do Maggots Show Up in Wounds?
Some fly species lay eggs on living tissue, especially damaged or infected tissue. The smell of a wound attracts certain flies. The larvae then feed on dead tissue and the fluid around it.
This is called myiasis, which means infestation of living tissue by fly larvae. It can happen in people and animals. It is more common in warm climates and in people who cannot easily care for wounds, such as those with limited mobility or reduced sensation.
Here is the part that gets misrepresented. The same behavior that makes maggots a medical problem is the basis for a legitimate medical treatment. More on that below.
How Are Maggots Used in Medicine?
Maggot therapy is a real, regulated medical procedure. Sterile maggots of a specific species are placed on certain wounds to clean away dead tissue. This is not folk medicine. It has been used in hospitals and is approved as a medical device in the United States.
The larvae eat dead tissue and leave healthy tissue alone. They also release substances that help break down dead material and may help control bacteria. The wound is then cleaned and the maggots are removed.
Who might this be used for? Some clinicians use it for wounds that are not healing well and have a lot of dead tissue, when surgery is not a good option. The evidence is not uniform across all wound types. Some studies suggest it can help clean wounds, but results vary, and it is not a first-line treatment for most wounds. It is a specialized option, not a general remedy.
Two things matter here. First, medical maggots are raised in sterile conditions. Wild maggots are not. Second, this is a clinical procedure done by trained professionals. It is not something to attempt at home.
Do Maggots Eat Anything Besides Flesh?
Yes. Many maggots eat plant material and other organic waste. Fruit fly larvae feed on overripe fruit. Some fly larvae live in decaying vegetation, fungi, or even in the nests of other insects.
A few species have unusual diets. Some eat the tissue of living plants. A small number are parasites of other insects. And some maggots are scavengers that will eat almost any moist organic material they can find.
The common thread is moisture and protein. If a food source is wet and rich in organic matter, some fly species will find it.
Why Do Maggots Appear in Garbage and Compost?
Flies lay eggs on moist organic waste. Garbage, compost, and pet waste are ideal. The eggs hatch quickly, and the larvae feed on the material around them.
This is why maggots turn up in kitchen bins, especially in warm weather. Food scraps, especially meat and fruit, attract flies. Once eggs are laid, larvae can appear within a day or two under warm conditions.
If you are finding maggots in compost, that is not always a problem. Many composting systems rely on insect activity to break down material. The issue is usually when flies are getting into household waste or when the bin is not sealed well. Keeping waste covered and removing food scraps regularly reduces the chance of flies laying eggs.
Are Maggots Dangerous?
Maggots themselves are not usually harmful if they are on dead material. The risk comes from where they are. In a wound, larvae can damage tissue and allow infection to spread. In food, their presence signals spoilage and possible contamination.
Do not try to remove maggots from a wound yourself. If you or someone you care for has a wound with maggots, see a healthcare professional. Wound care and removal of larvae need proper medical handling.
For maggots in food or garbage, the issue is hygiene. Discard contaminated food. Clean the area. The larvae are a sign that flies found a food source, not a sign of a specific disease.
How Do You Get Rid of Maggots?
Removing the food source is the main step. If maggots are in a bin, empty and clean it. If they are in compost, turn the pile and cover fresh scraps. For a wound, see a clinician.
There is no single product that solves the problem. The larvae are feeding on something. Remove that something and the maggots go with it. Cleaning surfaces and sealing waste containers prevents flies from laying more eggs.
For wounds, this is not a home-remedy situation. A clinician needs to assess the wound, remove the larvae, and treat any infection. Self-treatment can make things worse.
Frequently Asked Questions
What do maggots eat the most?
Dead and decaying flesh is the main food for many maggot species, especially blow fly larvae. Rotting plant material and garbage are also common food sources.
Do maggots eat living tissue?
Some species do, which is why maggots can appear in open wounds. Others feed only on dead material and are used in medical treatment to clean wounds.
Can maggots eat human food?
Maggots can infest food that flies have reached, especially meat, fruit, and moist scraps. Food with maggots should be thrown away.
Do maggots only eat dead things?
No. Many eat decaying plants, garbage, and manure. A smaller number feed on living tissue, and some are parasites of other insects.

