Quick answer
IUCN status: Least ConcernJavan spitting cobra at a glance
The Javan spitting cobra (Naja sputatrix) is a reptile in the family Elapidae. Its IUCN Red List category is Least Concern.
| Scientific name | Naja sputatrix |
|---|---|
| Indonesian name | Ular kobra Jawa |
| Group | Reptiles |
| Family | Elapidae |
| Range in Indonesia | Java, Bali and Nusa Tenggara (Lombok to Alor) |
| Linked habitats | Savannas, Urban Habitats |
| Diet | Rats, lizards, frogs, birds and other snakes |
| Range in Indonesia | Java, Bali, Lombok, Sumbawa, Flores, Komodo and Alor |
| Key feature | Spoon-shaped hood; can spray venom |
| Length | Average 130 cm, up to 180 cm |
| Other names | Indonesian cobra; ular sendok (spoon snake) |
| Risk to people | Bite can kill; venom spray injures eyes |
| IUCN status | Least Concern · IUCN Red List (via GBIF) · checked 25 September 2026 |
In this guide (10)

What is the Javan spitting cobra?
The Javan spitting cobra (Naja sputatrix) is a venomous cobra of the family Elapidae that can spray its venom, and Indonesians widely call it ular sendok, the spoon snake. The name comes from the way it rears up and flattens its neck into a spoon-like hood when threatened. According to LIPI researcher Amir Hamidy, it averages 1.3 metres and can reach 1.8 metres. The name sputatrix comes from the Latin for spitter. It differs from the Sumatran spitting cobra (Naja sumatrana) of Sumatra and Borneo. It also differs from the king cobra, which belongs to another genus (Ophiophagus) and grows much longer.
Evidence: Mongabay Indonesia — Ular Kobra Masuk Rumah Warga, Fenomena Apa? (2019) ↗ · The Reptile Database — Naja sputatrix ↗ · Mongabay Indonesia — Urusan King Kobra dan Kobra, Amir Hamidy Pakarnya (2020) ↗
Where does the Javan spitting cobra live?
The Javan spitting cobra lives in Java, Bali and Nusa Tenggara, including Lombok, Sumbawa, Flores, Komodo, Rinca, Alor and Lembata. According to Amir Hamidy, its habitat is open forest edges, savanna, rice fields and yards. It is also common in residential areas. In Greater Jakarta, a 2015–2019 study found that 204 of 656 snake reports (31.1%) were Javan spitting cobras, the most of the 37 species reported. The researchers suggest that plentiful prey around homes supports it. Records from Sulawesi are considered doubtful, as the last one dates from 1936.
Evidence: The Reptile Database — Naja sputatrix ↗ · Mongabay Indonesia — Ular Kobra Masuk Rumah Warga, Fenomena Apa? (2019) ↗ · Media Konservasi — Khoerunisa, Kusrini & Mardiastuti (2021), Diversity of snake rescued from residential areas in Greater Jakarta Metropolitan Area ↗
What does the Javan spitting cobra eat?
The Javan spitting cobra eats rats, lizards, frogs and other snakes. A study of snakes in Greater Jakarta's residential areas describes it as a generalist, opportunistic predator of small mammals, frogs, lizards, birds and snakes, including other cobras. The study suggests that abundant prey around homes may explain why the cobra is so often found there. A book by Riza Marlon, quoted by Mongabay, says it is active by day and night, on the ground and sometimes in trees. Cobras subdue prey by biting and injecting venom through their fangs, and the venom paralyses the prey's nerves and muscles within minutes.
Evidence: Mongabay Indonesia — Ular Kobra Masuk Rumah Warga, Fenomena Apa? (2019) ↗ · Media Konservasi — Khoerunisa, Kusrini & Mardiastuti (2021), Diversity of snake rescued from residential areas in Greater Jakarta Metropolitan Area ↗
How does the Javan spitting cobra breed?
The Javan spitting cobra lays eggs; according to Amir Hamidy of LIPI, a female lays 10–20 eggs at a time. The eggs are laid in holes in the ground or under damp leaf litter and hatch after three to four months. As with almost all snakes, the mother leaves the eggs to hatch alone, and the young disperse at once. Hatching happens at the start of the rainy season, so young cobras often appear around homes then. In December 2019, dozens of young cobras were reported entering homes in Bogor, Depok, Bekasi, Purwakarta, East Jakarta, Klaten and Yogyakarta. Even hatchlings have venom glands and are dangerous to people.
Evidence: Mongabay Indonesia — Ular Kobra Masuk Rumah Warga, Fenomena Apa? (2019) ↗ · Mongabay Indonesia — Urusan King Kobra dan Kobra, Amir Hamidy Pakarnya (2020) ↗
Is the Javan spitting cobra dangerous?
Yes, the Javan spitting cobra is highly dangerous: its bite can kill and it can spray venom towards the eyes. WHO lists it as Category 1, the highest medical importance, in Java and the Lesser Sunda Islands. Spitting cobras squeeze venom from the tips of their fangs as a fine spray aimed at an attacker's eyes, and the spray can injure the eyes. Mongabay cites a spitting range of up to two metres. Proteomic analysis shows the venom is dominated by three-finger toxins, mainly cytotoxins and short-chain neurotoxins, plus phospholipase A2. If bitten or sprayed, seek medical care at a health facility immediately.
Evidence: WHO Regional Office for South-East Asia — Guidelines for the management of snakebites, 2nd edition (2016) ↗ · PubMed — Tan, Wong & Tan (2017), Venomics of Naja sputatrix, the Javan spitting cobra ↗ · Mongabay Indonesia — Ular Kobra Masuk Rumah Warga, Fenomena Apa? (2019) ↗
What should you do if you meet a Javan spitting cobra?
If you meet a Javan spitting cobra, back away slowly and do not approach, catch, handle or kill it; call trained officers such as Damkar, the fire and rescue service. A Greater Jakarta study records fire departments in Bogor, Jakarta, Depok, Tangerang and Bekasi responding to snake reports in residential areas. Give the snake room to leave; WHO notes that snakes prefer to avoid large animals such as people. Make homes less attractive to snakes by not leaving food scraps that draw rats, clearing junk piles and removing heaps of dead leaves. WHO also notes that no known chemical repels snakes effectively while being safe for children and pets.
Evidence: Media Konservasi — Khoerunisa, Kusrini & Mardiastuti (2021), Diversity of snake rescued from residential areas in Greater Jakarta Metropolitan Area ↗ · WHO Regional Office for South-East Asia — Guidelines for the management of snakebites, 2nd edition (2016) ↗ · Mongabay Indonesia — Ular Kobra Masuk Rumah Warga, Fenomena Apa? (2019) ↗
Explore related habitats
These habitat relationships are supported by species sources in this guide. This is not a complete range map.
Common questions about the Javan spitting cobra
What is the scientific name of the Javan spitting cobra?
The scientific name of the Javan spitting cobra is Naja sputatrix, in the family Elapidae. In Indonesian it is called Ular kobra Jawa.
Where can the Javan spitting cobra be found in Indonesia?
In Indonesia, this guide records the Javan spitting cobra in: Java, Bali and Nusa Tenggara (Lombok to Alor).
Source-supported habitats: Savannas, Urban Habitats.
What does the Javan spitting cobra eat?
Diet of the Javan spitting cobra: rats, lizards, frogs, birds and other snakes.
What is the conservation status of the Javan spitting cobra?
On the IUCN Red List, the Javan spitting cobra is listed as Least Concern: it does not currently qualify for a threatened category in the global assessment. Source: IUCN Red List (via GBIF), checked 25 September 2026.
This global category is separate from legal protection in Indonesia. To check whether the Javan spitting cobra is a protected species, consult the current national list of protected species or contact the local BKSDA (natural resources conservation office).
Sources & references
- The Reptile Database — Naja sputatrix ↗
- Mongabay Indonesia — Ular Kobra Masuk Rumah Warga, Fenomena Apa? (2019) ↗
- Mongabay Indonesia — Urusan King Kobra dan Kobra, Amir Hamidy Pakarnya (2020) ↗
- Media Konservasi — Khoerunisa, Kusrini & Mardiastuti (2021), Diversity of snake rescued from residential areas in Greater Jakarta Metropolitan Area ↗
- PubMed — Tan, Wong & Tan (2017), Venomics of Naja sputatrix, the Javan spitting cobra ↗
- WHO Regional Office for South-East Asia — Guidelines for the management of snakebites, 2nd edition (2016) ↗
- IUCN Red List of Threatened Species, version 2026-1, via GBIF (CC BY 4.0) ↗
References can change. Check dates and context in the original source.
Further reading
Cobra: facts, threats and conservation ↗ — World Animal Rescue Network. A broader overview that covers this animal.
Cite this page
PanduanHewan. (2026, 25 September). Javan spitting cobra (Naja sputatrix). PanduanHewan.org. https://panduanhewan.org/en/species/javan-spitting-cobra/