Snake Identifier

How to Identify the Javan Spitting Cobra (Identification Guide)

The Javan spitting cobra is a large, often black or dark-bodied cobra of Indonesia, distinguished by its size, glossy dark coloration, and readiness to spray venom defensively.

Read the full Javan Spitting Cobra encyclopedia entry →
How to Identify the Javan Spitting Cobra (Identification Guide)
Naja sputa 120818-28283 rwg by Wibowo Djatmiko (Wie146), via Wikimedia Commons, licensed under CC BY-SA 3.0

Key identifying features

The Javan spitting cobra (Naja sputatrix) is a robust, medium-to-large cobra reaching up to 1.5–1.85 m, among the larger spitting cobras. It displays the classic cobra defensive posture, rearing up and spreading a broad, rounded hood when threatened, and is capable of spraying venom toward the eyes of an approaching threat from a distance.

Coloration & pattern

Adults are typically uniformly dark brown, gray, or glossy black across the dorsum, often appearing almost patternless from a distance. Juveniles tend to be paler, showing more visible banding or a lighter background color that darkens with age. The throat and underside of the hood may show faint pale mottling in some individuals, though many adults appear essentially solid-colored. The belly is generally pale cream to yellowish, sometimes with scattered dark speckling near the throat.

Head, eyes & scales

The head is broad and only moderately distinct from the neck, covered with large smooth scales. Eyes are round-pupiled and of moderate size. The hood is broad and rounded when expanded, wider than that of the Indochinese spitting cobra, giving a more classic "cobra" silhouette. Body scales are smooth and glossy, contributing to the snake's sleek, dark appearance.

Size & body shape

This is one of the larger spitting cobra species, with adults commonly reaching 1.2–1.5 m and occasionally approaching 1.85 m. The body is stout and muscular, thicker than many other spitting cobras, with a moderately long tapering tail.

Range & habitat where you'll see it

The Javan spitting cobra is endemic to Java, Bali, and nearby Indonesian islands (Lesser Sunda region), inhabiting lowland forests, agricultural land, grassland, and areas near villages and rice fields. It is often found near human dwellings, drawn by rodent prey, and may shelter in burrows, termite mounds, or under debris.

How to tell it apart from look-alikes

Compared to the Indochinese and other mainland spitting cobras, the Javan spitting cobra is notably larger and more uniformly dark, generally lacking strong banding patterns in adulthood. It can be confused with other dark Indonesian elapids, but its broad rounded hood, large size, and predominantly solid dark coloration with a pale unmarked belly are useful distinguishing features. Juveniles with lighter, more patterned bodies can resemble other young cobra species, making size and locality important supporting clues.

Frequently asked questions

What color is a Javan spitting cobra?

Adults are typically uniform dark brown, gray, or glossy black with little visible pattern, while juveniles tend to be paler and may show faint banding that fades with age.

How large does the Javan spitting cobra get?

It is one of the larger spitting cobras, with adults commonly reaching 1.2–1.5 m and occasionally up to about 1.85 m.

Where is the Javan spitting cobra found?

It is endemic to Java, Bali, and nearby islands in Indonesia's Lesser Sunda region, inhabiting lowland forests, farmland, and areas near villages.

How is it different from other spitting cobras?

It is larger and more uniformly dark-colored as an adult than mainland species like the Indochinese spitting cobra, which retains more visible blotching and banding.