Leopard Gecko Habitat Setup: Tips for a Happy Gecko
I've set up a lot of leopard gecko enclosures, and the truth is that almost every "my gecko won't eat / won't settle / keeps having shedding problems" issue traces back to a habitat detail that was off from day one. Leopard geckos (Eublepharis macularius) are genuinely easy and rewarding to keep — but only when the enclosure replicates the warm, arid, rocky deserts of South Asia they come from. Get the build right once and the day-to-day care becomes nearly effortless.
These geckos are crepuscular, most active at dawn and dusk, and they rely heavily on hiding spots to feel secure. So the whole design comes down to a few non-negotiables: a temperature gradient they can move through, the right humidity, solid impaction-safe flooring, and enough hides. Nail those and you've built a habitat that supports both physical health and the calm, confident behavior that makes a leopard gecko fun to keep.
Choosing the enclosure
Prioritize size, material, and orientation:
- Size. A 20-gallon long or larger for an adult; a 10-gallon suffices only for a juvenile. Bigger isn't just nicer — it's what makes a real warm-to-cool gradient possible.
- Orientation. Go horizontal, not tall. Leopard geckos are ground-dwellers and don't climb much, so floor space is the useful dimension.
- Material. A glass terrarium with secure, ventilated lid gives visibility, stable temperatures, and escape-proofing with airflow. Avoid sharp edges and flimsy materials, and make sure the setup can accommodate heating elements and multiple hides.
Substrate: comfort and safety first
This is where new keepers most often go wrong. Avoid loose substrates — sand, soil, and similar particulates can be swallowed when the gecko strikes at prey, and impaction is a serious, common, and avoidable problem. Use solid substrates instead:
- Slate tile — gives a natural feel, holds and transfers belly heat well, and is easy to wipe down.
- Reptile carpet — soft on their feet and simple to clean.
- Paper towels — cheapest of all, ideal for juveniles and quarantine, and makes spot-cleaning trivial.
All three create a hygienic, low-risk floor. If you later want a naturalistic or bioactive setup, that's an advanced build — start solid and safe.
Temperature and humidity
Leopard geckos thermoregulate by moving between warm and cool zones, so the gradient is the heart of the habitat:
- Warm basking zone: 88–92°F. Leopard geckos digest using belly heat, so an under-tank heater (or a low basking bulb) on the warm end is ideal. Always run heat through a thermostat.
- Cool side: 75–80°F.
- Night: no lower than ~70°F.
Measure with thermometers at both ends — don't trust your hand. For humidity, keep the ambient range at 30–40% (this is an arid species), but provide a moist hide with damp sphagnum moss to support clean shedding. A hygrometer keeps you honest; light misting of the moist hide as needed maintains it.
Lighting
Because they're crepuscular, leopard geckos don't need the intense UVB that basking, daytime reptiles require — and bright lighting actually stresses them. Keep it simple:
- Maintain a 12-hour light / 12-hour dark cycle to anchor their rhythm.
- Use low-level UVB if you can — it aids D3 synthesis and overall health. If you skip it, be diligent with calcium-plus-D3 supplementation.
- Choose gentle heat/light sources — LED or ceramic heat emitters at night avoid both excess brightness and a cold night drop.
Hides and enrichment
Provide at least three hides, and treat them as essential, not optional:
- Warm hide directly over the heat source, so the gecko can stay hidden and warm while digesting.
- Cool hide at the opposite end for when it needs to shed heat.
- Moist (humid) hide in the middle with damp moss, which is where most of the magic of clean shedding happens.
Add decor — stable rocks, driftwood, artificial plants — to encourage exploration and natural behavior. Everything must be stable (no tip-over crush risk) and made of reptile-safe materials.
Food and water placement
Small placement choices support natural behavior:
- Water dish on the cool side, so it evaporates slowly and stays fresh. Refresh it daily.
- Feeding near an accessible, open area but not crowded against a hide, where the gecko feels exposed during meals. Letting live feeders move within a controlled space triggers the hunt response and provides mental stimulation.
Leopard geckos are insectivores, so the diet is built on gut-loaded, calcium-dusted feeders. A soft, low-chitin staple like discoid roaches is easy to digest and gut-loads well; All Angles Creatures stocks gut-loaded discoid roaches in sizes that suit leopard geckos. Always size feeders to no wider than the space between the gecko's eyes.
Heating equipment: choosing and wiring it safely
Because leopard geckos digest using belly heat, how you heat the enclosure matters as much as the target numbers:
- Under-tank heater (UTH): the traditional choice, providing the belly heat leopard geckos use to digest. Place it under the warm third of the tank and pair it with solid, heat-conductive flooring like slate tile.
- Low basking bulb or deep-heat projector: an increasingly popular alternative that warms a basking surface from above. Useful in larger, taller enclosures.
- Avoid heat rocks. They develop hot spots and cause contact burns — a common, preventable injury.
Whatever you choose, run it through a thermostat. An unregulated heater can overshoot well past safe temperatures and burn a gecko resting on the warm floor. A thermostat with its probe placed in the warm zone holds the setpoint automatically and is the most important piece of safety equipment in the build. Verify the actual surface temperature with a separate thermometer or infrared temp gun, since the thermostat probe and the basking surface can read differently.
A quick setup checklist
Before the gecko moves in, confirm you have:
- A 20-gallon-long (or larger) horizontal glass enclosure with a secure, ventilated lid.
- A solid substrate — slate tile, reptile carpet, or paper towels.
- An under-tank heater (or basking source) on a thermostat, warm zone reading 88–92°F.
- Thermometers at both ends and a hygrometer.
- Three hides: warm, cool, and a damp moist hide with sphagnum moss.
- A cool-side water dish.
- Gentle low-level lighting on a 12-hour cycle (UVB optional but beneficial).
- Calcium and a calcium-plus-D3 supplement for dusting feeders.
Set the heat and let the enclosure stabilize for a day or two before introducing the gecko, so it walks into correct conditions rather than waiting on you to dial them in.
Cleaning and maintenance
A clean habitat prevents most disease:
- Daily: spot-clean waste, shed skin, and uneaten food; refresh and clean the water dish.
- Every two weeks: a deeper clean — replace or wash substrate, wipe surfaces with a reptile-safe cleaner, rinse thoroughly to remove residue, and scrub hides and decor in hot water, letting everything dry fully before it goes back in.
Signs your habitat is dialed in
You'll know the setup is working by watching the gecko, not just the gauges. A leopard gecko in a well-built habitat:
- Uses the whole enclosure — moving between the warm hide, cool hide, and moist hide over the day rather than hiding in one spot constantly.
- Sheds cleanly and completely, with no stuck skin on the toes or tail tip (the classic sign of too-low humidity or a neglected moist hide).
- Eats readily at dusk and maintains a plump but not bloated tail, the gecko's built-in body-condition gauge.
- Is alert and active in the evening, with clear eyes and smooth skin.
If you see stuck shed, a thinning tail, constant hiding on the cool side, or refusal to eat, treat it as feedback: check the warm-zone temperature first, then humidity and the moist hide, then hides and stress. Most husbandry problems show up in the gecko's behavior before they become health problems.
Common mistakes to avoid
- Loose substrate. Sand and similar particulates risk impaction. Use tile, carpet, or paper towels.
- No temperature gradient. A single-temperature box leaves the gecko unable to thermoregulate. Always build warm and cool zones, verified with thermometers.
- Too few hides. Without multiple secure hides, stress stays high and appetite drops.
- Lighting too bright. Intense or UV-heavy lighting disrupts this crepuscular species' behavior.
- Ignoring humidity and the moist hide. Skipping it leads to retained shed — stuck skin on toes and tail tips that can cut off circulation.
The short version
Use a 20-gallon-long horizontal glass tank, a solid impaction-safe substrate (tile, carpet, or paper towel), a 88–92°F warm zone and 75–80°F cool zone on a thermostat, three hides including a damp moist hide, gentle low-level lighting on a 12-hour cycle, and a cool-side water dish. Build it right once and your leopard gecko will reward you with clean sheds, a steady appetite, and the confident, curious behavior that makes them such a popular first reptile.
Want the diet side in depth, or care for their humid cousin? See my African fat-tailed gecko care guide and the full exotic-animals care library. For health and husbandry references, the Merck Veterinary Manual's reptile section is a reliable non-commercial source.