Kleptothermy is any form of thermoregulation by which an animal shares in the metabolic thermogenesis of another animal. It may or may not be reciprocal, and occurs in both endotherms and ectotherms. Its most common form is huddling.
Some species of ectotherms including lizards and snakes, such as boa constrictors and tiger snakes, increase their effective mass by clustering tightly together. It is also widespread amongst gregarious endotherms such as bats and birds (such as the mousebird and emperor penguin) where it allows the sharing of body heat (particularly among juveniles).
In at least one case this is not reciprocal, and might be accurately described as heat-stealing. Some male Canadian red sided garter snakes engage in female mimicry by producing fake pheromones after emerging from hibernation. This causes rival males to cover them in a mistaken attempt to mate, and so transfer heat to them. This allows those males that mimic females to become more quickly revitalized after hibernation (which depends upon raising their body temperature), giving them an advantage in their own attempts to mate.
Many ectotherms exploit the heat produced by endotherms by sharing their nests and burrows. For example, mammal burrows are used by geckos and seabird burrows by Australian tiger snakes and New Zealand tuataraTermites create high and regulated temperatures in their mounds, and this is exploited by some species of lizards, snakes and crocodiles.
Research has shown such kleptothermy can be advantageous: the blue-lipped sea krait, when it occupies a burrow of a pair of wedge-tailed shearwater incubating their chick, raises its body temperature to 37.5 °C (99.5 °F) compared to 31.7 °C (89.1 °F) when in other habitats. Its body temperature is also more stable. Burrows without birds did not provide this heat being only 28 °C (82 °F) .