Bugs in a terrarium fall into two categories: the ones you want and the ones you don’t. Beneficial microfauna like springtails and isopods keep your terrarium’s ecosystem healthy by eating mold, breaking down waste, and recycling nutrients back into the soil. Pest species like fungus gnats sneak in uninvited and can damage plant roots. Knowing which bugs you’re looking at, and what to do about them, is the difference between a thriving terrarium and a frustrating one.
The Cleanup Crew: Bugs That Keep Terrariums Healthy
A “bioactive” terrarium relies on living organisms to maintain itself. Instead of manually removing dead leaves, wiping mold, or replacing soil, you let tiny invertebrates do the work. The standard cleanup crew consists of two groups: springtails and isopods. Together, they eat decaying organic matter, control fungal growth, and turn waste into plant-available nutrients. Most terrarium keepers add both, since they fill slightly different roles.
Springtails: Your Mold Control Team
Springtails are barely visible, jumping insects (technically hexapods) that live in moist soil. Most are white or translucent and about the size of a pinhead. Their primary job in a terrarium is eating mold. They consume fungal threads and spores along with decaying plant and animal material, which makes them extremely effective at preventing the fuzzy white mold blooms that plague enclosed terrariums.
The most commonly sold species for terrariums include Folsomia candida (a temperate species) and Coecobrya tenebricosa (a tropical species suited to warm, humid setups). They’re typically sold in cultures of 500 or more on a charcoal or substrate base. For a standard terrarium under 20 gallons, a single 8-ounce culture is enough to establish a population. Larger enclosures over 60 gallons benefit from two cultures.
Springtails reproduce quickly in the right conditions. They need consistent moisture and organic material to feed on. In a well-sealed tropical terrarium, they’ll establish themselves within a few weeks and maintain their population indefinitely. If your terrarium dries out, their numbers will crash, but they can bounce back once moisture returns.
Isopods: The Heavy Lifters
Isopods, commonly known as pill bugs or roly-polies, are the larger half of the cleanup crew. They tackle bigger jobs: chewing through leaf litter, breaking down decaying wood, processing animal droppings in vivariums that house reptiles or amphibians, and generally cycling organic waste into soil nutrients.
For tropical terrariums, Dwarf White Isopods (Trichorhina tomentosa) are one of the most popular choices. They thrive at room temperature (70 to 80°F) with humidity above 50%, though 80% or higher is ideal. Their small size makes them well suited to compact enclosures where larger isopod species might overwhelm the space. Other widely used species include Powder Orange Isopods (Porcellio pruinosus) and Orange Isopods (Porcellio scaber), which tolerate a broader range of humidity levels and work well in semi-arid setups.
Isopods need a regular supply of decomposing wood and leaf litter, both as food and as shelter. Cork bark, driftwood, and softwoods like cholla wood give them places to congregate and graze. They also benefit from calcium supplementation, which supports their exoskeletons. A pinch of calcium-rich powder every few days keeps a colony healthy. You can supplement their diet with vegetables like squash or carrots, and they’ll eagerly eat small amounts of protein-rich foods like dried shrimp.
A typical starter colony for a small to medium terrarium is around 20 to 25 isopods. For enclosures over 60 gallons, starting with 50 or more of each species gives the population a better foothold. It takes several weeks to a few months for a colony to establish and begin visibly maintaining the enclosure.
Earthworms and Other Additions
Earthworms are sometimes added to bioactive setups, but they’re a supplemental choice rather than a core cleanup crew member. They excel at aerating soil and breaking down organic matter, and their castings enrich the substrate. The catch is they need at least four inches of substrate depth and consistently moist conditions to survive. They also can’t replace springtails for mold control.
In most standard-sized terrariums, earthworms don’t fare well. They need room to burrow deeply and prefer setups with established root systems. Their tunnels can also disrupt the look of a carefully arranged substrate. They stay underground almost exclusively, surfacing only in complete darkness, so they add no visual interest. For deep tropical builds with ample soil, they’re a useful bonus. For everything else, springtails and isopods are the better investment.
Fungus Gnats: The Most Common Pest
If you see tiny flies hovering around your terrarium, they’re almost certainly fungus gnats. Adults are roughly 1/16 to 1/8 inch long with slender legs, long segmented antennae, and light gray or clear wings. They tend to rest on the soil surface or run across foliage, and they’re drawn to moist, organically rich substrates, which is exactly what most terrariums provide.
The adults are mostly a nuisance, but the larvae cause real damage. Fungus gnat larvae are small, legless, and whitish with shiny black heads. They live in the top layer of soil, feeding on fungi and organic matter but also chewing plant roots. In heavy infestations, root damage can stunt growth or kill young plants entirely. A wilting terrarium plant that seems to have enough water may actually be suffering from larval root damage. When populations are high, larvae can leave visible slime trails on the soil surface that resemble tiny snail tracks.
Their life cycle is fast. At 75°F, eggs hatch in about three days, larvae develop over roughly ten days, and adults emerge four days after pupation. A complete generation takes only about 17 days, which means a small problem becomes a large one quickly in the warm, humid conditions terrariums provide.
How To Deal With Fungus Gnats
Prevention is the best strategy. Springtails compete with fungus gnat larvae for the same food sources, so a well-established springtail population can suppress gnat numbers. Allowing the top layer of soil to dry slightly between waterings also discourages egg-laying, though this isn’t always practical in sealed tropical setups.
For active infestations, predatory mites offer a biological control option that works within the terrarium ecosystem. Stratiolaelaps scimitus (sometimes sold under its older name Hypoaspis miles) is a soil-dwelling predatory mite that feeds on fungus gnat larvae, thrips pupae, and other small soil organisms. A single adult female can consume up to 4.5 pest larvae per day. They need moist soil with loose structure and organic matter, and temperatures above 59°F, conditions most terrariums already provide. Introduction rates run between 100 and 500 mites per square meter of surface area.
One thing to note: predatory mites will also eat springtails if pest prey is scarce. In a well-stocked terrarium with plenty of organic matter, the springtail population is usually large enough to sustain minor predation. But in a small, newly established setup, introducing predatory mites before the springtail colony is established could set back your cleanup crew.
Other Pests To Watch For
Spider mites occasionally appear in terrariums, especially open-top ones. They’re extremely small and tend to cluster on the undersides of leaves, producing fine webbing. Unlike fungus gnats, spider mites prefer drier conditions, so they’re less common in sealed tropical builds and more of a risk in arid or ventilated setups. Isolating affected plants and increasing humidity usually helps control them.
Thrips are another occasional invader, identifiable by silvery streaks or stippled damage on leaves. Their pupae drop into the soil, which is part of why predatory mites like Stratiolaelaps are effective against them. If you’re seeing tiny elongated insects on leaf surfaces combined with discolored patches, thrips are the likely culprit.
Building a Balanced Bug Population
The goal with terrarium bugs isn’t elimination. It’s balance. A healthy terrarium has thousands of springtails, a steady isopod colony, and possibly other soil organisms all working together to process waste and cycle nutrients. Problems arise when pest species enter the system and reproduce faster than the ecosystem can regulate them.
Start your cleanup crew several weeks before adding plants if possible, giving them time to colonize the substrate. Use a moisture-retaining mix like ABG (a blend of tree fern fiber, charcoal, sphagnum moss, and bark) or coco coir with added earthworm castings, which feeds both your plants and your microfauna. Add leaf litter on top as both food and habitat for isopods. Keep the substrate consistently moist but not waterlogged.
If you’re introducing new plants, inspect them carefully before adding them to the terrarium. Fungus gnat eggs and larvae commonly hitchhike in potting soil. Rinsing root balls and repotting in clean substrate before placing plants in your terrarium cuts down significantly on pest introductions. Quarantining new plants for a week or two in a separate container lets you spot problems before they reach your established ecosystem.