The Rare Story
In Singapore's Sungei Buloh Wetland Reserve, naturalists frequently document these snakes resting on the exact same mangrove branch for weeks at a time, patiently waiting for a single passing rat or mudskipper.
On the trail…
Captured by: Psumuseum
Trimeresurus purpureomaculatus
IUCN Least Concern (LC)The Mangrove Pit Viper (Trimeresurus purpureomaculatus) is a highly venomous arboreal viper species indigenous to coastal mangrove forests, tidal estuaries, and coastal thickets across South and Southeast Asia. Infamous among field biologists and coastal communities for its volatile temperament and exceptional camouflage, this snake is specialized for life in the dense intertidal zone between marine and terrestrial realms.
Demonstrating extreme color polymorphism, the Mangrove Pit Viper ranges from uniform dark purplish-brown and charcoal black to dark olive green, mottled maroon, or rich brownish-gold. Its heavily keeled scales give the skin a rough, matte texture that prevents reflection in damp coastal lighting. Adult females reach total lengths of up to 90 centimeters, whereas males are considerably smaller and slighter, averaging 60 to 65 centimeters.
True to its common name, Trimeresurus purpureomaculatus is strongly restricted to coastal habitats, particularly low-lying mangrove swamps, tidal creeks, and coastal brush. It is primarily arboreal, utilizing its prehensile tail to anchor firmly onto mangrove prop roots, Rhizophora branches, or low-hanging foliage. During high tide, it remains coiled in tree branches just above the water level, descending closer to ground level at low tide to ambush prey.
As an ambush predator, the Mangrove Pit Viper relies on loreal heat-sensing pits located between its eyes and nostrils to detect warm-blooded prey in total darkness. Its diet consists of small coastal rodents, nesting mangrove birds, geckos, and mudskippers. Known for its quick-striking defensive nature, the snake will not hesitate to bite repeatedly if cornered or brushed against by fishermen or hikers navigating through dense mangrove vegetation.
Coastal rodents, nesting birds, geckos, mudskippers, small frogs, and occasionally other small reptiles found within its arboreal mangrove habitat. This nocturnal ambush predator remains coiled on branches or among mangrove roots, waiting patiently for warm-blooded prey and small vertebrates to pass within striking…
This nocturnal and arboreal species occurs in mangroves, coastal wet forests and coastal swamps and marshes, as well as along canals, river banks and in thick vegetation near the coastline. This species occurs in coastal areas from southern Myanmar to Sumatra, Indonesia, occurring no higher than 10 m asl.
Males reach 60 to 66 cm (23 to 26 in); females grow up to 90 to 100 cm (35 to 39 in).
10 to 15 years in the wild.
Mangrove Pit Viper is listed as Least Concern on the IUCN Red List. The only recognized potential threat to this species is harvest for the pet trade, although as it can be abundant and exploitation is at a low level, this is unlikely to be a major threat to its…
The scientific name of Mangrove Pit Viper is Trimeresurus purpureomaculatus, in the family Viperidae.
Venomous, aggressive when threatened, and highly defensive. Striking distance is fast and unpredictable. Fishermen, wood collectors, and researchers entering coastal mangrove swamps and wet forests must exercise extreme caution, as this nocturnal and arboreal snake camouflages exceptionally well among branches and…
This species is ovoviviparous, meaning it gives birth to live young. Females retain eggs internally and give birth to 10 to 25 live, fully venomous snakelets. The gestation period allows the embryos to develop in a protected environment, which is advantageous in the humid, variable conditions of the mangrove forest.…
The genus name 'Trimeresurus' comes from Greek 'tri-' (three), 'meros' (part), and 'oura' (tail), referring to the tripartite subcaudal scale arrangement. The specific epithet 'purpureomaculatus' combines Latin 'purpureus' (purple) and 'maculatus' (spotted), describing the purplish-brown blotches present on the original type specimen.

