Home / Reptiles / Snakes / Xenopeltidae / Sunbeam snake
No federal permit to keepSunbeam snake
Xenopeltis unicolor
Reptiles › Snakes (Serpentes) › Xenopeltidae (Sunbeam snakes)
Xenopeltis unicolor, commonly known as the sunbeam snake, common sunbeam snake or iridescent snake, is a non-venomous sunbeam snake species found in Southeast Asia and some regions of Indonesia.

Care at a glance
Species-specific values
Values researched for this exact species. Air, surface and water temperatures are listed separately, and each source is kept as published rather than averaged.
| Minimum enclosure | A 40-gallon vivarium provides sufficient space for a Sunbeam Snake. Source: reptilescove.com | |
| Basking surface temperature | 85 °F Source: reptilescove.com | |
| Warm side air temperature | 80 °F Source: reptilescove.com | |
| Humidity | 80–100 % Source: reptilescove.com | |
| Uvb lighting | The snake does not need special lighting such as UVB lights; cage lighting can provide a 12-hour day-night cycle. Source: reptilescove.com | |
| Feeding frequency | Feed young snakes weekly and adults every two weeks. Source: reptilescove.com | |
| Social housing | The article describes Sunbeam Snakes as solitary and secretive. Source: reptilescove.com | |
| Substrate | Use damp dirt-like bedding about 4 to 8 inches deep; coconut coir with peat moss is one suggested choice. Source: reptilescove.com |
Understanding the animal
About this animal
About this animal
This is a primitive snake known for both its highly iridescent scales and its ability to reproduce quickly, as it is oviparous and as such can lay up to 10 eggs at a time. No subspecies are currently recognized.
From Wikipedia: Xenopeltis unicolor, CC BY-SA 4.0 (excerpt)
In the wild
In the wild
Researched for this exact species, not its family. Wild conditions are context, not enclosure settings.123
| Where it lives | Occurs across Southeast Asia and parts of Indonesia, using forest and modified habitats such as parks and gardens. It is a semi-fossorial snake that spends much of its life beneath ground cover or in soil. |
| Ground it lives on | burrowable soil beneath forest or garden cover |
| Active | Nocturnal and semi-fossorial; reliable species-specific dormancy information was not established. |
| Wild diet | Rodents, birds, lizards and other snakes. |
| Behavior to plan for | A burrowing snake with a flattened head and streamlined body suited to moving through soil. |
Native climate (measured)
Native climate (measured)
| Warm-season highs | about 91°F (up to 95°F in the hottest sampled areas) |
| Cool-season lows | about 69°F (down to 55°F in the coldest sampled areas) |
| Average temperature | 74–83°F across sampled records |
| Relative humidity | 72–81% on average (driest month about 71%) |
| Rainfall | about 1921 mm a year, with strong wet and dry seasons |
Measured at 109 wild occurrence records sampled against WorldClim 2.1 climate data (1970–2000 averages). Air conditions in the range are ecological context, not enclosure settings: microhabitats such as burrows, leaf litter or basking rocks can be cooler, warmer or more humid.
Data and studies
The numbers
The numbers
Each bar is what one source reports. Where several sources weigh in, the dashed gold band marks their average.
Maximum recorded lifespan
Longest recorded lifespan reported by each database; typical lifespans are usually shorter. The AnAge record comes from an animal in human care.
Typical adult weight
Average adult body mass in each database (FishBase gives the maximum recorded weight).
Incubation
Sources for this sheet
- AnAge: The Animal Ageing and Longevity Database (Human Ageing Genomic Resources) (CC BY 3.0) Peer-reviewed researchCurated, referenced longevity and life-history records for thousands of species; maximum lifespans are often from zoo animals.
- Myhrvold et al. (2015). An amniote life-history database. Ecology 96: 3109 Peer-reviewed researchPeer-reviewed compilation of life-history data for over 21,000 birds, mammals and reptiles.
- Clint's Reptiles (YouTube): Sunbeam Snake, The Best Pet Snake? Expert educator & keeperClint Laidlaw, PhD in Biology Education and MS in Evolutionary Ecology; owner of Clint's Reptile Room and a longtime keeper. His "Best Pet?" series reviews each species' care in depth.
- The Reptile Database Peer-reviewed researchScientist-curated catalog of every reptile species, with taxonomy and literature.
- GBIF Backbone Taxonomy (Global Biodiversity Information Facility) (CC BY 4.0) Peer-reviewed researchInternational scientific taxonomy used here for classification. GBIF Secretariat (2023). GBIF Backbone Taxonomy. Checklist dataset https://doi.org/10.15468/39omei, accessed via GBIF.org.
- Species+ (UNEP-WCMC and the CITES Secretariat) Zoo, university or veterinaryThe official database of species listed under CITES. UNEP (2026). The Species+ Website. Nairobi, Kenya. Compiled by UNEP-WCMC, Cambridge, UK. Available at: www.speciesplus.net. [Accessed 04/10/2026].
- Wikipedia (species article) (CC BY-SA 4.0) Community referenceFree encyclopedia; useful overviews with their own citations. Short excerpts are quoted under CC BY-SA 4.0, each credited with a link to its article.
- iNaturalist (captive observations) Community referenceCommunity observation platform run by the California Academy of Sciences and National Geographic; observations marked captive show animals living in homes, zoos and aquariums.