Bringing home a pet leopard gecko is an exciting step for any reptile enthusiast, but keeping these desert-dwellers healthy requires careful attention to their specific environmental needs. A proper leopard gecko care and habitat guide must go beyond the basics of feeding to address the nuanced interplay between temperature, lighting, and nutritional supplementation. Because leopard geckos are ectotherms, meaning they rely on external heat sources to regulate their body temperature, your setup directly dictates their metabolic health, digestion, immune function, and overall longevity.
In the wild, leopard geckos (Eublepharis macularius) inhabit the arid rocky grasslands and semi-desert regions of Afghanistan, Pakistan, northwestern India, and parts of Iran. They spend the hottest daytime hours tucked away deep inside cool underground burrows, crevices, or beneath large flat stones. They emerge primarily during dusk and dawn—a lifestyle known as crepuscular activity—to hunt insects and absorb lingering heat from sun-warmed rocks. Replicating this arid microclimate in a home terrarium requires a thoughtful approach to heating, lighting, substrate safety, and enclosure architecture. Whether you are setting up your first enclosure or refining an existing habitat, understanding the core principles of reptile husbandry will help your gecko live a long, healthy life that can easily stretch to fifteen or twenty years with proper care.
Selecting the Right Enclosure and Substrate
Choosing the correct enclosure size is the foundational step in building a successful habitat. While older care guides frequently recommended 10-gallon or 20-gallon long tanks, modern veterinary and herpetological standards strongly advocate for a minimum tank size of 40 gallons for a single adult leopard gecko. A standard 40-gallon breeder tank measures approximately 36 inches long by 18 inches wide by 18 inches tall. This generous horizontal footprint provides ample surface area to establish a wide, gradual thermal gradient—allowing your gecko to choose between warm and cool zones as its physiological needs change throughout the day. Tall, vertical arboreal tanks are entirely unsuitable because leopard geckos are terrestrial lizards that lack adhesive toe pads; they prefer to walk, crawl, and stretch out across ground terrain rather than climb high vertical branches.
When selecting the material of the enclosure, glass terrariums with front-opening doors are widely preferred over top-opening aquariums. Front-opening doors allow you to perform routine maintenance, change water, and feed your pet without reaching down from above. Because predators in nature attack from the sky, approaching a leopard gecko from directly above often triggers an innate flight-or-fight stress response. Enclosures constructed from high-density polyethylene (PVC) or sealed, non-toxic wood laminates are also excellent choices, as they retain heat much more efficiently than glass, making it easier to maintain steady ambient temperatures in cooler rooms.
Substrate selection is another critical decision that directly impacts hygiene, physical safety, and behavioral expression. Substrates broadly fall into two categories: solid (non-particle) and loose (particle).
- Solid Substrates (Recommended for Beginners and Quarantine): Paper towels, slate tiles, ceramic tiles, textured non-adhesive shelf liners, and specialized reptile mats are all excellent choices. Paper towels are ideal for hatchlings, juveniles, and newly acquired geckos in quarantine because they allow for effortless monitoring of fecal output and completely eliminate any risk of accidental substrate ingestion. Slate or ceramic tiles are outstanding long-term options because they absorb heat efficiently from under-tank mats or overhead heat sources, mimic smooth natural rock, are easy to spot-clean, and naturally wear down your gecko’s claws.
- Loose Substrates (Recommended Only for Healthy Adults): While loose substrates offer burrowing enrichment, improper particle substrates carry a severe risk of gastrointestinal impaction—a potentially fatal blockage caused when a gecko ingests non-digestible material while lunging for prey. Avoid fine calcium sand, silica sand, crushed walnut shells, and wood shavings (such as cedar, pine, or aspen). Calcium sand is particularly dangerous because it encourages geckos to lick the substrate to gain calcium, leading to heavy sand accumulation in the digestive tract. If you choose a loose substrate for a healthy adult, use a naturalistic blend of 70 percent organic, fertilizer-free topsoil and 30 percent play sand, or a commercially prepared bio-active soil blend designed specifically for arid reptiles. Always offer insects from a smooth feeding dish or hand-feed with soft-tipped tongs to minimize particle ingestion.