Unlike many green tree pit vipers, the Mangrove Pit Viper's dark, rough scales are specially textured to minimize glare and water retention in humid tidal swamps. This nocturnal ambush predator remains completely motionless on low mangrove branches for days at a time, waiting for passing birds, rodents, or reptiles to wander within striking range.
Coiled silently among the tangled prop roots of an Andaman mangrove at midnight, a dark purple Mangrove Pit Viper detects the subtle thermal signature of an approaching coastal rat, striking in a split-second blur before the rodent can even register its presence.
Ranges between 150 and 450 grams (0.33 to 1.0 lb) depending on sex and feeding state.
A Mangrove Pit Viper is roughly 2.1 ft long, shown next to an average adult human (5′9″ / 1.75 m) for scale.
Males reach 60 to 66 cm (23 to 26 in); females grow up to 90 to 100 cm (35 to 39 in).
Ranges between 150 and 450 grams (0.33 to 1.0 lb) depending on sex and feeding state.
Highly variable: dark olive green, purple-brown, jet black, dark charcoal, or dark chocolate with pale green ventral scales.
Females are significantly longer and heavy-bodied; males are slender with relatively longer prehensile tails.
The body parts that define the Mangrove Pit Viper, 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.
Distinguished from the Green Pit Viper by its heavily tuberculated/keeled head scales, darker purplish or dark olive ground color, and preference for coastal mangroves.
Animals that genuinely look like the Mangrove Pit Viper at a glance, and the detail that separates them.
The other types of Pit Viper. Cards with a link open a full Biospedia page.
Other animals close to Mangrove Pit Viper on the family tree. Cards with a link open a full Biospedia page.

