A corn snake needs a tank that fits its size, and the right size changes as the snake grows. A tank that is too small stresses the snake, and a tank that is too big makes a baby snake feel unsafe. This guide shows you what size tank a corn snake needs at each age, so you can give your snake a home that feels safe.
You will learn the right tank size for a baby, a juvenile, and an adult corn snake, how to set up the tank, and what mistakes to avoid. By the end, you will know exactly which tank to buy. If you are still choosing a pet, read how to choose the right snake for beginners, and if you want a name for your corn snake, see our pet snake names list.

Short Answer
An adult corn snake needs a 40 gallon tank, which is about 36 inches long, 18 inches wide, and 18 inches tall. A baby corn snake needs a 10 gallon tank, and a juvenile needs a 20 gallon tank. Give your snake a tank that is at least as long as the snake, so it can stretch out fully. A bigger tank is fine for an adult, but a baby snake needs a small and snug tank to feel safe.
The tank should have a secure lid, a warm side and a cool side, and two hides, one on each side. Corn snakes are good escape artists, so the lid must lock. A screen top with clips works well, and it lets air flow through the tank. Add a water bowl, a branch, and some bedding, and your corn snake will have a good home.
What Size Tank Does a Corn Snake Need by Age
This table shows the right tank size for a corn snake at each age. Use it to plan your tank, and upgrade as your snake grows.
| Age | Snake Length | Tank Size | Tank Dimensions |
|---|---|---|---|
| Baby (0 to 6 months) | 8 to 12 inches | 10 gallon | 20 x 10 x 12 inches |
| Juvenile (6 to 12 months) | 12 to 24 inches | 20 gallon | 24 x 12 x 12 inches |
| Subadult (1 to 2 years) | 24 to 36 inches | 20 to 40 gallon | 30 x 12 x 12 inches |
| Adult (2 to 3 years) | 36 to 48 inches | 40 gallon | 36 x 18 x 18 inches |
| Large adult (3 years and up) | 48 to 60 inches | 40 to 75 gallon | 48 x 18 x 21 inches |
| Breeding female | 48 to 60 inches | 40 to 75 gallon | 48 x 18 x 21 inches |
How to Set Up a Corn Snake Tank in 6 Steps
Follow these six steps to set up a corn snake tank. A good setup keeps your snake warm, safe, and healthy.
- Pick the right tank. Choose a tank that fits your snake’s age. A baby needs a 10 gallon tank, and an adult needs a 40 gallon tank. A glass tank with a screen top works well for a corn snake. See what size tank does a ball python need if you keep a ball python too.
- Add heat. Put a heat mat under one side of the tank, and set it to 85 degrees on the warm side. The cool side should be 70 to 75 degrees. Use a thermostat to control the heat, and check it with a thermometer. Never use a heat rock, because it can burn your snake.
- Add bedding. Add 2 inches of aspen shavings or paper towels to the bottom of the tank. Aspen is soft and safe, and it lets your snake burrow. Avoid cedar and pine, because they can harm your snake.
- Add two hides. Put one hide on the warm side and one hide on the cool side. A hide is a small cave or a box that your snake can curl up in. Your snake needs a hide on each side so it can rest at the right temperature.
- Add a water bowl. Put a heavy water bowl in the tank, and fill it with fresh water. The bowl should be big enough for your snake to soak in. Change the water every day, and clean the bowl each week.
- Add decor and a lid. Add a branch or a fake plant for your snake to climb on. Put a secure lid on the tank, and lock it with clips. Corn snakes can push a loose lid open, so the lid must be tight. Let the tank warm up for a day before you put your snake in.
What a Corn Snake Tank Does Not Do
A bigger tank does not make a corn snake happier on its own. A baby corn snake in a big tank can feel exposed and stop eating. A small and snug tank with good hides is better for a baby. Upgrade the tank as the snake grows, and your snake will stay calm and eat well.
A tank does not keep your snake warm without heat. A glass tank loses heat fast, so you need a heat mat and a thermostat. A tank in a cold room will stay too cold, even with a heat mat. Keep the tank in a warm room, and check the temperature every day.
Quick Tips
- An adult corn snake needs a 40 gallon tank.
- A baby corn snake needs a 10 gallon tank.
- Give your snake a tank at least as long as the snake.
- Put a hide on the warm side and a hide on the cool side.
- Use a heat mat and a thermostat, not a heat rock.
- Lock the lid, because corn snakes are good escape artists.
Frequently Asked Questions
What size tank does a baby corn snake need?
A baby corn snake needs a 10 gallon tank, which is about 20 inches long. A small tank helps a baby feel safe, and it makes it easier for the snake to find its food and its hides. Upgrade to a 20 gallon tank when the snake is about a year old.
Can a corn snake live in a 20 gallon tank?
A corn snake can live in a 20 gallon tank while it is young, but an adult needs a 40 gallon tank. A 20 gallon tank is too small for an adult corn snake, and it will not have room to stretch out or move around.
Is a 40 gallon tank big enough for a corn snake?
Yes, a 40 gallon tank is big enough for most adult corn snakes. It is about 36 inches long, which fits a snake up to 5 feet. A very large corn snake may need a 75 gallon tank, but most adults are happy in a 40 gallon tank.
Do corn snakes need a heat lamp?
Corn snakes need heat, but a heat mat works better than a heat lamp. A heat mat warms the floor, and it does not dry out the air. Use a thermostat to control the heat, and check the warm side with a thermometer. Read do snakes need uv light to learn about light.
Are corn snakes friendly?
Yes, corn snakes are friendly and calm. They are one of the best snakes for beginners, and they rarely bite. Read are corn snakes friendly to learn more about their temper.