top of page

Sunbeam Snake Care Guide

Updated: Feb 26, 2023

Family: Xenopeltidae Genus: Xenopeltis Lifespan: 15-20+ years Size: Average 3-4 feet Habitat and Distribution: Southeast Asia; inhabiting swamps, marshes and rice paddies

Captive bred sunbeam snake
CB Baby Sunbeam Snake | © 2023 Creatures of Nightshade

UPDATE | October 30th, 2022

We recently hatched our very first clutch of CB sunbeam snakes! With that said, we have made minor updates to our care guide to reflect what we have learned since working with the hatchlings. We look forward to sharing our progress with this species with the community.


Renowned for their captivating iridescence, sunbeam snakes are growing in popularity among snake keepers; and it is no surprise why! Their vibrant rainbow sheen, docile temperament and mysterious nature make for a fascinating animal.

Sunbeam Snake Care Guide (Xenopeltis unicolor)
Sunbeam Snake | © 2020 Creatures of Nightshade

Since they are not commonly bred in captivity, most sunbeam snakes available today are wild caught imports. This can present some challenges to those unfamiliar with establishing wild caught snakes. That said, contrary to popular belief, sunbeam snakes are quite hardy and relatively tolerant to the stresses that come with importing and captive keeping. While not recommended for the novice keeper, this species will do well in captivity if provided with the correct care.



Sunbeam snakes are not well established in captivity, thus most available specimens are currently wild caught imports. If you are interested in keeping this species, it is highly recommended that you have at least some experience or understanding in establishing wild caught imports.



Due to their small size and fossorial (burrowing) nature, sunbeam snakes do not necessarily need elaborate enclosures in order to thrive. You will want to provide several inches of substrate, a large water dish for them to slither through, and preferably some additional underground enrichment such as rocks, pieces of bark, and makeshift tunnels made from PVC tubes buried beneath the substrate.

The outline below lists my preferred enclosure size relative to the snake's length, but individual keeping methods may vary. Please note that the size of the snake does not always accurately indicate age and is used strictly for reference purposes only.

For plastic tubs, be sure to add plenty of ventilation holes so that you do not have an excess buildup of condensation. This makes for a bacterial breeding ground within the enclosure and can create an unsanitary environment for your sunbeam snake.

Juvenile (> 18 inches): 15qt. Sterilite tubs

Subadult (18 - 30 inches): 32qt. Sterilite tubs

Adult (30 - 48+ inches): 106qt. Sterilite tubs OR 34in. x 18in. x 9in PVC enclosure

Glass tanks can also be used, but keep in mind that maintaining humidity in a glass enclosure will require heavy modification to the tank. The following tank sizes are suitable for Sunbeam snakes: Juvenile (>18 inches): 10gal. (20in. x 10in. 12in.) Subadult (18 - 30 inches): 15gal. Long (24in. x 12.5in. x 13in.) Adult (30 - 48+ inches): 20gal. Long (30in. x 12in. x 12in.)

Substrate and Humidity

Sunbeam snakes are a tropical species that typically remain burrowed underneath their substrate the majority of the time. Therefore, it is crucial to use a substrate that both retains moisture and allows them to burrow with ease. I prefer to use a minimum of 4 inches of substrate for hatchlings, and then I add an additional inch of substrate per foot of snake. I use a mix of 9 parts sphagnum moss to 1 part organic potting mix to maintain a consistent humidity level of 90%+. First, I soak the sphagnum moss in a bucket full of water and let it soak for about 5 minutes, after which I will wring out clumps of moss until it stops dripping water. After doing so, I place the damp moss in a dry bucket and add in the potting mix. Once the substrate is prepared, I only mist once every two weeks for a few seconds each time. Adding a drainage layer to allow for a more even distribution of moisture through the substrate is highly recommended to help maintain humidity.


Sunbeam snakes require a warm spot of 84-85°F and a cool spot no cooler than 75°F. This is best achieved by using a UTH (under-tank heater), or a RHP (radiant heat panel) for PVC enclosures. You will want to avoid overhead heat bulbs, as they will quickly dry out your Sunbeam snake. As with all heating elements, a thermostat should be used with any and all heat sources to avoid potentially harming your snake.

