Updated
African rock python Uganda is the largest snake in Africa and one of the largest in the world, a massive constrictor occasionally encountered in savannah and forest-edge habitats across the country. The African rock python is Africa’s largest snake, commonly reaching 3–5 metres and occasionally more. It is non-venomous and kills prey by constriction, eating animals from rodents and birds to monitor lizards and small antelopes. In Uganda it lives in savannah, swamps and forest edges, and visitors to Queen Elizabeth National Park can sometimes see pythons at the bat cave in Maramagambo Forest, where they hunt the bats that roost inside.
African Rock Python Uganda: The Massive Constrictor Facts
Appearance and behaviour
Rock pythons are heavy-bodied, with brown, olive and tan blotches edged in black and a dark arrowhead mark on the head. They are good swimmers and often stay near water, lying in wait for prey that comes to drink. After a large meal, a python may not eat again for weeks or months. Females lay large clutches of eggs and coil around them, guarding them until they hatch, unusual behaviour among snakes.
Where to see one
The bat cave on the Maramagambo Forest walk in Queen Elizabeth, near Lake Edward, is the most reliable place for visitors; a viewing area lets you watch from a safe distance. Pythons are also occasionally seen on game drives in Murchison Falls, Queen Elizabeth and Lake Mburo, and around swamps. Visitors to the bat cave have been advised by health authorities to avoid entering the cave because of bat-borne diseases; view from the outside platform only. See our guide to Queen Elizabeth National Park.
Pythons and people
Attacks on people are very rare. Pythons sometimes take goats or chickens, which leads to conflict with farmers, and they are hunted for skins and meat in some areas. They are protected in the national parks. The gorilla permit costs US$800, or US$600 in April, May and November. See our guides to the Gaboon viper, forest hazards and safari animals in Uganda.
Frequently asked questions
Commonly 3–5 metres, occasionally larger.
No, they kill by constriction.
At the Maramagambo bat cave in Queen Elizabeth National Park.
Very rarely.
Distribution and Habitat in Uganda
The African rock python is found across Uganda’s savannah and woodland zones, including Murchison Falls, Queen Elizabeth, and Kidepo Valley national parks. It is rarely encountered due to its secretive habits and ability to remain motionless in dense vegetation for extended periods. The species favours areas near permanent water — river banks, lake margins, and wetland edges — where prey is abundant. Game drives along the Nile in Murchison Falls occasionally produce python sightings near water. The species is more often found by accident during forest walks than by deliberate searching.
Size and Hunting
The African rock python (Python sebae) is Africa’s largest snake, with the largest individuals reliably recorded at 5 to 6 metres and weights of 90 to 100 kilograms. The species kills prey by constriction — wrapping coils around the prey animal and tightening each time the prey exhales, until the animal dies from circulatory failure rather than suffocation. The python’s flexible skull and ligament-connected jaws allow it to swallow prey considerably larger than its own head — juvenile crocodiles, small antelopes, and primates are all recorded prey items. After a large meal, the python may not need to feed again for several months.
Conservation Status
The African rock python is classified as Least Concern by the IUCN. In Uganda it faces pressure from killing by communities that fear the snake, and from collection for the traditional medicine trade. Its skin is also commercially valuable. National park populations are protected but pythons outside park boundaries face significant persecution.
Encounters in Uganda
African rock pythons are occasionally encountered on game drives and forest walks in Uganda’s national parks. They are generally not aggressive toward humans unless cornered or restrained. Rangers at national parks are experienced in managing python encounters and will advise visitors on appropriate behaviour.
African Rock Python: Prey and Digestion
The African rock python’s feeding biology is as extraordinary as its hunting. A large python digesting a significant meal undergoes physiological changes so dramatic that they have been compared to the organ growth experienced during pregnancy in mammals — the intestine doubles in mass, the liver triples its metabolic rate, and the heart enlarges substantially, all within 24 hours of beginning to digest prey. These changes reverse within days of digestion completing. The energy cost of these organ changes is massive, and a python that cannot complete digestion — due to harassment by a predator or capture — will regurgitate prey, sometimes at an advanced stage of digestion. This regurgitation is the origin of stories of snakes ‘vomiting’ half-digested animals, which have sometimes been exaggerated in popular accounts.

















