Ball Python Enclosure Setup: Humidity Is the Detail That Makes or Breaks It
On This Page▾

A ball python is a shy, heavy-bodied snake that needs steady warmth, humid air and cover to hide under. An adult's enclosure is 4x2x2 feet and well furnished, which has replaced the old advice about small tubs.
Ball Python Setup at a Glance
| What | Target |
|---|---|
| Enclosure, adult | 4x2x2 ft (48x24x24 inches), PVC, at least as long as the snake |
| Warm side | 88 to 92°F; air no higher than 95°F anywhere |
| Cool side | 75 to 80°F |
| Night | 72 to 75°F |
| Humidity | 60 to 70%; 70 to 80% during a shed |
| UVB | Optional; a 5.0 or 6% T5 HO tube, 10 to 14 inches above the snake |
| Substrate | Cypress mulch or coconut coir or husk, at least 4 inches deep |
Enclosure Size
The current standard for an adult is a 4x2x2 ft PVC enclosure. That is 48x24x24 inches, roughly 120 gallons, with about 8 square feet of floor. The enclosure should be at least as long as the snake itself. Scale down for younger snakes. A hatchling up to about 300 grams does well in a 10-gallon or 20x11x13 inch enclosure, and a juvenile under 3 feet can move into a 36x18x18 inch setup.
PVC is the better material for this species, because it holds humidity far more effectively than glass. If you do go with glass, cover three sides to help retain moisture. Whatever the material, make sure the enclosure is secure and locks, because ball pythons are excellent escape artists. House one snake per enclosure.
Temperature Gradient
| Zone | Target Temperature |
|---|---|
| Warm side | 88 to 92°F (air temperature should not go above 95°F anywhere) |
| Cool side | 75 to 80°F |
| Nighttime | 72 to 75°F |
Heat the warm side from above. In any enclosure longer than 36 inches, use a cluster of at least two 50 W halogen bulbs in ceramic-socket dome fixtures, resting on the mesh at one end. An 80 W radiant heat panel mounted on the ceiling at that end also works. Put a flat, light-colored stone under the lamps as the basking spot, and set the warm hide under the lamps too, so the snake can stay warm while hidden. Keep branches and raised spots out from directly under the lamps, since a snake closer to the bulb gets much hotter.
A heat mat or heat tape works only as a second heat source, on its own thermostat, and never where the snake can lie on it. Read the surface the snake lies on with an infrared temperature gun, which also reads inside a hide: on the warm side it should read 88 to 92°F. Read the air on each side with a digital thermometer.
Run every heat source through a thermostat, with no exceptions. An under-tank mat or heat tape changes temperature slowly enough for a full on and off cycle, so it takes an on/off heat mat thermostat. A halogen bulb or a radiant heat panel takes a dimming thermostat. The thermostat is what prevents burns and fires, and it only works when its probe sits in the right place: inside the warm hide, resting on the substrate. Skip hot rocks entirely.
If the room falls below the nighttime range, add heat that gives no light: a ceramic heat emitter, a radiant heat panel or a deep heat projector, on a thermostat.
Humidity: The Part That Determines Success
This is where most ball python problems start. Keep ambient humidity at 60 to 70%, and raise it to 70 to 80% specifically during shedding cycles. Air that stays too dry means sheds that come off in pieces and a higher chance of respiratory infection. Air that stays too wet in a poorly ventilated enclosure brings scale rot and breathing trouble of its own.
Four things hold the range steady:
- A substrate that holds moisture, at least 4 inches deep.
- A water bowl big enough to soak in.
- A humid hide: a closed hide lined with damp sphagnum moss, placed between the middle and the cool end. Change the moss often so it never sours.
- Misting in the evening, and again in the morning if the reading drops below 60%.
Check humidity with a digital hygrometer whose probe sits in the middle of the enclosure. A second probe inside the humid hide is useful but optional. Analog dials are often inaccurate. A dry enclosure can look fine for weeks, and the first sign is often a bad shed.
UVB and Lighting
Ball pythons have been kept for decades with no UVB, so it is optional, but a low-level tube is worth adding. For a 4x2x2 ft enclosure, use a 22 inch T5 HO tube rated 5.0 or 6%, mounted over the mesh so the snake can bask 10 to 14 inches below it. Never put glass or plastic between the tube and the snake, since both block UVB. Replace the tube every 6 to 12 months.
Whether or not you run UVB, give the snake 12 hours of light and 12 hours of dark with an LED on a timer. Do not use bright white or colored bulbs at night.
Substrate
Cypress mulch or coconut coir or husk, at least 4 inches deep, holds humidity at the level this species needs. Paper towels work for a short time, and they are the right floor for a quarantine setup, but they will not hold humidity long term. Avoid aspen, which tends to mold at this humidity. Never use pine or cedar. Both contain aromatic oils that are toxic to reptiles.
Furnishings
Provide at least two hides, one on the warm side and one on the cool side, and size them snugly. Ball pythons feel most secure in a hide where their body is touching the sides on multiple points, not floating in open space. Add a heavy, tip-resistant water bowl large enough for the snake to soak in when it wants to.
Cover matters more for this species than people expect. Ball pythons are naturally shy, and an enclosure that feels too open and exposed causes chronic stress, which shows up as feeding refusal and general skittishness. Fill the floor with plants, branches and leaf litter. Add sturdy branches too, braced firmly enough that a snake can push against one without it shifting. The snake will use them.
Setting It Up, in Order
- Fit the lights and heat to the enclosure, with every heat source on its thermostat.
- Lay at least 4 inches of damp substrate.
- Add the hides, the humid hide, the water bowl, the branches and the cover, and set the thermostat probe inside the warm hide, resting on the substrate.
- Run the setup for a few days, adjusting the thermostat until the warm side, the cool side and the humidity hold steady in their ranges.
- Put the snake in, and leave it alone for the first one to two weeks.
Cleaning
Every day. Change the water, since the snake soaks in it. Spot clean as soon as waste appears, and scoop out the wet substrate around it, because urates and feces soil a lot of substrate at once.
Every week. Scrub the water bowl and any soiled decor with a reptile habitat cleaner or a 3% bleach solution. Leave it on for at least 10 minutes, rinse until no smell remains, and let everything dry.
Every month if the snake is messy, and at least once a quarter. Replace all the substrate:
- Move the snake to a secure tub.
- Strip the enclosure.
- Disinfect every surface the same way.
- Let it dry completely before new substrate goes in.
Wash your hands after every clean and never rinse the bowl in a kitchen sink, the two Salmonella rules that hold for every reptile.
Three Readings and a Place to Hide
A ball python setup comes down to the warm side, the cool side and the humidity, each held in its range, and enough cover that the snake is never exposed. Get those steady and the rest of its care gets simpler.

