Fever is the body’s deliberate decision to raise its own thermostat in response to a perceived threat, most often an infection. Rather than a malfunction, it reflects a tightly orchestrated immune response: the brain’s hypothalamus shifts its temperature set point upward, and the body actively works to reach that new target through shivering, blood vessel constriction, and metabolic changes. This process has been conserved across vertebrates for hundreds of millions of years, which tells us something important about how useful it is. But fever also generates enormous anxiety, especially among parents, and the question of when to treat it and when to leave it alone is more nuanced than most people realize.
How the Body Creates a Fever
Your body normally maintains a core temperature around 37°C (98.6°F), though this number varies from person to person and fluctuates throughout the day, dipping in the early morning and peaking in the late afternoon. When your immune system detects an invader, immune cells release signaling molecules called pyrogens. These molecules reach the hypothalamus, a small region at the base of the brain that acts as your internal thermostat, and effectively convince it to dial the set point upward. Once the set point rises, your body perceives its current temperature as too cold, even though it was perfectly normal a few minutes ago. That mismatch is why you get chills at the start of a fever: you shiver, curl up under blankets, and your blood vessels narrow to conserve heat, all in an effort to reach the new, higher target.
This is a critical distinction. The body is not overheating out of control. It is deliberately generating and conserving heat to reach a temperature it has chosen. When the infection begins to resolve or you take an antipyretic like ibuprofen, the set point drops back down, and the process reverses: you sweat, your skin flushes, and you kick the blankets off.
Why Fever Exists at All
Fever is not a quirk of human biology. It is a cardinal response to infection that has been conserved in both warm-blooded and cold-blooded vertebrates for over 600 million years of evolution, and it confers a measurable survival benefit during infection.1PubMed Central. Fever and the thermal regulation of immunity: the immune system feels the heat Many components of both the general and targeted immune response work better at slightly elevated temperatures. Studies in animals infected with bacteria and viruses have repeatedly shown that moderate fevers reduce how sick the animals get and increase survival rates.2PubMed Central. Is fever beneficial?
Even cold-blooded animals, which cannot internally raise their own temperature, engage in what researchers call behavioral fever: when infected, they move to warmer environments to achieve a similar effect.3PubMed. Behavioral fever in ectothermic vertebrates Infected toads, for instance, shift toward warmer spots, and the degree to which an individual toad raises its preferred temperature is a better predictor of how effectively it fights off the virus than simply how hot it gets overall.4PubMed Central. Behavioural fever reduces ranaviral infection in toads Research on Nile tilapia has shown that behavioral fever enhances not just innate immunity but also the adaptive immune system, suggesting that fever’s coordination with sophisticated immune defenses is a deeply ancient trait rather than something mammals invented on their own.5PubMed Central. Cold-blooded vertebrate utilizes behavioral fever to alleviate T cell apoptosis and optimize antimicrobial immunity
The evolutionary persistence of fever across such a wide range of species is striking because running a fever is metabolically expensive. Raising your body temperature by just one degree requires a significant increase in energy expenditure. The fact that natural selection has preserved this costly process for so long, across fish, amphibians, reptiles, birds, and mammals, is strong indirect evidence that fever provides a real advantage in fighting infection.
Fever Versus Hyperthermia
People often use “fever” and “overheating” interchangeably, but they are fundamentally different processes. In fever, your thermostat is deliberately set higher, and all your normal temperature-regulation machinery works perfectly to achieve and maintain that higher temperature. In hyperthermia, such as heatstroke or malignant hyperthermia from certain anesthetics, the thermal control mechanisms fail, and heat production simply overwhelms the body’s ability to dissipate it.6DeckerMed Medicine. Hyperthermia, Fever, and Fever of Undetermined Origin
This difference has direct treatment implications. Antipyretic drugs like aspirin and ibuprofen work by lowering the hypothalamic set point, so they are effective in fever but useless in hyperthermia. Conversely, external cooling measures like ice baths are the primary treatment for hyperthermia but are largely ineffective against true fever, because the body’s intact thermoregulatory system will fight back against cooling efforts to defend its elevated set point.7PubMed. Fever versus hyperthermia Knowing which process you are dealing with changes everything about how to respond. If someone collapses in extreme heat and their temperature is dangerously high, do not reach for ibuprofen. Cool them down physically and get emergency help.
What Causes Fever
Infections are the most common trigger. Viruses, bacteria, fungi, and parasites all provoke the immune cascade that raises the hypothalamic set point. The common cold, the flu, urinary tract infections, pneumonia, ear infections in children: these are the everyday culprits that most people think of when they hear “fever.”
But infection is not the only cause. Fever can also accompany autoimmune diseases, cancers, and blood clots.8PubMed. The diagnostic role of procalcitonin and other biomarkers in discriminating infectious from non-infectious fever Conditions like lupus and rheumatoid arthritis involve immune activation without an outside pathogen, and that activation can produce the same pyrogens that trigger a febrile response. Lymphomas and certain solid tumors are well-known for causing unexplained fevers, sometimes as the first noticeable symptom. Drug reactions, including a phenomenon known as drug fever, can also raise body temperature and are easy to overlook because the timing does not always match the start of the medication.
Tissue injury from surgery, trauma, or even large bruises can provoke a short-lived fever as the immune system responds to damaged cells. Severe sunburn is another common non-infectious trigger. In all these cases, the underlying mechanism is the same: something activates the immune system enough to push pyrogens to the hypothalamus.
How to Measure Temperature Accurately
Where you take the temperature matters more than most people appreciate. Rectal measurement remains the clinical gold standard, particularly in young children, because it most closely reflects core body temperature. Oral thermometers are the most common choice at home, but they can be influenced by recent eating, drinking, or mouth breathing. Tympanic (ear) and temporal artery (forehead scan) devices are popular because they are fast and non-invasive, but their accuracy varies.
In a study of nearly 1,000 emergency department patients, tympanic and temporal artery readings each differed from rectal temperatures by half a degree or more in over a third of cases. Oral readings were even worse, diverging that much about half the time. When researchers used a standard 38°C cutoff to detect fever, the sensitivity of oral readings was only 37%, meaning oral thermometers missed about two-thirds of actual fevers. Tympanic and temporal artery thermometers did considerably better, catching around 68% to 71% of fevers at the same cutoff. Lowering the tympanic threshold to 37.5°C brought sensitivity above 90% while keeping specificity at 90%.9Emergency Medicine Journal. Temperature measurement in the adult emergency department: oral, tympanic membrane and temporal artery temperatures versus rectal temperature
Contactless infrared thermometers, which became ubiquitous during the COVID-19 pandemic, perform worst of all at detecting fever. In one study at an outpatient clinic, contactless devices had a sensitivity of only 13%, meaning they missed the vast majority of fevers, despite having high specificity. Temporal artery and tympanic thermometers performed much better, with the temporal artery device showing the highest sensitivity and specificity among the infrared options tested.10PubMed Central. Are all thermometers equal? A study of three infrared thermometers to detect fever in an African outpatient clinic If you relied on one of those forehead-pointing thermometers during the pandemic and always seemed to get a normal reading, the device may have been the problem, not your temperature.
Fever in Infants and Young Children
Fever in a baby less than two months old is treated as a medical urgency, and for good reason. Young infants have immature immune systems, and a fever can be the only visible sign of a serious bacterial infection like meningitis or bloodstream infection. In a large multicenter study of febrile infants aged 60 days and younger, about 9% had a serious bacterial infection, including roughly 1 in 70 with bacteremia and 1 in 200 with bacterial meningitis.11JAMA Pediatrics. A Clinical Prediction Rule to Identify Febrile Infants 60 Days and Younger at Low Risk for Serious Bacterial Infections These rates are high enough that most guidelines recommend hospitalization, blood and urine testing, and sometimes a lumbar puncture for any febrile neonate.
Risk stratification by age within this young group has improved. Data from a large pediatric emergency network showed a significantly lower rate of bacteremia in the fourth week of life compared to the second and third weeks, and rates continued to drop through the fifth and sixth weeks.12Pediatrics. Evaluation and Management of Well-Appearing Febrile Infants 8 to 60 Days Old Still, even among neonates who meet certain low-risk criteria, the rate of serious bacterial infection remains high enough that guidelines recommend a full workup. In one study of febrile neonates meeting low-risk criteria, about 6% still had a serious infection, including cases of bacteremia and meningitis.13Archives of Disease in Childhood. A week-by-week analysis of the low-risk criteria for serious bacterial infection in febrile neonates
In older infants and toddlers, the picture shifts. The vast majority of fevers are caused by common viral infections that resolve on their own. Parents often worry about febrile seizures, which can occur in roughly 2% to 5% of young children. These seizures are frightening to witness but are almost always harmless. A large Danish cohort study found that the recurrence risk after a first febrile seizure before age two was about 26%, dropping to about 12% when the first seizure happened after age two. In children who had three or more febrile seizure admissions before age two, the recurrence risk climbed to about 61%.14JAMA Pediatrics. Evaluation of Long-term Risk of Epilepsy, Psychiatric Disorders, and Mortality Among Children With Recurrent Febrile Seizures Despite how alarming they look, febrile seizures do not cause brain damage and the vast majority of children outgrow them entirely.
Fever in Older Adults
At the other end of the age spectrum, the problem flips. Older adults frequently have a blunted fever response: the cardinal sign of infection may be absent or diminished roughly 20% to 30% of the time.15PubMed. Fever in the elderly This means that serious infections like pneumonia or urinary tract infections can progress further before anyone notices, contributing to delayed diagnosis in a population already at higher risk for complications.
Part of the issue is baseline temperature. Many older adults run cooler than the textbook 37°C. A study of nursing home residents found that while the average peak temperature during an infection was about 101.3°F, nearly half of infection episodes had a blunted fever response that never reached 101°F. Of those blunted responses, about a quarter showed a meaningful jump from baseline but still failed to reach the traditional fever threshold simply because their starting temperature was lower than average.16PubMed. Fever response in elderly nursing home residents: are the older truly colder? This is why geriatric medicine uses different benchmarks: a temperature change of 1.1°C (about 2°F) above an individual’s baseline, or a temperature above 37.8°C (99.9°F), can signal infection in an older person, even when it would look unremarkable in a younger adult.
Fever Phobia and the Urge to Treat
There is a widespread belief among parents and even healthcare providers that fever itself is dangerous and must be brought down as quickly as possible. Researchers have a name for this: fever phobia. A systematic review covering more than 26,000 caregivers across dozens of studies found that fear of fever and the tendency to over-treat it were pervasive worldwide. Lower educational levels, a history of febrile seizures in the child, young maternal age, and certain cultural backgrounds were all linked to higher levels of fever phobia.17PubMed. Systematic review finds that fever phobia is a worldwide issue among caregivers and healthcare providers The same review noted that this fear was not limited to parents; physicians and nurses also demonstrated a tendency toward unnecessary treatment of mild fevers.18PubMed. Healthcare professionals approach paediatric fever in significantly different ways and fever phobia is not just limited to parents
The reality is that moderate fever in an otherwise healthy child or adult is not inherently harmful. The body chose that temperature for a reason, and the immune system operates more effectively at that level. Antipyretics like acetaminophen and ibuprofen are valuable for comfort. If a child is miserable, not sleeping, or refusing fluids, bringing the fever down makes sense. But treating the number on the thermometer purely because it looks high, especially when the person feels tolerable, may not be doing them any favors.
There is even evidence that widespread fever suppression has consequences at the population level. A modeling study estimated that by reducing fever during influenza, which lowers the body’s ability to clear the virus and extends the period of contagiousness, antipyretic use in the United States may increase the total number of seasonal influenza cases by roughly 5%.19PubMed Central. Population-level effects of suppressing fever The data behind that estimate are admittedly incomplete, and it addresses population-level effects rather than individual risk. But it illustrates a tension that most people never consider: making yourself feel better might, on average, keep the virus circulating a bit longer.
When Fever Is Truly Dangerous
Moderate fevers, meaning temperatures up to about 40°C (104°F) in adults, are generally well tolerated by people without underlying health problems. The risks climb steeply above that point. Temperatures above 41.5°C (roughly 106.7°F) enter territory where proteins can begin to denature and organ damage becomes a real concern. At these extremes, which are far more common in hyperthermia than in infection-driven fever, permanent neurological injury is possible. Extreme cases of hyperpyrexia have been documented to cause lasting cerebellar damage and motor neuron degeneration, with deficits persisting at six months and beyond.20PubMed Central. Heat Hyperpyrexia-Induced Cerebellar Degeneration and Anterior Horn Cell Degeneration: A Rare Manifestation
It is worth noting that infection-driven fevers very rarely reach these extremes. The hypothalamus has a built-in ceiling; even in severe sepsis, fevers almost never exceed 41°C (105.8°F) unless something else is going wrong. When temperatures climb higher than that, clinicians start thinking about hyperthermia, drug reactions, or central nervous system damage affecting the thermoregulatory center itself.
For practical purposes, the following situations warrant seeking medical attention regardless of the specific number on the thermometer:
- Infants under 3 months: Any rectal temperature of 38°C (100.4°F) or higher.
- High temperature in adults: Sustained temperatures above 39.4°C (103°F) that do not respond to antipyretics.
- Duration: Fever lasting more than three days without an obvious cause like a cold.
- Accompanying symptoms: Stiff neck, confusion, difficulty breathing, severe pain, rash, or inability to keep fluids down.
- Immunocompromised individuals: People on chemotherapy, organ transplant recipients, or anyone with a weakened immune system should treat any fever as a potential emergency.
Fever of Unknown Origin
Sometimes fever persists for weeks and no one can figure out why. The medical term is fever of unknown origin, or FUO, traditionally defined as a temperature above 38.3°C on several occasions, lasting more than three weeks, with no diagnosis after initial investigation. A review of the published literature on FUO found that about 28% of cases eventually turned out to be infections, 21% were inflammatory diseases, 17% were cancers, and about 19% were never diagnosed at all.21JAMA Internal Medicine. A Comprehensive Evidence-Based Approach to Fever of Unknown Origin
A multicenter retrospective study in Japan found a similar breakdown, with non-infectious inflammatory diseases topping the list at about 31% of cases, followed by infections at 23% and malignancy at 11%. About 23% of patients left the study without a diagnosis.22BMJ Open. Diagnostic workup for fever of unknown origin: a multicenter collaborative retrospective study The reassuring finding across FUO research is that most patients who never get a definitive diagnosis recover spontaneously; natural history studies show that somewhere between half and all of them get better on their own without ever knowing the cause.21JAMA Internal Medicine. A Comprehensive Evidence-Based Approach to Fever of Unknown Origin
How Temperature Affects the Gut
An area of growing interest is the relationship between body temperature and the gut microbiome. Changes in body temperature, whether from fever, hypothermia, or environmental exposure, have been shown across multiple animal species to affect the diversity and stability of gut microbial communities. Temperature directly influences the growth and virulence of gastrointestinal pathogens, and it also shapes host factors like appetite and immune activity that indirectly alter the microbial environment.23PubMed Central. Blowing Hot and Cold: Body Temperature and the Microbiome The research is still early, and most of it comes from animal models rather than human clinical studies. But it opens an interesting question about whether repeated or prolonged fevers might have lasting effects on gut health, or whether the microbiome changes during fever play any role in how quickly you recover. For now, the honest answer is that we know temperature and the microbiome interact, but we do not yet know enough to turn that into practical advice.