A sunbeam snake (Xenopeltis unicolor) showing the iridescent rainbow sheen across its dark scales

Sunbeam Snake Care: Everything You Need To Know

The sunbeam snake has gone from obscure to sought-after in a few years, mostly on the back of social media videos showing that extraordinary iridescent scale shimmer. The popularity spike brought the usual wave of conflicting care information along with it. This guide covers what the species actually needs based on its biology and natural habitat rather than internet rumour, so you can keep one correctly from day one.

Species Summary

The sunbeam snake (Xenopeltis unicolor) is a non-venomous fossorial species native to Southeast Asia, found across southern China, Myanmar, Thailand, Vietnam, Malaysia, Indonesia, and the Philippines. In the wild it inhabits damp lowland forests, rice paddies, gardens, and forest edges, spending most of its time burrowed in loose, moist soil. It surfaces mainly at night to hunt. The family Xenopeltidae is ancient and contains only two species, making sunbeam snakes genuinely unusual among pet reptiles in terms of evolutionary lineage.

AttributeDetails
Scientific nameXenopeltis unicolor
Common nameSunbeam snake, iridescent earth snake
OriginSoutheast Asia (China, Thailand, Indonesia, Philippines and surrounding region)
Adult size3–3.5 feet (occasionally to 4 feet)
LifespanAround 10 years in captivity
DietCarnivore — mice in captivity
Activity patternNocturnal, fossorial
TemperamentGenerally calm; handles moderate but prefers minimal disturbance
Humidity75% or higher
UVB required?Not required
Wild-caught vs captive-bredPredominantly wild-caught in trade; see health note
Care levelBeginner–Intermediate

Appearance

A sunbeam snake on substrate showing the characteristic iridescent shimmer across dark brown-black scales

The iridescent shimmer is the defining feature of this species. The base scale colour is dark brown to near-black, but a structural quality in the scales causes them to refract light and produce a rainbow sheen that shifts colour as the angle changes. In good light the effect is genuinely striking. The underside scales are much lighter, pale cream to white, which is the cleanest contrast point between the dorsal and ventral surface.

Close-up of sunbeam snake scale colouration showing the iridescent rainbow effect

The head is wedge-shaped and slightly narrow relative to the body width, which helps with burrowing. The neck is not strongly delineated. Body build is slender throughout — adults are typically no wider than a coin in diameter. Juveniles have a distinctive white collar ring around the neck that fades within the first year to match the dark adult colouration.

Size

Adult sunbeam snakes reach 3 to 3.5 feet in length, occasionally approaching 4 feet. They are slender throughout, which makes them appear smaller in person than the length suggests. This is a manageable size and one of the reasons the species suits keepers without large space dedicated to reptiles.

Lifespan

The average captive lifespan is around 10 years, though records of longer-lived individuals exist. Most sunbeam snakes in the trade are still wild-caught imports, which creates an unknowable starting age and potentially reduces the effective captive lifespan compared to a captive-bred animal acquired as a juvenile. This is worth bearing in mind when sourcing: a large adult import may already be several years old.

Sunbeam Snake Care

The two parameters that matter most for this species are humidity and substrate depth. Get those right and the rest of the care is straightforward. Get them wrong and health problems follow quickly, since sunbeam snakes are physiologically adapted to constant high moisture and continuous burrowing access. A dry enclosure or shallow substrate is the most common cause of health decline in this species.

Enclosure Size

Horizontal floor space is the priority dimension since sunbeam snakes do not climb. A 20 x 10 inch footprint is the working minimum for a single adult, but a larger footprint is better — this is a species that actively explores and uses floor space when conditions are correct. Rack system tubs work well for collectors; use a tub of at least 32 quart capacity. A secure lid is essential since these snakes are capable escape artists through surprisingly small gaps.

Habitat Setup

Substrate is the most critical element of the setup. Sunbeam snakes need a deep, loose, moisture-retaining layer they can burrow into completely. A depth of 6 to 8 inches is the minimum. Coconut coir is the most practical single substrate — it holds humidity well, resists compaction, and is easy to maintain. A mix of 75% coconut coir or peat-based soil to 25% play sand improves burrowing ease and more closely mimics natural forest floor. Avoid dry substrates entirely; the substrate should feel consistently damp when squeezed, not soaking wet but never dry.

Decoration on top of the substrate should be minimal and lightweight. A piece of cork bark or a low artificial hide is sufficient. Avoid rocks, heavy logs, or anything that cannot be moved easily — sunbeam snakes burrow under objects and heavy items can shift and injure them.

Expert Tip: You will rarely see your sunbeam snake during the day. Do not take a snake that spends all its time buried as a sign of illness or stress — this is exactly what the species is supposed to do. A small iridescent shimmer visible just below the substrate surface is one of the more distinctive pleasures of keeping this species.

Temperature and Lighting

ZoneTemperatureMethod
Warm end80–85°F (27–29°C)Under-tank heat mat on thermostat
Cool end ambient70–75°F (21–24°C)Room temperature in most homes
Night68–72°F (20–22°C)Can drop naturally

Despite the name, sunbeam snakes do not need or want intense overhead lighting. An overhead basking lamp will dry the substrate and the air, undermining the humidity requirement. Use an under-tank heat mat on a thermostat to provide the warm end gradient. A standard low-output light on a timer maintains the day/night cycle. UVB is not required for this nocturnal burrowing species. Verify temperatures with a digital probe thermometer — dial thermometers are insufficiently accurate for maintaining the modest gradient this species needs.

Humidity