Establishing the Ideal Temperature Gradient
Leopard geckos depend entirely on external thermoregulation to digest their food, power their metabolism, and maintain immune defenses. To accomplish this, your enclosure must provide a distinct horizontal thermal gradient, meaning the temperature varies smoothly from one end of the tank to the other. Never heat an entire enclosure uniformly, as this deprives the lizard of its natural ability to cool down or warm up at will.
The ideal temperature ranges for a leopard gecko enclosure are precise and non-negotiable:
- Warm Side Surface Basking Spot: 88°F to 92°F (31°C to 33°C). This is the surface temperature of the floor directly underneath or above the heat source where your gecko rests to digest food.
- Warm Side Ambient Air Temperature: 85°F to 88°F (29°C to 31°C).
- Cool Side Ambient Air Temperature: 72°F to 78°F (22°C to 25°C).
- Nighttime Temperature Drop: 68°F to 74°F (20°C to 23°C). A nighttime temperature drop mimics natural desert conditions and encourages natural rest cycles. If your home stays above 68°F at night, all supplemental heating elements can safely turn off overnight.
Achieving this thermal gradient requires selecting the correct heating equipment and pairing it with precise digital control systems. Historically, under-tank heating pads (heat mats) were considered the gold standard because leopard geckos absorb conductive belly heat through their abdomens to digest prey efficiently. While under-tank mats remain effective for warming the floor substrate, they do very little to heat the ambient air above them.
Modern reptile husbandry increasingly favors deep heat projectors (DHPs) or ceramic heat emitters (CHEs) paired with slate tile resting surfaces. A Deep Heat Projector emits Infrared-A and Infrared-B radiation, which penetrates deep into animal muscle tissue, replicating the deep-penetrating warmth provided by sun-baked rocks in nature. If you use an under-tank heating pad, it must cover roughly one-third of the tank floor and must always be connected to an external digital thermostat probe fixed directly to the glass above the pad. Unregulated heating pads can easily spike above 115°F, leading to severe thermal burns on your gecko’s abdomen or thermal stress.
To monitor temperatures accurately, do not rely on analog stick-on dial thermometers, which are notorious for reading ambient wall temperatures inaccurately. Instead, equip your terrarium with two digital probe thermometers—one placed on the floor of the warm side hide and one on the cool side floor—along with an infrared digital temperature gun. A quick squeeze of a temperature gun trigger gives you instantaneous, pinpoint surface temperature readings across every inch of tile, rock, and substrate inside the enclosure.
Lighting Schedules and Ultraviolet B Light
Because leopard geckos are active primarily at twilight and night, many keepers historically assumed that light was unnecessary beyond ambient room lighting. Modern veterinary consensus, however, demonstrates that providing a proper 12-hour day and 12-hour night light cycle significantly improves natural activity levels, daytime sleep patterns, and overall hormonal balance. Furthermore, the inclusion of low-level Ultraviolet B (UVB) light offers substantial physiological benefits.
In the wild, leopard geckos resting in shallow rock crevices are exposed to low levels of indirect sunlight during dawn, day, and dusk. Exposing captive geckos to low-intensity UVB lighting allows them to synthesize vitamin D3 naturally in their skin. Vitamin D3 is essential for the absorption of calcium in the digestive tract. Without adequate vitamin D3, a gecko cannot process calcium, regardless of how much calcium powder it consumes.
Selecting and Installing the Right UVB Bulb
When selecting a UVB light fixture for a leopard gecko, opt for a linear T5 or T8 fluorescent tube fixture rather than a compact or coil-style UVB bulb. Compact coil bulbs project concentrated light in a narrow beam, creating intense hotspots that can cause eye strain or skin damage, while linear tubes distribute light evenly across a target zone.
- Ferguson Zone Rating: Leopard geckos fall into Ferguson Zone 1 (shade-dwelling or crepuscular species requiring low UV exposure). Look for a linear fixture with a 2.4% to 6% UVB output, such as an Arcadia ShadeDweller 7% T5 or a Zoo Med ReptiSun 5.0 T8 bulb.
- Coverage and Placement: The UVB fixture should cover roughly one-third to one-half the total length of the enclosure, positioned over the warm basking side so that the light overlaps with the primary heat source. This allows your gecko to absorb both warmth and UV radiation simultaneously, exactly as it would in nature.
- Distance and Guarding: Ensure the distance between the top of the gecko’s back and the UVB bulb meets the manufacturer’s safe distance recommendations (typically 10 to 14 inches through a wire mesh screen top). Mesh screening blocks roughly 30 to 40 percent of UV radiation, so factor this reduction into your setup. Replace fluorescent UVB tubes every 6 to 12 months, as their output decays over time even if visible light remains visible.
Run all enclosure lights on an automatic heavy-duty outlet timer set for 12 hours on and 12 hours off during spring and summer, reducing to 10 hours on and 14 hours off during winter months to mimic seasonal shifts. At night, all lights must be turned off completely. Avoid using colored night bulbs, including red, blue, or nocturnal moonlight heat bulbs. Contrary to old pet store claims, leopard geckos can easily see red and colored lights; keeping these lamps on overnight disturbs their night vision, disrupts their circadian rhythms, and causes chronic behavioral stress.

