G
Species Profile

Green Rat Snake

Gonyosoma oxycephalum

Forest canopy's red-tailed climber
Opayaza12/Shutterstock.com

Green Rat Snake Distribution

Click a location to explore more animals from that region

Loading map...
When threatened, the green rat snake will puff up, making it resemble the dangerous pit viper.

At a Glance

Wild Species
Also Known As Green ratsnake, Red-tailed rat snake, Asian green ratsnake
Diet Carnivore
Activity Diurnal+
Lifespan 12 years
Weight 1.5 lbs
Status Least Concern
Did You Know?

Adults commonly reach ~1.5-2.0 m total length; maximum reports around ~2.4 m (field guides such as Das, 2010).

Scientific Classification

A large, mostly arboreal colubrid known for its vivid green coloration and (often) reddish tail; a diurnal to crepuscular, agile climber found in tropical forests and forest edges in Southeast Asia.

Kingdom
Animalia
Phylum
Chordata
Class
Reptilia
Order
Squamata
Family
Colubridae
Genus
Gonyosoma
Species
Gonyosoma oxycephalum

Distinguishing Features

  • Bright green dorsum with a slender but robust, arboreal body shape
  • Head relatively distinct from neck; large eyes (good for a diurnal lifestyle)
  • Tail frequently shows reddish or rusty tones (especially toward the tip), inspiring the common name “red-tailed”
  • Nonvenomous (no medically significant venom), constricting/prehensile-style arboreal behavior typical of many colubrids

Physical Measurements

Length
5 ft 11 in (3 ft 11 in – 7 ft 10 in)
Weight
2 lbs (1 lbs – 3 lbs)
Tail Length
1 ft 8 in (12 in – 2 ft 4 in)

Appearance

Primary Colors
Secondary Colors
Skin Type Dry, smooth, glossy overlapping scales (typical colubrid epidermis). Arboreal lifestyle corresponds with a sleek, low-friction body surface for climbing branches; nonvenomous colubrid (ratsnake-type constrictor).
Distinctive Features
  • Large, distinct head with an elongated/pointed snout profile (species epithet oxycephalum = 'sharp-headed').
  • Large, prominent eyes (often described as giving an alert, 'wide-eyed' look), consistent with active diurnal to crepuscular arboreal hunting.
  • Very long, slender body that moves sideways and a long tail for climbing; often draped over plants or moving along branches in lowland tropical forest, secondary forest, forest edge, and plantations in Southeast Asia (Sundaland).
  • Often shows a conspicuously reddish tail section contrasting with the green body (variable; not all individuals show equally strong red).
  • Nonvenomous and not medically dangerous to humans; typical ratsnake ecology (active climber, takes small vertebrate prey such as birds/bird eggs, small mammals, and lizards).
  • Size: commonly ~150-200 cm total length; large individuals reported to reach ~240 cm total length in published field guides/compilations (e.g., Das 2012; Whitaker & Captain 2004).
  • Common-name ambiguity: despite being called a 'green ratsnake,' this is an Old World colubrid (Gonyosoma) from Southeast Asia and is not closely related to North American 'green snakes' (Opheodrys) or North American ratsnakes (Pantherophis).
  • Reproduction (for context of appearance/size): oviparous; clutches commonly reported in the ~5-15 egg range in husbandry/field summaries (values vary by female size and locality).

Sexual Dimorphism

Sexual dimorphism is modest and mostly expressed in proportions rather than color: males typically have proportionally longer tails (post-cloacal length) as in many snakes, while females may average larger/heavier-bodied in some populations. Color pattern (green body with possible reddish tail) is generally similar in both sexes.

  • Proportionally longer tail relative to snout-vent length (typical colubrid trait).
  • May appear slightly more slender-bodied at the same total length (reported anecdotally in field/husbandry observations).
  • Often reported to attain greater body mass and, in some cases, slightly longer average total length (population-dependent, not a strong color-based dimorphism).
  • Gravid females show obvious posterior body distension when carrying eggs.

Did You Know?

Adults commonly reach ~1.5-2.0 m total length; maximum reports around ~2.4 m (field guides such as Das, 2010).

Despite the name "ratsnake," it frequently takes birds and eggs in trees, not just rodents.

Its large eyes and day-to-dusk activity fit a visually oriented, arboreal hunter (a common trait in several Gonyosoma species).

The "red tail" can be vivid brick-red to rusty-orange in many individuals, but tail color varies-some are less red or more brownish.

