● Venomous · Native to southern Africa

Cape cobra

Naja nivea (Linnaeus, 1758)

Found only in southern Africa
Data updated November 2026

Golden-yellow Cape cobra raised off sandy ground with its hood spread
Fig. 1 — A yellow Cape cobra in its warning display, head raised and hood spread.
Dark brown Cape cobra speckled with lighter flecks, moving through dry scrub
Fig. 2 — Color varies from yellow and copper to brown and near-black, often speckled.

At a glance

A medium-sized cobra of the dry west of southern Africa, from the Karoo and Kalahari to fynbos and the edges of towns. It is usually shy and would rather flee, but it can hold its ground and bite quickly. Any bite is life-threatening and needs urgent medical care.

01

Identification

The Cape cobra is a slender to medium-built cobra that comes in a wide range of colors: pale to rich yellow, golden, copper, light to dark brown and sometimes nearly black, often speckled with darker brown or orange flecks. Its species name, nivea, means “snowy” in Latin, possibly because the first preserved specimens looked whitish. Like other cobras it can lift the front of its body and spread its neck into a broad hood.

  1. 01Hood display. When threatened it raises its head off the ground and spreads a wide hood, often hissing.
  2. 02Variable color. Yellow, copper, brown or black, frequently speckled. Color alone is not a reliable ID.
  3. 03Dark throat band in young. Juveniles have one or two dark bands across the throat.
  4. 04Front fangs, no spitting. It has fixed fangs at the front of the mouth and bites rather than spits.

In southern Africa it is often confused with the harmless mole snake and slug-eaters, and with other cobras such as the snouted cobra and the black spitting cobra. With a cobra-shaped snake, assume it is dangerous and keep well back.

02

Size

01 ft2 ft3 ft4 ft5 ft6 ft Typical adult · about 4 ft (1.2 m) Max · about 5.2 ft (1.6 m)

Adults are usually about 1.2 m (4 ft) long and can reach about 1.6 m (5.2 ft). Hatchlings are up to about 40 cm (16 in) long.

03

Range & habitat

Cape cobra crossing dry, open Karoo scrubland with low bushes and sandy ground
Fig. 3 — Dry, open country such as the Karoo is typical Cape cobra habitat.

The Cape cobra is found only in southern Africa. It is widespread in South Africa’s Western and Northern Cape and also occurs in the Eastern Cape, Free State, North West and western Gauteng, as well as southern Botswana and southern Namibia. It keeps to the drier western half of the region.

It lives mostly on the ground in dry, sandy country such as the Karoo and Kalahari, and also in grassland and fynbos. It regularly turns up in informal and semi-urban settlements, which brings it into contact with people.

04

Diet & predators

Cape cobras hunt actively by day. They eat mainly rodents and birds, plus frogs, lizards and other snakes. They readily climb trees and shrubs to raid nests for chicks and eggs, and in the Kalahari they are often seen in the huge communal nests of sociable weavers.

Feeds on

  • Rodents
  • Birds, chicks and eggs
  • Frogs and lizards
  • Other snakes

Preyed on by

  • Mongooses and meerkats
  • Honey badgers and civets
  • Secretary birds and snake eagles
  • Other snakes
Large communal sociable weaver nest in a Kalahari acacia tree
Prey — chicks and eggs in sociable weaver nests.
Secretary bird striding through dry grassland
Predator — secretary bird.

05

Behavior & seasons

Cape cobras are mainly active during the day, but in extreme summer heat they shift their activity to dusk and evening. They live alone and usually try to escape from people. Hooding and hissing are warnings, not attacks, but a cornered Cape cobra will often stand its ground and can raise its hood and bite quickly.

During the mating season in September and October they may be more defensive than usual. If you see one, keep your distance and give it a clear way to escape.

06

Reproduction

Cape cobras mate in spring, in September and October. In summer the female lays up to 20 eggs in a sheltered spot such as a burrow, an old termite mound or a space under rocks. The hatchlings are fully independent, and venomous, from the moment they emerge.

07

Conservation

The Cape cobra is listed as Least Concern, according to the South African National Biodiversity Institute, and the Los Angeles Zoo gives the same IUCN rating. It remains widespread across the dry west of southern Africa, including around towns and settlements.

08 — Bite safety

If someone is bitten

Cape cobra bites are a medical emergency. Call 911 or go to the nearest emergency department. For guidance, call Poison Control at 1-800-222-1222. If a pet is bitten, take it to a veterinarian right away.

This page does not give first-aid or treatment instructions. Read our safety disclaimer.

Keep reading

Sources

Data updated November 2026 · How we build these pages