docs / articles / Ultimate Guide: What to Put in a 40 G...

Ultimate Guide: What to Put in a 40 Gallon Terrarium Setup

Philip Jun 28, 2026 2026-06-28

Setting up a 40 gallon terrarium opens up a world of creative possibilities, allowing you to cultivate a lush, miniature landscape or house a specific collection of reptiles. Unlike smaller enclosures, this size offers a true canvas for design and the stability required for a balanced ecosystem. The key to success lies in understanding the specific needs of your inhabitants and planning the internal components with intention, from the foundational layer to the final decorative touch.

Turn an Aquarium into a Terrarium
Turn an Aquarium into a Terrarium

Foundational Layers: Building the Base

Self-Sustaining Terrarium You Can Make at Home
Self-Sustaining Terrarium You Can Make at Home

The first consideration for what to put in a 40 gallon terrarium is the foundational structure, which serves both functional and aesthetic purposes. You cannot simply fill the bottom with standard potting soil, as this would lead to waterlogging and root rot. A proper substrate layer is essential for drainage, root health, and maintaining the correct humidity levels.

  • Drainage Layer: This is the critical bottom layer, typically 2-3 inches deep, composed of lightweight materials like LECA (clay pebbles), pumice, or crushed stone. Its sole job is to prevent the soil above from becoming saturated by allowing excess water to drain freely into a reservoir.
  • Barrier Layer: A thin mesh or screen placed over the drainage layer prevents the finer particles of substrate from washing down and clogging the space below. This ensures the drainage layer remains effective over time.
  • Substrate: The top layer is your soil or soil mix. For a bioactive terrarium, a nutrient-rich, airy mix is vital. For a riparian setup, you might use a more moisture-retentive sphagnum moss mix. The choice directly dictates what plants will thrive.
10 Stunning Dart Frog Tank Ideas You Can Actually Build at Home
10 Stunning Dart Frog Tank Ideas You Can Actually Build at Home

Essential Functional Components

Beyond the substrate, there are key functional items that transform a simple container into a habitable environment. These components are non-negotiable for the health and well-being of any inhabitants, whether they are plants or animals.

a woman standing in front of a fish tank with plants on it and the caption reads creating a bio - active terrarium part 2
a woman standing in front of a fish tank with plants on it and the caption reads creating a bio - active terrarium part 2

For a terrarium housing reptiles or amphibians, the enclosure must become a functional ecosystem. This means managing temperature, humidity, and light in a way that mimics their natural habitat.

  • Lighting: Standard household lighting is often insufficient. You will need specific UVB and heat lamps for reptiles to facilitate vitamin D3 synthesis and proper thermoregulation. For a planted terrarium, full-spectrum grow lights are necessary to mimic the sun.
  • Heating: A reliable heat source, such as a ceramic heat emitter or a deep heat projector, is crucial for maintaining the proper ambient temperature, especially if the room is cool.
  • Thermometers & Hygrometers: You cannot manage what you do not measure. Digital probes are essential for monitoring the temperature gradient and humidity levels within different zones of the tank.

Choosing Live Plants

8+ Creative Fish Tank Terrarium Ideas
8+ Creative Fish Tank Terrarium Ideas

If your goal is a lush, green landscape, selecting the right flora is a central part of what to put in a 40 gallon terrarium. The size of the enclosure allows for a diverse arrangement of plants, creating varying heights and textures. The key is to choose species that thrive in similar environmental conditions.

For a humid, closed terrarium, look for tropical plants that enjoy high moisture and indirect light. Some popular and hardy choices include ferns like button ferns, mosses for a soft carpet, creeping fig for vertical growth, and peperomias for their unique foliage. Avoid plants that prefer dry soil, as the high humidity will cause them to rot.

Hardscaping and Functional Furniture

Mistakes to dodge when building your first bespoke terrarium
Mistakes to dodge when building your first bespoke terrarium

Hardscaping refers to the solid, non-living elements that provide structure and enrichment. These items are the skeleton of your design and offer necessary utilities for animal inhabitants. In a 40 gallon terrarium, you have the space to include substantial pieces.