It's a nonvenomous colubrid; it subdues prey by seizing and holding (sometimes using body loops), not by injecting venom.

Common-name confusion: it's unrelated to North America's tiny "green snakes" (Opheodrys), which are slender insect-eaters.

Within the genus Gonyosoma, several species are similarly arboreal, big-eyed, and green-showing a repeated "canopy hunter" lifestyle in the group.

Unique Adaptations

  • Arboreal build: long, muscular body and strong tail for balance and anchoring on branches; body is relatively laterally compressed compared with many ground snakes (useful for climbing).
  • Green cryptic coloration: blends with leaves and canopy light; many individuals have a contrasting reddish tail that may draw attention away from the head during escapes.
  • Large eyes and head profile (the "oxycephalum" = "sharp-headed" name): supports visually guided hunting in daylight/low-angle forest light.
  • High agility and reach: a long anterior body allows rapid forward strikes at birds or lizards on branches without losing purchase.
  • Nonvenomous but effective dentition: recurved teeth help keep hold of slippery or feathery prey while the snake coils for control.

Interesting Behaviors

  • Arboreal cruising and ambush: moves along branches and vines, then pauses to visually scan for birds, nests, and tree-dwelling lizards.
  • Diurnal to crepuscular activity: most active in daylight and late afternoon/early evening, often basking or hunting along forest edges.
  • Strong defensive display: when threatened it may inflate the front body, hold an S-shaped strike posture, and deliver fast bites (typical colubrid defense).
  • Edge-habitat opportunism: often uses orchards, plantations, and forest margins where rodents and nesting birds are abundant.
  • Climbing prey raids: will investigate cavities, foliage clusters, and nests; capable of sustained vertical climbing on rough bark and vegetation.
  • Scent + vision hunting: tongue-flicking (chemical cues) plus large-eyed visual tracking-useful in complex canopy environments.

Cultural Significance

The Red-tailed Green Ratsnake (Gonyosoma oxycephalum) is a green tree snake in Southeast Asia forests and farm edges. It eats rats and mice, appears in the pet trade, and is sometimes killed out of fear. "Green snake" also refers to small North American Opheodrys that eat insects and are unrelated.

Myths & Legends

In Thai, Lao, and Khmer Buddhism and older local beliefs, snake spirits are seen as guardians of water, fertility, and doorways. Real snakes near forests, rivers, or temples are treated with wary respect as signs.

Malay and Indonesian folk beliefs sometimes treat certain snakes as manifestations of place-spirits or guardian spirits associated with forests or sacred sites, and harming such a snake may be believed to bring misfortune.

The name Red-tailed Green Ratsnake (Gonyosoma oxycephalum) comes from its green body and reddish tail. Keepers and guides sometimes tell a folk idea that the red tail distracts predators.

Conservation Status

LC Least Concern

Widespread and abundant in the wild.

Population Unknown

Protected Under

  • Not listed in the CITES Appendices (checked against current CITES listings; trade may still be regulated nationally).
  • Occurs within protected areas in parts of its Southeast Asian range; practical protection depends on site-level enforcement and habitat integrity.
  • Species natural-history reference points often reported in the literature/field guides: large, mostly arboreal colubrid reaching ~240 cm total length; diurnal to crepuscular, active canopy/edge hunter; eggs are laid in clutches (oviparous). Captive longevity is commonly reported in the ~15-20+ year range. Sources commonly cited for these figures include regional herpetological syntheses/field references (e.g., Cox et al., 1998; Whitaker & Captain, 2004; Das, 2010; Ernst & Ernst, 2003).

Life Cycle

Birth 8 hatchlings
Lifespan 12 years

Lifespan

In the Wild
8–15 years
In Captivity
12–20 years

Reproduction

Mating System Promiscuity
Social Structure Solitary
Breeding Pattern Transient
Fertilization Internal Fertilization
Birth Type Internal_fertilization

Gonyosoma oxycephalum is an oviparous colubrid. Adults are solitary and have brief, seasonal matings; both sexes likely mate with multiple partners. Males use a hemipenis for internal fertilization. Captive clutches often number mid-single digits to low teens; no parental care.

Behavior & Ecology

Social None (solitary) Group: 1
Activity Diurnal, Crepuscular
Diet Carnivore Arboreal birds and their eggs/nestlings (frequently reported as primary/commonly taken prey in field observations and regional accounts).

Temperament

