Almost every failed bioactive terrarium traces back to the same two inches of gravel at the bottom. Water collects with nowhere to go, the substrate above it turns to soup, roots rot, springtails drown, and the keeper spends the next six months fighting mould that has nothing to do with mould treatment and everything to do with a drainage layer that was skipped, built too shallow, or blocked. The drainage layer is the least visible and most consequential part of the build. It is also the cheapest: the whole thing costs less than a single thermostat, and it is the one part of a planted enclosure that, done right, you will never have to touch again. This guide covers what a drainage layer does, how deep it needs to be, the five materials that actually work, how to build one step by step in a glass tank or a converted paludarium, the mistakes that silently break it, and how to tell when yours has failed.
What a drainage layer actually does
Water enters your terrarium from three sources: misting and spraying, condensation on the glass, and the moisture in the food your animal eats. In a sealed or mostly sealed enclosure, that water has to go somewhere. Gravity takes it down through the substrate, and if there is nothing to stop it, it pools on the glass bottom, saturating the soil, and drives out every pocket of air the roots and the cleanup crew need.
A drainage layer is a deliberately open, non-capillary zone at the bottom of the tank that water can drain into and sit in, without being wicked back up into the soil. Its four jobs:
- Gives excess water somewhere to go. Saturated substrate becomes anaerobic within days. Anaerobic soil smells like rotten eggs, turns grey or black, and kills the isopods and springtails that your whole cleanup strategy depends on.
- Protects the root zone from standing water. Roots need air as much as water. A 2-inch air gap below the soil keeps the lower substrate moist but never flooded, which is the condition virtually every tropical plant prefers.
- Prevents the glass from cracking unevenly and stops bottom rot. A permanently wet, unevenly heated bottom is a slow killer for arboreal snakes and terrestrial lizards that lie on the substrate.
- Hosts the microfauna. Springtails colonise the drainage layer interface, and in a paludarium it becomes the mechanical home of your biofiltration bacteria, which is why our terrarium cycling guide treats it as part of the filter, not just plumbing.
Note what it does not do. It does not purify water. In a paludarium the bacteria living on the surfaces of your drainage media do that, and they need time to establish, exactly as they do in an aquarium. And it does not solve over-misting: if you are pouring a litre of water into the tank every day, no drainage layer will save it.
How deep should it be?
The rule most keepers can use without measuring anything: drainage depth should be roughly one-third of your substrate depth. So a 4-inch soil build gets a 1.5-inch drainage layer, and a 6-inch deep tropical build gets 2 inches.
| Enclosure type | Substrate depth | Drainage layer | Notes |
|---|---|---|---|
| Shallow arid / desert setup | 2-3 in | None | Dry species rot in wet soil. Skip the layer entirely. |
| Standard tropical forest floor | 4 in | 1.5 in | The most common build. LECA or hydroton at this depth. |
| Deep planted tropical / dart frog vivarium | 5-6 in | 2 in | Heavy planting and daily misting need the full 2 in. |
| Paludarium / semi-aquatic | 0 (hardscape shelf) | 2-3 in plus pump plumbing | The layer doubles as the sump and filter chamber. |
More is not automatically better. A drainage layer deeper than about 3 inches wastes vertical space your animal could be using, and in a low enclosure it genuinely shrinks the usable footprint. Depth buys you buffer volume, not performance.
The five materials that actually work
1. LECA / expanded clay balls (hydroton, “clay pebbles”)
The standard choice, and the one this guide recommends by default. Inert, pH neutral, reusable, cheap by the bag, and light enough to lift out during a rebuild. The pores between the balls hold air and water, and the surface area hosts beneficial bacteria, which makes LECA a poor-man’s biological filter in a paludarium. Rinse it thoroughly before use: bagged hydroton is dusty, and that dust will cloud your water and clog your screen.
- Sizes: 4-8 mm for most builds, 8-16 mm for paludarium sumps where you want maximum open volume.
- Cost: low. A 10-litre bag covers most 40-gallon breeders.
2. Plastic egg-crate / light diffuser grid
The heavyweight option. A rigid grid of plastic cells that supports a deep substrate with almost no depth cost, and is essentially permanent. It is the go-to for paludarium hardscape and for any build with more than 4 inches of soil. Because it is a lattice, it holds nothing: pair it with a shallow ponding area or a drainage box, or water will just sit in open pans in places you cannot reach.
3. Gravel and aquarium stone
Works, and it is often free. Heavy, permanent, and hard to remove, but chemically inert if you use lime-free aquarium gravel. Avoid crushed limestone, coral sand, and anything sold as “seashell gravel” for a planted build: those buffer pH upward and will fight your plants and your pH-sensitive amphibians. Pea gravel in the 5-10 mm range is ideal.
4. Horticultural pumice and perlite
Pumice is light, porous, and genuinely good at holding both air and water. It is an excellent drainage material and a decent planting medium at the same time. Perlite is lighter and cheaper but floats on first watering, which looks alarming for about ten minutes and then settles. Both are fine; neither is as clean to handle as LECA.
5. Purpose-built false-bottom drainage boxes
Plastic modular boxes designed for this exact job, sold for bioactive and planted enclosures. Expensive, but they give you a defined sump volume and a flat, stable ceiling to build your soil on. Worth it for paludariums and for commercial-style builds, unnecessary elsewhere.
What does not work
Styrofoam packing peanuts dissolve into a static-generating mess. Untreated wood moulds. Compressed coconut fibre alone holds water rather than draining it (it is a soil amendment, not a drainage medium). Landscape rock with sharp fines packs down and becomes an impermeable slab. And do not use pool filter sand: it packs, drains nothing, and turns to concrete.
Step-by-step build
Step 1 – Clean the glass
Start with a genuinely clean tank. Wipe the bottom glass with vinegar and rinse. Residue and label adhesive block your view of the water line later, which is your only easy way to judge whether the layer is draining. Check for stress cracks at the same time; a drained, unevenly weighted bottom will find them.
Step 2 – Pour the drainage medium
Pour your LECA or gravel to the calculated depth. Level it by hand rather than shaking the tank: a level floor means water pools in one thin sheet instead of deep pockets. Two inches of hydroton in a 20-gallon long is roughly 8-10 litres, so weigh your bags rather than guessing.
Step 3 – Lay the barrier
This is the step people skip, and skipping it is what causes the classic failure. Soil will migrate down into your drainage layer over months until the two zones are one muddy mass. Put a separation layer between them:
- Fiberglass screen mesh (the cheapest and best option, sold by the roll as door screen)
- Shade cloth / landscape fabric – works, degrades slowly
- A dedicated false-bottom tray – rigid, best for paludariums
Cut the mesh larger than the tank footprint so it presses against the walls and cannot slump in the middle. If you are building a hardscape on top, this mesh is also what stops your hardscape from sinking into the gravel.
Step 4 – Build any water features and hardscape now
If you are running a paludarium with a hidden sump, a waterfall, or a false-bottom filter with a pre-filter sponge and a small submersible pump, this is the moment to place everything. Once soil is in, nothing can be reached without dismantling the enclosure. The general plumbing approach is covered in our paludarium guide.
Step 5 – Add the substrate
Now build your soil on top of the mesh. Use a mix that drains and holds air, not bagged potting soil straight from the garden centre. A reliable base for most tropical builds:
- 5 parts coconut coir or peat-free fibre
- 3 parts orchid bark or tree-fern fibre (air pockets)
- 1 part activated charcoal (odor control, mild impurity buffering)
- 1 part leaf litter (the cleanup crew’s food supply)
- A handful of pumice or perlite per bucket
Species-specific bedding choices are in our substrate guide. Pack the soil lightly: it will settle by about 10% over the first month, so build the finished level slightly high rather than exactly to the glass.
Step 6 – Add the cleanup crew and plants
Stock springtails before you add the animal, and give them leaf litter to live on. Isopods need hiding places, so put bark and leaf litter down before planting. Plants go in once the soil is moist, and the whole thing gets a thorough watering so the system settles. Full details on which species and how many are in our cleanup crew guide.
Step 7 – Add the animal last
Cycle the tank before the animal goes in, meaning let the moisture, plants, and microfauna stabilise for a week or two. This also matters for new animals: if your pet is newly acquired, run the quarantine protocol before introducing it to an established planted system, because mites are far harder to remove from leaf litter than from newspaper.
Do you need a drain valve?
For a sealed tropical vivarium, no. The water sits in the drainage layer and evaporates back up into the system; the substrate above stays permanently damp, which is exactly what you want, and you top up with misting. That closed loop is the point.
For a paludarium, yes. A shallow drainage zone needs a way to lower the water level and do partial water changes. Options are a bulkhead through the glass, a hidden siphon tube run under the substrate to a tap point, or simply a length of rigid airline tubing that you pump with a turkey baster. Plan this before you build, because drilling glass after the fact is a job nobody enjoys.
Maintenance: what to do and what never to do
- Check the water level once a week through the glass at the front corner. It should stay roughly constant. A steadily rising level means you are over-misting; a level that climbs to the mesh means the drainage layer has stopped draining.
- Smell test monthly. Healthy damp tropical soil smells like a forest floor: earthy, mushroomy, clean. Rotten eggs, vinegar, or sewage means anaerobic soil, which almost always means a flooded drainage layer.
- Look for springtails on the glass. Seeing them on the front panel is normal. Seeing none at all after the first month, while the soil stays soggy, means the layer is drowned.
- Never stir the soil deeply. You will drive mud into the drainage layer and destroy the air gap permanently.
- Never use a chemical desiccant, silica, or a “drying” additive. It kills the microfauna.
- Clean the glass, not the substrate. Algae on the outside is a light problem, and lighting choices are covered in our UVB lighting guide. Algae on the inside of a wet drainage zone is normal and harmless in the dark layer.
The five failures that break a drainage layer
1. No separation layer
Soil migrates down, the gap fills, and the whole thing becomes a waterlogged block of mud. This is the most common and most fatal failure. It shows up as chronic mould after two or three months and there is no fix short of a rebuild. Prevention: mesh. Always.
2. Drainage layer too shallow for the misting schedule
A half-inch of gravel cannot absorb a heavy daily misting plus condensation. If you use an automatic mister, check our automation guide and size the drainage for the actual volume of water you deliver per day, not for what looks tidy.
3. An impermeable sheet where the barrier should be
People sometimes lay plastic sheeting, a bin bag, or a solid pond liner under the substrate “to protect the floor.” That turns your drainage layer into a sealed puddle with no air exchange at all and the soil above it goes anaerobic. The barrier must be permeable. Liner goes on hardscape and water features, never between drainage and soil.
4. Uneven floor
Water finds the low corner, the deep pocket floods, and roots rot in one patch while the rest looks fine. Level the medium before you mesh it.
5. Blocked by a planted root mass or collapsed hardscape
A heavy piece of wood can compress the mesh into the gravel, or dense roots can fill the gap. Both are prevented by using egg-crate or a rigid tray under anything heavy, and by choosing plants that do not send down aggressive taproots into a 2-inch zone.
Warning signs: when to stop and fix it
Most of these are fixable. Two of them are not, and knowing the difference saves you a rebuild.
- Persistent rotten-egg smell. Anaerobic soil. Drain the excess: open the tank, syringe out standing water, reduce misting frequency, and increase airflow. If the smell persists for two weeks with airflow fixed, the soil layer is gone and needs replacing.
- Grey or black soil at the bottom, slimy to the touch. Same diagnosis. Check the mesh for a soil bridge; that is the usual cause.
- Mould that returns within days of removal. Pointing at humidity and airflow rather than at mould, so read our humidity control guide before you reach for anything chemical.
- Plants wilting while the soil is visibly wet. Classic root rot from a flooded zone. Cut back misting and check for the impermeable-sheet mistake.
- Springtail population collapse. They drown in a flooded layer and they desiccate in a dry one. Either way, a disappearing population is your earliest and most reliable indicator that the water balance has drifted.
- The animal lying in the wettest spot, or avoiding a region of the enclosure. Chronic damp at the floor causes scale rot in lizards and snakes and belly rot in amphibians. Our scale rot guide covers what to do once it has already started.
- Water visibly pooling above the mesh when you lift a corner of the soil. The layer is full and no longer functioning. Time to rebuild it.
When to see a vet
A drainage layer problem is an enclosure problem, not a medical one, and it is fixed with a spade. It becomes medical when the animal has already absorbed the consequences: unexplained weight loss with a persistently damp enclosure, skin lesions that do not heal, laboured breathing in a chronically damp tank, or a reptile that has stopped eating for two or more weeks. Amphibians are especially unforgiving of chronic damp, and the red-flag list is in our amphibian health guide. Take a photo of the enclosure and a water sample reading to the appointment: an exotic vet can diagnose far faster with the parameters in hand.
Frequently asked questions
Do desert and arid enclosures need a drainage layer?
No. A bearded dragon or leopard gecko enclosure should be dry at the bottom. Adding a drainage layer to an arid setup creates exactly the damp rot you are trying to avoid. Drainage layers are for humid tropical builds and paludariums only.
Can I build a drainage layer in an aquarium I already have?
Yes. Any glass enclosure with a flat bottom works. Just verify the glass is rated for the weight: 2 inches of gravel in a 40-gallon breeder is a substantial load, and it should sit on a stand rated for it.
How do I empty the water out of the drainage layer?
In a sealed tropical build you should not need to, since it evaporates and recycles. If you have flooded it, use a length of rigid airline tubing and a turkey baster or a small pump to draw it off from a corner. In a paludarium, use the drain you planned at build time.
Does the drainage layer go above or below the heater?
Below, and the heat source stays outside the tank wherever possible. Heat mats clamp to the side glass, never under the floor of a flooded build, and the reasoning is in our temperature gradient guide.
Will springtails drown in the drainage layer?
They live at the interface between soil and drainage, on the surface of the water film and the walls of the tank, and they float. A healthy population will not drown in a properly functioning layer. A flooded one will.
How long does a drainage layer last?
Indefinitely, if the separation layer is in place and you never stir the soil. It is a one-time build cost that, done right, outlives the tank.
Build checklist
- [ ] Tank glass cleaned, inspected for cracks, stand weight-rated for the finished build
- [ ] Drainage depth calculated at roughly one-third of planned substrate depth
- [ ] LECA or gravel rinsed and dust removed
- [ ] Medium poured and hand-levelled to a flat floor
- [ ] Separation mesh cut oversized and pressed against the walls
- [ ] Any pump, plumbing, or water feature placed before soil goes in
- [ ] Substrate mixed (coir / bark / charcoal / leaf litter / perlite) and laid on top
- [ ] Leaf litter and bark added for isopod habitat
- [ ] Springtails stocked and given a week to establish
- [ ] Plants added to moist soil, finished level built slightly high
- [ ] Tank watered thoroughly and left to settle for 1-2 weeks
- [ ] Temperature and humidity verified with a calibrated thermometer and hygrometer
- [ ] New animals quarantined before entering the planted system
- [ ] Tank location chosen away from direct sun and draughts, per our placement guide
- [ ] Weekly water-level check and monthly smell test scheduled
The bottom line
Two inches of LECA and a sheet of screen mesh are the cheapest insurance you will ever buy for a planted enclosure. Build the layer to a third of your substrate depth, separate it from the soil, put the plumbing in before the dirt, and stock the cleanup crew before the animal. Do those four things and the bottom of your terrarium will quietly do its job for years. Skip them and you will spend the life of the tank fighting a problem that started on day one. The full equipment picture, including how the drainage layer fits with lighting, heating, and automation, is in our complete terrarium equipment guide.

Leave a Reply