The short answer is that the tank should be at least as long as your snake. A baby snake does fine in a 10 gallon tank, a corn snake needs 40 gallons as an adult, and a ball python needs 40 to 120 gallons. Here is a simple size chart by snake, plus how to set the tank up right.

What Size Tank Do Snakes Need
The one rule to remember is length. Your snake should be able to stretch out fully along one side of the tank. If it cannot, the tank is too small. Floor space matters more than height for most pet snakes, since corn snakes, ball pythons and boas spend most of their time on the ground.
Bigger is usually better, but a huge tank can stress a baby snake. A tiny snake in a big open tank feels exposed, and it may stop eating. The fix is not a smaller tank, it is more hides. Put two or three hides in the tank, one on the warm side and one on the cool side, and the baby will feel safe.
Tree snakes are the exception. Green tree pythons and emerald tree boas climb, so they need a tall tank with branches. For ground snakes, go long and wide instead. A 40 gallon breeder tank, which is 36 inches long and 18 inches wide, is a great adult home for most medium snakes.
| Snake | Adult Length | Tank Size | Minimum Length |
|---|---|---|---|
| Baby corn snake | 8-12 inches | 10 gallon | 20 inches |
| Adult corn snake | 3-5 feet | 40 gallon breeder | 36 inches |
| Baby ball python | 10-14 inches | 20 gallon long | 30 inches |
| Adult ball python | 3-5 feet | 40-120 gallon | 36-48 inches |
| Baby garter snake | 8-12 inches | 10 gallon | 20 inches |
| Adult boa constrictor | 6-10 feet | 120+ gallon | 48-72 inches |
Use this table as a starting point, and remember that the tank must also fit a warm side and a cool side, a water bowl big enough to soak in, and at least two hides. A tank that holds the snake but has no room for hides and a water bowl is still too small.
Why Tank Size Matters for Your Snake
A tank that is too small stresses a snake. It cannot stretch out, it cannot move between a warm side and a cool side, and it has no room to explore. A stressed snake may stop eating, rub its nose raw on the glass, or sit in one corner all day. Over time that stress can lead to illness.
A tank that is too big can be a problem too, but only for babies. A baby snake in a huge open tank feels exposed, and it may refuse food. The answer is not a smaller tank, it is more hides and cover. Add extra hides, fake plants and a layer of substrate to burrow in, and the baby will settle in and eat.
Heat is the other reason size matters. A snake needs a warm side and a cool side so it can pick its own body temperature. In a tiny tank the whole box ends up the same temperature, and the snake has no choice. A longer tank gives you room to build a real temperature gradient.
How to Set Up the Right Size Tank
Once you have the right tank, setting it up takes less than an hour. Follow these five steps and your snake will have a home it can grow into.
- Measure your snake. Use a soft tape or a piece of string to get your snake’s length. Pick a tank at least that long, and go bigger if you can afford the space.
- Pick a tank as long as the snake. A 40 gallon breeder suits most adult corn snakes and ball pythons. For a boa, go to 120 gallons or a large PVC enclosure.
- Add two hides, one warm and one cool. Each hide should be snug, with one entrance, so the snake feels safe inside. A hide that is too big does not feel safe.
- Set up the heat gradient. Put the heat mat or lamp on one end so that end is warm and the other end stays cool. Check both ends with a digital thermometer.
- Upgrade as your snake grows. Check your snake’s length every few months. When it is longer than the tank, it is time to move up a size.
Quick Tips
- The tank should be at least as long as the snake.
- Floor space matters more than height for ground snakes.
- A baby snake can start in a 10 gallon tank.
- Add extra hides if the tank feels too big for a baby snake.
- Always use a secure lid with clips or locks, since snakes are great escape artists.
Want to learn more? Read our guides on how to set up a snake tank, what size tank does a corn snake need, what size tank does a ball python need, how to care for a ball python, how to care for a corn snake and how to clean a snake tank.
FAQs
What size tank does a snake need?
At least as long as the snake itself. A baby snake needs a 10 gallon tank, an adult corn snake needs 40 gallons, and an adult ball python needs 40 to 120 gallons.
Can a tank be too big for a snake?
Yes, for babies. A baby snake in a huge open tank can feel exposed and stop eating. Add extra hides and plants, and the baby will feel safe in a bigger tank.
What size tank does a baby snake need?
A 10 gallon tank is fine to start. It holds a baby snake, a warm hide, a cool hide and a water bowl. Move up as the snake grows.
Do snakes need a tall or long tank?
Most pet snakes need a long tank, since they live on the ground. Tree snakes like green tree pythons need a tall tank with branches to climb on.
When should I upgrade my snake’s tank?
When your snake is longer than the tank. Check its length every few months, and move up a size as soon as the tank is shorter than the snake.