As part of the Asian pit viper radiation, Trimeresurus species evolved specialized infrared heat-sensing organs. The Mangrove Pit Viper diverged from mainland bamboo vipers by adapting specifically to coastal salinity, heavy humidity, and prehensile arboreal climbing among mangrove root networks. Fossil and molecular clock data suggest that the ancestors of this venomous snake radiated across Southeast Asian archipelagos during periods of fluctuating sea levels, gradually refining their nocturnal ambush strategies to thrive within tidal zones and mangrove forests.
On the IUCN Red List, this species is classified as Least Concern.
This nocturnal and arboreal species occurs in mangroves, coastal wet forests and coastal swamps and marshes, as well as along canals, river banks and in thick vegetation near the coastline. This species occurs in coastal areas from southern Myanmar to Sumatra, Indonesia, occurring no higher than 10 m asl. Its range includes Bangladesh, India (Andaman & Nicobar Islands), Indonesia, Malaysia, Myanmar, and Singapore. The snake is perfectly adapted to life in humid, low-lying coastal zones, where it spends much of its time coiled in the branches of trees or shrubs overhanging water, waiting to ambush prey. Its ability to thrive in brackish environments allows it to exploit a wide range of coastal niches.
Where in the world the Mangrove Pit Viper 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.
Ranges are approximate, for education. Map data © OpenStreetMap contributors.
Every confirmed sighting of the Mangrove Pit Viper logged by naturalists and field surveys: 804 of them, across 4 countries.
How to read this. These are sighting records, not population counts. A country near the top has been watched and catalogued the most, not necessarily the most Mangrove Pit Vipers living there, and a country with few naturalists will sit low on this list even where the animal is common. Museum specimens and captive animals are excluded, so these are wild sightings only. Compiled from GBIF occurrence data.
Coastal rodents, nesting birds, geckos, mudskippers, small frogs, and occasionally other small reptiles found within its arboreal mangrove habitat. This nocturnal ambush predator remains coiled on branches or among mangrove roots, waiting patiently for warm-blooded prey and small vertebrates to pass within striking distance before delivering venom. Once the strike is executed, the snake tracks the immobilized prey through the dense coastal thickets until it is ready to be swallowed whole.
Favourite food Coastal rats and mudskippers
Animals known to hunt or prey on the Mangrove Pit Viper:
Rivals that chase the same food in the same habitat as the Mangrove Pit Viper:
10 to 15 years in the wild.
Solitary. Highly territorial regarding prime hunting perches on low mangrove branches. These arboreal snakes exhibit ambush predation strategies, waiting motionless for hours on the same branch until prey passes within striking range in the humid coastal environment. They do not form social groups, maintaining strict isolation throughout their nocturnal cycles except during seasonal mating encounters where chemical trail-following brings individuals together temporarily.
This species is ovoviviparous, meaning it gives birth to live young. Females retain eggs internally and give birth to 10 to 25 live, fully venomous snakelets. The gestation period allows the embryos to develop in a protected environment, which is advantageous in the humid, variable conditions of the mangrove forest. Upon birth, the young are completely independent and must immediately fend for themselves, relying on their innate predatory instincts to hunt small prey. They are born with a full set of venom glands and fangs, allowing them to capture insects or small vertebrates from the moment they enter the world. The mother provides no further care, and the snakelets quickly disperse into the dense vegetation to find shelter.
Nocturnal ambush predation; sits motionless on branches or mangrove roots for hours, striking with long folding fangs when prey passes within range. Utilizing facial pits to detect the thermal signatures of warm-blooded targets, this arboreal snake coils tightly upon coastal vegetation after sunset, waiting patiently for passing birds, lizards, or rodents before delivering a swift, immobilizing envenomation.
A group of Mangrove Pit Vipers is called a Solitary.
Completely solitary; individuals interact only during the brief mating period.
Males track females using pheromone trails across mangrove branches; courtship involves tactile rubbing before copulation.
Inhabiting coastal mangrove forests and tidal marshes across South and Southeast Asia, this venomous snake has long interacted with local fishermen and coastal inhabitants, occasionally resulting in medically significant envenomations. Because of its arboreal nature and tendency to rest on low-hanging branches, the snake is frequently encountered by people working in or traversing mangrove thickets. Historically, this has led to a cautious, often fearful relationship between the snake and local communities, who have developed traditional knowledge to avoid bites. In the modern era, the species has become a subject of interest for toxicologists studying the composition of its venom, which has provided insights into the evolution of snake toxins. Despite the risks it poses, the snake is recognized as an important predator within the mangrove ecosystem, helping to regulate populations of small vertebrates in these complex, water-dominated environments.
Native to the pristine mangrove forests of the Andaman and Nicobar Archipelago, this nocturnal and arboreal venomous snake of the viper family hunts ambush-style among coastal wet forests, tidal creeks, and dense mangrove vegetation, representing a specialized island-dwelling reptile population unique to India's tropical maritime territories.
Venomous, aggressive when threatened, and highly defensive. Striking distance is fast and unpredictable. Fishermen, wood collectors, and researchers entering coastal mangrove swamps and wet forests must exercise extreme caution, as this nocturnal and arboreal snake camouflages exceptionally well among branches and prop roots. Its venom is hemotoxic and potentially dangerous to humans, causing severe localized pain, swelling, and systemic complications if untreated, though antivenom is available. Despite these risks, bites are relatively uncommon due to the remote, difficult-to-navigate nature of their preferred tidal habitats.
Among coastal mangrove fishermen throughout Southeast Asia, the Mangrove Pit Viper is both feared and respected, its nocturnal, arboreal habits inspiring cautionary tales that warn of hidden dangers in the mangrove thickets. The snake’s distinctive purple‑spotted pattern appears in regional safety posters, educational pamphlets and community workshops that teach proper first‑aid for snakebites. Its reputation has also entered local folklore, where it is sometimes portrayed as a guardian spirit of the mangrove, reinforcing cultural awareness of the delicate balance between humans and wildlife.
There are no currently recognized subspecies for this species, as it is treated as a monotypic taxon across its range in South and Southeast Asia.
Protected wetland designations in Singapore and Malaysia have preserved vital contiguous mangrove stretches, securing strong local viper populations.
In Singapore's Sungei Buloh Wetland Reserve, naturalists frequently document these snakes resting on the exact same mangrove branch for weeks at a time, patiently waiting for a single passing rat or mudskipper.
The only recognized potential threat to this species is harvest for the pet trade, although as it can be abundant and exploitation is at a low level, this is unlikely to be a major threat to its population. Nevertheless, localized pressure exists where wild-caught individuals are extracted by commercial collectors catering to regional and international reptile hobbyists. Because this nocturnal and arboreal snake is tightly associated with coastal wet forests, tidal swamps, and mangrove ecosystems, habitat loss through coastal development, reclamation for industrial docks, and conversion of shorelines into commercial aquaculture ponds poses localized problems. Clear-cutting of mature mangrove trees removes vital arboreal perches and hunting perimeters. However, its cryptic coloration, nocturnal lifestyle, and broad coastal distribution afford it considerable resilience against severe decline.
A 2022 phylogeographic study confirmed distinct evolutionary lineages within the Trimeresurus purpureomaculatus complex across the Bay of Bengal and Andaman Sea.
For licensed, experienced keepers only, and illegal for private keepers in much of the world.
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.
Laws differ by country, state and city, and they change. Confirm the current rule where you live before acquiring any animal.
Solenoglyphous pit viper equipped with hinged, hollow fangs and loreal heat-sensing pit organs capable of detecting thermal differences down to 0.003 degrees Celsius. Its prehensile tail and heavily keeled scales allow secure climbing along wet, slippery mangrove pneumatophores.
Produces loud, dry warning hisses by rapidly exhaling air through nostrils when threatened.
Destroys tissue cells and causes localized necrosis, rapid swelling, severe pain, and coagulopathy.
When walking elevated boardwalks or boating through mangrove reserves, keep hands off hanging branches and stay at least 2 meters away from low trees.
prevention: Wear thick leather boots and carry a bright torch when navigating mangrove habitats at night; avoid grabbing tree branches blindly. do: Immobilize the affected limb with a splint, keep the victim calm and still, keep the bite site below heart level, and transport immediately to a medical facility with antivenom. dont: Never cut or incise the wound, never attempt to suck out the venom, do not apply a tourniquet, do not apply ice or electrical shock, and do not administer alcohol. time_to_hospital: Envenomation requires emergency medical intervention within 1 to 2 hours; while fatal human cases are rare, delayed treatment can lead to severe tissue necrosis and permanent limb dysfunction. antivenom: Green Pit Viper Antivenom (manufactured by the Queen Saovabha Memorial Institute, Thailand) or specific monovalent Trimeresurus antivenom.
General guidance, not a substitute for a doctor. When in doubt, get to a hospital.
All green or dark mangrove snakes are harmless tree snakes.
The Mangrove Pit Viper is highly venomous and easily misidentified by non-experts due to its variable dark olive-green or purplish morphs.
Frequently confused with the harmless Dog-faced Water Snake (Cerberus rynchops) or Mangrove Cat Snake (Boiga dendrophila).
Thermal Target Tracking: Using its pair of loreal pits, the viper creates a binocular thermal map in its brain, enabling accurate nocturnal strikes against warm-blooded prey without relying on light.
Coils tightly on shaded branches, dense mangrove foliage, or hollow tree trunks during daylight.
Apex micro-predator in mangrove canopy webs, regulating rodent populations and bird nests.
Protected under regional conservation acts in Singapore (Parks and Trees Act) and India (Wildlife Protection Act Schedule II/IV).
Where the Mangrove Pit Viper page comes from. Everything is named rather than linked, search any source by name to read the original.
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.
Biospedia is compiled from public sources and written by people, so errors are possible, and wildlife science moves. If anything on this Mangrove Pit Viper page is wrong, out of date or misleading, please tell us. It will be checked against the sources and fixed.
Report an error on this pageWrites to [email protected]: or see how corrections work, including photo credits, missing species and broken links.
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 Mangrove Pit Viper.