A “green maggot” usually refers to one of two things: the larva of a green bottle fly found near trash, wounds, or decaying matter, or a green caterpillar-like larva feeding on garden plants. True fly maggots are actually white or yellowish, not green. The metallic green color belongs to the adult green bottle fly, and people often use the name interchangeably. Meanwhile, many green larvae found on plants are sawfly larvae, which look like small caterpillars or slugs and are frequently mistaken for maggots.
What you’re actually dealing with depends entirely on where you found it. Here’s how to tell the difference and what to do about it.
Green Bottle Fly Larvae: What They Look Like
The green bottle fly (Lucilia sericata) is one of the most common flies associated with the term “green maggot.” The adult fly has a distinctive metallic green body and is a frequent visitor to garbage, animal waste, and decaying organic matter. Its larvae, however, are not green. They’re white to yellowish, smooth, and cone-shaped, growing to about half to three-quarters of an inch long before they pupate.
These larvae develop fast. Eggs hatch in roughly 18 to 21 hours depending on temperature, and the maggots complete their feeding stage in three to four days. After that, they enter a pupal stage lasting seven to ten days before emerging as adult flies. In warm weather, a single generation can go from egg to flying adult in under two weeks, which is why infestations can escalate quickly.
Green Larvae on Plants Are Likely Sawflies
If you found a small green larva on a garden plant, you’re probably looking at a sawfly larva rather than a maggot. Sawfly larvae are extremely common in gardens and are often mistaken for caterpillars or slugs. They come in various shades of green, sometimes with black spots, dark heads, or a slimy coating.
Several species are widespread across North American gardens:
- Roseslug sawfly: Light green with an orange head, about half an inch long. Feeds on the upper surface of rose leaves, leaving behind a skeleton of veins. Secretes a slimy coating that makes it look like a tiny slug.
- Pear sawfly (pear slug): Shiny olive-green larvae, slimy and slug-like, up to half an inch. Feeds on the upper surfaces of pear, cherry, and related tree leaves. Heavy infestations make trees look scorched.
- Columbine sawfly: Small green larvae with dark heads that eat columbine leaves down to the midvein and clip off entire stems.
- Mountain ash sawfly: Pale green-yellow with black spots, up to three-quarters of an inch. Feeds in groups and can defoliate entire branches.
- European pine sawfly: Striped gray-green larvae with black heads, up to an inch long. Feeds in groups on pine needles from the previous season.
You can distinguish sawfly larvae from true caterpillars by counting the fleshy leg-like appendages on their abdomen. Sawfly larvae have six or more pairs, while caterpillars have two to five. Sawfly larvae also lack the tiny hook-like structures on those legs that caterpillars use to grip surfaces. Many species feed in groups and will rear back in unison when disturbed, which is a telltale behavior.
Most sawfly damage is cosmetic and doesn’t kill established plants. For small infestations, picking them off by hand is effective. A strong spray of water can knock them from leaves. Because they aren’t true caterpillars, products containing Bt (a common biological caterpillar treatment) won’t work on them.
Why Green Bottle Fly Maggots Show Up in Trash
Adult green bottle flies are strongly attracted to decaying organic matter, especially meat, fish, and dairy products. A female fly can detect rotting food from a distance and will lay eggs directly on the material or nearby. In warm weather, those eggs hatch within hours. If your trash can sits in the sun and doesn’t seal tightly, a fly only needs a brief opening to start an infestation.
The larvae feed constantly on decomposing material, growing through three stages before they stop eating and look for a dry place to pupate. At that point, you may notice them crawling away from the food source, which is often when people first spot them on the floor or walls near a trash can.
How to Eliminate a Maggot Infestation
Start by emptying the trash can completely. Then choose one of these approaches:
- Boiling water: Pour it directly over the maggots. This kills them instantly. After the water cools, clean the area and dispose of the dead larvae in a sealed bag, then disinfect the trash can.
- Vinegar and hot water: Mix one part white vinegar with three parts hot water (at least 140°F). Pour it into the trash can, close the lid, and let it sit for 30 minutes. Rinse, then spray again with the same solution to disinfect.
- Salt: Cover the maggots generously with table salt and place the can in direct sunlight for about an hour. The combination of heat and salt dehydrates and kills them.
- Diatomaceous earth: Make sure the area is as dry as possible, then spread an even layer of the powder over and around the larvae. After several hours, sweep up and dispose of everything in a sealed bag.
- Freezing: If the container is small enough, place it in a freezer for a couple of hours with the top sealed. In winter, leaving the trash can outside in freezing temperatures works just as well.
After cleaning, prevention matters more than treatment. Take out trash regularly, especially anything containing food scraps. Make sure your trash can lid seals completely. Rinse food containers before tossing them. Wipe out the inside of the can with a vinegar solution or disinfecting cleaner every few weeks. Flies can’t lay eggs where they can’t land, so a tight-fitting lid is the single most effective barrier.
Flystrike in Livestock
Green bottle fly larvae cause a serious condition in sheep called flystrike or blowfly strike. Flies are attracted to areas of soiled wool, particularly around the rear where fecal matter and urine accumulate. They lay eggs in the wool, and the hatching larvae burrow into the skin and feed on living tissue. About 5% of affected sheep die if the infestation goes untreated.
Signs include restlessness or visible discomfort, black or greenish discoloration around the wool, loose or missing patches of fleece, and visible maggots or sores beneath discolored wool. The larvae create open wounds that invite secondary infection and render both the wool and meat unmarketable.
Prevention centers on keeping sheep clean and dry, shearing twice a year in problem flocks, docking tails to reduce soiling, and regularly inspecting animals during warm months when fly activity peaks.
Medical Use of Green Bottle Fly Larvae
The same species that causes flystrike in sheep is deliberately used in medicine to clean chronic wounds that aren’t healing. The larvae feed exclusively on dead and infected tissue while leaving healthy tissue intact. They also produce antimicrobial compounds that help fight infection and promote healing.
In clinical settings, sterile laboratory-raised larvae are applied to wound surfaces at a density of five to ten maggots per square centimeter. They’re typically left in place for three to four days before being replaced. This approach, called maggot debridement therapy, is used for wounds that haven’t responded to conventional treatment, particularly in patients with diabetes or circulatory problems.
Forensic Use in Death Investigations
Green bottle flies are among the first insects to arrive on a body after death, sometimes within minutes. Because their larvae develop at predictable rates tied to temperature, forensic investigators use the size and developmental stage of the maggots to estimate how much time has passed since death. This is often the most reliable biological method for estimating time of death once a body has begun decomposing.
The technique relies on precise temperature records from the location where the body was found, combined with laboratory-derived growth models. Researchers at the National Institute of Justice have developed detailed datasets mapping how green bottle fly larvae grow at different temperatures, including the transitions between developmental stages. These transitions can last anywhere from hours to days, and even under controlled conditions they show significant variability, which is why forensic estimates are given as ranges rather than exact times.