How Big of a Cage Does a Leopard Gecko Need?

A single adult leopard gecko needs a minimum of 20 gallons of enclosure space, but most experienced keepers now recommend 40 gallons (36″ x 18″ x 18″) as the true baseline for a thriving gecko. That larger size gives your gecko enough floor area to move, explore, and maintain a proper temperature gradient from one end to the other.

The 20-Gallon Minimum vs. the 40-Gallon Standard

For years, 20 gallons was the widely accepted minimum for an adult leopard gecko. PetMD and many veterinary care sheets still list it as acceptable. A juvenile can start in a 10-gallon tank, and some sources even suggest 15 gallons for a single adult. But the reptile hobby has shifted significantly in recent years as keepers and organizations have come to understand that “surviving” in a space and “thriving” in it are very different things.

The current recommendation from experienced keepers and reptile welfare advocates is a 36″ x 18″ x 18″ enclosure, which provides at least 4.5 square feet of floor space. That’s roughly the footprint of a standard 40-gallon breeder tank. Once you place three hides, a water dish, climbing features, and decorations inside a 20-gallon tank, the usable space shrinks fast. A 40-gallon setup gives your gecko room to actually move between zones without bumping into furniture at every turn.

The RSPCA sets its minimum at 60 cm long, 40 cm high, and 30 cm deep (about 24″ x 16″ x 12″) for one adult, but adds that the enclosure “should be as large as possible.” That guideline sits closer to the 20-gallon range and represents a bare minimum, not an ideal.

Why Floor Space Matters More Than Height

Leopard geckos are terrestrial lizards. They live on the ground in the dry, rocky scrublands of Pakistan, India, and Afghanistan. They don’t climb smooth vertical surfaces like some gecko species, so a tall, narrow tank wastes usable space. When comparing enclosures, prioritize the length and width of the floor over the height. A long, shallow enclosure is far more useful than a tall one with the same gallon rating.

That said, leopard geckos do appreciate low climbing opportunities. Sturdy rocks, low branches, and cork bark flats let them engage in natural behavior. A height of 12 to 18 inches is plenty to accommodate these features without the enclosure feeling barren.

Temperature Gradient and Enclosure Length

One of the most practical reasons your gecko needs enough length is temperature. Leopard geckos require a warm side around 90°F and a cool side around 75°F. That 15-degree difference has to exist across the length of the enclosure so your gecko can move between zones and regulate its own body temperature throughout the day.

In a short enclosure, the warm and cool zones bleed together. The whole tank ends up a uniform temperature, which means your gecko can’t cool down or warm up as needed. A 36-inch enclosure gives enough distance for a real gradient to form, with a distinct warm basking zone on one end and a noticeably cooler retreat on the other.

Fitting Three Hides Without Crowding

Every leopard gecko setup needs at least three hides: one on the warm side, one on the cool side, and a humid hide for shedding. The humid hide is typically placed on the cool side and lined with damp moss or paper towel to help your gecko shed its skin cleanly. Without it, stuck shed can cause circulation problems on toes and tail tips.

In a 20-gallon tank, three hides plus a water dish can fill most of the floor. Your gecko ends up with very little open ground to walk through, and adding enrichment like climbing rocks or artificial plants becomes nearly impossible. A 40-gallon setup comfortably fits all three hides with room left for exploration. Some keepers add a fourth hide or a second warm-side shelter, which gives even more behavioral options.

Front-Opening vs. Top-Opening Enclosures

The type of enclosure you choose affects how your gecko experiences its space. Traditional glass aquariums open from the top, which means your hand approaches from above every time you reach in. Leopard geckos are ground-dwelling prey animals, and overhead movement can trigger a stress response. Some geckos get skittish when a hand hovers directly over them.

Front-opening terrariums solve this problem. You approach your gecko from the front, at their level, which feels far less threatening. These enclosures also make routine maintenance easier since you don’t have to move heat lamps or lighting fixtures off the top every time you clean, refill water, or swap out substrate. The tradeoff is that front doors can allow escape if you forget to latch them, so double-check the closure every time.

Sizing for Juveniles

A baby or juvenile leopard gecko can start in a 10-gallon tank. Some keepers worry that a very small gecko will feel stressed in a huge enclosure, but this is mostly a feeding concern. In a large tank, a tiny gecko may have trouble finding its food. If you start with a 40-gallon enclosure from the beginning, you can section off part of it or simply place food in a shallow dish near the warm hide so your juvenile doesn’t have to hunt across a vast space. Many keepers skip the smaller tank entirely and go straight to the adult-sized setup to avoid buying two enclosures.

Why You Should House Geckos Alone

Leopard geckos are solitary and territorial. They are not social animals, and cohabitation is one of the most common sources of stress, injury, and death in captive leos. Two males housed together will fight, sometimes fatally. A male and female pairing leads to constant breeding stress on the female. Even two females, the only arrangement some experienced keepers attempt, carries real risk of dominance behavior, food competition, and one gecko slowly declining while the other appears fine.

If you do house two females together (which most keepers advise against), you need to double everything: a minimum 40-gallon enclosure and six hides. You also need a second complete enclosure ready to go at all times in case you need to separate them immediately. For the vast majority of keepers, the simplest and safest approach is one gecko per enclosure.

Choosing the Right Size

For a single adult leopard gecko, aim for a 40-gallon or 36″ x 18″ x 18″ enclosure. This gives you enough floor space for a proper temperature gradient, three or more hides, enrichment items, and open ground for your gecko to explore. A 20-gallon tank is survivable but limiting, especially once you fill it with the essentials. If budget or space is tight, a 20-gallon long (30″ x 12″) is workable as a temporary setup, but plan to upgrade. Your gecko will use every inch of a larger enclosure, and the difference in behavior between a gecko in a cramped tank and one in a well-furnished 40-gallon setup is noticeable.