How the Body Regulates Temperature: The Hypothalamic Thermostat, Sweating, Shivering, and Fever

Photo: SHVETS production / Pexels
A sprinting athlete generates enough heat to raise their core temperature by 1°C roughly every 5 minutes — enough to reach dangerously high levels within 20 minutes if nothing intervened. The body's thermoregulatory system intervenes continuously, dumping up to 10 liters of sweat per hour in extreme heat and simultaneously redirecting blood flow to maximize heat dissipation. At rest, in cold air, it does the opposite — constricting surface blood vessels to minimize heat loss, triggering shivering to generate heat, and activating specialized brown fat deposits that burn themselves specifically to produce warmth. The precision of the result, core temperature held within approximately 0.5°C across wildly varying conditions, requires one of the body's most sophisticated feedback circuits.
Why Temperature Matters So Precisely
Enzymes are proteins, and proteins have optimal temperature ranges. Increase temperature too much and their three-dimensional shapes distort — a process called denaturation — reducing their activity and eventually destroying it. Decrease temperature too much and enzymatic reactions slow below the rates needed to sustain cellular function. The narrow temperature range that keeps human enzymes working optimally is approximately 36–38°C, and the brain's metabolic enzymes are particularly intolerant of deviation.
Above 40°C (104°F), proteins begin to denature in earnest. Above 42°C (107.6°F), heat stroke becomes life-threatening — neurons in the cerebellum and cerebral cortex are among the first to be damaged. At 43–44°C, death is likely without rapid intervention. The lower bound is less dramatic physiologically but more familiar experientially: every degree of core hypothermia (core temperature below 35°C) slows nerve conduction and cognitive function, explains why severely hypothermic patients become confused, and eventually why cardiac arrhythmias develop as the heart muscle's electrical conduction system slows at very low temperatures.
Source: Bouchama, A. and Knochel, J.P., New England Journal of Medicine (2002) — Heat stroke: pathophysiology, risk factors, clinical presentation, and treatment strategies.
The Hypothalamus: Where the Thermostat Lives
The body's temperature-regulating center is a small region at the base of the brain called the hypothalamus — the same structure that serves as the command center for the endocrine system, described in how the endocrine system works. Its anterior (front) region handles cooling responses; its posterior (back) region handles heating responses.
How the thermostat works:
The hypothalamus receives temperature information from two sources simultaneously:
Central thermoreceptors — temperature-sensitive neurons within the hypothalamus itself, monitoring the temperature of the blood flowing through it (which closely tracks core body temperature).
Peripheral thermoreceptors — temperature-sensing neurons in the skin, muscles, and visceral organs, detecting surface and peripheral temperature. These send information via spinal pathways to the hypothalamus, providing advance warning of environmental temperature changes before core temperature shifts.
When hypothalamic neurons detect that blood temperature has risen above the set point (approximately 37°C, though with normal variation of about ±0.5°C across the day), they activate cooling mechanisms. When they detect temperature below the set point, they activate warming mechanisms. This is textbook negative feedback: the output (body temperature) feeds back to suppress the input signal (thermoregulatory activation).
Source: Nakamura, K. and Morrison, S.F., Nature Neuroscience (2008) — Central efferent pathways for skin vasoconstriction and brown fat thermogenesis: hypothalamic warm-sensitive and cold-sensitive neurons.
The hypothalamic set point is not fixed. It is modulated by circadian rhythm (core temperature peaks in late afternoon and troughs at roughly 4–5 AM), hormones (estrogen shifts the set point in ways that produce hot flashes when levels drop), and fever-producing signals. The idea of a single fixed "normal body temperature" of 37.0°C is a simplification that has never been quite accurate — oral temperature taken first thing in the morning is often 36.5°C or lower, while late-afternoon temperature can reach 37.5°C without any pathology.
Cooling Down: Vasodilation and Sweating
When core temperature threatens to rise, the hypothalamus activates two major cooling strategies in roughly this order:
Cutaneous vasodilation — widening of blood vessels in the skin, particularly the small arterioles and the arteriovenous anastomoses (direct connections between small arteries and veins that allow blood to bypass capillaries entirely). This redirects warm blood from the body's core toward the skin, where heat can radiate and convect to the environment. At rest in thermoneutral conditions, skin blood flow is about 250 ml/min. In maximal heat stress, it can reach 7,500 ml/min — a 30-fold increase.
Think of this as opening a radiator valve. The core is the hot engine; the skin is the radiator surface. The wider the blood vessels open, the more heat the radiator can dump.
Sweating — secretion of sweat by roughly 3–4 million eccrine sweat glands distributed across the body surface. Unlike apocrine glands (found primarily in armpits and groin, associated with emotional sweating and bacterial odor production), eccrine glands produce a dilute saline solution primarily in response to thermal stimulation. The eccrine glands are innervated by sympathetic neurons — but unusually, they use acetylcholine as their neurotransmitter rather than the norepinephrine that most sympathetic fibers release. (This is why anticholinergic drugs — including scopolamine and certain antihistamines — reduce sweating as a side effect.)
The cooling power of sweating comes almost entirely from evaporation. Each gram of water that evaporates from the skin surface carries approximately 2,430 joules of heat with it. This is a large number. A well-acclimatized athlete sweating at 2 liters per hour is dissipating about 1,350 watts of heat — far more than any convective or radiative mechanism could manage. The limitation is humidity: in dry desert air, sweat evaporates nearly instantly and cooling is maximally efficient. In saturated tropical air (100% relative humidity), sweat cannot evaporate at all, and dripping sweat provides almost no cooling. This is why 38°C at 30% humidity is far more tolerable than 35°C at 95% humidity.
Source: Sawka, M.N. et al., Exercise and Sport Sciences Reviews (1996) — Human heat adaptation, exercise thermoregulation, sweat rate, and the physiological limits of thermal tolerance.
Acclimatization to heat (developed over 7–14 days of repeated heat exposure) increases maximum sweat rate and shifts sweat onset to a lower core temperature threshold — allowing earlier and more aggressive cooling. It also reduces the sodium concentration of sweat (the kidneys and sweat glands become better at conserving sodium), and increases plasma volume, providing more blood for distribution to the skin.
Warming Up: Vasoconstriction, Piloerection, and Shivering
Cold exposure activates the opposite set of responses.
Cutaneous vasoconstriction — blood vessels in the skin narrow, reducing heat transport to the body surface. Blood is redirected centrally, keeping it warm. This is why fingers and toes go cold and numb first: the body prioritizes keeping the core (and the vital organs within it) warm, sacrificing peripheral comfort and dexterity. In extreme cold, sustained peripheral vasoconstriction leads to frostbite — tissue death from ice crystal formation in cells that have been deprived of blood flow and allowed to freeze.
Piloerection — contraction of tiny arrector pili muscles at the base of each hair follicle, raising the hairs. In furry mammals this traps a layer of insulating air near the skin. In humans, with our relatively sparse and fine body hair, it provides minimal insulation — the familiar goosebumps are essentially a vestigial reflex from our more hirsute ancestors.
Shivering — rapid, involuntary contraction of skeletal muscles, generating heat as a byproduct of the muscle's thermodynamically inefficient energy conversion. Muscles convert chemical energy (ATP) to mechanical work with roughly 25% efficiency — the remaining 75% is released as heat. Shivering exploits this inefficiency by performing work with no useful mechanical output, converting ATP almost entirely to heat. At maximum shivering intensity, heat production can increase threefold or fourfold above resting metabolic rate.
The problem with shivering is that it depletes muscle glycogen and requires conscious awareness — a severely hypothermic person whose glucose is depleted cannot shiver effectively, accelerating temperature decline. Shivering also impairs fine motor control, which is why working in cold environments is often dangerous.
Source: Janský, L., Physiological Research (1995) — Shivering thermogenesis: mechanisms, control, and interaction with non-shivering thermogenesis.
Brown Adipose Tissue: Fat That Burns to Warm
For most of the 20th century, brown adipose tissue (BAT) was considered relevant only in newborn humans and in hibernating animals. Then, in 2009, three independent studies using PET-CT scanners demonstrated that metabolically active brown fat is present in most adult humans, located primarily around the collarbone, neck, and upper back.
Brown fat is anatomically distinct from the white adipose tissue that stores energy as triglycerides. Its cells are packed with mitochondria (which give it its brown color), and those mitochondria express a unique protein: uncoupling protein 1 (UCP1), also called thermogenin.
Normally, mitochondria use the proton gradient generated by the electron transport chain to produce ATP — the cellular energy currency. UCP1 short-circuits this process, allowing protons to flow back across the mitochondrial membrane without generating ATP, dissipating the electrochemical energy directly as heat instead. Brown fat is, in effect, a mitochondrial furnace specifically designed to generate heat rather than useful energy.
In a newborn infant, BAT can account for up to 5% of body weight and is critical for maintaining core temperature, since newborns cannot shiver effectively and have a high surface-area-to-volume ratio that makes heat loss rapid. In adults, total BAT volume is much smaller — typically 50–100 grams — but is metabolically dense. Active BAT in cold-exposed adults can consume 200–300 kcal per day above baseline, a finding that has generated substantial interest in BAT activation as a potential weight-management approach.
Source: Cypess, A.M. et al., New England Journal of Medicine (2009) — Identification and importance of brown adipose tissue in adult humans using FDG-PET imaging.
BAT activity is stimulated by cold exposure and by the sympathetic nervous system via norepinephrine binding to beta-3 adrenergic receptors on brown fat cells. Regular cold exposure (cold showers, cold environments) has been shown to increase BAT volume and activity in humans over weeks — a form of adaptation analogous to how exercise increases muscle mass. The connection between the nervous system and brown fat thermogenesis is mediated through the same hypothalamic circuits that coordinate the overall thermoregulatory response.
Fever: A Deliberately Raised Thermostat
Fever is commonly understood as the body "overheating." It is more accurately described as the body deliberately raising its thermostat set point in response to infection.
The process begins when immune cells (particularly macrophages) detect pathogen-associated molecular patterns (PAMPs) — molecular signatures that mark bacteria, viruses, and other pathogens as foreign. Immune cells respond by producing pyrogens (from the Greek for "fire-makers"), primarily cytokines such as interleukin-1 (IL-1), interleukin-6 (IL-6), and tumor necrosis factor-alpha (TNF-α). These cytokines travel to the brain, where they stimulate production of prostaglandin E2 (PGE₂) — particularly in the hypothalamus.
PGE₂ binds receptors on hypothalamic thermostat neurons and raises the set point. From the hypothalamus's perspective, the body is now "below" the (artificially elevated) set point, so it activates warming mechanisms — vasoconstriction (chills, pallor), piloerection, and shivering. Body temperature rises until it matches the new set point. That is why fevers are accompanied by chills during the rising phase, even though the patient is already warmer than normal: the hypothalamus is demanding more heat.
Why raise the set point at all? This is where fever becomes genuinely interesting rather than merely mechanistic. The elevated temperature provides several immune advantages:
- Many bacteria have narrow temperature optima and replicate more slowly above 37°C.
- Neutrophil and macrophage activity increases at elevated temperatures.
- Natural killer cell activity increases.
- Iron sequestration mechanisms (reducing free iron that bacteria need for growth) are more active at higher temperatures.
- Interferon — the antiviral signaling molecule — is more effective at elevated temperatures.
Source: Wrotek, S. et al., Temperature (2021) — Fever is an adaptive response: evidence for the beneficial role of fever in infection, with clinical implications for fever management.
The evidence that fever serves a protective function comes from multiple angles. Fish with bacterial infections that are allowed to fever (by moving to warmer water) have higher survival rates than those kept at normal temperature. Lizards infected with bacteria seek warmer environments. Experiments in humans are more difficult to conduct ethically, but there are retrospective data suggesting that suppressing fever with antipyretics may modestly prolong some viral infections. This does not mean fever suppression is generally wrong — very high fevers (above 40°C) carry risks, and fever causes discomfort and increases fluid loss — but it does mean fever is not simply malfunction.
Aspirin, ibuprofen, and acetaminophen all reduce fever by blocking prostaglandin synthesis (aspirin and ibuprofen by inhibiting cyclooxygenase enzymes COX-1 and COX-2; acetaminophen through a less well-characterized mechanism in the brain). They lower the set point, causing the body to shift back to cooling mode — vasodilation and sweating — which is why fever-reducing drugs often cause sweating.
Exercise, Hormones, and Circadian Thermoregulation
Core body temperature is not constant even in health. It follows a predictable daily pattern driven by the circadian clock: temperature is lowest (approximately 36.0–36.5°C) in the early morning hours (4–5 AM) and peaks (approximately 37.0–37.5°C) in the late afternoon (around 5–6 PM). This rhythm is driven by the circadian pacemaker in the suprachiasmatic nucleus of the hypothalamus, which modulates the set point across the day independently of sleep or activity.
This circadian temperature rhythm has practical consequences. Physical and cognitive performance peak in the afternoon partly because of the higher core temperature — enzyme kinetics are more favorable, muscle function is near-optimal, and reaction times are shorter. Athletes often perform better in afternoon competition than morning competition. Surgery patients anesthetized in the morning tend to have slightly different outcomes than those anesthetized in the afternoon, a circadian surgery effect that has become a growing area of clinical research.
Exercise is the body's most potent heat-generating activity. Even during moderate aerobic exercise, muscles generate heat at a rate that would raise core temperature by 1°C every 5–8 minutes without thermoregulatory intervention. The cardiovascular system responds by dramatically increasing cardiac output, with a larger fraction directed to skin vasodilation — competing with the muscles for blood flow, which is one reason exercise becomes harder in the heat.
Hormones also modulate temperature. Thyroid hormones raise the metabolic rate and therefore the basal heat production rate; hypothyroidism is classically associated with cold intolerance and low basal temperature, while hyperthyroidism causes heat intolerance and low-grade temperature elevation. Estrogen affects the hypothalamic set point during the menstrual cycle (temperature rises about 0.3–0.5°C after ovulation due to progesterone's effect) and during menopause, when erratic estrogen fluctuations cause brief, intense episodes of hypothalamic set-point disruption experienced as hot flashes.
Source: Gavrilova, O. and Reitman, M.L., Cell Metabolism (2018) — Hormonal and neural regulation of thermogenesis, body temperature, and metabolic rate: interactions between thyroid hormone, estrogen, and the autonomic nervous system.
What Happens When Thermoregulation Fails
Heat exhaustion — occurs when core temperature rises to 38–40°C, typically combined with significant fluid and salt loss from sweating. Symptoms include heavy sweating, weakness, dizziness, nausea, and headache. It is a thermoregulatory system under severe stress but still functioning. Moving to a cool environment and replacing fluids typically resolves it.
Heat stroke — a true thermoregulatory failure with core temperature above 40°C and neurological dysfunction (confusion, seizure, loss of consciousness). Heat stroke is a medical emergency because sustained temperatures above 40°C cause direct cellular damage in the brain, particularly to the cerebellum, and can cause multi-organ failure. Rapid external cooling (ice water immersion is the most effective) is the priority.
Hypothermia — core temperature below 35°C. Mild hypothermia (32–35°C) causes shivering, confusion, and impaired coordination. Moderate hypothermia (28–32°C) causes cessation of shivering (the body no longer has the metabolic resources to maintain it), dangerous cardiac arrhythmias, and worsening confusion. Severe hypothermia (below 28°C) can cause cardiac arrest. The clinical aphorism in emergency medicine is "no one is dead until they are warm and dead" — people have survived apparent cardiac death from hypothermia once rewarmed, because the cold temperature slows metabolic processes and reduces oxygen demand.
Source: Paal, P. et al., Scandinavian Journal of Trauma, Resuscitation and Emergency Medicine (2016) — Accidental hypothermia: epidemiology, pathophysiology, outcome, and clinical management guidelines.
FAQs About Body Temperature Regulation
Q: Is 37°C (98.6°F) actually normal?
A: The 37°C figure comes from a 19th-century German study by Carl Wunderlich involving over a million axillary (underarm) temperature measurements. More recent research (notably a 2020 Stanford study analyzing records from 1860 to 2017) found that average body temperature has declined about 0.03°C per decade, with current US adults averaging closer to 36.6°C. The "true" normal range is individual and time-of-day dependent — roughly 36.0–37.5°C by most modern assessments.
Q: Why do women tend to feel colder than men in the same environment?
A: Multiple factors contribute. Women on average have lower muscle mass (less metabolic heat generation), higher body fat (which insulates core but doesn't generate heat), and different peripheral blood flow patterns. Estrogen also affects peripheral vasoconstriction. The temperature regulation set point itself is similar between sexes, but peripheral temperature — particularly hands and feet — diverges more in cold conditions.
Q: Can you develop a tolerance to heat or cold?
A: Yes, through acclimatization. Heat acclimatization (7–14 days of heat exposure) increases sweat rate, reduces sweat sodium loss, expands plasma volume, and lowers the core temperature threshold for sweating. Cold acclimatization in humans includes increased BAT activity, altered metabolic rate, and reduced vasoconstriction threshold — but is generally less pronounced than in cold-adapted animals.
Q: Does being cold actually cause colds?
A: Not directly. Rhinoviruses (the most common cold viruses) cause colds; being cold does not. However, cold temperatures do cause nasal blood vessels to constrict, reducing the immune cell activity in nasal passages, and rhinoviruses replicate more efficiently at the slightly cooler temperatures of the nasal cavity (33–35°C) than at core body temperature. Cold weather also drives people indoors where rhinovirus transmission is easier. The relationship is indirect and multifactorial, not the direct cause-and-effect of folk wisdom.
Q: Why does the body temperature drop during sleep?
A: Core temperature decline in the evening is both a cause and a consequence of sleep onset, not just a byproduct. The circadian clock in the suprachiasmatic nucleus lowers the thermoregulatory set point in the evening. Peripheral vasodilation (particularly in the hands and feet) is part of the mechanism by which body heat is dissipated to initiate cooling, and this peripheral vasodilation is associated with drowsiness. A warm bath before bed can paradoxically promote sleep by accelerating peripheral vasodilation and cooling.
Q: Can you die from a fever?
A: Yes, though it is uncommon. Sustained temperatures above 41–42°C (106–108°F) cause direct protein denaturation and cell death, particularly in neurons. The theoretical maximum survivable temperature is approximately 45°C (113°F). In practice, most fevers are self-limiting — the pyrogen signal fades as infection is cleared. The dangers from fever are more often from the underlying cause (sepsis, meningitis) than from the temperature itself, though extremely high fevers (febrile seizures in children, hyperpyrexia above 41°C in anyone) warrant urgent treatment.
Q: Does muscle produce most of the body's resting heat?
A: At rest, the liver and other abdominal organs produce roughly 40–50% of resting heat, with muscle (at rest) contributing about 20–30%, and the brain about 15–20%. During intense exercise, muscle's share rises to 90%+ of total heat production. Brown adipose tissue contributes proportionally more in cold conditions.
Source: Rolfe, D.F. and Brown, G.C., Physiological Reviews (1997) — Cellular energy utilization and molecular origin of standard metabolic rate in mammals: organ-by-organ heat production at rest.
The Takeaway
Thermoregulation is homeostasis made visible — the body's core temperature is one of the most tightly regulated physiological variables, maintained within a degree or two across conditions that should, by physics alone, cause enormous swings. The hypothalamus does this not by sensing temperature once and reacting, but by continuously comparing blood temperature against a set point and adjusting a battery of effectors in real time. Sweating is not a passive response to heat — it is an active, regulated process capable of dissipating more heat per hour than many small electric heaters. Fever is not a system malfunction but a deliberate shift of the set point, weaponizing temperature against pathogens. And brown fat proves that some tissues in the body have no purpose other than generating warmth. The result of all these mechanisms is the narrow thermal stability on which the body's entire biochemistry depends.
Read next:
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

How Bones Work: Living Tissue, Remodeling, Marrow, and Why Bone Beats Steel by Weight
A cubic centimeter of compact bone can withstand about 170 megapascals of compressive stress — comparable to reinforced concrete, at a fraction of the weight. But unlike concrete, bone is alive. It has its own blood supply, repairs cracks autonomously, completely replaces its mineral matrix every 10 years, and simultaneously serves as the body's primary calcium reservoir and the factory producing every blood cell in your body. Here is how it all works.

Why Do We Yawn? The Science Behind Contagion, Arousal, and Brain Cooling
A yawn is a prolonged, involuntary opening of the mouth, lasting 5–10 seconds, accompanied by a deep inhalation followed by a shorter exhalation. It feels spontaneous and irresistible, yet the precise function of yawning remains unresolved despite decades of neuroscience research. The leading theories — brain cooling, arousal regulation, and social contagion — each explain part of the yawning phenomenon, but none fully accounts for all observations. Brain temperature does drop slightly after a yawn, supporting the thermoregulation hypothesis. Yawns increase arousal, particularly before sleep and after sustained attention, consistent with the arousal hypothesis. And yawns are highly contagious, spreading through social groups at rates approaching 50 percent, a phenomenon involving mirror neuron systems and mentalizing — the ability to model others' mental states. Research suggests yawning serves multiple functions, integrating thermoregulation, arousal, and social signaling into a single motor program. Yet fundamental questions remain: why is yawning so contagious? why does it feel almost impossible to suppress? and why do some individuals yawn more than others?

Why Do We Shiver? The Science of Thermoregulation
Shivering is an involuntary muscle contraction that generates heat when your body temperature drops below its set point. Your hypothalamus acts as a thermostat, detecting temperature changes through cold receptors and triggering both shivering and non-shivering heat production. Brown fat provides extra warmth in infants, while shivering during fever occurs because your body's target temperature has been reset upward. Understanding this physiological response reveals how your nervous system maintains the narrow 37°C window needed for survival.

Why Do We Shiver? Body's Heat-Making Reflex
Why do we shiver when cold? Inside the hypothalamus, muscle thermogenesis, brown fat (BAT), fever shivers, and what infants do instead.

Why Do We Get Fevers? The Science of the Fever Response
A fever is not an illness but a weapon—your immune system's coordinated response to infection that raises your body's set-point temperature. When pathogens invade, immune cells release signaling molecules called pyrogens that travel to the brain and reset the temperature thermostat from 37°C to 39°C or higher. This increase is controlled and purposeful: the higher temperature slows bacterial growth, accelerates immune cell activity, and enhances antiviral proteins. Understanding fever as an adaptive defense explains why suppressing it indiscriminately can sometimes hinder recovery, yet also reveals when dangerous fevers require immediate treatment.

How the Kidneys Work: Filtration, the Nephron, and Blood Pressure Control
Your kidneys filter your entire blood supply roughly 40 times every day — about 180 liters of fluid — and return 99% of it to the bloodstream while excreting only 1 to 2 liters as urine. The precision of that selective reclamation process is what keeps you alive.