For reptile owners, this means creating essential hides. A humid hide on the cool side and a warm hide on the hot side give the animal a sense of security and a place to regulate its body temperature. Decorative logs and cork bark are excellent choices, as they are biocompatible and encourage natural climbing behaviors. Substrate options like reptile carpet or eco-earth make cleaning and maintenance more manageable than loose sands for some species.

10 DIY Reptile Enclosure Ideas: Easy Builds for Terrariums, Cages & Habitats
10 DIY Reptile Enclosure Ideas: Easy Builds for Terrariums, Cages & Habitats
the different types of plants that can be seen in this image
the different types of plants that can be seen in this image
Custom DIY Reptile Enclosure Guide 🦎
Custom DIY Reptile Enclosure Guide 🦎
πŸ€©πŸ’š
πŸ€©πŸ’š
DIY Bearded Dragon Habitat Ideas for 20- to 120-Gallon Tanks
DIY Bearded Dragon Habitat Ideas for 20- to 120-Gallon Tanks
How To Make A Terrarium, How To Make A Terrarium With Soil, Terrarium Ideas, Terrarium Ideas For Beginners, Terrarium Setup, Closed Terrarium Ideas, Closed Terrarium Ideas Diy, Forest Terrarium Ideas
How To Make A Terrarium, How To Make A Terrarium With Soil, Terrarium Ideas, Terrarium Ideas For Beginners, Terrarium Setup, Closed Terrarium Ideas, Closed Terrarium Ideas Diy, Forest Terrarium Ideas
30 Inspiring Tree Frog Terrarium Ideas
30 Inspiring Tree Frog Terrarium Ideas
Terrarium Harmony: Mastering Isopods and Springtails Care Guide!
Terrarium Harmony: Mastering Isopods and Springtails Care Guide!
Difference between Aquarium, Terrarium, Riparium, and Paludarium?
Difference between Aquarium, Terrarium, Riparium, and Paludarium?
40 Gallon Aquarium Guide: Best Fish, Setup Ideas and More…
40 Gallon Aquarium Guide: Best Fish, Setup Ideas and More…
15 Aquatic Turtle Tank Ideas You'll Want to Copy Immediately
15 Aquatic Turtle Tank Ideas You'll Want to Copy Immediately
Part 1: Building a bio-active terrarium #terrarium #enclosure
Part 1: Building a bio-active terrarium #terrarium #enclosure
| Slick Garden
| Slick Garden
Fish Tank Terrarium Ideas That Combine Aquatic and Green Plant Beauty – See Ideas Now
Fish Tank Terrarium Ideas That Combine Aquatic and Green Plant Beauty – See Ideas Now
5 Common Terrarium Mistakes (and How to Fix Them)
5 Common Terrarium Mistakes (and How to Fix Them)
A List Of Insects You Can Add To Your Closed Terrarium
A List Of Insects You Can Add To Your Closed Terrarium
6 Reptiles That Can Live In A 40-Gallon Tank Forever – Reptile Craze
6 Reptiles That Can Live In A 40-Gallon Tank Forever – Reptile Craze
10 ESSENTIAL Terrarium Tips For Beginners!
10 ESSENTIAL Terrarium Tips For Beginners!
7 Best Large Terrarium Plants to Grow
7 Best Large Terrarium Plants to Grow
How to Set up Paludarium
How to Set up Paludarium
Hardscape Element Purpose Example Materials
Hides Security and stress reduction Half logs, cork flats, leaf litter hides
Branches & Logs Climbing, perching, and aesthetic Manzanita, driftwood, cork bark
Substrate Digging, burrowing, and root support Topsoil mix, coco fiber, reptile carpet

Decorating and Final Touches

The final layer of customization involves moss, leaf litter, and small decorative stones. Sphagnum moss is a versatile tool; you can use it to hold the substrate in place on slopes or create a soft, natural-looking foreground. Leaf litter not only enhances the visual appeal but also decomposes slowly, adding tannins to the water (in bioactive setups) and providing a home for beneficial microfauna like springtails.

When selecting stones, choose smooth, non-porous rocks that are too large to be accidentally ingested. River stones or slate pieces can be used to create a naturalistic landscape or a basking platform. Remember, the goal is to create a visually pleasing environment that simultaneously meets the biological needs of its inhabitants, making the terrarium a successful and captivating display.