Green flies, most commonly the green bottle fly, show up wherever decaying organic matter is present. These metallic, blue-green insects are slightly larger than house flies (about 10 to 14 mm long) and are drawn to dead animals, garbage, feces, and rotting food. If you’re seeing them in or around your home, something nearby is decomposing or fermenting, and they’ve found it.
What Attracts Green Flies
When animal tissue, food waste, or feces breaks down, microbes release volatile organic compounds into the air. Green bottle flies are highly specialized at detecting these chemicals, which include sulfur compounds and other byproducts of decomposition. Even trace amounts of these odors can draw flies from a considerable distance. The same chemistry explains why certain flowers that mimic the smell of rotting flesh attract these flies as pollinators.
The most common attractants include animal carcasses (even small ones like a mouse in a wall), uncovered garbage bins, pet waste left in a yard, and compost piles with meat or dairy scraps. Moist, warm conditions intensify the odors and speed up decomposition, which is why green fly activity peaks in summer.
Why Green Flies Appear Indoors
A few green flies drifting in through an open door is normal in warm weather. But if you’re finding a large number inside your home, there is very likely a dead animal nearby, often a rodent that died in a wall void, crawl space, ceiling, or basement. This is the single most common cause of a sudden indoor green fly problem.
Other indoor sources include leaking garbage disposals or drains that allow food waste to accumulate under sinks or floors, garbage bags that aren’t sealed, and organic debris trapped in spots you can’t easily see. Flies can even breed in soil that has been soaked with water used to wash out garbage cans. They enter through gaps around windows, openings under siding, holes where wires penetrate walls, and damaged door or window screens.
Temperature and Seasonal Patterns
Green flies need warmth to develop. Their minimum threshold for completing a life cycle is around 9°C (about 49°F), and they can’t survive sustained temperatures above roughly 35°C (95°F), where pupae fail to become adults. The sweet spot for rapid reproduction falls between 20°C and 32°C (68 to 90°F). At the warmer end of that range, an egg can go from being laid to a fully developed adult in under 10 days. At cooler temperatures near 15°C, the same process takes closer to 40 days.
This is why green fly populations explode in late spring and summer. Warmer temperatures accelerate both decomposition (producing more attractant odors) and fly development (producing more flies, faster). Eggs hatch in as little as 18 hours in warm conditions, and larvae can complete their growth in just three days.
How They Breed So Quickly
Female green bottle flies lay their eggs directly on or near a food source, typically a carcass, wound, or pile of waste. The eggs hatch within about 18 to 21 hours depending on temperature. Larvae go through three growth stages over three to four days, feeding on the decaying material. They then pupate and emerge as adults, ready to start the cycle again. In warm weather, several generations can overlap in a single season, which is why small problems become large ones fast.
Once a fly strike or infestation is established on a food source, it attracts even more flies. The chemical signals from the first wave of larvae and the advancing decomposition create a feedback loop that compounds the problem.
Risks to Livestock and Pets
Green bottle flies are one of the primary species responsible for flystrike, a condition where flies lay eggs on living animals. Adults are attracted to moist wounds, skin lesions, or fur soiled with urine or feces. Sheep are especially vulnerable around the breech area, where wool can become damp and soiled.
Once eggs hatch, the larvae feed on dead cells and wound secretions at first, but they irritate and kill successive layers of skin, eventually tunneling through the thinned outer layer into deeper tissue. This creates cavities in the skin that can reach several centimeters across. Mild cases cause rapid weight loss. Severe cases can be fatal from shock, infection, or tissue destruction. The initial strike also attracts additional flies, escalating the damage quickly. Pet rabbits and guinea pigs kept outdoors in warm weather face similar risks if their coats become soiled.
Health Concerns for Humans
Green bottle flies breed in garbage, feces, and carrion, then land on food and surfaces in your home. They can transfer bacteria from contaminated sources to anything they touch. Myiasis, an invasion of living tissue by fly larvae, is possible in humans but extremely rare with green bottle flies. Documented cases are isolated and typically involve open wounds or vulnerable individuals.
The more practical concern is food contamination. Green flies regurgitate digestive fluids onto surfaces as they feed, and their legs carry bacteria from whatever they last landed on. Keeping food covered and addressing the source of an infestation matters more than worrying about exotic conditions.
Their Role in the Ecosystem
Despite their unpleasant habits, green bottle flies serve important ecological functions. They are among the most effective decomposers in nature, breaking down animal carcasses and recycling nutrients back into the soil. They also turn out to be surprisingly effective pollinators. Green bottle flies frequently visit flowers to feed on pollen, which they need as a protein source to mature their eggs. Research has shown that blowflies are highly effective at depositing pollen, and they rank among the main pollinators in some agricultural systems.
Forensic scientists also rely heavily on green bottle flies. Because their development follows a predictable timeline at known temperatures, the age of larvae found on human remains can help establish time of death with useful precision.
How to Eliminate an Infestation
The only lasting solution is removing the source. If green flies are appearing indoors in large numbers, search for a dead animal in wall cavities, attics, basements, and crawl spaces. Check under and behind appliances, and inspect for broken drains or garbage disposals that might be leaking organic waste into hidden spaces. Once the source is gone, the flies stop breeding.
For outdoor problems, keep garbage bins tightly sealed and clean them regularly. Pick up pet waste promptly. If you compost, avoid adding meat, dairy, or cooked food. Repair damaged window screens and seal gaps around doors, siding, and where utility lines enter the building. Fly traps and sticky strips can reduce adult numbers in the short term, but they won’t solve the problem if the breeding source remains.

