You get a fever when your hypothalamus raises its temperature set-point in response to pyrogens — immune signaling molecules produced during infection, inflammation, or tissue injury. The body then actively heats itself through shivering and vasoconstriction until it reaches the new target range, which is typically defined as a core temperature of 100.4°F (38.0°C) or higher. Fever is not passive overheating; it is a regulated, energy-expensive response orchestrated by the brain.

The hypothalamic set-point mechanism

Your body does not have a single fixed temperature. It has a target range maintained by the preoptic area of the hypothalamus, a cluster of neurons that acts as a thermostat. These neurons compare actual blood temperature against an internal reference and trigger heating or cooling behaviors accordingly.

When immune cells encounter a pathogen, they release signaling proteins called pyrogens. The best-characterized are interleukin-1, interleukin-6, and tumor necrosis factor. These molecules travel through the bloodstream and also signal the vagus nerve, which relays information to the brainstem. Critically, most pyrogens cannot cross the blood-brain barrier directly. Instead, they act on the organum vasculosum of the lamina terminalis, a circumventricular organ with a leaky barrier that lets circulating immune signals reach hypothalamic tissue.

That signal triggers local production of prostaglandin E2 inside the brain. Prostaglandin E2 binds EP3 receptors on preoptic neurons and effectively turns the thermostat up. The hypothalamus then issues commands: sympathetic outflow causes vasoconstriction in the skin to reduce heat loss, and the posterior hypothalamus drives shivering thermogenesis in skeletal muscle. You feel cold because your actual temperature is now below your new set-point — the chills are the gap being closed. Once the set-point resets downward, you sweat and flush as the body dumps excess heat.

What causes the set-point to rise

Infections dominate the list, but they are not the only trigger. Bacterial cell-wall components such as lipopolysaccharide are potent pyrogens. Viruses trigger pyrogens through infected-cell signaling rather than endotoxin. Non-infectious causes include autoimmune flares, some cancers, blood clots, tissue Trauma, and certain drugs.

A distinct category is drug fever, which can arise from hypersensitivity reactions or from drugs that disrupt central temperature regulation. A professional caveat worth flagging: fever of unknown origin — persistent fever above 101°F (38.3°C) for three weeks without an identified cause after initial workup — has a different differential than acute fever, and malignancy and inflammatory disease move higher on the list.

Temperature thresholds and what the numbers mean

Fever thresholds vary by source and measurement site, and reconciling them matters clinically. The commonly cited adult threshold of 100.4°F (38.0°C) reflects oral measurement in most guidelines. Rectal temperatures run roughly 0.5°F higher, axillary readings about 0.5°F lower, and tympanic readings fall in between. A single number without a site is imprecise.

Measurement site Typical fever threshold Notes
Rectal 100.4°F (38.0°C) Closest to core; preferred in infants
Oral 100.4°F (38.0°C) Standard for adults and older children
Tympanic 100.4°F (38.0°C) Fast but technique-sensitive
Axillary 99.5°F (37.5°C) Least reliable; screening only
Forehead (temporal) 100.4°F (38.0°C) Convenient; variable accuracy

Normal core temperature itself drifts: it dips lowest around 4 a.m. and peaks in late afternoon, with a swing of about 1°F. That means a reading of 99.1°F at 8 p.m. may be normal for that person at that hour.

The fever time course

Fever unfolds in recognizable phases, and the pattern carries diagnostic weight.

Phase Approximate timing What happens
Pyrogen release Minutes to hours after trigger Immune cells secrete IL-1, IL-6, TNF
Set-point rise Within 1-2 hours Hypothalamus resets upward
Chill phase As set-point rises Vasoconstriction, shivering, feeling cold
Plateau Hours to days Temperature held near new set-point
Defervescence When pyrogens clear Sweating, flushing, set-point drops
Post-fever Hours Fatigue, mild dehydration common