Alert and visually oriented; frequently relies on rapid escape through vegetation when disturbed
Defensive when cornered: may inflate the anterior body, hold an S-shaped strike posture, and deliver fast bites
Strongly arboreal and agile; tends to remain elevated (shrubs/trees) rather than staying on the ground for long periods

Communication

hissing Air expulsion used as a defensive signal; not true vocalization with vocal cords
chemical communication via tongue-flicking and vomeronasal Jacobson's) organ: detection of prey odors and conspecific pheromone trails (broadly supported for snakes; e.g., Mason, 1992 on reptile pheromones and chemoreception
tactile courtship contact Body alignment and rubbing typical of colubrid courtship; species-specific quantified ethograms are limited for G. oxycephalum in primary literature
visual/threat displays: anterior body elevation, neck/body expansion, and orientation toward the threat; may include rapid head tracking and striking as close-range signaling
substrate/vibration cues: sensitivity to branch/ground vibrations consistent with snake mechanoreception; used in predator avoidance and prey detection General snake biology, not uniquely quantified for this species

Habitat

Biomes:
Tropical Rainforest Tropical Dry Forest Wetland
Terrain:
Plains Hilly Valley Coastal Island Riverine
Elevation: Up to 5249 ft 4 in

Ecological Role

Arboreal/edge-habitat mesopredator (vertebrate predator) in Southeast Asian forests and forest margins.

Regulates small-mammal (rodent) populations, potentially reducing crop/household pest pressure near forest edges. Influences arboreal bird reproductive success through nest predation (eggs/nestlings), shaping local food-web dynamics. Transfers energy from arboreal prey communities (birds, rodents, lizards) to higher trophic levels (as prey for raptors and larger snakes).

Diet Details

Main Prey:
Small mammals Birds Bird eggs and nestlings Lizards Bat

Human Interaction

Domestication Status

Wild

Not domesticated. Gonyosoma oxycephalum is a wild colubrid sometimes kept and bred by hobbyists but has no domestic traits. People encounter it at forest edges, plantations, villages; it is often killed out of fear, taken for the pet trade (wild-caught or captive-bred), rescued from buildings, and harmed by habitat loss and road death. Large, day- and dusk-active tree snake.

Danger Level

Low
  • Nonvenomous; primary hazard is defensive biting (can cause puncture wounds/bleeding) and secondary infection risk if wounds are not cleaned.
  • Stress/handling risk: this species is fast, agile, and can strike readily when cornered; falls/escape risk during handling due to strong climbing behavior.
  • Public-misidentification risk: may be killed because people assume it is dangerous; this is a human-risk pathway (attempting to kill/handle a snake).

As a Pet

Suitable as Pet

Legality: Legality varies by place. Red-tailed Green Ratsnake (Gonyosoma oxycephalum) is often allowed where non-native reptiles are legal but usually needs local/state exotic-animal and welfare rules, export permits; check laws and proof it's captive-bred.

Care Level: Experienced

Purchase Cost: $150 - $600
Lifetime Cost: $3,000 - $8,000

Economic Value

Uses:
Pet trade (captive-bred and wild-caught) Ecotourism/wildlife viewing (herping tours) Ecosystem service (predation on small mammals and birds; indirect rodent control)
Products:
  • live animals for the reptile hobby (legal trade where permitted)
  • zoo/exhibit specimens
  • wildlife education programming (non-consumptive use)

Relationships

Predators 5

King Cobra
King Cobra Ophiophagus hannah
Crested Serpent Eagle Spilornis cheela
Changeable Hawk-Eagle Nisaetus cirrhatus
Water Monitor
Water Monitor Varanus salvator
Reticulated Python
Reticulated Python Malayopython reticulatus

Related Species 6

Green Trinket Snake Gonyosoma prasinum Shared Genus
Jansen's Ratsnake Gonyosoma jansenii Shared Genus
Red-banded Ratsnake Gonyosoma frenatum Shared Genus
Oriental Ratsnake Ptyas mucosa Shared Family
Radiated Ratsnake Coelognathus radiatus Shared Family
Chinese Beauty Snake
Chinese Beauty Snake Orthriophis taeniurus Shared Family

Ecological Equivalents 4

Animals that fill a similar ecological role in their ecosystem

