Fever & the Body’s Thermostat
Here is the thing almost nobody is told: a fever is not your thermostat breaking. It is your thermostat being turned up on purpose. Deep in the brain, the hypothalamus holds a target body temperature — a set-point of about 37 °C (98.6 °F). During infection, immune signals raise that dial to, say, 39 °C. Now your real temperature reads as “too cold,” so your body shivers, clamps its skin vessels shut, and you pile on blankets — and that climb is the fever. Press play and watch the dial move the mercury.
Try this: start on Healthy, then hit Infection and watch the set-point dial jump to 39 °C before the thermometer catches up — that gap is why you get the shivering chills. Then press Take an antipyretic and watch the fever break in sweat.
Live thermostat readout
What's happening
Which numbers are real: a normal set-point near 37 °C (98.6 °F), fever at ≥ 38 °C (100.4 °F), and the danger zone above 40 °C (104 °F) are genuine clinical values; antipyretics really do act by blocking COX → PGE2. The example fever set-point of 39 °C, the on-screen timing, and the PGE2 bar and blood-flow gauge are an illustrative model to show the mechanism — not readings from a real patient.
The Science in Plain Language
1. Your body runs a thermostat, not a thermometer
A thermometer only reports temperature. Your body does something cleverer: it regulates temperature to a target, exactly like the thermostat on a wall. The control unit sits in a tiny region at the base of the brain called the hypothalamus — specifically the preoptic area. It compares the temperature of the blood washing past it against an internal set-point, normally about 37 °C (98.6 °F), and then switches heat-making and heat-losing machinery on and off to keep the two matched. “Normal” is actually a small range, roughly 36.1–37.2 °C, and it drifts about half a degree over the day — lowest in the early morning, highest in the late afternoon. That is why a temperature that looks like a fever at 5 p.m. can be unremarkable at 6 a.m.
2. A fever is the thermostat turned up on purpose
When you catch an infection, immune cells (macrophages and others) release chemical alarm signals called endogenous pyrogens — chiefly interleukin-1 (IL-1), interleukin-6 (IL-6), and tumour necrosis factor (TNF-α). These travel to the hypothalamus and trigger an enzyme, cyclooxygenase (COX), to convert arachidonic acid into a signalling molecule called prostaglandin E2 (PGE2). PGE2 acts on EP3 receptors in the preoptic area and does one decisive thing: it raises the set-point — it turns the dial from 37 up toward, say, 39 °C. Nothing about your body is malfunctioning. The control system is working perfectly; it has simply been given a new, higher target on purpose, because a warmer body is a more hostile place for many microbes and a faster environment for parts of the immune response.
3. Why you get the shivering chills
Here is the part that feels backwards. The instant the set-point jumps to 39 °C, your actual temperature is still 37 °C — which the brain now reads as 2 degrees too cold. So it does exactly what you would do if you were genuinely cold: it shivers (rapid muscle contractions that can raise heat production several-fold), it clamps down the blood vessels in your skin so warm blood stays deep in the core, and it drives the behaviour of piling on blankets and curling up. That is why the start of a fever feels freezing even as a thermometer shows your temperature rising: you are cold relative to the new target. Watch the animation — the set-point dial moves first, the skin vessels go pale and narrow, and only then does the mercury climb. The climb itself is the fever.
4. How a fever “breaks”
Eventually one of two things happens. Either the infection is brought under control and the pyrogen signal fades, or you take a fever-reducing drug. Either way, PGE2 falls and the set-point drops back toward 37 °C. Now your body is sitting at 39 °C with a target of 37 — suddenly it is too hot. So it throws the machinery into reverse: skin vessels open wide (you flush and look red), and you sweat, dumping heat as the moisture evaporates. This is the drenching sweat people describe when a fever “breaks.” Press Take an antipyretic in the animation and you will see the dial fall, the figure flush and sweat, and the mercury slide back down.
5. What aspirin, ibuprofen and acetaminophen actually do
Antipyretics do not cool you directly. They lower the set-point, and then your own body does the cooling. Aspirin and ibuprofen (an NSAID) block the COX enzymes (COX-1 and COX-2), so less PGE2 is made and the dial falls. Acetaminophen (paracetamol) also lowers PGE2 signalling but acts mainly within the central nervous system; its exact mechanism is still not fully settled and is debated among researchers. The practical point is the same for all three: they nudge the thermostat back down. This is also why they help with the aches — the same prostaglandins that raise the set-point also sensitise pain nerves.
6. The real numbers — and when to actually worry
A fever is usually defined as a core temperature of 38.0 °C (100.4 °F) or higher. Most fevers from ordinary infections top out around 38–40 °C and are uncomfortable but not dangerous in themselves. Above about 40 °C (104 °F) it deserves closer attention, and a temperature above roughly 41.5 °C (called hyperpyrexia) is a red flag. Just as important as the number is the person: a fever with a stiff neck, confusion, a rash that does not blanch, trouble breathing, a fever in a baby under three months, or one that will not come down and comes with someone looking very unwell is a reason to seek care regardless of the exact reading. Note that how you measure matters — rectal and ear readings run a little higher than oral or armpit readings.
7. Fever versus heatstroke — a life-or-death difference
This is the distinction the animation is really built to teach. In a fever, the thermostat is turned up and the body is deliberately defending a higher target — it is fully in control. In heatstroke (a form of hyperthermia), the set-point is still normal, but the body is losing the fight: heat pouring in from exercise or a hot environment overwhelms its ability to shed it, and the temperature climbs past the target the brain is desperately trying to hold. Select Heatstroke and you will see the set-point stay at 37 while the mercury climbs straight through 40 anyway, the alarm sounding. Two consequences follow. First, antipyretics do not work for heatstroke — there is no raised set-point for them to lower. Second, it is a medical emergency: the treatment is rapid, aggressive physical cooling (cold-water immersion, ice, fanning), not a pill. A very high fever makes you feel wretched; heatstroke can be fatal within hours.
8. Myths worth correcting
“You have to break every fever.” No. A moderate fever is part of the defence, and you generally treat it for comfort, not because the number itself is dangerous. “A fever will cook your brain.” Ordinary infectious fevers essentially never reach the temperatures (around 42 °C and above) at which heat begins to damage tissue directly — the thermostat will not let them; that kind of runaway heat is the domain of heatstroke, not fever. “A higher fever means a worse illness.” The height of the fever is a poor guide to how serious the infection is; a mild cold can spike a high temperature and a serious infection can run only a low one — how the person looks and behaves matters far more than the number. And in the animation you can see the last myth fail directly: try Cool the skin during a fever and the body simply shivers harder to defend its set-point — aggressively ice-bathing a shivering, feverish person often just makes them fight to climb right back up. That same cooling, though, is exactly the right move in heatstroke. Same action, opposite mechanism — which is the whole point of knowing which one you are looking at.