Snake Lifespan Chart
The first snake I ever held was a corn snake named Marble at a county fair when I was nine. The handler said she was twelve. I remember thinking that sounded ancient for something you could fit in a shoebox.
Years later I learned twelve was nothing. Corn snakes in good homes can pass twenty, and the oldest on record reached thirty-two. The numbers kept surprising me. A garter snake might get five years in the wild, while a ball python can outlive a dog two or three times over. One female ball python at the Saint Louis Zoo laid eggs at sixty-two.
The gap between a snake’s wild life and its captive life is wider than in almost any pet you can name. Food is steady, predators are gone, and a vet is a phone call away. That alone can double the years.
The snake lifespan chart below sorts 18 common species by wild and captive years, from small colubrids to giant constrictors to the famous venomous ones. After the master table you get grouped tables for keepers and the factors that decide whether a snake lives short or long.

Table of Contents
Snake Lifespan Chart: 18 Species Compared
Each row pairs a wild estimate with a captive one. Wild figures are rough because few snakes are tracked from birth to death. Captive figures are firmer, since keepers and zoos record them. The plus sign marks species with verified records well above the listed range.
| Snake Species / Type | Scientific Name | Wild Lifespan | Captive Lifespan | Category |
| Garter Snake | Thamnophis sirtalis | 2–5 yrs | 6–10 yrs | Wild colubrid |
| Corn Snake | Pantherophis guttatus | 6–8 yrs | 15–20+ yrs | Pet |
| Ball Python | Python regius | 10–15 yrs | 20–30+ yrs | Pet |
| Boa Constrictor | Boa constrictor | 15–20 yrs | 20–30+ yrs | Constrictor |
| King Snake | Lampropeltis getula | 10–15 yrs | 15–20 yrs | Pet |
| Milk Snake | Lampropeltis triangulum | 10–12 yrs | 15–20 yrs | Pet |
| Rattlesnake (genus) | Crotalus spp. | 10–20 yrs | 15–25 yrs | Venomous |
| Green Tree Python | Morelia viridis | 10–15 yrs | 15–20 yrs | Pet |
| Green Anaconda | Eunectes murinus | ~10 yrs (up to 20) | 20–30 yrs | Constrictor |
| Reticulated Python | Malayopython reticulatus | 15–20 yrs | 20–30 yrs | Constrictor |
| Burmese Python | Python bivittatus | 15–20 yrs | 20–25 yrs | Constrictor |
| Black Mamba | Dendroaspis polylepis | 8–12 yrs | 15–20+ yrs | Venomous |
| King Cobra | Ophiophagus hannah | 15–20 yrs | 20+ yrs | Venomous |
| Indian Cobra | Naja naja | 10–15 yrs | 15–20 yrs | Venomous |
| Eastern Indigo Snake | Drymarchon couperi | 10–15 yrs | 15–20 yrs | Wild |
| Hognose Snake | Heterodon nasicus | 8–10 yrs | 12–18 yrs | Pet |
| Carpet Python | Morelia spilota | 10–15 yrs | 15–25 yrs | Pet |
| Water Snake | Nerodia sipedon | 5–10 yrs | 10–15 yrs | Wild |
Two patterns jump out. Pythons and boas live longest, often 20 to 30 years in captivity. Small wild colubrids like garter and water snakes live the shortest, with high losses early in life. Status data for wild populations follows the IUCN Red List, which tracks several of these species.
Popular Pet Snake Lifespans
These five are the snakes most people actually keep. They are small to mid-sized, calm to handle, and they reward steady care with long lives. A corn snake or ball python bought for a child can still be around when that child finishes college.
| Species | Scientific Name | Wild Lifespan | Captive Lifespan |
| Corn Snake | Pantherophis guttatus | 6–8 yrs | 15–20+ yrs |
| Ball Python | Python regius | 10–15 yrs | 20–30+ yrs |
| King Snake | Lampropeltis getula | 10–15 yrs | 15–20 yrs |
| Milk Snake | Lampropeltis triangulum | 10–12 yrs | 15–20 yrs |
| Hognose Snake | Heterodon nasicus | 8–10 yrs | 12–18 yrs |
Ball pythons are the marathon runners here. Most reach 20 to 30 years indoors, and a few hit their 40s. The record holder at the Saint Louis Zoo was estimated at 62. If you are picking eggs or learning to tell clutches apart, the snake egg identification chart covers how the common pet species differ.
Giant Constrictor Lifespans
Boas and large pythons are the heavyweights. Size buys them safety in the wild and long lives in captivity. They also need space, so their longevity is a real commitment, not a novelty.
| Species | Scientific Name | Wild Lifespan | Captive Lifespan |
| Boa Constrictor | Boa constrictor | 15–20 yrs | 20–30+ yrs |
| Green Anaconda | Eunectes murinus | ~10 yrs (up to 20) | 20–30 yrs |
| Reticulated Python | Malayopython reticulatus | 15–20 yrs | 20–30 yrs |
| Burmese Python | Python bivittatus | 15–20 yrs | 20–25 yrs |
Anacondas show the wild-versus-captive split at its sharpest. In the swamp they average about 10 years. In a zoo they can reach 30, and a green anaconda named Annie passed 37. Two boa constrictors on record lived to 40. These snakes can outlast plenty of mammals their keepers also own.
Venomous Snake Lifespans
The famous venomous species live respectable lives, though not as long as the big constrictors. They are also the hardest to study in the wild, so their numbers carry more guesswork.
| Species | Scientific Name | Wild Lifespan | Captive Lifespan |
| Rattlesnake (genus) | Crotalus spp. | 10–20 yrs | 15–25 yrs |
| Black Mamba | Dendroaspis polylepis | 8–12 yrs | 15–20+ yrs |
| King Cobra | Ophiophagus hannah | 15–20 yrs | 20+ yrs |
| Indian Cobra | Naja naja | 10–15 yrs | 15–20 yrs |
One caution on the rattlesnake row. Crotalus is a genus of roughly 36 species, so the figures are a broad average. A timber rattlesnake can reach 20 years in the wild, while some captive rattlers have lived into their thirties. The king cobra is the standout, often cited as the longest-living venomous snake at 20 years or more.
Wild Colubrids and Tree Snakes
This last group mixes short-lived wild snakes with two tree-dwelling pythons. The colubrids face heavy predation young, which drags their wild averages down. The tree pythons land in the middle, longer than a garter snake, shorter than a boa.
| Species | Scientific Name | Wild Lifespan | Captive Lifespan |
| Garter Snake | Thamnophis sirtalis | 2–5 yrs | 6–10 yrs |
| Water Snake | Nerodia sipedon | 5–10 yrs | 10–15 yrs |
| Eastern Indigo Snake | Drymarchon couperi | 10–15 yrs | 15–20 yrs |
| Green Tree Python | Morelia viridis | 10–15 yrs | 15–20 yrs |
| Carpet Python | Morelia spilota | 10–15 yrs | 15–25 yrs |
The eastern indigo is the longest of this set and a protected species in the United States. For other cold-blooded animals that outlive expectations, the types of crocodiles page covers reptiles that can pass 70 years, and the types of lizards guide rounds out the scaled side of the family.
Why Snakes Live Longer in Captivity
Almost every species in the chart lives longer under human care. The reasons are not mysterious. List them side by side and the gap makes sense.
| Factor | In the Wild | In Captivity |
| Food | Hunting, hunger, seasonal gaps | Regular, sized prey on a schedule |
| Predators | Birds of prey, mammals, other snakes | None |
| Disease and injury | Untreated, often fatal | Vet care and quarantine |
| Climate | Heat, cold, drought | Controlled heat and humidity |
| Typical result | Many die in the first year | Lifespan often doubles |
Records back this up. The oldest snakes ever logged, tracked by Guinness World Records, are all captive animals, from Ben the 42-year-old rainbow boa to the 62-year-old ball python. No wild snake gets that kind of safety.
What Affects How Long a Snake Lives
Even two snakes of the same species can end up years apart. A handful of factors decide it.
| Factor | Effect on Lifespan |
| Species and size | Large pythons and boas outlive small colubrids by 10 to 20 years |
| Diet and feeding | Correct prey size prevents obesity and organ strain; overfeeding shortens life |
| Enclosure | Right heat, humidity, and hiding spots cut stress and respiratory illness |
| Breeding | Females bred repeatedly may live shorter lives from the reproductive load |
| Vet care | Catching mouth rot, mites, and parasites early adds years |
The Smithsonian’s National Zoo credits steady husbandry for its long-lived reptiles. Most premature snake deaths in captivity trace back to enclosure problems or untreated infection, not old age.
FAQs
How long do snakes live on average?
Most pet snakes live 15 to 20 years in captivity. Small wild species like garter snakes average just 2 to 5 years, while large pythons and boas can reach 30 years or more.
Which snake lives the longest?
Ball pythons and boa constrictors hold the records. A ball python at the Saint Louis Zoo was estimated at 62, and Ben the rainbow boa reached 42. Among venomous snakes, the king cobra leads at 20 years or more.
Do pet snakes live longer than wild snakes?
Yes, usually by a wide margin. Steady food, no predators, climate control, and vet care often double the wild figure. A corn snake that might see 6 to 8 years in the wild can pass 20 in a good home.
How long do ball pythons live?
Ball pythons live 10 to 15 years in the wild and 20 to 30+ years in captivity. With excellent care a few reach their 40s, and one female passed 60.
How long do venomous snakes live?
Most live 10 to 20 years. King cobras reach 20 or more, black mambas around 11 in the wild and up to 20 in captivity, and rattlesnakes vary widely by species across the Crotalus genus.
Why do bigger snakes live longer?
Size means fewer predators and slower metabolism relative to small species. Large constrictors also reach breeding age later, which tends to pair with longer overall lifespans.
How do snake lifespans compare to other animals?
A big snake can rival a parrot or a cat for longevity. For more longevity tables, see the sloth lifespan chart for a mammal that lives surprisingly long, the cat lifespan chart for feline ranges by age, and the all turtle species list for reptiles that can pass 100 years.






