The Indonesian spitting cobra, also called the Javan spitting cobra, is a medium-to-large cobra native to the Lesser Sunda region of Indonesia. Adults are usually a fairly uniform yellowish, brown or blackish, while juveniles often show a pale throat band. Like other cobras it flattens its neck into a hood when threatened and, true to its name, can spray venom at the eyes of an aggressor. Its venom contains both neurotoxins and cardiotoxins. It is a defensive but adaptable snake found across several Indonesian islands. This species is primarily terrestrial, often found in rice paddies, plantations, and forest clearings where it hunts for small mammals, frogs, and other snakes. The ability to spit venom is a highly effective defensive mechanism, allowing the snake to deter predators from a distance without the need for a physical strike. The venom is projected with remarkable accuracy, causing intense pain and potential blindness if it contacts the eyes. Despite its reputation, the Indonesian spitting cobra is generally shy and will attempt to retreat if given the chance. It is most active during the day and early evening, basking in the sun to regulate its body temperature. The snake's adaptability to human-modified landscapes has allowed it to persist in areas where other species might struggle, though it remains vulnerable to persecution by people who fear its venomous bite. Understanding its behavior and ecological role is essential for promoting coexistence in the densely populated regions of Indonesia where it is found.
It preys chiefly on small mammals such as rats and mice, and also takes frogs, lizards and other snakes, being drawn to farmland and settlements by abundant rodents. Across the islands of Java, Bali, and neighboring regions, this elapid hunts primarily at night in agricultural fields and forest edges.
Where does the Indonesian Spitting Cobra live?
It is native to the Indonesian islands of Java, Bali, Lombok, Sumbawa, Flores, Komodo and neighbouring islands. It occupies a range of environments from tropical forest and monsoon woodland to drier scrub and cultivated land, often near villages and rice fields.
How big is the Indonesian Spitting Cobra?
Around 1.3 m, up to about 1.85 m
How long does the Indonesian Spitting Cobra live?
The Indonesian Spitting Cobra has a lifespan of up to about 20 years.
Is the Indonesian Spitting Cobra endangered?
Indonesian Spitting Cobra is listed as Least Concern on the IUCN Red List. The threats recorded for the Indonesian Spitting Cobra are deliberate hunting and collection of the species itself. Threat categories come from the species' IUCN Red List assessment.
What is the scientific name of the Indonesian Spitting Cobra?
The scientific name of Indonesian Spitting Cobra is Naja sputatrix, in the family Elapidae.
Is the Indonesian Spitting Cobra dangerous to humans?
Its habit of living near rice fields and villages brings it into frequent contact with people, and its spitting and venomous bites make it a snake of real medical concern, though fatal bites are relatively rare.
How does the Indonesian Spitting Cobra reproduce?
It is oviparous, with females laying clutches of around 13 to 19 eggs, which incubate for roughly three months before hatching. The young emerge fully venomous and able to spit.
Etymology & Name
The genus Naja is from the Sanskrit naga for snake, while the species epithet sputatrix is Latin for female spitter, a direct reference to the snake's venom-spitting defence. As a member of the Elapidae family with a body length of 130 and a lifespan of up to about 20 years, this reptile is native exclusively to the Indonesian islands of Java, Bali, Lombok, Sumbawa, Flores, Komodo, and surrounding areas.
Department of Sustainability & Environment (CC BY)
Did You Know?
Its scientific name sputatrix literally means spitter, naming it after its signature defence of accurately projecting venom toward the eyes of potential threats. This venom delivery mechanism can cause severe irritation or temporary blindness from a distance, deterring predators before physical contact occurs.
★ Iconic Moment
The Extensive Herpetological Study on Venom Cytotoxicity and Defense Mechanisms on the Island of Java
The species has faced pressure from harvesting for its patterned skin, used in the leather trade, in addition to being killed out of fear near settlements.
Size Compared to a Human
Length4.3 ft130 cm
Weight1–3 kg2.2–6.6 lb
A Indonesian Spitting Cobra is roughly 4.3 ft long, shown next to an average adult human (5′9″ / 1.75 m) for scale.
Classification & Traits
Size
Around 1.3 m, up to about 1.85 m
Weight
Around 1 to 3 kg
Colors
Fairly uniform yellowish, brown or blackish; juveniles with a throat band
Phylum
Chordata
Class
Squamata
Order
Squamata
Family
Elapidae
Genus
Naja
Adult • Baby
Adult
Captured by: redrovertracy
BabyHatchling
Captured by: belangbontang
The sexes are similar in appearance, with only minor size differences between males and females.
Anatomy & Field Signs
The body parts that define the Indonesian Spitting Cobra, 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.
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.
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: Wibowo Djatmiko
Body & Coils
The long, powerful, muscular body, used to constrict prey, to strike, or to swim.
Captured by: redrovertracy
Egg
The eggs of this species, their shape, size, colour and clutch.
How to Tell It Apart
Its venom-spitting ability separates it from non-spitting Asian cobras, and its mostly uniform colouring and island distribution distinguish it from the boldly hood-marked spectacled and monocled cobras of mainland Asia.
Distinguishing features, broken down field by field:
Behaviour
Venom deliveryIts venom-spitting ability separates it from the non-spitting Asian cobras.vs Monocled Cobra
Habitat useIt favours dry lowland forest, scrub and cultivated areas on the islands.
Scales or Skin & Colour
ColourMostly uniform yellowish, brown or blackish; juveniles show a throat band.
Head
HoodThe hood lacks the bold spectacle or monocle marks of mainland Asian cobras.vs Indian Cobra
Size & Build
LengthAround 1.3 m, reaching about 1.85 m.
Habitat & Range
RangeRestricted to the Lesser Sunda Islands and Java in Indonesia.
Commonly Mistaken For
Animals that genuinely look like the Indonesian Spitting Cobra at a glance, and the detail that separates them.
The Indonesian spitting cobra is part of the Asian spitting cobra group within Naja, snakes whose fangs evolved to spray venom for defence. It is closely related to other Southeast Asian cobras and was once confused with the equatorial spitting cobra. The specialized anterior-facing holes in its fangs and musculature around the venom glands are key evolutionary adaptations developed to deter mammalian and avian predators across Java, Bali, and neighboring islands. Its divergence from non-spitting elapid ancestors marks a significant evolutionary shift toward projectile chemical defense in insular Southeast Asian tropical forest and agricultural environments.
Conservation Status
On the IUCN Red List, this species is classified as Least Concern.
LC▲
NT
VU
EN
CR
EW
EX
Least concernExtinct
Habitat & Range
It is native to the Indonesian islands of Java, Bali, Lombok, Sumbawa, Flores, Komodo and neighbouring islands. It occupies a range of environments from tropical forest and monsoon woodland to drier scrub and cultivated land, often near villages and rice fields. This venomous elapid is exceptionally adaptable, frequently utilizing agricultural terraces, rural gardens, and forest edges where it finds ample shelter in rodent burrows, rock piles, and beneath fallen timber across its island range.
Where to Find Them
Where in the world the Indonesian Spitting Cobra 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.
It preys chiefly on small mammals such as rats and mice, and also takes frogs, lizards and other snakes, being drawn to farmland and settlements by abundant rodents. Across the islands of Java, Bali, and neighboring regions, this elapid hunts primarily at night in agricultural fields and forest edges. It subdues its quarry by delivering a potent neurotoxic and cytotoxic venom, either through a direct envenomation bite or by accurately projecting venom into the eyes of potential threats and prey.
The Indonesian spitting cobra is a solitary and mainly nocturnal snake that is highly defensive when confronted. It rears up, spreads a hood and readily spits venom toward the eyes of a perceived threat, biting if further pressed. By day it usually shelters in cover and emerges to hunt after dark. Individuals lead independent lives, interacting with conspecifics only during the mating season. They do not defend territories, roaming across overlapping home ranges in search of prey. Daylight is spent concealed within rodent burrows, piles of vegetation, or rock crevices. At twilight, they emerge as active terrestrial hunters, using acute chemoreception to track toads, rodents, and other snakes. When threatened, they rear up into an upright posture, spreading the hood and accurately spraying defensive venom up to two meters.
Reproduction
It is oviparous, with females laying clutches of around 13 to 19 eggs, which incubate for roughly three months before hatching. The young emerge fully venomous and able to spit. Courtship and mating typically occur during the dry season, after which females search for secure, damp subterranean cavities, hollow logs, or leaf litter deposits to deposit their eggs. Once the clutch is laid, the female generally offers no sustained post-hatching parental care, leaving the neonates to fend for themselves immediately upon emergence.
Hunting Style
It actively hunts rodents and other small prey at night around fields and forest edges, subduing them with a venomous bite rather than by spitting, which it uses only in defence. Slipping quietly through the undergrowth of tropical islands like Java and Bali, it tracks warm-blooded prey with ground vibrations and chemical cues, injecting lethal cytotoxins with its front-fanged delivery system to ensure rapid incapacitation.
Captured by: M Nur Yahya
Life in a Group
A group of Indonesian Spitting Cobras is called a Solitary.
This elapid is a solitary predator that does not engage in social bonding, communal nesting, or any form of cooperative group activity.
Mating & Courtship
Mating takes place around the dry season months, roughly August to October, before the female lays her clutch.
A Great History
This species has long been encountered by human populations across Java and the Lesser Sunda Islands. Historically, it has been feared for its defensive venom-spitting behavior, which poses a significant risk to farmers and villagers. In modern times, it is frequently collected for the skin trade and for use in traditional medicine, leading to complex and often adversarial interactions with local communities.
The India Connection
This species is endemic to the Lesser Sunda Islands of Indonesia, including Java, Bali, and Lombok, and its natural distribution does not extend to the Indian subcontinent or any Indian territories.
People & the Indonesian Spitting Cobra
Its habit of living near rice fields and villages brings it into frequent contact with people, and its spitting and venomous bites make it a snake of real medical concern, though fatal bites are relatively rare. When threatened, this elapid can accurately project jets of venom toward the eyes of a perceived aggressor from a short distance, causing intense pain and temporary or permanent blindness if not washed out immediately. Despite these defensive hazards, encounters usually happen when people accidentally step on or corner the snake during agricultural work.
Cultural Significance & History
It is a well-known and feared snake on the Indonesian islands it inhabits and features in local beliefs about dangerous wildlife; its skin has historically been harvested for the leather trade. The snake's ability to project venom has made it a central figure in local cautionary tales and traditional medicine, where it is often associated with the unpredictable dangers of the tropical landscape. Its reputation as a formidable and defensive creature has cemented its status in regional folklore, where it is frequently depicted as a powerful, albeit perilous, inhabitant of the islands that demands respect and caution from those who share its territory.
Some Great News
The Indonesian spitting cobra is listed as Least Concern and remains common across Java, Bali and the Lesser Sundas, including in rice paddies and plantation country where rodents are plentiful. Antivenom is produced in Indonesia for the species, and snake rescue and relocation groups have grown rapidly across Java, reducing both the killing of cobras and the bites that come from attempting it.
The Rare Story
The species is assessed as Least Concern. However, near future studies (adaptive management) are warranted to assess the levels of trade in place at the current time and establish effective captive breeding facilities to prevent the laundering of wild specimens. The species is very common, especially in human made habitats such as rice fields and grassland, as well as in savanna. When threatened by potential predators or humans, this venomous elapid displays exceptional defensive accuracy, forcefully ejecting modified neurotoxic venom from its specialized fangs directly into the eyes of an attacker from a distance of up to two meters. This precise chemical defense temporarily blinds and intensely irritates aggressors, allowing the snake to make a swift escape into the dense vegetation of its tropical island home.
The threats recorded for the Indonesian Spitting Cobra are deliberate hunting and collection of the species itself. Threat categories come from the species' IUCN Red List assessment. Native to Java, Bali, Lombok, Sumbawa, Flores, Komodo, and neighboring islands, this elapid encounters intensive collection pressures driven by the international exotic pet trade, traditional medicine markets, and skin harvesting. As human populations expand across its native tropical habitats, encounters often result in retaliatory killing, while agricultural expansion and infrastructure development progressively fragment its local range.
Recent News
The species is common in its range and has no significant recent news.
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
For licensed, experienced keepers only, and illegal for private keepers in much of the world.
Is it legal?
Venomous reptiles require a Dangerous Wild Animals licence in the UK, permits or an outright ban in most US states, and are prohibited for private keepers in India, Australia and much of Europe. Keeping one illegally typically voids home insurance and can be a criminal offence.
The care reality
Antivenom for exotic species is not stocked by ordinary hospitals. Serious keepers arrange supply and a written hospital protocol in advance, without that, a bite is a medical emergency nobody can treat.
Standard practice is lockable escape-proof caging, hook-and-tube handling with no free handling ever, and never working alone.
Most bites to keepers happen during routine cleaning and feeding, not during anything dramatic.
An escape is a public safety incident with legal consequences, not an inconvenience.
Laws differ by country, state and city, and they change. Confirm the current rule where you live before acquiring any animal.
Further reading
Snakebite FoundationAnimalLaw.infoBorn Free USA, state exotic pet lawsAnimal Diversity Web
Extreme Adaptations & Anatomy
Swallowing something wider than your head
The lower jaw of the Indonesian Spitting Cobra 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.
Tasting the air
The flicking tongue of the Indonesian Spitting Cobra 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
Science has catalogued 31 venom and toxin proteins from this species in UniProtKB, among them Neutral phospholipase A2 muscarinic inhibitor; Venom nerve growth factor 1.
Maximum recorded lifespan in the AnAge database: 13.5 years (acceptable data quality).
Vision: Aims for the eyes with real accuracy, spraying venom over 2 m through forward-facing openings in the fang tips
Body covering: Scales
Further reading
Animal Diversity WebAnimal Diversity WebVenomZoneAnAge DatabaseOneZoom tree of life
What is actually in itVenom Profile
This venom is classified asNeurotoxic venom
39%
neurotoxic toxins are the most numerous in the mixture, at 24 of the catalogued proteins identified so far
Acts on heart muscle directly, disturbing rhythm and contraction. In cobra venom it works alongside the neurotoxins rather than instead of them.
Cytotoxic
Destroys tissue where it lands, swelling, blistering and blackened, dying flesh around the bite. This is the component behind most amputations after snakebite.
Ion-channel blocking
Jams the microscopic gates that let nerve and muscle cells fire at all. It is the mechanism behind both paralysis and the intense pain some venoms cause.
Neurotoxic dominant
Attacks the nervous system, it blocks the signal between nerve and muscle, so the damage shows as drooping eyelids, difficulty swallowing and, in a severe bite, paralysis of the muscles used to breathe.
Neurotoxic (postsynaptic) dominant
Plugs the receptor on the muscle side of the junction, like a key jammed in a lock. Fast-acting, and the type antivenom reverses best.
31 venom proteins from this species have been sequenced and catalogued in UniProtKB.
Composition on record
The Indonesian spitting cobra possesses no poisonous tissues; its meat, organs, and skin do not harbor ingested or synthesized defensive chemical poisons. Ingesting the cooked or raw body tissues of this snake does not result in systemic chemical poisoning in humans or domestic animals, as it does not bioaccumulate toxins from its prey. If a dog or cat mouths or eats a dead specimen, there is no risk of poisoning from the flesh itself, provided the animal does not come into contact with residual venom in the head glands. Decontamination involves rinsing the mouth with water and seeking veterinary observation for gastrointestinal upset.
Further reading
UniProtKB, toxin proteins of this speciesVenomZone
Field protocolIf You Meet One
Do this
Stop and back away slowly. Almost all bites happen when someone tries to catch, kill or move the snake.
Never do this
Keep pets and children back; do not corner the animal, leave it a way out.
Further reading
Snakebite FoundationVenomZoneLeave No Trace, respect wildlife
If the worst happensEmergency First Aid
Bites and ocular venom sprays occur when clearing dense vegetation, handling captive specimens, or cornering the snake in rural or suburban environments. Avoid bites and eye injury by maintaining a distance of at least 2-3 meters, wearing protective eye goggles during land clearing, and never cornering the snake. Always assume a threatened cobra can spit venom directly at your face.
If venom enters the eyes, immediately flush them with generous amounts of clean water, saline, or milk for at least 15-20 minutes;
for bites, immobilize the limb, keep the victim calm, and transport urgently to a hospital.
Do NOT rub the eyes, apply tourniquets, cut or suck the bite wound, or use pressure bandages on tissue-damaging cobra bites unless neurotoxicity predominates and antivenom is available.
Do not put chemical neutralization agents in the eyes.
Move away from the snake, then keep the victim still and calm. Movement pumps venom around the body.
Get to a hospital with antivenom as fast as possible; call ahead if you can.
Immobilise the bitten limb and keep it at about heart level. Remove rings, bangles and tight clothing.
In India, the four species behind most deaths are the spectacled cobra, common krait, Russell's viper and saw-scaled viper, polyvalent antivenom covers all four and is stocked in government hospitals.
Never do these
Do NOT cut or suck the wound, apply a tourniquet, use ice, use electric shocks, or give alcohol.
How fast it acts
Immediate severe ocular pain/corneal inflammation upon venom spitting; local pain/swelling within 15 minutes and systemic neurotoxicity within 1 to 6 hours upon bite
Time you have
Immediately, antivenom and eye decontamination within 1 to 4 hours
Antivenom
Effective for systemic symptoms as long as neurotoxic signs persist
Aftercare
For ocular exposure, monitor for corneal abrasion, conjunctivitis, or temporary blindness over the following 24-48 hours and seek ophthalmological review; for bites, watch for local necrosis and secondary infection. Limb recovery may take several weeks if significant tissue damage occurred. Avoid rubbing affected eyes for at least a week after flushing.
If a pet is bitten
Dogs inspecting or cornering this snake frequently suffer severe corneal damage or total blindness from venom sprayed into their eyes, alongside deadly bite risk.
General guidance, not a substitute for a doctor. When in doubt, get to a hospital.
Further reading
Snakebite FoundationVenomZone
What people get wrongMyths, Busted
MYTH
Snakes dance to music.
TRUTH
The Indonesian Spitting Cobra has no external ears and hears airborne sound poorly, though it picks up low-frequency vibration through the jaw and body. A charmed cobra is not following the tune, it is tracking the moving pipe as a threat and swaying to keep it in view. The practice is illegal in India under the Wildlife Protection Act, and the snakes are routinely defanged, which kills them slowly.
Further reading
Snakebite Foundation
References & Further Reading
Where the Indonesian Spitting Cobra page comes from. Everything is named rather than linked, search any source by name to read the original.
Compiled from
Wikipediathe_rare_story, adapted under CC BY-SA 4.0
IUCN Red ListConservation status, population trend, threats
GBIFTaxonomy, range and occurrence records for Naja sputatrix
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 Indonesian Spitting Cobra page is wrong, out of date or misleading, please tell us. It will be checked against the sources and fixed.
Put your name beside the Indonesian Spitting Cobra
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 Indonesian Spitting Cobra.