Diet and Feeding

While sunbeam snakes eat a mix of frogs, lizards and rodents in the wild, they do well on a rodent-based diet in captivity. I start each sunbeam snake on live mice appropriate for their size, measuring no larger than ½" of the girthiest part of the snake.

I rarely have refusals when offering within the first couple weeks of arrival, but if one does refuse, I leave them be in a completely dark, low-traffic room for the next two weeks to allow them to settle in more. During this time, I do not handle them unless medically necessary, with the only interactions being to spot-clean and change the water dish. Once Sunbeam snakes are well established eating live mice, I begin converting them to fresh killed, then eventually to frozen/thawed. I have had wild caught sunbeam snakes absolutely refuse frozen/thawed feeders despite various attempts, thus some will only take live or fresh killed mice. For this reason, it is important to be prepared in the event you must consistently offer live feeders to your sunbeam snake.

I do prefer to offer my established sunbeam snakes some degree of dietary variety, and will offer a live frog once every month or two on top of rodents. This is purely optional, but offering dietary variety serves as a form on enrichment for your snake and is always encouraged.

Sunbeam Snake Care Guide (Xenopeltis unicolor)
Sunbeam Snake Scalation | © 2020 Creatures of Nightshade

Treating for Parasites

This section applies to wild caught imports only.

One of the biggest concerns that comes with all wild caught snakes is the potential parasite load they often bring. External parasites are easy to detect and relatively simple to treat, and there are various online resources on how to treat them -- but the same cannot be said for internal parasites. Many inexperienced keepers that acquire a wild caught import believe the best course of action is to rush them to their veterinarian for an in-depth examination. Unfortunately, the stress they are put through as a result of the veterinary visit is often a major cause for decline and eventually death. When keeping wild caught snakes, it is crucial to avoid stressing them as much as possible, and this includes being poked, prodded and excessively handled by a vet. This is where experience comes into play. Knowing how to examine and identify potential issues with your snake and how to treat them without rushing them to the vet is extremely helpful in assuring the survival of such sensitive animals. In order to do so, I highly suggest establishing a good relationship with your herp veterinarian. I am able to treat all snakes for parasites at home because my veterinarian prescribes the medication via Telemedicine, allowing me to receive the necessary medication for my wild caught imports without having to put them through the stress of a long drive and physical examination.

Treatment for internal parasites typically includes an oral administration of Metronidazole (0.04mg/g) given once within the first week of arrival and then once more 2 weeks after the first dose. This medication is also effective against many strains of bacteria. You can acquire powdered Metronidazole through an over-the-counter fish medication here. Your veterinarian can help you find the correct ratio to administer the medication, which will depend on the weight of your snake and dosage information provided above.

Additional Information

If caring for a wild caught sunbeam snake, it is important to limit unnecessary handling. While sunbeam snakes are more tolerant of human interaction, it is best to avoid putting them through additional stress. I never handle any wild caught imports unless medically necessary.

With that said, I have been able to handle my captive bred sunbeam snakes without having to worry too much about stressing them out. Our hatchlings seem to be very well adapted to the captive setting, and are quite calm and curious when handled. Handling has not affected their eating habits in any way, as all 11 hatchlings have eaten every meal offered since birth!

For both wild caught and captive bred sunbeam snakes, I recommend keeping them in a dark or dimly lit room. I allow a small amount of natural light to peek indirectly through a window to provide a natural daylight cycle. Absolutely no artificial light sources; this is a fossorial nocturnal species, and light should only be provided through natural means to help them regulate. In summary, sunbeam snakes are a fascinating species to keep. Their vibrant iridescence, docile temperament and mysterious nature are unmatched. I hope the information provided in this guide will help the small community of those who keep them in ensuring they thrive in their care, and with the persistent efforts of dedicated keepers, perhaps we will see more captive bred hatchlings in the future.


bottom of page