The Ball Python Care Package carries this setup as a checklist with the targets to hit, in a 49-page PDF you can keep by the enclosure, $8.99. Includes the $4.99 Universal Pet Kit free: a routine chart and equipment log you can fill in.
Frequently Asked Questions
What size enclosure does an adult ball python need?
4x2x2 ft, roughly 120 gallons. Hatchlings do well in a 10-gallon, and juveniles under 3 feet in a 36x18x18 inch setup.
Why is PVC recommended over glass for ball pythons?
PVC holds humidity far better than glass, and this species needs steady humidity. A glass tank can work with three sides covered.
What humidity level does a ball python need?
Ambient 60 to 70%, raised to 70 to 80% while the snake is in shed. Dry air gives bad sheds and raises respiratory infection risk; too wet without ventilation goes the other way, toward scale rot.
Why do ball pythons need so much clutter and cover?
Because a shy snake with nowhere to hide stops eating and stays on edge. Cover across the floor lets it move between its hides without being seen.
Recommended Gear
As an Amazon Associate I earn from qualifying purchases through the links below, at no extra cost to you.
Sources & Further Reading
Last reviewed 20 Nov 2026 · 2 sources
- ReptiFiles: the ball python care guide chapters on terrarium size, lighting, heating and humidity, and substrate
- PetMD: Ball Python Care Sheet (Maria Zayas, DVM)
Written by Michael Ryan
Mike keeps two rescued bearded dragons, Dex and Cera, and writes the care guides on BeastlyFacts from his own research and mistakes. He is not a veterinarian.
More about Michael Ryan →