Maintain 75% relative humidity or higher throughout the enclosure. This is non-negotiable. Sunbeam snakes originate from consistently humid tropical and subtropical environments and low humidity is the primary environmental health risk in captivity. Dehydration, dysecdysis (retained shed), and skin blistering are all linked to insufficient humidity.

A deep damp substrate does most of the humidity work passively. Mist one side of the enclosure lightly each day. In drier climates or during winter heating season, partially covering the mesh lid with foil or a perspex panel traps moisture effectively. Monitor with a digital hygrometer positioned at mid-enclosure level.

Water

Provide a shallow water dish wide enough for the snake to coil in. Sunbeam snakes soak regularly and may drink while soaking. Change the water every two days and scrub the dish weekly. Use dechlorinated tap water or filtered water.

Feeding and Diet

A Xenopeltis unicolor sunbeam snake exploring its enclosure at feeding time

In the wild, sunbeam snakes eat frogs, lizards, small rodents, and other snakes. In captivity, appropriately sized frozen-thawed mice are the practical staple and a nutritionally complete diet. Always use frozen-thawed rather than live prey — live rodents can injure this slender-bodied species during constriction. Thaw prey to near body temperature before offering.

Sunbeam snakes have narrower jaws than most similarly sized constrictors, so prey width matters. Offer multiple smaller mice rather than a single large one. Use tongs to present prey and give a hook touch before opening the enclosure for handling to distinguish feeding from non-feeding interactions.

AgePrey sizeFrequency
JuvenilePinky to small fuzzy mice2–3 times per week
Adult2–3 small hopper miceEvery 10–14 days

Some newly acquired wild-caught sunbeam snakes initially refuse mice and may only accept frogs or lizards. Scenting a mouse with frog scent (rubbing with a frozen-thawed frog) often converts reluctant feeders. Patience with newly acquired animals is essential — wild-caught individuals need several weeks to settle before feeding reliably.

Health and Common Issues

Most sunbeam snakes in the trade are wild-caught imports. A faecal screen and full health check with a reptile vet within the first few weeks of acquisition is strongly recommended, as internal parasites are common in imported animals. Find a reptile vet through the ARAV vet directory.

Skin blistering is the most distinctive health issue specific to this species, caused by bacterial infection of the skin. Blisters appear across the body surface and require veterinary antibiotic treatment. The underlying cause is almost always incorrect humidity — either sustained low humidity causing dehydration, or a wet and stagnant environment promoting bacterial growth. The substrate should be damp, not wet, with adequate ventilation.

Retained shed results from humidity too low, particularly around shed time. Increase humidity to 80%+ in the week before a shed is expected. A snake that has not shed cleanly can be given a 20-minute soak in shallow lukewarm water, which loosens retained skin.

Snake mites are common in wild-caught imports. Check for small moving dots around the eyes, in the labial pits, and in the water dish. Treat promptly and completely disinfect the enclosure simultaneously.

Behaviour and Temperament

Sunbeam snakes are calm and rarely bite in captivity. They are not flighty or defensive in the way some fossorial species can be. The main temperament note is that they are observation animals more than handling animals. They spend the majority of their time buried in the substrate and are primarily active at night. Regular disturbance of a burrowed snake causes stress, and stress-related illness is a genuine risk in a species that needs stable, undisturbed conditions to thrive.

Handling

Limit handling to once or twice a week at most. Brief sessions of 5 to 10 minutes are preferable to extended handling. Support the full body length when holding. Watch for signs of stress — increased muscular tension, attempts to burrow into your hands, or unusual defensiveness — and return the snake to its enclosure promptly if these appear. Do not handle for 48 hours after feeding.

Frequently Asked Questions

Are sunbeam snakes good pets?

Yes, for a keeper who understands they are primarily an observation animal. Sunbeam snakes are calm, rarely bite, and have a straightforward diet. The challenge is that they spend most of their time buried and are active mainly at night, so direct interaction is limited. Keepers who appreciate the iridescent appearance and find the fossorial lifestyle interesting will enjoy them. They are not a good fit for someone who wants a frequently visible, regularly handleable snake.

How do you keep sunbeam snake humidity high enough?

A deep damp substrate (coconut coir or coir and sand mix at 6 to 8 inches depth) does most of the work passively. Mist one side of the enclosure lightly each day. Partially covering the mesh lid with foil or a perspex panel prevents moisture loss in dry climates. Avoid overhead basking lamps which dry both the substrate and the air. Target 75 percent or higher, verified with a digital hygrometer.

What do sunbeam snakes eat?

Appropriately sized frozen-thawed mice in captivity. Their jaw width is narrower than most similarly sized snakes, so offer multiple smaller mice rather than a single large one. Juveniles eat 2 to 3 times per week. Adults eat 2 to 3 small hopper mice every 10 to 14 days. Newly acquired wild-caught animals may initially require scenting with frog scent before accepting mice.

Are sunbeam snakes wild-caught?

Most sunbeam snakes in the trade are still wild-caught imports from Southeast Asia. Captive-bred animals are occasionally available from specialist breeders and are strongly preferred — they are healthier on arrival, more settled, and do not have the unknown age issue that affects lifespan estimates for imports. Any newly acquired sunbeam snake should have a faecal screen within the first few weeks to check for parasites.

Why is my sunbeam snake always hiding?

This is completely normal. Sunbeam snakes are fossorial and spend the majority of their time buried in the substrate. It is their natural resting state, not a sign of illness or stress. A snake that surfaces, feeds normally, and sheds cleanly is healthy regardless of how much time it spends burrowed. Only be concerned if the snake stops feeding, shows signs of laboured breathing, or develops visible skin abnormalities.