Where do those freakin’ gnats come from? How can I get rid of them? —
We have Fungus gnats and phorrid flies because we keep our vivariums too wet. The best (and easiest) way to get rid of them is to let our substrates dry down, and stop over watering. Simple, right?
Not quite so simple. Keepers over water their vivariums for a number of reasons – all well intentioned, almost all misguided. So it is probably just as important to understand how and why to stop over wetting our vivariums. The first mistake is installing a drainage layer (See: Why We Dont Need or Want Drainage Layers). The second mistake is over using a misting system, (See: How to Stop Abusing Your Misting System). Adding too much water is probably the single biggest mistake we herpetoculturists make with our vivs. There is a whole bioactive industry out there that encourages this mismanagement. (See: Why We Should Avoid Bioactive Suppliers).
A lot of over watering comes from a misunderstanding of the humidity needs of our animals and how to provide it (See: The Humidity Mystery Unraveled). The current paradigm mistakenly states that the best way to raise humidity is to apply water from above. In fact the best way to provide humidity for most of our animals is from the substrate – from below. Even dart frogs and tree frogs do not need daily misting in a properly designed enclosure. In fact daily misting is detrimental to the captive environment you have created as well as the species you are keeping – and not just because it attracts flies!
There is a lot of bad information floating around social media about fungus gnats and phorid flies. Keepers often seem confused about where they come from and how to get rid of them. Lets address each of those areas …
Both fungus gnats (Orfelia and Bradysia species) and phorid flies (Megaselia scalaris) are attracted to moist, decomposing organic matter – like the vivarium you insist on over watering.
Phorid flies are attracted to decomposing animal matter as well as vegetable matter. They are sometimes called coffin flies because of their attraction to dead things – like dead people in coffins (1) or scuttle flies because they tend to run across surfaces rather than fly. (2)
Fungus gnats are attracted to damp, decomposing organic matter. They lay eggs in places like our kitchen drains and under the rims of our toilets. And once established in those places they are very difficult to get rid of. In our vivariums they lay eggs in wet substrate, on rotting fruit or vegetables or decomposing leaves, moss, etc.
Where Do They Come From?
First, where they DON’T come from is potting mix. We often hear that they are brought into the home in bags of potting mix. But any quality potting mix is heated to 140F through the composting process used to create the product – a temperature that will kill insects and their eggs. If bags of potting mix have flies its because they have tears or holes in them that the flies entered probably while sitting on the retailer’s shelves. Just look over bags to make sure they dont have holes when you buy them. (See: Why Potting Mix is the Perfect Substrate)
But the flies certainly CAN come from the green house. Eggs laid in the pots while at the green house can hatch after we get the plants home and planted in our cages, or just while they are sitting in the window looking pretty. People will often bring a plant home and repot it with a bag of potting mix, then blame the potting mix for the flies when in fact it was the plant that introduced the pests.
They can also come from top soil, or products containing top soil that have not been sanitized. (See: Top Soil Doesnt Belong in Vivariums). By the way, in the US top soil is not sanitized or composted and so can contain all the pathogens we would find in nature: viruses like snake fungal disease, parasites like round worms, or pathogenic bacteria. It also quickly compacts, which drives out air pockets killing off aerobic bacteria that we have to have for bioactivity (3). In short – do not use top soil, or any product with the word “soil” in the name, or with “soil” listed as an ingredient.
And they can just arrive from outside like regular ‘ol house flies from the outside.
The problem is that by the time we see one, there are probably dozens of eggs already laid in the substrate or on rotting food or feces. So the most likely answer to the question “Where are they coming from?” is that they are probably coming from our poorly managed vivariums! This is also why trying to eliminate them by killing the adults is often futile – as long as one escapes the problem will continue (4)
How Can I Get Rid of Fungus Gnats and Phorrid Flies?
First what wont work: mosquito dunks. And yes, I know everyone suggests them. The problem here is that in order to be effective at killing the larvae in the substrate you need to create a “drench”, which soaks the soil and which makes the over all situation much worse. Now we have a saturated soil drenched with a bacteria (Bacillus thuringiensis subspecies israelensis or Bti, aka Gnatrol) that killed the fly larvae but which will take weeks to dry out, attracting flies all the time before it does. This approach is counter productive! (5)
The situation is similar with nematodes (Steinernema feltiae), which can work under some circumstances but which require a moist top layer of substrate, which we do not want in our vivs. Simpler solutions are at hand. (5)
The other thing that wont work is sticky traps, for the reasons mentioned above. They are also very dangerous around our herps. An animal that simply brushes up against a sticky trap is often hopelessly tangled by the time we discover the problem. Sticky traps can help reduce the adult population of flies, but the adult flies are already short lived and will be quickly replaced by the hatching young.
What will work is simple: Dry down your vivarium. If you have already saturated your substrate by over watering or over misting, open your cage doors, mix up the potting mix substrate to bring the lower, wetter strata up to the top. Keep the heat up to encourage evaporation. And then STOP OVERWATERING! Once we dry the substrate down to where it should be the eggs and larvae will die off. Problem solved.
We do not have to keep the substrate dry however. Water evaporating off substrate is important to maintain the humidity levels we may want. So when the substrate is dried down well we water again, and water well. Misting the top layer is not what we are after here. We want to water enough to wet the lower levels of substrate – but just barely. Then let the whole thing dry down again – much the way soil will in nature between soaking rains.
Because potting mix has been carefully designed to encourage water movement through it, the moisture in the lower layers will wick up and be evaporated off the surface. This produces humidity for the captives (See: The Humidity Mystery Unraveled) and allows the surface of the substrate to dry down while the lower levels stay slightly damp. Our friends the flies can only use the top inch of substrate to lay their eggs, so with that drier surface they have no way to reproduce. And that IS simple.
Now all you have to do is make sure you dont leave food (animal or plant) to rot in the cage. Flip waste into the substrate, or rinse it in with a hand mister, or spot clean if flies appear to be using the animal waste to their advantage. With a well designed enclosure you will rarely have to even spot clean – spraying waste into the substrate or flipping it over into the substrate with a scoop spoon will be more than sufficient. You may find you dont even have to do that!
1.) https://nhm.org/stories/coffin-fly
2.) https://extension.psu.edu/phorid-flies
4.) https://www.pubs.ext.vt.edu/content/dam/pubs_ext_vt_edu/ENTO/ENTO-433/ENTO-433.pdf
5.) https://ipm.ucanr.edu/PMG/PESTNOTES/pn7448.html
- Feeding Garter Snakes – Why so much bad advice?Please feel free to share this to help clear up the confusion around feeding garter snakes! Cutting to the chase: Feed baby garter snakes chopped up night crawlers – adding … Continue reading Feeding Garter Snakes – Why so much bad advice?
- Review of the EcoFlex Mojave 36″ CageOver all this appears to be a good, sturdy cage – at a very low price. I am impressed with its build quality and a couple key features often lacking … Continue reading Review of the EcoFlex Mojave 36″ Cage
- Costs and Links for 4×2 Cage ConstructionIt’s much less expensive to build a nice, but simple 4x2x2 cage than it is to buy one. And depending on which cage you buy, your home made cage may … Continue reading Costs and Links for 4×2 Cage Construction
- Why is Ball Python Care So Abysmal?I recently got kicked out of a big ball python group. I joined out of curiosity and was immediately surprised at 1.) How many BP keepers seemed to want to … Continue reading Why is Ball Python Care So Abysmal?
- The Easy, Fast and Effective Way to Treat Snake MitesThere is a lot of confusion and misinformation about snake mites and how to get rid of them. This 5 minute read will explain the best way to attack the … Continue reading The Easy, Fast and Effective Way to Treat Snake Mites
- Are We Wrong about Humidity Requirements for Emerald Tree Boas and Green Tree Pythons?Debate continues around the humidity requirements of green pythons and emerald tree boas. In part, I think, because there are some misunderstandings about the role of humidity in the snakes’ … Continue reading Are We Wrong about Humidity Requirements for Emerald Tree Boas and Green Tree Pythons?
- Why Hybridize Eastern Indigo Snakes?1. What Are We Protecting?2. The Benefits of Hybridization3. The Fears of Hybridization There is a lot of concern over my plan to produce hybrids from Eastern indigo snakes (Drymarchon … Continue reading Why Hybridize Eastern Indigo Snakes?
- The Herp Hobby 2.0 is Coming … Many are not gonna like it.There is some understandable terror rippling through the herp business these days. The reaction to my last post on the subject made me realize the fear has caused some to … Continue reading The Herp Hobby 2.0 is Coming … Many are not gonna like it.
- Working Groups for Reptile and Amphibian Standards of Care in the US (draft)Introduction The Facebook Page is here for more info:https://www.facebook.com/profile.php?id=61555253836773 In general humans seem to be increasingly concerned over the quality of care we provide our pets. Even improvements for livestock … Continue reading Working Groups for Reptile and Amphibian Standards of Care in the US (draft)
- Shall We Kill Invasive Wildlife?Killing invasive wildlife is almost always a political act, not a biological one. Im annoyed by the people on Reptile ID groups, and elsewhere, that advise people who post pictures … Continue reading Shall We Kill Invasive Wildlife?
- A Nearly Perfect Snake Cage for Nearly No MoneyYou need very little of what is often suggested “` This Guide will walk you thru the simple steps needed to create a nearly perfect snake cage – and explain … Continue reading A Nearly Perfect Snake Cage for Nearly No Money
- The “Diverse Diet” MythThe pursuit of diversity in our pets diet may be doing more harm than good! I decided to write about this topic of diverse (or varied) diets for reptiles – … Continue reading The “Diverse Diet” Myth
- Wild Caught, Big Breeder, Pet Store and Imported Herps?Is it Ethical to Buy Wild Caught or Imported Reptiles and Amphibians? — Catching Wild Reptiles and Amphibians I think its great that there seems to be a trend towards … Continue reading Wild Caught, Big Breeder, Pet Store and Imported Herps?
- Whats Wrong with Tall CagesThe design flaws inherent in tall cages — On the surface it seems like sound advice – arboreal reptiles and amphibians should be provided tall cages. But in most cases, … Continue reading Whats Wrong with Tall Cages
- Poisonous VS VenomousWhy BOTH are often correct — Its become a rather obnoxious trend on social platforms that when ever anyone mentions a poisonous snake, some know-it-all jumps in to correct them. … Continue reading Poisonous VS Venomous
- What’s Wrong with ThermostatsMostly we don’t need them — Most every care sheet you read will instruct you to incorporate a thermostat of some sort into your vivarium design. So maybe its surprising … Continue reading What’s Wrong with Thermostats
- Are Ball Pythons Arboreal?Ball pythons are not a semi-arboreal species, even though they have been found off the ground. — The short answer is no, Python regius, the ball or royal python is … Continue reading Are Ball Pythons Arboreal?
- The SunThe Role of Radiation in Herpetoculture — The sun bathes the earth in heat and light – radiation. Our animals have evolved over millions of years in an intricate dance … Continue reading The Sun
- Nitrogen, Nitrates and NitritesLions and Tigers and Bears, Oh My! —- After a lot of years trying different substrates for herps, I found a good quality potting mix to be simply the best. … Continue reading Nitrogen, Nitrates and Nitrites
- Managing Substrate MoistureA Critically Important and Often Misunderstood Aspect of our Hobby — The substrate in our vivariums has some important duties. But they can not perform these duties if they have … Continue reading Managing Substrate Moisture
- When and How to Use Mist and Rain SystemsMisting and Fogging Systems are Often Misused — There is a place for overhead precipitation systems in herpetoculture – fog, rain or mist – but they are not common. The … Continue reading When and How to Use Mist and Rain Systems
- Why Drainage Layers SuckThere is almost never a good reason to use them — I dont think there is any aspect of modern herpetoculture quite as ridiculous as the drainage layer. Incorporating a … Continue reading Why Drainage Layers Suck
- The Humidity MysteryHumidity should come from substrate, not misting — How often have we read of a keeper complaining that they cant get their enclosures to the humidity levels stated on care … Continue reading The Humidity Mystery
- Are Clean-up Crews a Waste?CUCs are largely a waste of time and money — I think it will come as something of a shock for some to learn that the whole “Clean-up Crew” thing … Continue reading Are Clean-up Crews a Waste?
- What’s Wrong with Coconut Husk Substrate?These waste products from the coconut industry are not good substrates — There are a lot of different coconut husk products sold as substrate for our enclosures. These are a … Continue reading What’s Wrong with Coconut Husk Substrate?