How Do Terrariums Work? A Scientific Guide (By a Scientist!)

Terrariums are a wonderful bridge between science and horticulture.  

After all, creating a tiny tropical ecosystem encased in glass is an experiment as much as it is a project. Get it right, and they can even be fully self-sustaining.

We just need to set the right conditions and balance the various natural processes at play.

Now, to understand these (water and carbon) cycles and apply them to a terrarium project, we first need to first get a sense of how they work in the Earth’s ecosystems at large. Then we’ll know how to shrink them down to size.

In this guide, we’ll cover just that and more!

So, how do terrariums work? Let’s find out.


Terrarium Tribe is reader-supported. When you purchase through links on our site, we may earn an affiliate commission (at no further cost to you). 💜

How Does a Closed Terrarium Work?

The core concept of what makes a closed terrarium work is its own personal microclimate.

Sealed up tight in a closed container, your terrarium even has its own weather! (Of sorts).

That’s why a balanced terrarium ecosystem can drive the same natural processes that drive the Earth. Namely, the Water Cycle and the Carbon Cycle.

Just on a much smaller scale… and somewhat simplified.

Photosynthesis, respiration, decomposition, and nutrient cycling – all play out in terrariums too.

These natural mechanisms work in harmony to keep our plants nourished and healthy. So, if we know how these play out on a wider scientific level, then it helps us understand how a terrarium can sustain life (and how to apply them to a project).

So, in the rest of this guide, we’re going to deep dive into each of these cycles, and then we’ll later pull it all together in how a complete terrarium ecosystem works.

Understanding the Water Cycle in a Terrarium

On our planet, the Water Cycle describes the many ways that water moves through the ocean, land, and atmosphere. An endless loop of water collection, relocation, and redistribution. 

In short, this can be summed up into these three key steps.

  1. Water evaporates from the surface to become water vapor in the atmosphere.
  2. Water vapor cools and condenses to form clouds. 
  3. Water then returns to the Earth in the form of precipitation.
You can see the precipitation here in this humid terrarium, both in droplets and a hazy screen.

Of course, the full process has many smaller steps and nuances (depending on the environment). But when it comes to terrariums, the process is much simpler.

There’s only one focus that really matters, and that’s plants.

Plants are the primary drivers and recipients of the terrarium water cycle. They take water in via their roots and later release it through their leaves in a process known as transpiration. That’s what keeps the cycle moving.

Transpiration is the movement of water from the soil through a plant (via roots and tissues) and out of the leaves into the atmosphere.

So, where does this water cycle begin in a terrarium?

  1. We add water by spraying the terrarium, and the precipitation drips down into the substrate (just like rainfall) and coats the inner surfaces of the terrarium.
  2. Here, the plants’ roots can absorb the water, taking it up into the plant tissues. Eventually, that water is released through their stomata as part of their transpiration cycle.
  3. When the environment warms up, the surface water (from the leaves and glass) evaporates to become water vapor in the air.
  4. Later, when the environment cools down, water condenses on the inside of the cool glass surfaces.
  5. Finally, that water drips down into the substrate as precipitation once more – beginning the cycle again.

See the similarities with our own world?

In a completely sealed environment, there should be no water loss. So once you have the perfect amount to balance the system – you can stop there.

(Though in practice, a lot of seals are not 100% airtight and so lose a bit of water over time. It’s the difference between never having to water a terrarium vs. every month or so).

👉 Check out my guide on how to water a terrarium for more practical advice. 

The Carbon Cycle in Terrariums

The Carbon Cycle follows the movement of carbon atoms through the Earth’s natural processes.

It’s present in everything from the cells in our bodies to the very air that we breathe. So, thankfully, once again, we’re narrowing our focus to just plants and terrariums here.

So, in practice, the “Terrarium Carbon Cycle” is much easier to understand.

It’s essentially the movement of carbon from the terrarium environment (the atmosphere and the soil) into the plant – and back again.

Simple right?

Let’s break that down into two key processes.

Atmospheric Carbon Cycles – Photosynthesis and Respiration

Okay, seeing as carbon is already present in the air we breathe – in the form of atmospheric carbon dioxide – we can be sure it’s already present in our terrariums when we seal them up.

So, the first step in the cycle is arguably the one that draws atmospheric carbon into the plant.

That’s why photosynthesis could be considered the biological driving force behind the plant aspect of the Carbon Cycle.

Photosynthesis is the process where plants combine sunlight energy and CO2 to produce oxygen and glucose.
photosynthesis equation

So we can see now how plants utilize carbon to fuel themselves, but that doesn’t answer the question of how the plants get a consistent supply of fresh CO2 in a sealed container.

If plants need carbon dioxide to produce energy, that would seemingly eventually run out in a sealed container, wouldn’t it?

