A DIY enclosed ecosystem is a sealed or mostly sealed container—typically a glass jar or bottle—planted with moisture-tolerant plants and small soil organisms so that light, water, and gases cycle within it, but it is a short-to-medium-lived microcosm, not a truly self-sustaining or self-regulating ecosystem; the "ecosystem in a jar" survives only as long as light, temperature, and waste processing stay balanced.
That single condition—balance over time—is what separates a working sealed terrarium from a jar of rotting plants. Everything below explains how the balance works, what organisms can realistically live inside it, and where the idea of a "self-sustaining closed ecosystem" stops being true.
What "Enclosed" Actually Means in Practice
Enclosure is a spectrum, not a binary. The degree of sealing determines which cycles are closed and which are open.
Sealed, semi-sealed, and open terrariums
A fully sealed container (lid gasketed, or a corked bottle) closes the water cycle: water transpired by plants condenses on the glass and returns to the substrate. It also substantially closes the gas exchange, though not completely—glass and most closures are not perfectly airtight, and a planted jar actively consumes CO₂ and releases O₂ in light while reversing that in darkness.
A semi-sealed container (a loose lid, a screen, occasional opening) leaks water vapor and gases continuously. It is much easier to keep alive because excess moisture and heat can escape, but it requires occasional watering.
An open terrarium is not really "enclosed" in the relevant sense; it behaves like a miniature potted planting with high humidity and needs regular water.
The practical implication: the more completely you seal it, the more the system depends on internal balance and the less you can intervene—so errors compound rather than being corrected by you.
The water cycle is the first thing to balance
In a sealed jar, water has nowhere to go but around in a loop. That means the amount of water you add at setup is, in effect, the amount the system will have indefinitely (barring tiny leakage). Too much water and the substrate stays saturated, roots suffocate, and anaerobic decay produces sour smells and mold. Too little and plants wilt irreversibly before condensation returns enough.
The visual indicator most growers use is condensation on the glass: a light, clearing film in the morning that largely disappears by midday is a reasonable sign; heavy persistent fog or standing water in the substrate indicates excess. This is a heuristic, not a measurement, and it varies with room temperature and light.
The Living Components and What Each Can Realistically Do
Plants
Suitable plants are small, slow-growing, and tolerant of consistently high humidity: many ferns, Fittonia, miniature Pilea, some Begonia, Selaginella, certain mosses, and small tropical terrarium species. Unsuitable plants are succulents and cacti (they rot in sealed humidity), fast-growing vines that outgrow the space, and anything needing strong airflow.
A key constraint most beginners miss: plants grow. A sealed jar has a fixed volume of light, space, and nutrients. A plant that doubles in size changes the balance—shading its neighbors, demanding more water and nutrients, and producing more transpiration. Long-term sealed terrariums often fail not from neglect but from the plants outgrowing their container.
Microorganisms and the soil community
The substrate is not inert. Soil contains bacteria and fungi that decompose dead plant matter and organic matter, releasing nutrients and CO₂. In a sealed jar this decomposition is essential—without it, dead leaves accumulate and nutrients lock up. But decomposition also consumes oxygen, and in a waterlogged sealed jar it can shift toward anaerobic processes that produce hydrogen sulfide and other compounds harmful to roots.
Springtails and isopods are commonly added to sealed terrariums as detritivores; they eat mold and decaying matter and are genuinely useful for keeping visible mold in check. They are not a closed-loop solution, though: they need food, and their population is limited by available decaying matter. They also need oxygen, and a heavily planted, well-lit sealed jar can deplete oxygen at night when plants respire and stop photosynthesizing—though in most small jars the volume and leakage make this a slow, not sudden, problem.
Light as the external input
Light is the one input that is genuinely external and cannot be recycled. Photosynthesis requires photons, and no amount of recycling replaces them. This makes light the fundamental limit: a sealed ecosystem cannot be truly self-sustaining because it must continuously import energy. The "closed" part is matter (especially water and gases), not energy.
This is the same reason real closed ecological experiments (like Biosphere 2) needed massive external energy and still struggled. A jar is a tiny, imperfect analogue.
What Actually Kills a Sealed Terrarium
Understanding failure modes is more useful than any recipe.
Overwatering is the most common cause. Saturated substrate → root rot → anaerobic decay → foul smell → collapse. The fix at setup is to use a drainage layer (gravel or leca) and a modest amount of water, then resist the urge to add more.
Mold blooms after setup are common and often temporary—fresh substrate and disturbed soil trigger fungal growth. Springtails help; excessive moisture makes it worse. Persistent fuzzy mold on living plants is a sign of excess humidity and poor airflow.
Nutrient exhaustion is slow but real. A sealed jar has a fixed nutrient pool; plants and microbes consume it. Without replenishment, growth stalls. This is why "self-sustaining forever" claims are overstated—many sealed terrariums persist for months to a few years, then decline.
Temperature swings are amplified in small volumes. A jar on a sunny windowsill can overheat and cook its contents; a cold snap can stall growth. Stable, moderate room temperature and bright indirect light are safer than direct sun.
Pest and pathogen introduction from non-sterile materials can spiral in a sealed environment where you cannot easily intervene.
Setting One Up: The Practical Sequence
1: Choose a clear container with a lid. Glass jars, bottles, and cloches work; ensure it is clean. 2: Add a drainage layer of rinsed gravel or expanded clay, then a thin barrier (mesh or charcoal) to keep soil from mixing in. Charcoal is often cited for odor control; its practical benefit in a small jar is modest but harmless. 3: Add a suitable substrate: a moist, well-draining mix, not garden soil straight from outside, which brings unpredictable organisms and pests. Sterilized or purpose-made terrarium substrate reduces surprises. 4: Plant small, compatible species with similar light and moisture needs. Leave room for growth. 5: Add springtails if you want detritivore help against mold. 6: Water sparingly—a light misting, not a soak—then seal. 7: Place in bright, indirect light and observe condensation for the first week, adjusting water only if the jar is clearly too wet or too dry (and opening it briefly if so).
What "Self-Sustaining" Can and Cannot Mean
A sealed terrarium can be self-maintaining for a period in the sense that it needs no watering and its internal water and gas cycles function without intervention. It cannot be self-sustaining indefinitely because:
It needs continuous external energy (light). It has a finite nutrient pool. Its organisms grow, die, and change the balance. It is not perfectly sealed, so slow exchange occurs.
The honest framing is a balanced microcosm with a lifespan measured in months to a few years, dependent on species choice, container size, and stability of the environment. Larger volumes and slower-growing plants tend to last longer; tiny jars with fast growers tend to fail sooner.
Common Misconceptions
"It's a closed loop, so I never open it." You should open it if conditions are clearly wrong—excess water, mold outbreaks, or smell. The seal is a design choice, not a rule.
"Any plant works." Humidity-loving, slow-growing, small plants work; succulents and sun-lovers do not.
"Springtails make it self-cleaning." They help with mold and detritus but are themselves part of the system and need food and oxygen.
"Bigger is harder." Usually the opposite: larger volume buffers temperature and moisture swings better than a tiny jar.
FAQ
Can I use tap water? Chlorinated tap water can harm soil microbes; letting it stand or using filtered/rainwater is gentler, though small amounts are usually tolerated.
Why did my terrarium turn sour? Almost always overwatering leading to anaerobic decay. Drainage layer and restraint at setup are the prevention.
Will it really never need water? A well-sealed jar can go months without watering, but "never" is not guaranteed; slow water loss and plant growth eventually require adjustment.
Do I need a cleanup crew? Not strictly, but springtails or isopods reduce mold and decaying matter and improve longevity.
Is this a real ecosystem? It is a simplified, human-managed microcosm. It exhibits some ecosystem processes (nutrient cycling, decomposition, gas exchange) but lacks the self-regulation, scale, and external energy flows of a natural ecosystem.
The takeaway: a DIY enclosed ecosystem is a rewarding, low-cost way to observe plant–soil–water interactions up close, provided you treat it as a balanced, time-limited microcosm rather than a perpetual self-sustaining world.