Why the king snake plays by different rules
Whether a reptile needs UVB comes down to how it gets vitamin D3, and the king snake's method is dinner. A king snake swallows rodents whole — bones, organs, and all — and the prey's skeleton and liver deliver calcium and D3 in exactly the package this predator evolved to use. Compare that with a grazing tortoise, whose leafy food contains calcium but no D3, and which must therefore manufacture D3 in sunlit skin or go without. The king snake carries its supply in its food, which is why generations of keepers have raised healthy, long-lived king snakes under nothing more exotic than ordinary room light on a day-and-night cycle.
Why many keepers fit a low-level lamp anyway
Needs and benefits are different questions. King snakes are most active in the dim hours around dawn and dusk, and out in the wild those are hours spent moving through low, angled sunlight, not total darkness. Keepers who offer a gentle UVB source consistently describe snakes that use more of the enclosure, settle into more regular activity rhythms, and sometimes rest deliberately in the lit zone with part of the body exposed — behavior that suggests the light registers as something worth having. The fair summary is that UVB for a king snake is an enrichment upgrade with plausible health upside, not a piece of life-support equipment, and it should never displace the things that genuinely are essential.
If you fit one, fit it the king snake's way
The rule is gradient, in light as in heat. Mount a low-output UVB source over one end of the vivarium only, and make sure the other end — including a hide — stays fully shaded, so the snake can always choose darkness and is never trapped under light it is trying to escape. Desert-strength bulbs meant for bearded dragons are far too much for a snake built for the dim hours, and a king snake forced under one will simply hide all day, which defeats the point. Keep the lamp on the same daytime timer as the rest of the lighting so the snake's sense of day and night stays clean, and replace the bulb on schedule, since UV output fades while the visible glow carries on.
What actually is non-negotiable for this species
Before spending anything on lighting upgrades, audit the essentials a king snake cannot do without: a lid it cannot push open, because this species is a gifted escape artist; a warm end and a cool end it can move between; a water bowl big enough to soak in before a shed; hides at both ends; and correctly sized whole prey on a sane schedule. Poor sheds, wheezing, or a snake that goes off its food for weeks outside its normal winter slowdown are husbandry or health questions to work through — and a vet visit if they persist — not problems a new lamp will solve.
Keeping the setup written down
Because UVB here is a choice rather than a standard, the next person to care for the snake — a vet, a sitter, a future owner — cannot guess what you decided from the species alone. Recording the bulb type, the timer hours, and the replacement rhythm in the snake's KinsLe Pet Passport means anyone assessing its care can see the whole picture at a glance, and its lighting setup stays consistent wherever the snake goes.