Painted Bronzeback Dendrelaphis pictus Like Gonyosoma oxycephalum, it is a fast hunter with good vision, active by day and at dusk, and mainly arboreal. Found in forest edges, secondary growth, and disturbed areas; feeds on small lizards and frogs.
Oriental Whip Snake Ahaetulla prasina A slender, arboreal, diurnal Southeast Asian snake that uses camouflage and rapid climbing. Shares use of shrubs and trees and diurnal hunting at forest edges, though Ahaetulla more often hunts lizards and employs a sit-and-wait strategy.
Mangrove Cat Snake Boiga dendrophila Shares a strongly arboreal lifestyle and predation on birds, bird eggs, and small vertebrates in tropical forest settings. Differs in being primarily nocturnal and more ambush-oriented, but occupies a comparable arboreal mesopredator role where ranges overlap.
Rough Green Snake
Rough Green Snake Opheodrys aestivus Not sympatric (North America), but ecologically convergent: both have vivid green coloration, arboreal habits, and rely on vegetation for concealment. Both are agile climbers and mostly diurnal, though O. aestivus is primarily insectivorous whereas G. oxycephalum is a vertebrate predator.

The green rat snake catches its meals in midair!

The green rat snake is common in Southeast Asia but spends most of its time out of sight, high in the trees where it feels most comfortable. Non-venomous, the snake grabs birds and bats in midflight when it is ready for a meal. It will also make a meal of lizards who wander too close and bird eggs it finds in nests.

The green rat snake can be kept as a pet, although the price of the snake and enclosure will discourage many people who would otherwise be attracted to these handsome snakes. They are not for novice snake owners. While non-confrontational in the wild, they are known to be temperamental and prone to strike in captivity. Purchasing captive-bred snakes can reduce, but not eliminate, this issue.

Three Green Rat Snake Amazing Facts

  • When threatened, the green rat snake will puff up, making it resemble the dangerous pit viper
  • They are constrictors and will suffocate their prey before eating it
  • Abundant in the wild, the rat snake is sometimes hunted for its shiny green skin,

Where to Find Green Rat Snakes

Native to Southeast Asia, if you want to see the red-tailed green rat snake, look up. These snakes spend the majority of their life in trees. Solitary animals, they hunt from the limbs of trees and retreat into tree cavities to rest.

Green Rat Snake Scientific Name

The scientific name of the green rat snake is Gonyosoma oxycephalum. Other common names for this snake are the red-tailed green rat snake, arboreal rat snake, and the red-tailed racer. Despite the name, their tails are not always red. They can be brown or gray as well.

Green Rat Snake Population & Conservation Status

The population size of the green rat snake is impossible to determine. They are endemic in Southeastern Asia and are a species of least concern.

How to Identify Green Rat Snakes: Appearance and Description

The green rat snake ranges from light to bright green on its back. The back scales are small and smooth, while the scales on the underside are wider. The tail can be red, gray, or brown.

The top of the head may be a darker shade of green, yellow, or yellow-green. The green rat snake has a dark, horizontal line across the eye. Some snakes have a net-like pattern in black across the back scales.

Green Rat Snake Pictures

Green Rat Snake

The top of the head of the Green Rat Snake may be a darker shade of green, yellow, or yellow-green.

The green rat snake ranges from light to bright green on its back.

The green rat snake ranges from light to bright green on its back.

When threatened, the green rat snake will puff up, making it resemble the dangerous pit viper.

When threatened, the green rat snake will puff up, making it resemble the dangerous pit viper.

Green Rat Snakes: How Dangerous Are They?

The green rat snake is not venomous, but it can bite if confronted. A bite from the green rat snake can lead to an unpleasant infection, due to bacteria in its mouth.

Green Rat Snake Behavior and Humans

In the wild, green rat snakes avoid confrontation and are quick to retreat when approached. If cornered, they may strike, although it isn’t their preference.

When kept in captivity, their temperament can be more aggressive. The price of the green rat snake may discourage amateurs from keeping them as pets, and that is good, as they aren’t a pet for beginner snake owners.

The price for green rat snakes born and raised in captivity may be higher, but they are typically less defensive and also adapt easier to a diet of small rodents.

The green rat snake reaches a mature size of up to 70 inches, so the habitat required to keep them as pets is not cheap. They require high humidity, warm temperatures, and multiple hiding spots. The enclosure size should be at least 36 inches long and 30 inches tall.

View all 261 animals that start with G

Sources

  1. Reptiles Magazine / Accessed May 1, 2022
  2. Earth / Accessed May 1, 2022
  3. Animalia / Accessed May 1, 2022
  4. Snake Tracks / Accessed May 1, 2022

Thank you for reading! Have some feedback for us?


Green Rat Snake FAQs (Frequently Asked Questions)

The green rat snake is not venomous.