The shape of the curve can hint at cause. Sustained high fever with little fluctuation suggests certain bacterial infections. Fevers that spike and return to baseline daily are called intermittent. Relapsing patterns with days of normal temperature between episodes have their own short list of causes. None of this replaces a proper evaluation, but the timeline is why clinicians ask not just how high but when and for how long.

Edge cases that complicate the picture

Infants under 3 months are the most important edge case. Their immune systems are immature and their fever response is unreliable, so any rectal temperature of 100.4°F (38.0°C) or higher in this age group warrants prompt medical evaluation. Older adults often mount blunted fever responses; a serious infection may produce only 99.5°F in a person over 65. Because baseline temperature and immune vigor both decline with age, a low-grade reading in a frail older adult can signify more than the same number in a young adult.

Immunocompromised patients — those on chemotherapy, transplant recipients, people with advanced HIV — may show minimal fever even with dangerous infection. Conversely, some conditions produce hyperthermia rather than true fever. Heat stroke, malignant hyperthermia, and certain drug reactions raise body temperature without a hypothalamic set-point change, so antipyretics do not help. The distinction matters because the treatments diverge completely.

Practical actions and thresholds

What you do depends on who has the fever and what accompanies it.

Measure with a consistent method and record the site, time, and reading; a single oral reading is more useful than repeated forehead scans. Treat comfort, not the number. A temperature of 101°F with mild symptoms does not require medication; a lower fever with significant distress may. When using antipyretics, follow the label or a clinician's directions exactly. Do not stack multiple products containing the same active ingredient. Push fluids. Fever raises insensible water loss through sweating and faster breathing, so dehydration is a common complication. Rest, but avoid bundling up. Extra blankets trap heat and can worsen discomfort during defervescence. Seek care based on red flags rather than the thermometer alone.

Red-flag warnings requiring prompt medical attention:

Fever of 100.4°F or higher in an infant under 3 months. Fever with stiff neck, severe headache, confusion, or a rash that does not blanch under pressure. Fever above 104°F (40°C) that does not respond to treatment. Fever with difficulty breathing, chest pain, or repeated vomiting. Fever lasting more than three days in an adult or more than five days in a child. Fever in a person who is immunocompromised or recently hospitalized.

If you are deciding whether to treat, remember that fever is a defense mechanism. Blocking it may ease discomfort, but the evidence that suppressing moderate fever meaningfully alters infection outcomes is mixed, and the goal of treatment is comfort and safety rather than a normal number.

Misconceptions and a professional caveat

Several persistent beliefs deserve correction. Fever does not "cook" pathogens directly at typical temperatures; the modest thermal boost may modestly impair some microbes and enhance some immune functions, but the effect is not the reason to let a fever run unchecked. A high fever does not reliably indicate a serious infection, and a low fever does not rule one out. Teething does not cause fever above 100.4°F in infants; if a teething infant has a real fever, look for another cause.

The counterintuitive detail: antipyretics do not treat the underlying illness and do not shorten most infections. They reset the thermostat by blocking prostaglandin synthesis, which is why they work within an hour or so. The professional caveat is that the decision to treat fever is a comfort decision informed by risk, not a reflex. Clinicians increasingly emphasize that the child or adult who looks well at 102°F is often less concerning than the one who looks unwell at 100.5°F.

What fever cannot tell you

A thermometer measures one thing: temperature. It cannot identify the pathogen, measure immune strength, or predict the course of illness. Fever patterns can support a diagnosis, but they rarely confirm one. The same reading means different things at different ages and in different clinical contexts, and self-measurement at home introduces its own error from technique and timing.

This is also where certainty runs out. The mechanisms described here are well established, but individual fever responses vary widely, and the exact thresholds that should prompt care are informed by clinical judgment rather than fixed rules. Use the numbers as guides, watch the person rather than the device, and let red flags drive the decision to seek help. Fever is a signal, not a diagnosis — and understanding the set-point mechanism explains why it feels the way it does.