Creating Secure Hides and Environmental Enrichment
In the wild, a leopard gecko’s survival depends on finding secure crevices that shield it from midday heat and predators. In captivity, a lack of hiding options creates severe psychological stress, leading to suppressed immune function, heightened anxiety, defensive behavior, and complete anorexia. To make your pet feel completely safe, your terrarium must include a absolute minimum of three dedicated hides:
- The Warm Hide: Situated directly on the heated side of the enclosure above the heat pad or underneath the deep heat projector. This hide allows the gecko to digest food while feeling entirely enclosed and safe.
- The Cool Hide: Situated on the unheated side of the enclosure. This provides a cool refuge when the gecko needs to lower its body temperature while maintaining security.
- The Humid (Moist) Hide: Positioned in the middle zone or slightly toward the warm side. This hide plays a crucial role in preventing shedding complications.
Optimizing the Humid Hide
The humid hide acts as a microclimate chamber that mimics the damp, cool underground burrows wild geckos use during shedding cycles. You can construct a humid hide easily using a commercially sold cave or a plastic food container with a smooth entry hole cut into the side or lid. Line the bottom of the humid hide with damp sphagnum moss, damp paper towels, or Coco coir fiber. The substrate inside must remain consistently damp—not dripping wet or soaked in standing water—to maintain internal relative humidity between 70% and 80% inside the hide, even while ambient tank humidity stays at a comfortable 30% to 40%.
When a leopard gecko prepares to shed, its skin turns a dull, opaque white color. Sensing the change, the gecko will spend several hours inside the humid hide. The elevated moisture softens the old layer of keratin, allowing the skin to separate cleanly without ripping or tearing over sensitive extremities.
Adding Environmental Enrichment
Beyond basic hides, enrich your gecko’s environment with structured terrain. Add clean, smooth river rocks, artificial slate ledges, hollow cork bark logs, and non-toxic artificial or live plants (such as air plants, aloe, or echeveria). Sturdy branches set at a gentle 15-degree angle encourage low-impact exercise and spatial exploration. Reorganizing non-essential décor every few months during deep cleaning provides cognitive stimulation, encouraging your gecko to inspect new scents and pathways.
Diet, Hydration, and Supplementation Schedules
Leopard geckos are strict, obligate insectivores. In captivity, they do not eat plant material, vegetables, fruits, or commercial pelleted diets. Their entire nutritional intake comes from live, gut-loaded insects. Feeding dead, dried, or canned insects is discouraged because movement triggers a gecko’s hunting instinct, and dried insects lack essential moisture and active digestive enzymes.
Selecting and Rotating Feeder Insects
Variety is essential for balanced nutrition. Relying exclusively on a single insect type can lead to dietary deficiencies or obesity. Build your feeding routine around high-quality staple insects, using high-fat items only as occasional treats:
- Staple Insects (80% of Diet): Dubia roaches, banded crickets, and black soldier fly larvae (also known as Phoenix worms or Calci-worms). Dubia roaches are exceptionally nutritious, boasting a high meat-to-shell ratio, high protein content, and easy digestibility. Crickets encourage natural hunting behavior but must be removed from the tank if uneaten, as they can bite a sleeping gecko. Black soldier fly larvae are naturally rich in calcium and do not require heavy calcium dusting.
- Secondary/Rotational Insects (15% of Diet): Mealworms and superworms. These are popular and convenient but have a tougher chitinous exoskeleton and higher fat content. Feed them in moderation from a shallow, smooth-sided glass dish to prevent them from burrowing into loose substrate.
- Treat Insects (5% of Diet): Waxworms, hornworms, and butterworms. Waxworms are extremely high in fat and can be addicting; feed no more than one or two waxworms once every few weeks, or use them to help rehabilitate malnourished rescue geckos under veterinary guidance. Hornworms are high in moisture, making them excellent for hydration boosts during hot weather.
Gut-Loading Feeder Insects
Insects purchased from pet stores are often nutritionally empty.



