The green tree python is a striking, brilliantly coloured arboreal snake of the rainforests of New Guinea, eastern Indonesia, and far northern Australia. Adults are vivid green, often marked with a broken white or yellow vertebral stripe, an adaptation for life among the forest canopy. It is famous for its characteristic resting posture, draping its coils in neat loops over a horizontal branch with its head resting in the centre. Remarkably, hatchlings emerge bright yellow or brick red and change to green as they mature. This dramatic ontogenetic colour shift occurs as juveniles transition from open scrub edge habitats to dense upper canopy foliage where green coloration provides effective camouflage against predatory birds and mammals. Their heat-sensitive labial pits along the jaw allow them to detect warm-blooded prey in total darkness, ambushing passing rodents, bats, and small birds from their elevated perch by striking with lightning speed. Belonging to the family Pythonidae, this reptile inhabits tropical rainforests, secondary growth, and forest edges across New Guinea, Indonesia, and the Cape York Peninsula, spending almost its entire life arboreally while reaching a body length of 200 cm and a lifespan of 15 to 20 years.
The green tree python preys mainly on small mammals such as rodents, as well as birds, lizards, and frogs. Juveniles use their tails as lures to attract small prey. It hunts primarily from an elevated perch, striking downward at passing animals.
Where does the Green Tree Python live?
It lives in tropical rainforest, secondary growth, and forest edges, spending almost its entire life in trees and shrubs. It favours dense vegetation near clearings and watercourses where prey is abundant.
How long does the Green Tree Python live?
The Green Tree Python has a lifespan of 15 to 20 years.
Is the Green Tree Python endangered?
Green Tree Python is listed as Least Concern on the IUCN Red List. The threats recorded for the Green Tree Python 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 Green Tree Python?
The scientific name of Green Tree Python is Morelia viridis, in the family Pythonidae.
How does the Green Tree Python interact with people?
The species is harmless to humans but highly sought in the pet trade, where locality-specific colour forms command high prices. Illegal collection of wild individuals and habitat loss are ongoing conservation concerns despite its overall stable status.
How does the Green Tree Python reproduce?
The green tree python is oviparous, with females laying clutches of around 6 to 30 eggs in a tree hollow or sheltered site. The female coils around the eggs and incubates them by shivering to raise their temperature. Hatchlings are yellow or red and undergo an ontogenetic colour change to green.
Etymology & Name
The genus Morelia is named after French naturalist P. M. A. Morelet, while the species epithet viridis is Latin for 'green', describing the adult's vivid coloration that aids in camouflage among the foliage. This python lives in tropical rainforest, secondary growth, and forest edges across New Guinea, Indonesia, and the Cape York Peninsula, spending almost its entire life arboreally coiled on branches, perfectly matched by its linguistic classification.
JJ Harrison (CC BY-SA)
Did You Know?
The green tree python and South America's emerald tree boa look almost identical and rest in the same distinctive draped-coil posture, despite being separated by tens of millions of years of evolution and an entire ocean. This is a classic example of convergent evolution, where unrelated species develop similar traits to survive in similar arboreal niches. Interestingly, hatchlings are often bright yellow or brick red, only turning their signature vibrant green as they mature into adulthood.
★ Iconic Moment
The 1990s captive breeding breakthrough by Darryl Koschke
The dramatic transformation from a bright yellow or red hatchling to an emerald-green adult, known as ontogenetic colour change, remains one of the most striking developmental colour shifts among snakes. Some individuals retain a bluish tint that is especially prized.
Size Compared to a Human
Length6.6 ft200 cm
Weight1–1.6 kg2.2–3.5 lb
A Green Tree Python is roughly 6.6 ft long, shown next to an average adult human (5′9″ / 1.75 m) for scale.
Classification & Traits
Size
1.5 to 2 metres
Weight
1 to 1.6 kilograms
Colors
Vivid green with a broken white or yellow vertebral line; juveniles yellow or brick red
Phylum
Chordata
Class
Squamata
Order
Squamata
Family
Pythonidae
Genus
Morelia
Adult • Baby
Adult
Captured by: Imajulianuel
BabyHatchling
Captured by: JJ Harrison
Sexes are similar in colour, but females tend to be slightly larger and heavier-bodied, while males have relatively larger spurs.
Anatomy & Field Signs
The body parts that define the Green Tree Python, 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.
Captured by: Adam Z. Andis
Scales & Skin
Overlapping dry scales, with broad belly scutes that grip the ground to drive the snake forward; the skin is shed whole.
Body & Coils
The long, powerful, muscular body, used to constrict prey, to strike, or to swim.
Captured by: Michael Bentley
Egg
The eggs of this species, their shape, size, colour and clutch.
How to Tell It Apart
Its emerald-green adult colour, arboreal coiling posture, and prehensile tail distinguish it from most other pythons. It differs from the convergent emerald tree boa in the arrangement of its labial scale pits and in geographic range.
Distinguishing features, broken down field by field:
Colour & Pattern
Adult greenAdults are vivid emerald green with a broken white or yellow vertebral line.vs Emerald Tree Boa
JuvenilesJuveniles hatch bright yellow or brick red, changing to green with age.
Behaviour
Coiling postureRests draped in a distinctive saddle coil over a branch with the head in the centre.vs Emerald Tree Boa
Scales
Labial pitsDiffers from the convergent emerald tree boa in the arrangement of its labial (lip) heat-sensing pits.vs Emerald Tree Boa
Tail
PrehensileHas a strongly prehensile tail for gripping branches.
Habitat & Range
DistributionNative to New Guinea and northern Australia, whereas the emerald tree boa lives in South America.vs Emerald Tree Boa
Commonly Mistaken For
Animals that genuinely look like the Green Tree Python at a glance, and the detail that separates them.
Has colours such as High Yellow / Calico / High Blue Green Tree Python, but all retained alternative colour forms are MAN-MADE/captive-bred. No natural alternative colour morphs are retained.
Wikimedia (CC BY-SA)
Evolution
It is a member of the Australo-Papuan python radiation and shows remarkable convergent evolution with the unrelated emerald tree boa of South America, both having evolved nearly identical green coloration, prehensile tails, and arboreal ambush habits. This striking parallel is a classic textbook example of convergent evolution. Its bright juvenile colours may aid camouflage in different microhabitats. Over millions of years, this lineage developed specialized heat-sensing pit scales along the jawline to detect endothermic prey through dense tropical canopies.
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 lives in tropical rainforest, secondary growth, and forest edges, spending almost its entire life in trees and shrubs. It favours dense vegetation near clearings and watercourses where prey is abundant. It is found from lowland forest up into montane habitats across New Guinea, Indonesia, and the Cape York Peninsula of Australia. This nocturnal constrictor coils its body in a distinctive saddle shape over horizontal tree branches, utilizing its prehensile tail and cryptic coloration to blend seamlessly into dense forest foliage while waiting for passing birds and small mammals.
Where to Find Them
Where in the world the Green Tree Python 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.
Every confirmed sighting of the Green Tree Python logged by naturalists
and field surveys: 287 of them,
across 5 countries.
5Countries with records
287Wild sightings logged
AustraliaMost records · 95% of all
AUAustralia27495%
PGPapua New Guinea93%
Also recorded, in ones and twos, in
Indonesia, Germany, Nigeria.
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
Green Tree Pythons 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.
Biology & Behavior
Diet
The green tree python preys mainly on small mammals such as rodents, as well as birds, lizards, and frogs. Juveniles use their tails as lures to attract small prey. It hunts primarily from an elevated perch, striking downward at passing animals. This snake is a specialized ambush predator that remains motionless for long periods, coiled tightly on branches in the tropical rainforest canopy. By mimicking the movement of a worm or insect with its tail, a juvenile can draw curious prey within striking distance. Adults possess a more varied diet, occasionally consuming larger vertebrates that venture into the lower canopy or forest floor. Its metabolic rate is relatively low, allowing it to survive on infrequent, high-protein meals captured through sudden, precise strikes.
It is a solitary, nocturnal, and highly arboreal snake that rarely descends to the ground. By day it rests motionless coiled over a branch, becoming active to hunt at night. Individuals defend no territory but occupy overlapping home ranges. Because they rely heavily on ambush predation, adults remain anchored to specific perches for days at a time, repositioning only when hunting success declines or to locate a suitable basking spot under the rainforest canopy. Social interactions are strictly limited to the brief courtship and mating encounters that occur during the reproductive season, after which females brood their clutches until hatching before resuming a solitary existence.
Reproduction
The green tree python is oviparous, with females laying clutches of around 6 to 30 eggs in a tree hollow or sheltered site. The female coils around the eggs and incubates them by shivering to raise their temperature. Hatchlings are yellow or red and undergo an ontogenetic colour change to green. This maternal incubation is critical for the development of the embryos, as the female maintains a stable temperature despite fluctuations in the rainforest environment. After hatching, the young are entirely independent, immediately climbing into the canopy to hunt small lizards and insects. The dramatic color shift from their juvenile hues to the adult green camouflage occurs as they mature, providing better concealment in the foliage.
Hunting Style
It is a sit-and-wait ambush constrictor, hanging in an S-shaped strike posture from a branch and seizing prey that passes below. Heat-sensitive labial pits help it detect warm-blooded prey in darkness. Once small mammals or birds come within reach, it launches forward with lightning speed, coils its muscular body tightly around the victim to restrict breathing, and swallows it whole.
Captured by: 30Ikra
Life in a Group
A group of Green Tree Pythons is called a Solitary.
The Green Tree Python is a solitary, arboreal predator that maintains no social structure and exhibits no cooperative behaviors, interacting with others only to mate.
Captured by: cnzdenek
Mating & Courtship
Breeding is seasonal, generally coinciding with cooler, drier months. Males locate females by scent and may engage in gentle courtship along shared branches.
A Great History
Indigenous peoples of the Aru Islands have long encountered these snakes in the rainforests, while modern herpetoculture and the international pet trade have heavily documented and collected them since the late twentieth century. The species' distinct appearance and vibrant color changes from juvenile to adult stages have made it a highly sought-after subject for reptile enthusiasts worldwide. This demand led to a surge in captive breeding programs, which have significantly reduced the reliance on wild-caught specimens. Throughout this period, researchers have also studied the snake's unique arboreal adaptations, providing valuable insights into the evolution of tropical reptiles. Today, the species is managed through strict international trade regulations to ensure that its populations remain stable in its native range.
The India Connection
This arboreal snake is native to the rainforests of New Guinea, some surrounding islands, and the Cape York Peninsula of Australia, with no natural populations in India.
People & the Green Tree Python
The species is harmless to humans but highly sought in the pet trade, where locality-specific colour forms command high prices. Illegal collection of wild individuals and habitat loss are ongoing conservation concerns despite its overall stable status. Herpetoculturists admire its striking ontogenetic color shift from yellow or red juveniles to brilliant emerald adults, and captive breeding programs have helped supply the legal pet market while reducing pressure on wild populations.
Cultural Significance & History
Its dazzling coloration has made it an icon of New Guinea's rainforests and a prized subject in wildlife photography and the herpetocultural community. The species is deeply respected by indigenous communities in its native range, where its striking appearance and arboreal lifestyle have inspired various local stories and artistic depictions. In the global herpetology world, it is considered a masterpiece of evolution, with its vibrant green scales and unique resting posture serving as a standard for beauty in the reptile trade. It remains a powerful symbol of the untamed, lush rainforests of Indonesia and the Cape York Peninsula, representing the exotic allure of tropical wildlife.
Subspecies Comparison
There are no universally accepted subspecies for this species, as morphological differences previously used to distinguish populations from Australia and New Guinea are now widely regarded as clinal variations rather than distinct taxonomic units.
Some Great News
The green tree python is a species the reptile trade has largely stopped taking from the wild. It breeds well in captivity, and captive-bred animals of known locality now dominate the market, undercutting the laundering of wild-caught snakes from New Guinea that was the main pressure on it. It is listed as Least Concern and remains common through New Guinea and Cape York rainforest.
The Rare Story
The dramatic transformation from a bright yellow or red hatchling to an emerald-green adult, known as ontogenetic colour change, remains one of the most striking developmental colour shifts among snakes. Some individuals retain a bluish tint that is especially prized. This color shift typically begins when the snake is between six months and two years of age, coinciding with its transition from a diet of small lizards to larger mammalian prey. The change is thought to be an adaptation that allows the young snake to blend into the bright, light-dappled environment of the forest floor or low shrubs, while the green adult coloration provides perfect camouflage among the dense leaves of the rainforest canopy. This developmental process is a hallmark of the species and is carefully observed by herpetologists studying reptile growth patterns.
Gallery
6 photos
Green Tree PythonCaptured by: JohnkentuckyGreen Tree PythonCaptured by: TimVickersGreen Tree PythonGreen Tree PythonCaptured by: Mike WesemannGreen Tree PythonCaptured by: Ruggerone IsaccoGreen Tree Python
Threats & the Fight to Save Them
The threats recorded for the Green Tree Python are deliberate hunting and collection of the species itself. Threat categories come from the species' IUCN Red List assessment. Beyond the direct pressure of the international pet trade, which targets the species for its striking coloration, the python faces significant habitat loss due to the clearing of tropical rainforests for logging and palm oil plantations. As an arboreal specialist, it is highly dependent on intact forest canopies; the fragmentation of these environments makes it easier for collectors to locate and capture individuals. The combination of habitat degradation and the ongoing demand for wild-caught specimens continues to pose a serious challenge to the stability of its populations across its range in New Guinea and Indonesia.
Recent News
This is a stable species with no major 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
One of the more manageable exotic pets, with two hard limits: adult size and local law.
Is it legal?
Legal in most places for common captive-bred species, but several large constrictors are restricted: the US Lacey Act bars interstate transport of some Burmese and reticulated pythons and anacondas, and several US states, Australian states and Indian law regulate or prohibit private keeping. Always confirm before buying.
The care reality
Get the adult size right before the hatchling. A retic or Burmese reaching four to six metres needs a custom enclosure and, by common safety practice, a second adult present at feeding.
Heat must be thermostat-controlled, unregulated heat mats and rocks cause severe burns, which is the most common vet presentation in pet snakes.
Feed frozen-thawed rodents, not live: a live rat left in an enclosure will injure or kill the snake.
Humidity drives shedding. Chronic stuck sheds and retained eye caps mean the enclosure is too dry.
Salmonella is carried by healthy reptiles; hand-washing is not optional, and reptiles are not suitable in homes with infants or immunocompromised people.
Lifespans of 20–30 years are normal.
Laws differ by country, state and city, and they change. Confirm the current rule where you live before acquiring any animal.
Further reading
Merck Veterinary Manual, exotic petsAnimalLaw.infoBorn Free USA, state exotic pet lawsAnimal Diversity Web
Extreme Adaptations & Anatomy
Swallowing something wider than your head
The lower jaw of the Green Tree Python 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.
Heat pits along the lip
A row of shallow pits runs along the lip scales of the Green Tree Python. Each is a heat detector, and together they give a rough infrared picture of anything warmer than the surroundings, evolved separately from the facial pits of vipers, for the same reason. A python coiled at a bat cave mouth in pitch darkness is not guessing.
Tasting the air
The flicking tongue of the Green Tree Python 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
Maximum recorded lifespan in the AnAge database: 20.6 years (acceptable data quality).
Vision: Deep heat-sensing pits along the lips, and a prehensile tail tip it wriggles as a lure
Body covering: Scales
Further reading
Animal Diversity WebAnimal Diversity WebAnAge DatabaseOneZoom tree of life
References & Further Reading
Where the Green Tree Python page comes from. Everything is named rather than linked, search any source by name to read the original.
Compiled from
IUCN Red ListConservation status, population trend, threats
GBIFTaxonomy, range and occurrence records for Morelia viridis
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 Green Tree Python page is wrong, out of date or misleading, please tell us. It will be checked against the sources and fixed.
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 Green Tree Python.