Thankfully, our plants are sealed in there with something else – bacteria!

Just like in nature, there are billions and billions of bacteria in the soil. These are all undergoing cellular respiration – using oxygen to break down glucose (to energy in the form of ATP) and producing CO2 in the process. 

Plants actually do this, too, just on a much smaller scale.

cellular respiration equation

So you can see, in a well-balanced terrarium, there is an equilibrium between plant transpiration and (mostly) microbial respiration.

Decomposition Carbon Cycles – The Nutrient Cycle

The other part of the equation is how those solid biological carbons (the ones locked up in plant tissues) return to the environment. This is a cycle, after all.

Naturally, when plants drop leaves or perish entirely, those plant tissue carbons need to be broken down and extracted before they can move on and be reused elsewhere.

On our planet, this is the Decomposition Carbon Cycle – and it’s driven by two key players.

  • Microflora – Bacteria and fungi in the soil are responsible for most of the heavy lifting and actual decomposition work.
  • Microfauna – Tiny bugs and insects that help the process along by feeding on decomposing material and breaking it down into simpler compounds. Think isopods, springtails, and worms, to name just a few!

In a terrarium, it’s exactly the same! 

Well, most likely a much more simplified version (it’s near impossible to fully replicate a natural ecosystem of decomposers), but the effect is the same. 

A terrarium that utilizes microfauna and microflora to drive the nutrient cycle in a terrarium is called a bioactive terrarium.

Springtail culture with food
Springtails are a common addition to terrariums.

The Full Closed Terrarium Ecosystem

Now, do you want to know how to make a terrarium ecosystem that can fully sustain itself? 

You’ll need to put everything above into practice (and hope for the best).

In essence, this means balancing:

  • Moisture levels so that there’s enough to drive the water cycle but not so much that your plants rot (adding too much water is a quick way to end a terrarium).
  • Light levels, so your plants get plenty of energy for photosynthesis, but not so much that the Sun burns their delicate leaves.
  • Bioactivity so that carbon can be effectively recycled from the atmosphere and the plant matter. You need enough microflora and microfauna, but only enough that your terrarium can support.
  • Plants so that there is sufficient plant biomass to fuel the whole process. 
Jewel orchid terrarium with ferns
More plants = more photosynthesis & more respiration!

All of this is easier said than done. After all, natural ecosystems have built-in buffers for when things go wrong, whereas a terrarium ecosystem is a lot more fragile. 

With all of this in mind, it’s easy to get the feeling that we need to get everything perfect for it to work.

However, terrarium-making is not an exact science.

Unlike a food recipe, there is no formula for guaranteed success. Sure, it’d be nice if it was as simple as “Mix one cup of plants + one jug of water and whisk thoroughly till you have an even horticultural batter.”

Alas, the perfect “terrarium cake” recipe is different every time…

Every terrarium has its own unique ingredients, environment, and care requirements. So it’s up to you to figure out how to make it work.

How Long Do Terrariums Last?

If you’ve managed to balance every cycle perfectly, you could theoretically have a terrarium that lasts indefinitely.

The oldest closed terrarium is reportedly over 50 years old (as demonstrated by David Latimer).

I’ve also spoken to several people who’ve reached out looking for advice on similarly aged terrariums, so it’s certainly possible. The key really does seem to be just leaving them alone! 

All that said, perfectly balanced terrariums don’t really exist.  

The super-old terrarium ecosystems tend to not be the healthiest or the prettiest, so the idea of an “eternal terrarium” that you never open isn’t necessarily a goal to aim for.

A well-maintained terrarium (with a bit of luck) can absolutely last for many years, too.

👉 See my article How Long Do Terrariums Last for a more in-depth look.

Wrapping Up

Phew, if you’ve made it this far – well done!

We’ve pulled together a lot of different concepts to get the full picture of how a terrarium works. For what a terrarium is, we have this terrarium overview.

To get some more actionable advice for your next project, check out my terrarium care guide!

2 thoughts on “How Do Terrariums Work? A Scientific Guide (By a Scientist!)”

  1. Hi Dan, Rae and everyone.
    I’ve just bought myself a large green bottle terrarium (currently empty) as I’ve been interested in them for a while.
    I have plenty to learn and I fell like I’m going to enjoy delving into something new and creating something I can love and care for, or just observe.
    Quite excited! 😬

    Best wishes, Dan.

  2. Thank you, Dan – this looks properly authortitative (I have read so much cr*p on this topic before getting here). I think the key point is that, while plants do release some CO2 during the night, they need the cellular respirration (whatever that is!) of bacteria to do most of the CO2 generation needed to keep the atmosphere in balance.

Leave a Comment

Your email address will not be published. Required fields are marked *