Skip to content
Morph calculatorGet early access

Ball Python Enclosure Guide

An adult ball python enclosure should measure at least 48 x 24 x 24 inches (4 x 2 x 2 feet), with a warm hide at 86 to 90 F, a cool side at 72 to 80 F and humidity between 60 and 80%. Juveniles under 3 feet do well in 36 x 18 x 18 inches.

Adult tank size
48 x 24 x 24 in, about 120 gallons
Juvenile tank size
36 x 18 x 18 in
Warm hide
86 to 90 F
Cool side
72 to 80 F
Night
70 to 78 F
Humidity
60 to 80% (ReptiFiles)

Ball python tank size by age

ReptiFiles sizes the enclosure by length. A 48 x 24 x 24 inch enclosure holds about 120 gallons, and Reptiles Magazine agrees it more than comfortably houses an adult.

PetMD gives smaller minimums: 10 to 20 gallons for juveniles and 40 gallons or more for adults. Treat those as the floor. Whatever size you pick, the enclosure should be at least as long as the snake, per ReptiFiles. Check the ball python size chart to see how long yours will get.

Snake
Minimum enclosure
Hatchling up to 300 g
10 gallon tub or tank, about 20 x 11 x 13 in (ReptiFiles)
Juvenile under 3 ft
36 x 18 x 18 in (ReptiFiles), 10 to 20 gallons (PetMD)
Adult over 3 ft
48 x 24 x 24 in (ReptiFiles), 40 gallons or more (PetMD)

Ball python temperature: the gradient

A ball python regulates its body heat by moving between warm and cool spots. Build a clear warm end and cool end so the snake can choose. A correct warm side also helps digestion; the ball python care sheet covers feeding and handling.

ReptiFiles and Reptiles Magazine overlap in the high 80s for the warm area. Reptiles Magazine allows a basking spot up to 96 F, while ReptiFiles caps air temperature at 95 F. Stay in the overlap and you are safe.

Zone
Temperature
Warm hide or basking spot
86 to 90 F (ReptiFiles), 88 to 96 F (Reptiles Magazine)
Cool side or ambient
72 to 80 F (ReptiFiles), 78 to 80 F and never below 75 F (Reptiles Magazine)
Night
70 to 78 F (ReptiFiles)
Maximum air
95 F (ReptiFiles)
Humidity
40 to 60% (PetMD), 60 to 80% (ReptiFiles), 70 to 80% (Reptiles Magazine)

Ball python humidity: how much and how to hold it

Humidity advice varies more than any other number. PetMD recommends 40 to 60%, rising to about 70% during a shed. Reptiles Magazine says 70 to 80%. ReptiFiles recommends 60 to 80% by day, rising to 80 to 100% at night.

A practical target is 60% or higher with a boost before each shed. Low humidity is the most common cause of stuck shed; see ball python shedding.

  • Use at least 4 inches of moisture holding substrate (ReptiFiles)
  • Mist daily or add an automatic mister
  • Add a humid hide lined with damp sphagnum moss
  • Pick a PVC or HDPE enclosure, which ReptiFiles says holds humidity well
  • Cover a screen top partly to keep moisture in

Heating and lighting

ReptiFiles ranks overhead heat best: an infrared heat unit, or a halogen or incandescent bulb by day. A heat mat works as a secondary source. At night, use a ceramic heat emitter or radiant heat panel if your room drops below 70 F.

Connect every heater to a thermostat and put the probe in the warm hide at the snake's level. Check spot temperatures with an infrared temp gun.

ReptiFiles recommends 12 hours of light and 12 hours of dark. Low strength UVB, with a UV index of 2 to 3 at the basking spot, is a recommended extra; replace the bulb every 12 months.

Glass, PVC or tub: which enclosure type?

Breeders often keep hatchlings in rack tubs and adults in PVC. Label each tub so you know which snake is which; see the hatchling care guide.

Type
Pros and cons
PVC or HDPE
Light, strong, holds heat and humidity well, higher price
Glass tank
Easy to find, sheds heat fast, cover 3 sides with opaque material (ReptiFiles)
Front opening
Easier access, less startling for the snake (ReptiFiles)
Rack tub
Common for hatchlings and breeders, steady heat and humidity

Hides, substrate and decor

Shy snakes eat and settle better with cover. Put one snug hide on the warm side and one on the cool side, then fill open space with plants, cork bark and branches.

Choose a substrate that holds moisture, such as coconut husk, cypress mulch or a soil mix, at least 4 inches deep. Add a large, heavy water bowl the snake can soak in and refresh it every 2 to 3 days, as ReptiFiles advises.

Ball python setup checklist

Run through this list before the snake moves in. Let the enclosure run for a few days so temperatures and humidity settle.

  • Enclosure: 48 x 24 x 24 in for adults, 36 x 18 x 18 in for juveniles
  • Secure, locking lid or doors
  • Overhead heat source on the warm end
  • Thermostat for every heater, probe in the warm hide
  • Two digital thermometers, warm and cool side
  • Digital hygrometer
  • Infrared temp gun for spot checks
  • Warm hide and cool hide
  • Humid hide with damp sphagnum moss
  • 4 inches or more of moisture holding substrate
  • Large, heavy water bowl
  • Plants, cork and branches for cover
  • Light on a 12 hour timer
  • Optional low strength UVB tube

Frequently asked questions

What size tank does a ball python need?

ReptiFiles recommends 48 x 24 x 24 inches for adults over 3 feet and 36 x 18 x 18 inches for juveniles. PetMD gives 40 gallons as the adult minimum.

What temperature should a ball python tank be?

Keep the warm hide at 86 to 90 F and the cool side at 72 to 80 F, per ReptiFiles. Air should stay below 95 F.

What humidity does a ball python need?

Sources range from 40 to 60% (PetMD) to 60 to 80% (ReptiFiles). Aim for 60% or higher and raise it during a shed.

Is a 40 gallon tank big enough for a ball python?

PetMD lists 40 gallons as the minimum for an adult. ReptiFiles and Reptiles Magazine recommend 4 x 2 x 2 feet, about 120 gallons, for more room.

Do ball pythons need a heat lamp?

They need a warm side, and ReptiFiles rates overhead heat as the best source. Always run the lamp on a thermostat.

How many hides does a ball python need?

At least two: one on the warm side and one on the cool side, so the snake can hide at any temperature.

Can a ball python tank be too big?

A large enclosure works well when it has plenty of cover. Fill open floor space with plants and hides so the snake feels secure.

Sources

Every number on this page comes from these sources. Where they differ, we give the range.

  1. ReptiFiles, Ball Python Terrarium Size (reptifiles.com)
  2. ReptiFiles, Ball Python Lighting, Heating and Humidity (reptifiles.com)
  3. Reptiles Magazine, Ball Python Care Sheet (reptilesmagazine.com)
  4. PetMD, Ball Python Care Sheet (petmd.com)

Updated on November 25, 2026.

Keep reading

Label every enclosure in your rack

Print QR labels in Eggspected and scan a tub to see that snake's feedings, weights and sheds. Free to start.

Get early access