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.

Foundational Layers: Building the Base

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.

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.

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

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

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.




















| 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.