The first sign was a frog ignoring fruit flies. The second was tiny black flies rising from the vivarium floor every time I misted. Fungus gnats had found the one corner of my 90 cm vivarium where the polymer blend stayed permanently saturated, and by the time I noticed, each evening misting was hatching a new generation. Eight weeks later the population was zero, using no chemicals and no sticky-trap theater, just a systematic removal of the wet organic pockets where their larvae feed.
Fungus gnats are the most common pest complaint in planted amphibian enclosures, and most advice online is written for houseplant keepers, not for a sealed vivarium with a frog inside it. This article maps the gnat life cycle onto a vivarium floor specifically, showing which substrate conditions breed them, which drying changes actually shrink the population, and what to do when the frogs depend on the very moisture you need to reduce.
Adult gnats live about a week and lay up to two hundred eggs in the top centimeter of consistently wet, organically rich substrate. Larvae hatch within four days and feed on fungi and decaying plant matter for about two weeks before pupating. That cycle tells you the breeding real estate: not the whole floor, but specific zones, usually under the water dish, against the front glass where misting runoff collects, and inside the top layer of any peat-heavy mix. In my tank the epicenter was a drainage gap behind the false bottom where fiber had compacted into a permanent swamp. Find your zone by pressing a white paper towel onto the substrate overnight; larvae show as movement against the white in the morning.
The standard houseplant advice, let the top dry completely, kills dart frog humidity, so the vivarium version is targeted drying. I cut misting duration in half for three weeks, re-pointed the nozzle away from the front glass, and siphoned out the compacted swamp pocket, replacing it with a firmer polymer blend that holds water inside the gel instead of on the fiber surface. That last change is the structural fix: larvae need free water and fungus in the fiber, whereas a well-hydrated gel layer stores moisture in a matrix larvae cannot colonize. Humidity at leaf level dropped only from 88 to 81 percent, well inside range for my thumbnail species, and the generation clock simply ran out. Adult numbers fell by half in ten days and hit zero by week five.
Springtails eat gnat eggs and fungus and are worth doubling during a bout, but they will not clear an infestation alone. Carnivorous plants such as butterworts catch adults at the margins and look charming on a cork background. Mosquito bits soaked in water and applied as a drench work for houseplants, but I avoid any pesticide in an enclosure with porous-skinned amphibians and a bioactive cleanup crew; the drying strategy plus culture work made chemicals unnecessary. Yellow sticky traps also have no place inside a frog tank, though they are excellent diagnostic tools on the outside of the mesh lid to count adults and track the decline.
Every gnat problem I have seen traces to one design flaw: an organic layer that stays saturated at the surface. Build the next enclosure with the moisture stored below the biology, in a contained hydrated gel layer capped by a thinner, faster-draining organic cap, and keep front-glass runoff routed to the drainage layer with a slight substrate slope. Source your material as clean super absorbent polymer powder, hydrate it before use, and inspect the floor with a flashlight once a week. Gnats are a symptom of a wet surface, and a floor that keeps its water in the gel instead of the fiber is a floor they cannot breed in.
Zhengzhou Flor New Materials Co., Ltd. specializes in SAP super‑absorbent polymer products. Serving personal hygiene, agriculture & horticulture, pet supplies and other industries, we leverage supply‑chain resources to provide particle‑size selection, performance matching and customized solutions based on clients’ practical requirements.
© 2026. All Rights Reserved.