[3] The holotype of X. captaini is from Kanam, Kottayam district, in the state of Kerala and was found in 2000.
Captain's wood snake has been recorded at low altitudes on the western side of the southern part of the Western Ghats, south of the Palakkad Gap.
[2] The preferred natural habitat of X. captaini is forest at altitudes from sea level to 300 m (980 ft), but it has also been found in disturbed areas such as plantations.
[1] A small species of snake, X. captaini does not exceed 20 cm (7.9 in) in total length (including tail).
[4] X. captaini is nocturnal, and burrows in leaf litter, humus, and soil to a depth of 10 cm (3.9 in).