Ball python
Ball python enclosure size
Sized by the snake, not by its age. The governing rule is that the enclosure should be at least as long as the animal in it.
By Brijon M.Last updated
Hatchlings up to 300 g: about 20 x 11 x 13 in (50 x 28 x 33 cm). Juveniles under 3 ft: 36 x 18 x 18 in (90 x 45 x 45 cm) or larger. Subadults and adults over 3 ft: 48 x 24 x 24 in (120 x 60 x 60 cm), about 8 sq ft of floor area. The enclosure should be at least as long as the snake.

Shed & Bask earns a commission from qualifying Amazon purchases made through links on this page. It does not change what we recommend or the order we rank things in. Read the full disclosure.
The chart
| Snake size | Minimum enclosure (L x W x H) | Note |
|---|---|---|
| Hatchling (up to 300 g) | 10-gallon or tub, about 20 x 11 x 13 in (50 x 28 x 33 cm) | A tub is acceptable at this size |
| Juvenile (under 3 ft) | 36 x 18 x 18 in (90 x 45 x 45 cm) or larger | Can also go straight into an adult enclosure with sufficient cover |
| Subadult and adult (over 3 ft) | 48 x 24 x 24 in (120 x 60 x 60 cm) or larger | About 8 sq ft of floor, at least 2 ft of height |
The rule behind the table
The published guidance states it plainly: ball pythons, and snakes in general, should be housed in an enclosure at least as long as they are. A 5 ft ball python should be in a 5 ft enclosure; a 6 ft snake in a 6 ft enclosure. The reason is that a snake which cannot stretch out to full length lives permanently cramped and semi-coiled.
For an adult of typical size that works out at the 48 x 24 x 24 in figure, with about 8 sq ft of floor area and at least 2 ft of vertical space for climbing - and the guidance notes more height is best practice, especially for males.
Does a juvenile need a smaller enclosure?
No - and this is useful, because it means you can buy once. The guidance states that juveniles can be housed in a long-term adult enclosure as long as sufficient cover and places to hide are provided. The anxiety about big enclosures is really an anxiety about exposure, and the answer to exposure is cover, not confinement.
Practically: fill a 4x2x2 with hides, cork, branches and visual barriers and a juvenile will use all of it. An empty 4x2x2 with one hide is the setup that produces a stressed snake, and that is a decor failure rather than a sizing one.
What the enclosure has to hold
| Parameter | Target |
|---|---|
| Warm hide | Warm hide 86-90 F (30-32 C) |
| Cool hide | Cool hide 72-80 F (22-27 C); air never above 95 F (35 C) |
| Night | 70-78 F (21-26 C) |
| Basking UVI | UVI 2.0-3.0 at the basking area |
| UVB tube length for a 4x2x2 | 22 in |
The adult size
Dubia.com 4x2x2 (120 Gallon) Reptile Enclosure
48 x 24 x 24 in PVC, named in the published enclosure recommendations, opaque on five sides for visual security.
The juvenile size
REPTI ZOO Front-Opening Glass Terrarium
36 x 18 x 18 in is the published figure for a snake under 3 ft. Glass dissipates heat well, which makes the gradient easy - the screen top is what you will be managing.
Frequently asked questions
What size tank does a ball python need?
48 x 24 x 24 in (120 x 60 x 60 cm), about 8 sq ft of floor area for an adult over 3 ft, 36 x 18 x 18 in for a juvenile under 3 ft, and about 20 x 11 x 13 in for a hatchling up to 300 g.
Can a ball python live in a 40 gallon tank?
A 40-gallon breeder is roughly 36 x 18 in, which is the published juvenile size. For an adult over 3 ft the figure is 48 x 24 x 24 in with about 8 sq ft of floor.
Can a baby ball python go in a big enclosure?
Yes, provided it has sufficient cover and hides. The published guidance says so explicitly, which means you can buy the adult enclosure once rather than twice.
How long should a ball python enclosure be?
At least as long as the snake. A 5 ft python needs a 5 ft enclosure so it can stretch out to full length.
Sources
- Ball Python Terrarium Size & Lighting — ReptiFiles
- Ball Python Humidity & Temperature Requirements — ReptiFiles
Read next

Hub
Ball python enclosures, heating and substrate
The enclosure should be at least as long as the snake. The idea that ball pythons want to be crammed into a small dark box is a myth the published guidance names as one.

Ball python
4 best snake enclosures for ball pythons (2026)
Ball python enclosures ranked against the published 8 sq ft floor area and humidity.

Ball python
Ball python enclosure decor that does a job
Ball python decor organized by function, starting with cover along the gradient.

Guides
Reptile enclosure size chart
Minimum enclosure footprints by species and life stage, in inches, cm and gallons.

Ball python
Ball python enclosure requirements checklist
The full ball python setup checklist, with the figure and verification for each.