Comparison

Keeled Rat Snake vs Green Rat Snake

Keeled Rat Snake (Ptyas carinata) and Green Rat Snake (Ptyas nigromarginata) both belong to the genus Ptyas (rat snakes) and part ways below it. Both are recorded in 4 countries.

Keeled Rat Snake

Keeled Rat Snake

Ptyas carinata

ian_dugdale, CC BY 4.0, via Wikimedia Commons

Green Rat Snake

Green Rat Snake

Ptyas nigromarginata

Rohit Naniwadekar, CC BY-SA 4.0, via Wikimedia Commons

Side by side

Keeled Rat SnakeGreen Rat Snake
Scientific namePtyas carinata (Günther, 1864)Ptyas nigromarginata (Blyth, 1855)
English nameKeeled Rat SnakeGreen Rat Snake
GroupReptilesReptiles
ClassReptilia ReptileReptilia Reptile
OrderSquamata SnakesSquamata Snakes
FamilyColubridae ColubridColubridae Colubrid
GenusPtyas Rat SnakesPtyas Rat Snakes
Named in18641855
Red List categoryLeast ConcernLeast Concern
Countries on record11 countries7 countries
GBIF occurrence records260 records113 records

Rows where the two agree are shown in grey.

Where each is found

Both recorded in 4 countries

Only Keeled Rat Snake (7)

Only Green Rat Snake (3)

From Catalogue of Life checklists and GBIF occurrence records. A country missing from a list means no record is held, which is not proof of absence.

Checked facts

Keeled Rat SnakeGreen Rat Snake
Appearance
  • The species has green dorsal coloration, with each dorsal scale edged in black. English Wikipedia
  • The top of the head is brownish. English Wikipedia
  • Adult individuals have four broad black stripes on the posterior third of the body and on the tail. English Wikipedia
  • Juveniles have black stripes extending along the entire length of their bodies and tails. English Wikipedia
  • The underside is greenish white. English Wikipedia
  • The dorsal scales have black margins that accentuate the green coloration. English Wikipedia
  • The species has a blackish anal gland secretion resembling that of kraits. English Wikipedia
Size
  • Adult individuals measured in Taiwan have recorded lengths ranging from 1.21 to 2.75 metres. English Wikipedia
  • The reportedly maximum length of this species is approximately 4 metres. English Wikipedia
  • Males reportedly have a slightly greater average size than females. English Wikipedia
  • The species can reach a total length of 2.26 metres, including a tail measuring 0.65 metres. English Wikipedia
Habitat
  • In the northern parts of its range, the species appears to inhabit temperate forests. English Wikipedia
  • In the southern parts of its range, the species appears to inhabit hilly evergreen forests and montane forests. English Wikipedia
  • The species is associated with dense, undisturbed forests and avoids human habitations. English Wikipedia
Diet
  • The species is thought to prey opportunistically on various animals, including rodents. English Wikipedia
  • Adult lizards are considered an important prey item for this species in Indonesia. English Wikipedia
ReproductionNo checked fact yet
Distribution
  • The species is recorded in Indonesia, Myanmar, Malaysia, Thailand, the Philippines, Cambodia, Vietnam, Laos and Singapore. English Wikipedia
  • The species occurs in Bhutan, Nepal, India, northern Bangladesh, northern Myanmar, China, and possibly northern Vietnam. English Wikipedia
  • The species has been recorded at elevations between 500 and 2,300 metres. English Wikipedia
  • The type locality of the species is Darjeeling, India. English Wikipedia
Other
  • Ptyas carinata is described as probably being the largest living species in the colubrid family. English Wikipedia
No checked fact yet

In brief

Keeled Rat Snake

The Keeled rat snake (Ptyas carinata) is a species of colubrid snake. It is recorded in Indonesia, Myanmar, Malaysia, Thailand, the Philippines, Cambodia, Vietnam, Laos and Singapore. It is described as probably being the largest living species in the colubrid family. Full profile

Green Rat Snake

Ptyas nigromarginata occurs in Bhutan, Nepal, India, northern Bangladesh, northern Myanmar, China, and possibly northern Vietnam. It has green dorsal coloration with black-edged scales, a brownish top of the head, and a greenish white underside. Full profile

Compare something else

Page built on 6 December 2026 from the data on the two species pages, where every source is listed.

Cite this page

ScientificNames.org. (2026). Keeled Rat Snake vs Green Rat Snake. Retrieved December 6, 2026, from https://scientificnames.org/compare/keeled-rat-snake-vs-green-rat-snake