If you have chickens, you have flies. It is an unavoidable part of backyard poultry keeping. But are these buzzing pests just an annoyance, or do they pose a real threat to your flock’s health? The truth is, while a few flies are harmless, a fly infestation is a serious problem that can spread disease, cause stress, and lead to a potentially fatal condition called fly strike.
In this guide, I cover the dangers flies present and give you a complete battle plan for prevention, natural repellents, and effective traps based on what has actually worked in my coop and what experienced keepers consistently recommend.
In a Hurry? Here’s the Bottom Line
| Concern | Key Takeaway |
|---|---|
| Are flies dangerous? | Yes. They spread diseases like Salmonella and E. coli, and can cause fatal fly strike (myiasis) |
| Prevention priority | Relentless coop cleanliness and moisture management eliminate 80% of fly problems |
| Most effective trap combo | Baited jar trap plus sticky fly rolls placed 3-5 feet apart reduces populations within 72 hours |
| Natural solutions | Herbs, vinegar sprays, food-grade Diatomaceous Earth, and Sweet PDZ all work as part of a multi-pronged approach |
| Fly strike response | Medical emergency. Isolate the hen, remove visible maggots with warm water, and call a veterinarian immediately |
The Hidden Dangers: Why Flies Are More Than Just a Nuisance
Flies are not just annoying; they are vectors for disease and stress. They spend their time feasting on manure and garbage before landing on your chickens’ food and water, creating a perfect opportunity to spread harmful pathogens.
Disease Transmission
Flies are well-documented carriers of bacteria. According to Homestead Essentials, a single housefly can carry millions of microorganisms on its body, including those that cause serious illnesses in both chickens and humans. They can easily contaminate your flock’s food and water with bacteria like Salmonella and E. coli, which can lead to severe diarrhea, lethargy, and a drop in egg production.
The contamination pathway is straightforward: flies land on manure, pick up bacteria on their legs and bodies, then land on your flock’s feed or water. Every time a fly touches down, it potentially deposits pathogens. This is why fly control is not just about comfort; it is about flock health.
Stress and Reduced Production
A constantly buzzing flock is a stressed flock. Swarms of flies cause hens to become agitated, leading to reduced egg-laying and a weaker immune system that makes them more susceptible to other ailments. In my own coop, I have seen stressed hens become more prone to feather picking and aggressive behavior during heavy fly seasons. When I finally got the fly population under control, the pecking order problems noticeably decreased.
The Threat of Fly Strike (Myiasis)
The most severe danger is myiasis, commonly known as fly strike. This happens when flies, particularly blowflies, lay eggs on a chicken, often near the vent or in an open wound. The eggs hatch into a writhing mass of maggots that feed on the chicken’s living flesh, causing immense pain and potentially leading to a fatal infection within 24-48 hours if untreated.
Fly strike progresses rapidly. Blowfly eggs can hatch within 8-12 hours in warm weather, and the larvae immediately begin feeding. This is why daily visual checks of your flock, especially around the vent area, are non-negotiable during fly season.
Can Chickens Get Sick from Eating Flies?
Yes, while chickens enjoy eating flies as a natural source of protein, there is a small risk. The flies themselves are generally not the problem, but if they have recently landed on contaminated material, they can transfer bacteria to your chicken. The much greater danger is from flies contaminating the coop environment.
According to The Chicken Coop Company, it is definitely not safe to let chickens eat flies from traps, as they may contain poison or be full of concentrated bacteria. Keep all traps well out of your flock’s reach.
Know Your Enemy: Why Your Coop is a Fly Paradise
To control a fly problem, you have to understand why flies are attracted to your coop in the first place. A chicken coop provides everything a fly needs to thrive: food, moisture, and a place to lay its eggs.
The “Big Three” Attractants
Manure: This is the number one reason flies gather in your coop. It is not just food for them; it is their primary breeding ground. A female fly can lay 500-600 eggs over her 30-day lifespan, depositing them in batches of 75-150 eggs at a time, primarily in moist manure.
Moisture: Spilled water from leaky drinkers, damp bedding, and high humidity create the perfect environment for flies to lay eggs. According to ImaginAcres, wet or compacted litter is a fly magnet. When they switched from sand to pine shavings, their coop stayed much drier and fly problems decreased significantly.
Food: Spilled feed and kitchen scraps are a buffet for flies and can also attract rodents. This is especially true for fermenting fruits or vegetables. As Fresh Eggs Daily notes, food residue can be a huge fly attractant in the hot summer months, which is why scraps should always go outside the coop, never inside.
Understanding the Fly Life Cycle
The key to getting rid of flies in your chicken coop naturally is to break their life cycle. A fly goes through four stages: egg, larva (maggot), pupa, and adult fly.
| Stage | Duration | Where It Happens | Your Intervention Point |
|---|---|---|---|
| Egg | 8-24 hours | Moist manure, wet bedding | Remove breeding material daily |
| Larva (maggot) | 4-7 days | Inside manure/organic matter | DE and lime dry out larvae |
| Pupa | 3-6 days | Slightly drier areas near manure | Fly predators target this stage |
| Adult | 15-30 days | Everywhere | Traps and repellents |
If you can stop the eggs from hatching and the maggots from maturing, you will control the fly population. This is why sanitation is far more effective than simply swatting adult flies or hanging traps alone.
The 4-Pronged Attack: How to Get Rid of Flies in the Chicken Coop
Fly control requires a comprehensive approach. Here is a battle plan to attack the problem from all sides, based on what has consistently worked for experienced keepers.
Prong 1: Coop Management (Your First Line of Defense)
This is the most critical step. According to The Prairie Homestead, you cannot out-trap a messy coop. If you do not control the environment, you will always be fighting a losing battle.
Install a Droppings Board
One of the most effective changes I made was installing a droppings board under the roost. ImaginAcres calls this a “poop deck” and notes that cleaning it more frequently was a game changer for fly control. The board catches 70-80% of daily droppings in one convenient location.
To clean it, simply scrape the droppings into a bucket each morning and add fresh pine shavings. The whole process takes about 2 minutes and removes the primary fly breeding material before eggs can hatch.
Manure Management Options
You have two main approaches for managing manure beyond the droppings board:
Regular Clean-outs: A light “poop scoop” daily or every other day is a simple but effective habit. According to The Chicken Coop Company, you should clean poop trays and remove droppings from the coop at least once a week, or twice a week during hot, humid weather when flies are most active.
The Deep Litter Method: You add a fresh layer of carbon-rich bedding (pine shavings, shredded leaves) every few days and turn the bedding weekly. As one commenter on The Prairie Homestead noted, “The first and foremost method for keeping flies down in the chicken coop is the deep litter method.”
Choosing the Right Bedding
The bedding you use can make a huge difference. ImaginAcres found that sand held too much moisture in humid summers, but once they swapped to pine shavings, the coop stayed much drier and smelled better too.
However, another keeper on the same site reported great success with sand: “I use sand in my run. It breaks down the waste rapidly. About twice a year I mix in a $10 bag of PDZ. We have no flies, and no smell.”
The key factor is moisture management, not the bedding type itself. Whatever you choose, it must stay dry.
Moisture Control
Ensure your waterers are not leaking and are placed in a spot where spills can be easily cleaned up. Consider switching to a nipple or cup waterer to prevent spillage entirely. ImaginAcres also recommends improving ventilation by adding extra vents to the coop, which keeps the air moving and the bedding drier. For more on proper airflow, see my guide on coop ventilation requirements.
Another effective moisture control measure is covering your run. ImaginAcres installed a roof with a slight overhang over their outdoor run to keep rain out, eliminating the soggy, stinky ground that attracted flies.
Feed Storage and Cleanup
Store all feed and supplements in sealed, rodent-proof containers. Do not leave spilled feed on the ground. Fresh Eggs Daily uses enamelware covered roasting pans for chicken feed: “It’s easy to just put the cover on each evening to keep flies and mice out of the feed.”
ImaginAcres emphasizes picking up leftover treats: “I still give the girls the occasional treat, but I always clean up any fruit they don’t eat within an hour or two. It keeps flies and other pests from showing up for a snack.”
Prong 2: Natural and DIY Fly Repellents
Harness the power of natural substances to make your coop a less appealing place for flies.
Herbal Power
Flies hate the smell of many common herbs. According to Fresh Eggs Daily, effective fly-repelling herbs include basil, bay, bee balm, chamomile, lavender, lemon grass (citronella), mint, rosemary, and thyme.
You can use herbs in several ways:
- Hang bunches of fresh herbs in the coop near windows and doors
- Place fresh or dried herbs in nesting boxes
- Mix dried herbs into your nesting box bedding
- Plant an herb garden close to the coop (though you will need to protect it from the chickens)
One reader on ImaginAcres shared their success: “I snipped a handful of peppermint, basil and rosemary all over the bedding and nesting boxes and run along with a good dusting of diatomite earth and it worked great. Pretty soon the flies subsided and I ended up just snipping basil over the bedding and it kept the flies completely away.”
Vanilla Car Air Fresheners
This unconventional tip appears multiple times in keeper forums. According to The Prairie Homestead comments, vanilla-scented car air fresheners (the tree-shaped ones) dramatically reduce fly populations: “I bought a dozen off Amazon (about a buck apiece). I put 4 out in a perimeter around the coop (out of reach for the chickens) and the number of flies was reduced dramatically almost overnight.”
Another keeper confirmed: “The vanilla tree car freshener works for us! We used to have terrible fly problems in the hottest parts of the summer, but we heard about this and have no more swarms.”
Homemade Fly Spray Recipes
A simple and safe homemade spray can work wonders. Meyer Hatchery recommends this recipe:
Basic Coop Spray:
- 1/2 cup water
- 1/2 cup white vinegar (or apple cider vinegar)
- 25 drops of essential oil (mint, lavender, or citronella work well)
Spray when all chickens are out of the coop and let the spray dry completely before allowing the flock back in.
ImaginAcres uses a similar approach: “A mix of water, white vinegar, and a few drops of peppermint or citronella oil made a great natural repellent. I mixed it in a spray bottle and sprayed it around the pen roof, coop doors, and windows (not directly on the birds or their food).”
A more comprehensive recipe from The Prairie Homestead comments: “I have great success mixing a couple of ounces of apple cider vinegar and about the same amount of both vanilla extract and Pine-Sol with about an ounce or two of barn and stable spray for flies into a 1-gallon sprayer. I spray about every other day and managed to keep the flies at bay.”
Important Note: A common mistake chicken keepers make is using too much essential oil, which can harm a chicken’s delicate respiratory system. Stick to 25-30 drops maximum per spray bottle, and always allow the coop to ventilate before letting chickens back in.
Prong 3: The Power of Powders (DE, Lime, and PDZ)
Powders can help manage moisture and deter pests, but it is crucial to use the right type and apply them correctly.
Using Diatomaceous Earth (DE) for Flies
Diatomaceous Earth is a natural powder made from the fossilized remains of diatoms. According to The Prairie Homestead, DE works from a mechanical aspect, not a chemical one, as it tends to dry out insects and make areas less hospitable for larvae.
How to apply DE:
- Sprinkle it on the coop floor and in corners
- Add it to bedding, especially in damp areas
- Mix it into dust bath areas
- Apply around feeders where spilled food attracts flies
Critical DE Safety Guidelines:
- Always purchase food-grade diatomaceous earth, not the pool-grade version
- Wear a mask while applying; it is a fine particulate that can cause lung irritation
- Allow the dust to settle and the coop to ventilate before allowing chickens back in
- According to Fresh Eggs Daily, DE is safe if chickens eat some, as it is actually added to human cereal and other foods for its anti-caking properties
The key with DE is not to expect it to be a “miracle fix,” but rather a component of a full fly-prevention program.
Does Lime Help with Flies? (Critical Safety Information)
This is a critical safety point that many keepers get wrong. There are two types of lime:
| Type | Chemical Name | Safety | Use Case |
|---|---|---|---|
| Agricultural/Garden Lime | Calcium carbonate | SAFE | Helps dry out manure, reduces odor, adjusts pH to discourage larvae |
| Hydrated Lime | Calcium hydroxide | DANGEROUS | Never use in chicken coops |
Agricultural lime is safe and can be used to help dry out manure and reduce odor. A light dusting under fresh bedding or directly on damp manure neutralizes odor (which draws flies) and changes the pH so larvae have a harder time developing.
Hydrated lime (calcium hydroxide) is highly alkaline and DANGEROUS for chickens. It can cause severe chemical burns to their feet and respiratory damage if inhaled. The packaging often looks similar, so always read the label carefully. If it says “hydrated,” “slaked,” or “caustic,” do not use it.
Sweet PDZ: The Odor Eliminator
Sweet PDZ is a non-toxic zeolite mineral that absorbs ammonia and moisture, reducing the odors that attract flies. One keeper on ImaginAcres shared their success: “I use sand in my run. About twice a year I mix in a $10 bag of PDZ. We have no flies, and no smell. My coop is about 15 feet from my patio, and it is such a pleasure to see and hear my 5 girls with none of the usual negative aspects of keeping chickens.”
PDZ is particularly effective in droppings boards and high-traffic areas where ammonia builds up quickly.
Prong 4: Trapping Flies (Reducing the Adult Population)
While prevention is key, trapping can help reduce the adult fly population and provide immediate relief during an infestation.
The Most Effective Trap Combination
ImaginAcres discovered that combining two trap types produces dramatically better results than either alone:
“I started with the sticky fly roll, hanging several around the coop near the windows and vents. They worked, sort of. They caught a fair number of flies, but it wasn’t enough to put a real dent in the swarm. Then I tried the hanging jar trap, and wow, that’s when things really changed… To speed things up, I hung a fly roll right next to the trap. That way, the flies hanging around the area had another place to land. Holy moly, did it work. Within three hours, the roll was completely coated.”
After five days of rotating fly rolls and refilling the bait trap, they were finally back to just a few flies buzzing around the coop.
Sticky Fly Rolls
ImaginAcres recommends the TERRO Super Fly Roll over traditional yellow fly ribbons: “They don’t twist in the wind, they stay put, and the flies really stick to them.”
Critical placement warning: Never hang sticky traps inside the coop or run where chickens can reach them. As ImaginAcres learned the hard way: “Chickens will absolutely fly into them, get stuck in the dead-fly goo, and then panic because they can’t get it off.”
Hang them near doors, windows, vents, or outside the coop entirely.
Baited Jar Traps
The Starbar Captivator is a reusable plastic jar trap with a strong-smelling, non-toxic attractant. Flies enter through a cone-shaped opening and cannot escape. These traps are highly effective for large populations but smell terrible, so hang them 10-15 feet away from the coop door.
Pro tip from ImaginAcres comments: “I dont use the attractant that comes with fly jars. I save raw chicken scraps or buy cheapest chicken I can find and add it to the jar. I have an acre and we use 3-4 jars that we put out every spring. I empty it every 4-6 weeks and start over with fresh raw chicken. It is a smelly job… may make you gag… but it saves you from the fly madness!”
Another tip: “You can place a small square of beef in some water, it will attract flies in short order. Once you trap flies they themselves will attract more flies. When dumping leave some of the flies in the jar, don’t add more water.”
DIY Plastic Bottle Fly Trap
According to The Chicken Coop Company, you can make an effective trap from materials in your recycling bin:
Materials:
- Clean, empty 2-liter soda bottle
- Water, sugar, and a splash of vinegar
Instructions:
- Cut the top third off the soda bottle
- Fill the bottom portion with water, a few tablespoons of sugar, and a splash of vinegar (the vinegar helps keep bees away)
- Invert the top part (so it forms a funnel) and place it into the base
- Tape the two parts together securely
- Set the trap outside the coop, near areas where flies congregate but away from your chickens’ main living space
Flies are attracted to the sugary scent, crawl into the funnel, and cannot find their way back out.
Apple Cider Vinegar Fly Bowl
The Chicken Coop Company recommends this simple trap:
- Pour about half a cup of raw, unfiltered apple cider vinegar into a shallow dish
- Add a few drops of dish soap (this reduces surface tension, causing flies to sink)
- Leave the dish uncovered near problem areas
Flies are attracted to the smell, land on the surface, and sink into the solution. Replace every 2-3 days.
The Water Bag Trick
An old method that some keepers swear by involves hanging water-filled bags near coop entrances. According to Homestead Essentials, this method is believed to confuse flies and keep them from entering the coop.
One keeper on ImaginAcres shared their specific method: “I have chickens and ducks and do not have a fly problem. I simply hang a few gallon size ziploc bags around my coop half full of water. In that water I add a couple tablespoons of baking soda and a few pennies. It works wonders in keeping flies away.”
While not scientifically proven, it is inexpensive enough to try.
Using Beneficial Insects (Fly Predators)
Fly predators are tiny beneficial insects that target and feed on fly larvae, breaking the life cycle before adult flies emerge. According to The Prairie Homestead, “Hands down the best way I’ve found to battle fly populations around the coop are fly predators.”
How fly predators work:
- Order fly predator pupae (they arrive by mail)
- Let the bag sit for a few days until the tiny predators begin to hatch
- Deposit them in key spots (manure piles, compost areas) around your barnyard
- The adult predators feast on the pupa of flies, breaking the fly life cycle
Important caveat: According to Homestead Essentials, it is important to place the predators where chickens cannot access them, as chickens may try to eat the pupae. Deposit them under structures, in deep compost piles, or in protected areas.
Fly predators work best as a preventive measure started in early spring before fly populations explode. They are not a quick fix for an existing infestation.
Install Window Screens
A simple but often overlooked solution: Fresh Eggs Daily recommends installing regular window screen over coop windows and air vents (in addition to predator-proof hardware cloth). This keeps flies and other pests from entering your coop and bothering your chickens while they sleep.
All About Fly Strike: Prevention, Identification, and Action
Fly strike is a terrifying and life-threatening condition. Knowing how to prevent it and what to do if it occurs is critical for any chicken keeper.
What is Fly Strike (Myiasis)?
Fly strike occurs when a fly (usually a blowfly or bottle fly) lays eggs on a chicken, typically in a soiled area around the vent or in an open wound. The eggs hatch into larvae (maggots) within 8-12 hours in warm weather, and the maggots immediately begin feeding on the chicken’s flesh.
The condition progresses rapidly:
- Hours 0-12: Eggs laid, invisible to casual observation
- Hours 12-24: Eggs hatch, tiny maggots begin feeding
- Hours 24-48: Maggots grow rapidly, tissue damage spreads
- Hours 48-72: Severe tissue damage, toxin release, potential organ failure
- Beyond 72 hours: Often fatal without intensive veterinary intervention
How to Prevent Fly Strike
Prevention is your best defense. A clean coop and a clean flock are essential.
Daily vent checks: During fly season (warm months), visually inspect each chicken’s vent area daily. Look for soiled feathers, matted areas, or any sign of moisture that could attract flies.
Address “poopy butt” immediately: If a hen has feces matted around her vent, gently wash the area with warm water and pat dry. Trim feathers around the vent if needed to prevent future soiling. Determine the underlying cause; diarrhea from dietary issues or illness needs to be addressed.
Treat wounds promptly: Any open wound, no matter how small, can attract flies. Clean wounds with saline solution and apply a poultry-safe wound spray. Keep injured birds in a clean, fly-free recovery area until healed.
Maintain healthy birds: Chickens that are lethargic, sick, or unable to groom themselves properly are at higher risk. Address health issues promptly and consider isolating vulnerable birds during peak fly season.
Signs of Fly Strike
Fly strike is a medical emergency. Watch for these warning signs:
- Lethargy or depression
- Isolation from the rest of the flock
- Foul, rotting odor
- Visible maggots (white, wriggling larvae) around the vent, wounds, or in feathers
- Wet, matted feathers in the affected area
- Reluctance to move or sit in an unusual position
- Loss of appetite
Immediate Action for Fly Strike
If you suspect fly strike, take immediate action. Speed is critical.
Step 1: Isolate the hen from the rest of the flock in a clean, dry, fly-free area.
Step 2: Assess the damage. Gently examine the affected area. You will likely see maggots in the wound or under the skin.
Step 3: Remove visible maggots. Gently wash the area with warm water to flush out as many maggots as possible. Use tweezers to carefully remove any maggots that remain. This is unpleasant but necessary.
Step 4: Clean the wound. Rinse thoroughly with saline solution or diluted betadine. Pat dry gently.
Step 5: Apply wound care. Use a non-stinging antiseptic spray or wound powder.
Step 6: CALL A VETERINARIAN IMMEDIATELY. Fly strike often causes deeper tissue damage than is visible on the surface. A vet can provide antibiotics to prevent secondary infection, pain medication, and proper wound care. They may also have products specifically designed to kill remaining larvae.
Can a Chicken Survive Fly Strike?
Yes, a chicken can survive fly strike with prompt and proper treatment, but the survival rate depends heavily on how quickly the condition is caught and treated. Early-stage fly strike (within the first 24 hours) has a much better prognosis than advanced cases where extensive tissue damage has occurred.
Even with successful treatment, recovery is slow. The chicken will need ongoing wound care, likely antibiotics, and should be kept isolated in a clean environment until fully healed. Know when to call the vet for situations like this.
Seasonal Fly Control Calendar
Fly pressure varies throughout the year. Here is a seasonal approach to stay ahead of the problem:
| Season | Fly Pressure | Priority Actions |
|---|---|---|
| Early Spring | Low but increasing | Deploy fly predators; deep clean coop; repair any ventilation issues |
| Late Spring | Moderate | Begin daily droppings board cleaning; hang first traps; apply DE |
| Summer | Peak | Twice-daily droppings removal; rotate traps frequently; daily vent checks; maximum ventilation |
| Fall | Decreasing | Maintain cleaning routine; prepare coop for winter; final fly predator shipment |
| Winter | Minimal | Focus on moisture control and ventilation; flies less active but still present |
Frequently Asked Questions
What about the small black flies in my chicken coop?
These are likely fungus gnats or fruit flies, which are attracted to dampness and fermenting matter. The same cleaning and drying principles apply. Focus on removing wet bedding and spilled feed. Fungus gnats particularly thrive in overly moist soil or bedding; improving drainage and ventilation usually resolves the problem.
My neighbor’s chickens are causing a fly problem at my house. What can I do?
The best first step is a friendly conversation. They may not be aware of the problem. You can share some of the tips from this article. If the problem persists, check local ordinances regarding livestock nuisance complaints.
How do I prevent flies from hatching in the first place?
The key is manure management. Flies must have a moist, organic substrate to lay their eggs. Remove wet manure and bedding within 24-48 hours to break the life cycle before eggs can hatch. Using DE and agricultural lime helps dry out any remaining material, making it inhospitable for larvae.
What is the best way to clean a chicken coop to prevent flies?
A thorough cleaning protocol:
Remove all bedding completely
Scrape down roosts, droppings boards, and all surfaces
Scrub with a solution of equal parts water and white vinegar
Let the coop dry completely in the sun (UV light is naturally antimicrobial)
Apply a light dusting of DE or agricultural lime
Add fresh, dry bedding
See my complete guide on keeping your chicken coop from smelling for more details.
Can chickens eat maggots?
Yes, chickens love eating maggots and they are an excellent source of protein. Some chicken keepers deliberately farm maggots (from non-toxic sources like grain or produce scraps) as a treat for their flock. The danger comes only from maggots on a chicken’s body (fly strike) or from contaminated sources like garbage or dead animals.
Are there any commercial products I can use?
Yes, several commercial products are available, including fly bait stations, fly baits (which contain insecticides), and premise sprays. However, it is crucial to read labels carefully and only use products that are explicitly labeled as safe for use in or around poultry. According to The Chicken Coop Company, look for products labeled safe for use around livestock or poultry to ensure you are not introducing harmful toxins into your chickens’ environment.
Does the water bag with pennies trick actually work?
The science is unclear, but many keepers report success. The theory is that the light refraction through the water confuses flies or makes them perceive a predator. At roughly $0.50 per bag to try, it is worth testing. Some keepers add baking soda to the water as well. Results vary; some swear by it while others see no effect.
How often should I replace fly traps?
Sticky fly rolls should be replaced when they are heavily coated with flies (every few days during peak season). Baited jar traps should be emptied and refilled every 4-6 weeks, or sooner if the bait dries out or becomes ineffective. One tip from experienced keepers: leave some dead flies in the jar when refilling, as they help attract more flies.

Oladepo Babatunde is the founder of ChickenStarter.com. He is a backyard chicken keeper and educator who specializes in helping beginners raise healthy flocks, particularly in warm climates. His expertise comes from years of hands-on experience building coops, treating common chicken ailments, and solving flock management issues. His own happy hens are a testament to his methods, laying 25-30 eggs weekly.