Species that sequester toxins from prey for their own defense against predators may exhibit population-level variation in their chemical arsenal that reflects the availability of chemically defended prey in their habitat. Rhabdophis tigrinus is an Asian snake that possesses defensive glands in the skin of its neck (‘nuchal glands’), which typically contain toxic bufadienolide steroids that the snakes sequester from consumed toads. In this study, we compared the chemistry of the nuchal gland fluid of R. tigrinus from toad-rich and toad-free islands in Japan and determined the effect of diet on the nuchal gland constituents. Our findings demonstrate that captive-hatched juveniles from toad-rich Ishima Island that had not been fed toads possess defensive bufadienolides in their nuchal glands, presumably due to maternal provisioning of these sequestered compounds. Wild-caught juveniles from Ishima possess large quantities of bufadienolides, which could result from a combination of maternal provisioning and sequestration of these defensive compounds from consumed toads. Interestingly, juvenile females from Ishima possess larger quantities of bufadienolides than do juvenile males, whereas a small sample of field-collected snakes suggests that adult males contain larger quantities of bufadienolides than do adult females. Captive-born hatchlings from Kinkasan Island lack bufadienolides in their nuchal glands, reflecting the absence of toads on that island, but they can sequester bufadienolides by feeding on toads (Bufo japonicus) in captivity. The presence of large quantities of bufadienolides in the nuchal glands of R. tigrinus from Ishima may reduce the risk of predation by providing an effective chemical defense, whereas snakes on Kinkasan may experience increased predation due to the lack of defensive compounds in their nuchal glands.