Why Fevers Help Fight Infections

Photo: Katerina Holmes / Pexels
This article explains the immunology behind fever, not how to manage one. It is educational, not medical guidance; questions about treating a specific fever belong with a clinician. A fever is not the body malfunctioning. It is the hypothalamus deliberately resetting its internal thermostat upward in response to chemical alarm signals released by the immune system, and that shift in core temperature measurably changes how fast pathogens can replicate and how efficiently several immune cell types operate. Researchers have documented this pattern across an unusually wide range of species, including reptiles that cannot generate fever internally but still seek out warmer environments when infected, which is one reason immunologists treat fever as an evolved defense mechanism rather than a side effect of illness.
What a fever actually is, mechanically
Fever — a regulated rise in the body's core temperature set point, coordinated by the brain, in response to infection or inflammation. It is distinct from hyperthermia, where body temperature rises because of external heat or a failure of cooling mechanisms rather than a deliberate internal instruction. That distinction matters immunologically: a fever is the thermoregulatory system working correctly toward a new target, while hyperthermia is the system failing to hold its normal target.
Under ordinary conditions, the hypothalamus, a structure roughly the size of an almond sitting at the base of the brain, holds core body temperature close to 37 degrees Celsius (98.6 degrees Fahrenheit). It does this by balancing heat production against heat loss, adjusting blood flow to the skin, sweating, and behavior. During infection, immune signaling molecules travel to this same region and change its target value, not its wiring. The hypothalamus does not lose control of temperature during a fever; it is instructed to aim higher.
This is why people often feel cold and shiver even as their temperature is objectively rising during the onset of a fever. Their brain has already reset the target to, say, 39 degrees Celsius (102.2 degrees Fahrenheit), and until the body catches up to that new target, it registers as being too cold relative to the new setpoint, not too hot relative to the old one. Once the body reaches the new target, the sensation of chills usually resolves.
How is fever different from just being overheated?
Fever is a controlled, brain-directed rise in the hypothalamic temperature target, while overheating (hyperthermia) is an uncontrolled temperature rise from external heat or failed cooling, with the hypothalamic target unchanged. The physiological cause, and the appropriate clinical response, differ between the two.
The chemical messengers that trigger a fever
Fever begins when immune cells such as macrophages encounter a pathogen or its fragments and release a class of signaling proteins called pyrogenic cytokines. The best-documented among these are interleukin-1 (IL-1), interleukin-6 (IL-6), and tumor necrosis factor-alpha (TNF-alpha) — small proteins that immune cells use to communicate with each other and with other tissues, including the brain. Research summarized in the Journal of Applied Physiology using gene-knockout mice found that when the signaling of IL-1 or IL-6 is blocked, fever responses are substantially attenuated, supporting their role as primary drivers of the fever response rather than incidental bystanders (Roth and De Souza, 2001, Journal of Applied Physiology).
These cytokines do not simply diffuse into the brain and heat it up directly. Instead, they act on a specialized structure called the organum vasculosum of the lamina terminalis (OVLT), a small region near the hypothalamus where the blood-brain barrier is naturally more permeable, allowing circulating signals from the rest of the body to reach brain tissue. There, the cytokine signal triggers local synthesis of prostaglandin E2 (PGE2), a lipid-based signaling molecule that is now understood to be the direct molecular trigger for raising the hypothalamic set point (StatPearls, National Institutes of Health, 2023 update, "Physiology, Fever").
PGE2 acts on receptors in the hypothalamus that raise intracellular cyclic AMP, which in turn shifts the neuronal circuitry governing temperature regulation toward a higher target. This is the same molecular pathway that common fever-reducing drugs interfere with, since many of them work by blocking the enzyme responsible for producing prostaglandins in the first place. That mechanistic link is part of why those drugs lower fever without directly cooling the body the way an ice bath would; they interrupt the signal that is asking the body to run hot, rather than fighting the heat itself.
How the body physically raises its own temperature
Once the hypothalamic set point rises, the body does not passively wait to warm up. It actively pursues the new target through the same physiological toolkit used for staying warm in cold weather. Blood vessels near the skin constrict, a process called vasoconstriction, reducing heat loss to the environment and often producing the pale, cool-to-the-touch skin associated with the chill phase of a fever.
Skeletal muscles may begin rapid, involuntary contractions, better known as shivering, which generates heat as a byproduct of muscle activity. Behaviorally, a feverish person often seeks blankets, warmer rooms, or curls into a smaller body position, all of which reduce heat loss and reflect the same underlying drive: the brain is instructing the body to conserve and generate heat until it reaches the newly elevated target.
Once core temperature reaches that target, the chills typically stop, and the person may feel hot rather than cold, sometimes even sweating despite having a fever, because they are now at or near the elevated setpoint rather than below it. This same push-pull mechanism runs in reverse when the fever breaks: as pyrogenic signaling declines and the set point drops back toward normal, the body initiates heat-loss mechanisms like sweating and vasodilation to bring temperature back down to baseline, which is why a resolving fever is often accompanied by drenching sweat.
Why do you feel cold when your temperature is rising?
You feel cold during the onset of a fever because your hypothalamic target has already jumped above your actual body temperature, so your brain interprets your current, still-normal temperature as too low relative to the new goal. The chills and shivering are the body's attempt to close that gap, not a sign that something is going wrong.
Why elevated temperature is hostile to some pathogens
One documented piece of fever's protective effect is direct: some bacteria and viruses have a narrower optimal temperature range for replication than human cells do, so pushing core temperature up by even 1 to 2 degrees Celsius (roughly 2 to 4 degrees Fahrenheit) can measurably slow their growth. This is not universal. Pathogen sensitivity to temperature varies considerably by species, and for many organisms this effect is modest at best, so it should be understood as one contributing mechanism among several rather than the primary explanation for why fever helps.
Laboratory studies going back decades have measured reduced replication rates for specific bacterial and viral strains at fever-range temperatures compared with normal body temperature, a phenomenon consistent with the temperature-sensitive mutant strains long used in virology research, where a pathogen engineered or selected to be more heat-sensitive is deliberately weakened by warmth. The evolutionary logic runs in both directions: some pathogens are adapted to thrive at the host's normal baseline temperature, and shifting that baseline even modestly can move them outside their preferred range.
This mechanism helps explain, but does not fully explain, why fever persists as a response across such a wide range of animal life. Work reviewed by biologist Matthew Kluger dating back to the 1970s documented that cold-blooded animals such as lizards, which cannot generate an internal fever the way mammals do, will behaviorally seek out warmer environments when infected, and that this behavioral "fever" improves survival in some experimental infections. Because reptiles regulate this response purely through behavior rather than internal metabolism, their fever-seeking behavior is often cited as evidence that raised temperature itself, not some side effect unique to mammalian physiology, provides a real survival advantage against infection.
How fever actively speeds up the immune system itself
Beyond simply making conditions harder for pathogens, a growing body of immunological research indicates that fever-range temperatures directly enhance the performance of the immune system's own cells, functioning less like a hostile environment and more like an accelerant for the body's defenses. A widely cited review in Nature Reviews Immunology by Sharon Evans, Elizabeth Repasky, and Daniel Fisher describes fever-range temperature as a systemic signal that coordinates and speeds multiple steps of the immune response (Evans, Repasky, and Fisher, 2015, Nature Reviews Immunology).
Several specific effects have been documented. Fever-range hyperthermia stimulates the release of neutrophils, a type of white blood cell that is often the first responder to a site of infection, from the bone marrow into circulation, and it promotes their recruitment to infected tissue through chemical signaling pathways. In experimental models, T helper cells, a coordinating class of immune cell, show enhanced ability to support antibody production by B cells at elevated temperature compared with normal body temperature, and generation of cytotoxic T lymphocytes, the cells responsible for directly destroying infected cells, is likewise enhanced under febrile conditions (Evans, Repasky, and Fisher, 2015, Nature Reviews Immunology).
Fever-range warmth also triggers cells to produce heat shock proteins, a family of proteins, including one called Hsp70, that help other proteins fold correctly and resist damage under stress. Research on human leukocytes exposed to fever-like whole-body hyperthermia found measurable induction of Hsp70, and this protein has separately been associated with protecting white blood cells from the toxic effects of some inflammatory signaling molecules and with improved survival in severe infections (published research on leukocyte Hsp70 induction under feverlike hyperthermia, cited via PubMed, National Library of Medicine). Notably, this benefit appears to have a ceiling: research indicates that many of these protective, temperature-dependent immune functions are enhanced within the typical fever range of about 38 to 41 degrees Celsius (100.4 to 105.8 degrees Fahrenheit) but become impaired above roughly 41 degrees Celsius, which is one reason very high fevers are treated differently from the moderate fevers most infections produce.
| Fever-related effect | What changes at elevated temperature | Documented in |
|---|---|---|
| Pathogen replication | Slows for some temperature-sensitive bacteria and viruses; effect size varies widely by species | Laboratory virology and microbiology studies over several decades |
| Neutrophil activity | Increased release from bone marrow and increased recruitment to infection sites | Fever-range hyperthermia research, reviewed in Nature Reviews Immunology, 2015 |
| T cell and B cell coordination | Enhanced T helper cell support of antibody production; enhanced cytotoxic T lymphocyte generation | Experimental immunology, reviewed in Nature Reviews Immunology, 2015 |
| Heat shock protein induction | Increased Hsp70 expression in leukocytes, associated with cell protection under inflammatory stress | Human leukocyte studies on feverlike whole-body hyperthermia, National Library of Medicine |
| Upper limit of benefit | Many of these effects are enhanced up to about 41 degrees Celsius (105.8 degrees Fahrenheit) but decline above it | Reviewed temperature-dependence research on febrile-range immune function |
Fever's protective effect works through several parallel mechanisms, not a single switch, and most of the documented immune benefits appear to have a temperature ceiling rather than scaling indefinitely.
Does fever actually make immune cells work faster, or does it just slow pathogens down?
Both, according to the current evidence. Documented research shows fever-range temperature both directly slows replication in some temperature-sensitive pathogens and independently enhances several immune cell functions, including neutrophil recruitment, T cell and B cell coordination, and heat shock protein production, indicating fever works through multiple simultaneous mechanisms rather than a single pathway.
Why fever is metabolically expensive, and why that is evidence, not a flaw
Fever does not come free. Physiological estimates cited in clinical fever research put the increase in baseline metabolic rate at roughly 10 to 13 percent for every 1 degree Celsius rise in body temperature, meaning a fever of 2 degrees Celsius above baseline can meaningfully raise the body's energy expenditure at rest. That cost is part of why fatigue, reduced appetite, and a general feeling of being drained commonly accompany a febrile illness; the body is diverting energy toward an active defense program rather than ordinary maintenance.
From an evolutionary standpoint, this cost is actually part of the argument that fever is a genuine adaptation rather than an accidental byproduct of infection. Traits that carry a real, measurable energy cost tend to be selected against over time unless they provide a compensating benefit. The persistence of fever-like responses across mammals, birds, and even behaviorally thermoregulating reptiles, despite that shared metabolic cost, is one of the stronger pieces of indirect evidence that the survival benefit of running hot during infection outweighs the price of doing so in most circumstances, even though the exact size of that benefit varies by pathogen and by host.
This is also why the fever-suppression question is not fully settled among researchers. Some clinical research has raised the possibility that routinely suppressing mild fevers in certain infections could, in some contexts, modestly extend illness duration or blunt aspects of the immune response, while other research finds no meaningful difference in outcomes, and the picture likely depends heavily on the specific infection, the patient's underlying health, and how high the fever runs. Honest treatment of the evidence means acknowledging that this remains an active area of study rather than a fully resolved question.
What people commonly get wrong about fever
A common misconception is that any fever, by itself, indicates something is going seriously wrong, when in most cases among otherwise healthy people, fever indicates the immune system is actively responding as designed. The presence of a fever is diagnostic information, not automatically a danger signal on its own; the underlying cause of the fever, how high it runs, how long it lasts, and who is experiencing it all matter far more than the fact that a fever is present at all.
A second misconception treats fever and "overheating" as the same event, which conflates a controlled, purposeful hypothalamic shift with an uncontrolled failure of temperature regulation, as discussed earlier. A third misconception assumes that because fever has documented immune benefits, all fevers are automatically safe to leave unaddressed. That is not what the immunology shows. Higher or prolonged fevers, and fevers occurring in infants and young children, carry different risks than mild, short-lived fevers in healthy adults, and evaluating those risks and deciding on an appropriate response is a clinical judgment, not something this article, or any general explainer, can substitute for.
Finally, some people assume the goal of the immune system during a fever is simply to "cook" pathogens to death the way heat sterilizes a surface. The evidence points to something more nuanced: temperature-sensitive replication in some pathogens is one real contributor, but the larger, more consistently documented effect across the immunology literature is that fever accelerates and coordinates the immune system's own machinery, closer to raising an internal alarm and dispatching responders faster than to simply applying heat as a weapon.
The takeaway
Fever is a coordinated, brain-directed response, not a malfunction: pyrogenic cytokines like IL-1 and IL-6 trigger prostaglandin E2 synthesis in a specialized brain region, which resets the hypothalamus's temperature target higher, and the body then actively works to reach that new target through vasoconstriction, shivering, and behavior. The resulting elevated temperature does two documented things at once, modestly slowing replication in some temperature-sensitive pathogens and measurably enhancing immune cell functions like neutrophil recruitment, T and B cell coordination, and heat shock protein production, though most of these benefits appear to have an upper temperature limit rather than scaling without bound. Because this response is metabolically costly and persists across a striking range of species, including reptiles that pursue it purely through behavior, immunologists treat it as strong evidence of an evolved, functional defense rather than a passive symptom, even as researchers continue to study exactly when, and how much, suppressing a fever changes clinical outcomes.
Read next:
FAQ
Q: How does fever actually help fight an infection?
Fever raises the hypothalamus's temperature target through pyrogenic cytokines like IL-1 and IL-6 acting via prostaglandin E2, and the resulting higher body temperature both modestly slows replication in some temperature-sensitive pathogens and enhances documented immune cell functions, including neutrophil recruitment, T and B cell coordination, and heat shock protein production.
Q: Is fever the body overheating, or is it controlled?
Fever is an actively controlled response, not passive overheating. The hypothalamus deliberately raises its target temperature in response to immune signaling, and the body works to reach that new target through mechanisms like vasoconstriction and shivering, which is physiologically distinct from hyperthermia caused by external heat or failed cooling.
Q: Does fever actually slow down bacteria and viruses?
For some documented bacteria and viruses, yes, elevated temperature falls outside their optimal replication range and measurably slows growth in laboratory studies, though the effect size varies considerably by pathogen and is only one of several mechanisms behind fever's overall protective effect, alongside enhanced immune cell activity.
Q: Why does fever make you feel tired and lose your appetite?
Fever raises baseline metabolic rate by roughly 10 to 13 percent for every 1 degree Celsius increase, according to physiological estimates cited in clinical fever research, meaning fever carries a real energy cost. That cost is a documented contributor to the fatigue and reduced appetite commonly experienced during a febrile illness.
Q: When should I actually worry about a fever?
This article explains the immunology of fever, it does not provide medical guidance on when a specific fever needs treatment. Deciding whether a fever warrants medical attention depends on factors like its height, duration, the person's age and health history, and accompanying symptoms, and that evaluation should come from a qualified healthcare provider rather than a general explainer.
Q: Is it always beneficial to let a fever run its course?
Not necessarily, and this remains an area of active research rather than settled science. Documented immune benefits exist for fever-range temperatures generally, but higher or prolonged fevers, and fevers in infants and young children, carry different risk profiles, and whether or how to manage a fever in a given situation is a decision for a clinician, not something this article addresses.
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




The Immune System: How It Works Explained
Explore how the immune system defends your body — from skin barriers to T cells, vaccines, autoimmunity, and cancer immunotherapy.

Complement System: The Body's Cascade Defense Explained
How complement proteins amplify immune responses through coordinated molecular cascade activation
