Also known asRock PythonCentral African Rock Python
Name TagsWhat they’re called
♂MaleMale
♀FemaleFemale
YoungHatchling
GroupSolitary
Overview
The African rock python is the largest snake in Africa and one of the largest in the world, a powerful non-venomous constrictor of sub-Saharan grasslands and forests. It has a robust body marked with irregular brown, olive, and tan blotches that provide camouflage in dry vegetation. Large females can exceed 5 metres and are formidable predators capable of taking sizeable mammals. The species has a fearsome reputation and is one of the few snakes credibly recorded as occasionally preying on humans. These pythons are highly adaptable, thriving in environments ranging from rocky outcrops and savannas to the edges of marshes and forests, provided there is a reliable water source nearby. They are ambush predators, lying in wait for unsuspecting prey before striking with lightning speed and coiling their muscular bodies around the victim to induce suffocation. Their diet is diverse, encompassing rodents, monkeys, antelopes, and even crocodiles. During the breeding season, females exhibit a rare level of maternal care for snakes, guarding their clutch of dozens of eggs until they hatch. Despite their size, they are excellent swimmers and can remain submerged for long periods. Their skin is highly valued in the leather trade, which has historically led to significant pressure on wild populations. While they are often feared, they play a crucial role in controlling rodent populations, which helps maintain the balance of the ecosystems they inhabit across the African continent.
The African rock python preys on a variety of mammals and birds, including rats, monkeys, antelope, warthogs, and domestic animals such as goats and dogs. Large individuals can tackle prey the size of small antelope or crocodiles. Juveniles feed mainly on rodents and birds.
Where does the African Rock Python live?
This snake occupies a broad range of habitats across sub-Saharan Africa, from savanna and grassland to forest edges and rocky outcrops, almost always near water. It is widely distributed from Senegal eastwards to Tanzania.
How big is the African Rock Python?
3 to 5 metres, occasionally larger
How long does the African Rock Python live?
The African Rock Python has a lifespan of around 20 to 30 years.
Is the African Rock Python endangered?
African Rock Python is listed as Near Threatened on the IUCN Red List. The threats recorded for the African Rock Python are deliberate hunting and collection of the species itself, housing and urban development and persecution and killing as a pest or threat.
What is the scientific name of the African Rock Python?
The scientific name of African Rock Python is Python sebae, in the family Pythonidae.
Is the African Rock Python dangerous to humans?
It is one of the very few snakes credibly documented to have killed humans by constriction, though such events are extremely rare. It is hunted for its skin, meat, and use in traditional medicine, and habitat loss and persecution have led to local declines.
How does the African Rock Python reproduce?
The species is oviparous, laying clutches of roughly 20 to 100 eggs in a burrow or termite mound. The female coils around the eggs to guard and warm them during incubation, and unusually for snakes she may remain with the hatchlings for a short time. Incubation lasts about two to three months.
Etymology & Name
The genus Python comes from the Delphic serpent of Greek myth, a name often applied to large constricting snakes. The specific epithet sebae honours Albertus Seba, an 18th-century Dutch apothecary and naturalist whose extensive specimen collection was used in the species' original description. As a member of the Pythonidae family, this snake is widely distributed across sub-Saharan Africa, inhabiting diverse environments from savanna to forest. The name links the species to both classical mythology and the history of European naturalists who first cataloged the biodiversity of the African continent.
Ray in Manila (CC BY)
Did You Know?
Unlike most snakes, the female African rock python guards her eggs and remains coiled protectively around her newly hatched young for a period after they emerge. This maternal behavior is rare among reptiles and serves to protect the vulnerable hatchlings from predators. As one of the largest snakes in the world, it is a powerful constrictor capable of taking down large prey, yet it remains a dedicated parent, often aggressively defending its nest site from any perceived threats during the incubation period.
★ Iconic Moment
The 2013 Florida Swamp Capture
There are verified historical accounts of large rock pythons attacking and, in isolated cases, swallowing children, cementing its reputation as one of the few snakes dangerous to people. In 2017 a South African rock python was found to have swallowed a young man.
Size Compared to a Human
Length16.4 ft500 cm
Weight55–90 kg121–198 lb
Up to 55 to 90 kilograms in the largest individuals
A African Rock Python is roughly 16.4 ft long, shown next to an average adult human (5′9″ / 1.75 m) for scale.
Classification & Traits
Size
3 to 5 metres, occasionally larger
Weight
Up to 55 to 90 kilograms in the largest individuals
Colors
Brown, olive, and tan with irregular dark-edged blotches and a pale belly
Phylum
Chordata
Class
Squamata
Order
Squamata
Family
Pythonidae
Genus
Python
Adult • Baby
Adult
Captured by: k_mcqualter
BabyHatchling
Captured by: Tigerpython
Females grow considerably larger and bulkier than males, while males have relatively larger cloacal spurs.
Anatomy & Field Signs
The body parts that define the African Rock Python, skull, skeleton, skin and the features that set it apart, plus the tracks and signs that let researchers identify it even when the animal is nowhere in sight.
Skull & Jaws
A highly flexible skull with jaws that unhinge, letting a snake swallow prey far wider than its own head.
Captured by: Hans Friedrich Gadow
Fangs & Teeth
Backward-curving teeth grip struggling prey; venomous species add hollow or grooved fangs to inject venom.
Skeleton
A skeleton of little more than a skull, a long backbone and hundreds of ribs, no limbs at all.
Captured by: Florida Museum of Natural History Herpetology
Scales & Skin
Overlapping dry scales, with broad belly scutes that grip the ground to drive the snake forward; the skin is shed whole.
Captured by: Ray in Manila
Body & Coils
The long, powerful, muscular body, used to constrict prey, to strike, or to swim.
Captured by: rjq
Egg
The eggs of this species, their shape, size, colour and clutch.
Captured by: Tigerpython
How to Tell It Apart
It is distinguished from the southern African rock python by its larger average size and the presence of a distinctive subocular marking. Its bold, irregular blotching separates it from smaller African snakes.
Distinguishing features, broken down field by field:
Size & Build
LengthAfrica's largest snake, 3-5 m and occasionally larger.vs Southern African Rock Python
ComparisonLarger on average than the southern African rock python.vs Southern African Rock Python
Head
Subocular markHas a distinctive subocular (below-eye) marking.vs Southern African Rock Python
Colour & Pattern
BlotchingBrown, olive and tan with bold, irregular dark-edged blotches and a pale belly.
Habitat & Range
DistributionRanges across sub-Saharan Africa in savanna, forest edge and near water.
Behaviour
ConstrictionA non-venomous constrictor capable of taking large mammal prey.
Commonly Mistaken For
Animals that genuinely look like the African Rock Python at a glance, and the detail that separates them.
As a member of the Old World genus Python, this species represents an ancient African radiation of constricting snakes that still retain vestigial pelvic spurs. They are closely related to the Asian pythons but have evolved specific adaptations to thrive in the diverse savanna and forest environments of sub-Saharan Africa. The species is currently understood as a complex, with the northern (Python sebae) and southern (Python natalensis) populations often treated as separate species due to distinct evolutionary pressures and geographic isolation. Their evolutionary success is rooted in their ability to act as apex ambush predators, utilizing their massive size and powerful constriction to secure a wide variety of prey across varied landscapes.
Conservation Status
On the IUCN Red List, this species is classified as Near Threatened.
LC
NT▲
VU
EN
CR
EW
EX
Least concernExtinct
Habitat & Range
This snake occupies a broad range of habitats across sub-Saharan Africa, from savanna and grassland to forest edges and rocky outcrops, almost always near water. It is widely distributed from Senegal eastwards to Tanzania. It readily takes to rivers, lakes, and swamps and can survive in semi-arid areas by sheltering in burrows. It has also adapted to farmland and the fringes of human settlements. Its ability to thrive in such varied environments is due to its large size and generalist diet, which includes a wide array of mammals and birds. The python requires access to water for thermoregulation and hunting, and it often utilizes abandoned burrows or dense vegetation to hide from the heat of the day, making it a highly successful predator across the continent.
Where to Find Them
Where in the world the African Rock Python is found. Each coloured area shows a region where it lives, plotted on the whole world so you can see its range at a glance. Drag and zoom in to explore.
Every confirmed sighting of the African Rock Python logged by naturalists
and field surveys: 607 of them,
across 29 countries.
29Countries with records
607Wild sightings logged
BeninMost records · 28% of all
BJBenin16828%
KEKenya7112%
TZTanzania6210%
NGNigeria498%
UGUganda457%
GAGabon366%
SNSenegal325%
CICôte d’Ivoire274%
MRMauritania152%
GMGambia132%
CDDR Congo112%
USUnited States102%
AOAngola91%
TDChad81%
CMCameroon81%
CGCongo81%
ETEthiopia71%
CFCentral African Republic41%
GNGuinea30%
BFBurkina Faso30%
RWRwanda30%
GWGuinea-Bissau30%
Also recorded, in ones and twos, in
Niger, Sudan, South Sudan, Ghana, Equatorial Guinea, Liberia, Burundi.
How to read this. These are sighting
records, not population counts. A country near the top has been
watched and catalogued the most, not necessarily the most
African Rock Pythons living there, and a country with few naturalists will
sit low on this list even where the animal is common. Museum specimens and
captive animals are excluded, so these are wild sightings only. Compiled
from GBIF occurrence data.
Biology & Behavior
Diet
The African rock python preys on a variety of mammals and birds, including rats, monkeys, antelope, warthogs, and domestic animals such as goats and dogs. Large individuals can tackle prey the size of small antelope or crocodiles. Juveniles feed mainly on rodents and birds. As an ambush predator, this snake relies on its immense strength and constriction capabilities to subdue prey that is often significantly larger than its own head. It patiently waits for unsuspecting animals to approach water sources or well-traveled paths before striking with lightning speed. Once the prey is secured, the python swallows it whole, a process that can take several hours, after which the snake may go for weeks or even months without needing to hunt again.
It is a solitary, largely nocturnal ambush hunter that shelters by day in burrows, termite mounds, or dense vegetation. While primarily operating under the cover of darkness, individuals often emerge during daylight hours to bask in open patches of sunlight to regulate their body temperature, especially after consuming large prey or when females are gravid. Individuals are territorial only loosely and come together primarily to breed, interacting with conspecifics almost exclusively during courtship. When threatened it can be highly defensive, hissing loudly and striking with immense force. Female pythons exhibit attentive maternal behavior, coiling tightly around their clutch of eggs to defend them against potential nest raiders until hatching, after which the offspring receive no parental care and quickly disperse to lead independent lives.
Reproduction
The species is oviparous, laying clutches of roughly 20 to 100 eggs in a burrow or termite mound. The female coils around the eggs to guard and warm them during incubation, and unusually for snakes she may remain with the hatchlings for a short time. Incubation lasts about two to three months. Courtship involves males wrestling and rubbing their bodies against females, using cloacal spurs to stimulate them before mating occurs during the dry season.
Hunting Style
It ambushes prey from concealment, seizing it with recurved teeth and constricting powerfully to suffocate it. Its cryptic pattern lets it lie in wait undetected near game trails and water. When an unsuspecting mammal or bird approaches within striking range, it launches forward with explosive speed, burying its backward-curving teeth into the animal before looping its heavy coils around the torso, tightening its grip with every exhale until the prey succumbs to circulatory collapse.
Captured by: Adedotun Ajibade
Life in a Group
A group of African Rock Pythons is called a Solitary.
Like many other snake species, African rock pythons are fairly solitary snakes, seeking out their own kind only during the breeding season. Being a large-bodied snake, rock pythons mainly stay on the ground, but sometimes climb if the need arises. They can swim well and stay submerged for a long time, which is advantageous for avoiding potential threats. Although primarily nocturnal as adults, rock pythons may be active during the day to bask in the sun for thermoregulation. Juveniles, however, are mostly active at dawn and dusk, preferring to retreat to the safety of a rock formation or hollow tree during the day and night. African rock pythons have a reputation for being particularly aggressive snakes, with pronounced feeding responses and spirited defensive behavior. If unable to escape when threatened, an African rock python will bite and constrict with great ferocity. They have large, recurved teeth and bites are excruciatingly painful and can become easily infected if not treated promptly. Due to the sizes that this species can reach, their constricting power must be respected. When in captivity, a wild-caught individual will rarely acclimate to being handled or confined to a cage. Captive-bred individuals may become docile with a lot of handling, but overall these are aggressive snakes and generally a poor choice for captive husbandry. Key Behaviors terricolous nocturnal nocturnal crepuscular crepuscular sedentary sedentary solitary solitary
Mating & Courtship
Breeding typically follows the dry season, with males competing to court receptive females. Courtship involves the male stroking the female with his body and pelvic spurs.
A Great History
As Africa's largest snake, this species has a long and often fraught history with humans, featuring prominently in traditional myths and as a source of leather and meat. While respected or feared in many local cultures, modern interactions are frequently characterized by conflict as expanding human settlements encroach upon its habitat, leading to occasional predation on livestock. Throughout its vast range from Senegal to Tanzania, the python has been both a target for its skin and a subject of folklore that emphasizes its immense size and power. Despite these pressures, the species remains a resilient part of the African ecosystem. Current efforts to manage human-snake interactions often involve relocation programs and education, aiming to reduce the frequency of lethal encounters while acknowledging the snake's ecological importance.
The India Connection
While India is home to the Indian Rock Python, the African Rock Python is a separate species geographically isolated to the African continent and its surrounding islands.
People & the African Rock Python
It is one of the very few snakes credibly documented to have killed humans by constriction, though such events are extremely rare. It is hunted for its skin, meat, and use in traditional medicine, and habitat loss and persecution have led to local declines. Because of their immense size and defensive temperament, they are often feared by local communities, leading to frequent retaliatory killings when the snakes are found near livestock or human dwellings. Despite their reputation, they generally prefer to avoid human contact. However, their status as a large predator means that accidental encounters can be dangerous, necessitating caution in areas where their ranges overlap with human activity.
Cultural Significance & History
The rock python holds a prominent place in African folklore and traditional belief, revered in some cultures as sacred and feared in others; it appears in myths, taboos, and traditional medicine. Across West Africa, especially among the Fon and Ewe peoples of Benin and Togo, pythons are venerated as earthly emissaries of the deity Dangbe, protected within sanctuaries such as the Temple of Pythons in Ouidah. In southeastern Nigeria, traditional Igbo religion honours the serpent as the sacred messenger of the earth goddess Ala, where killing one constitutes an abomination that requires public atonement. Throughout southern Africa, its skin and fat are utilized by traditional healers in muti practices, while folklore across the continent often depicts it as an ancient guardian of sacred watercourses.
Subspecies Comparison
The species is divided into two subspecies: P. s. sebae, which inhabits central and western Africa, and P. s. natalensis, which is found in southern and eastern Africa.
Some Great News
The African rock python is listed as Near Threatened but remains widespread across sub-Saharan Africa, and it persists remarkably well in farmland and near settlements where rodents are abundant. It occurs across an enormous protected-area network from the Sahel to South Africa, and captive breeding supplies much of the demand from the reptile trade that once relied on wild collection.
The Rare Story
There are verified historical accounts of large rock pythons attacking and, in isolated cases, swallowing children, cementing its reputation as one of the few snakes dangerous to people. In 2017 a South African rock python was found to have swallowed a young man. These incidents, while rare, highlight the immense size and strength of the species, which can reach lengths of over five meters. As an ambush predator, the python relies on its ability to remain perfectly still for long periods, waiting for unsuspecting prey to wander within striking distance. Once it secures a grip with its recurved teeth, it uses its powerful coils to constrict the victim, a process that is both rapid and highly effective. Its presence near human settlements often leads to conflict, as the snake does not distinguish between wild prey and domestic livestock or humans.
Gallery
6 photos
African Rock PythonCaptured by: TigerpythonAfrican Rock PythonCaptured by: Ewout KnoesterAfrican Rock PythonCaptured by: Alex RebeloAfrican Rock PythonCaptured by: rjqAfrican Rock PythonCaptured by: gillbsydneyAfrican Rock Python
Threats & the Fight to Save Them
The threats recorded for the African Rock Python are deliberate hunting and collection of the species itself, housing and urban development and persecution and killing as a pest or threat. Large numbers are targeted for the international pet trade, traditional medicine markets, and skin leather trade, severely depleting wild populations in several regions. As human settlements expand into savanna and forest edges, pythons are frequently killed out of fear or in retaliation for preying on domestic livestock. Habitat destruction through agricultural encroachment further reduces available shelter and prey bases.
Recent News
Recent studies have examined the impact of invasive python populations on local biodiversity in non-native environments.
SNAKES
Serpent Field Chart
Types of Snakes
⤢ Full sizeFifteen snakes in four families, pythons, boas and colubrids, elapids and vipers, each badged by how venomous it is.
As a Pet vs. In the Wild
One of the more manageable exotic pets, with two hard limits: adult size and local law.
Is it legal?
Legal in most places for common captive-bred species, but several large constrictors are restricted: the US Lacey Act bars interstate transport of some Burmese and reticulated pythons and anacondas, and several US states, Australian states and Indian law regulate or prohibit private keeping. Always confirm before buying.
The care reality
Get the adult size right before the hatchling. A retic or Burmese reaching four to six metres needs a custom enclosure and, by common safety practice, a second adult present at feeding.
Heat must be thermostat-controlled, unregulated heat mats and rocks cause severe burns, which is the most common vet presentation in pet snakes.
Feed frozen-thawed rodents, not live: a live rat left in an enclosure will injure or kill the snake.
Humidity drives shedding. Chronic stuck sheds and retained eye caps mean the enclosure is too dry.
Salmonella is carried by healthy reptiles; hand-washing is not optional, and reptiles are not suitable in homes with infants or immunocompromised people.
Lifespans of 20–30 years are normal.
Escaped and introduced populations
Populations outside its native range are recorded in United States, South Africa, Florida, US, Miami-Dade County, US, FL, Florida Everglades, FL, US, Northeastern United States, US.
Laws differ by country, state and city, and they change. Confirm the current rule where you live before acquiring any animal.
Further reading
Merck Veterinary Manual, exotic petsAnimalLaw.infoBorn Free USA, state exotic pet lawsAnimal Diversity Web
Extreme Adaptations & Anatomy
Swallowing something wider than your head
The lower jaw of the African Rock Python is not fused at the chin, the two halves are joined by an elastic ligament and each side walks forward independently, while the whole jaw hangs off a mobile quadrate bone that adds reach. Backward-pointing teeth ratchet the meal in, and the windpipe can be pushed out of the mouth like a snorkel so the snake keeps breathing through a swallow that may take an hour.
Heat pits along the lip
A row of shallow pits runs along the lip scales of the African Rock Python. Each is a heat detector, and together they give a rough infrared picture of anything warmer than the surroundings, evolved separately from the facial pits of vipers, for the same reason. A python coiled at a bat cave mouth in pitch darkness is not guessing.
Tasting the air
The flicking tongue of the African Rock Python is not feeling anything, it is collecting. Scent molecules picked up on the forks are delivered to the Jacobson's organ in the roof of the mouth, and because the two tips sample slightly different points, the animal reads a left-right difference in concentration. That is how a trail is followed: not by smelling it, but by steering up its gradient.
Measured facts
Maximum recorded lifespan in the AnAge database: 27.3 years (acceptable data quality).
Vision: Heat-sensing lip pits build an infrared picture of warm-blooded prey
Body covering: Scales
Further reading
Animal Diversity WebAnimal Diversity WebAnAge DatabaseOneZoom tree of life
References & Further Reading
Where the African Rock Python page comes from. Everything is named rather than linked, search any source by name to read the original.
Compiled from
Animal Diversity Websocial_group_details
IUCN Red ListConservation status, population trend, threats
GBIFTaxonomy, range and occurrence records for Python sebae
iNaturalistObservations and look-alike comparisons
Further reading on snakes and lizards
Wallach, V., Williams, K. L. & Boundy, J. Snakes of the World: A Catalogue of Living and Extinct Species. CRC Press, 2014.
Uetz, P., Freed, P., Aguilar, R. & Hošek, J. (eds) The Reptile Database. online taxonomic database.
Vitt, L. J. & Caldwell, J. P. Herpetology: An Introductory Biology of Amphibians and Reptiles, 4th ed. Academic Press, 2013.
Named, not linked. The works above are the standard literature on snakes and lizards, further reading, not sources this page was copied from. Photographs are used under their individual licences and carry their own credit beside each image. If a source is missing or wrongly credited, tell us below.
Spotted a mistake?
Biospedia is compiled from public sources and written by people, so errors are possible, and wildlife science moves. If anything on this African Rock Python page is wrong, out of date or misleading, please tell us. It will be checked against the sources and fixed.
Sponsor this page and become the quiet guardian of its story, a company, a cause, or a person's name resting here with grace, met by everyone who comes to learn about the African Rock Python.