What causes chills during sleep?

Chills during sleep may be due to low ambient temperatures, which can stimulate the shivering excitatory centre in the posterior hypothalamus, which travels via efferent pathways to motor neurons, producing uncontrolled movements of skeletal muscle. It may also be due to certain diseases that cause the body to produce endogenous thermogenic sources, resulting in an increase in the thermoregulatory point.