Headache and Fever: Is This a Sign of Infection?

A Combination That Warrants A Doctor's Evaluation

Infections That May Cause Both a Headache and Fever
Terry Doyle/Taxi/Getty Images

Headaches are common and usually nothing to worry about. But if you have a fever in addition to a headache, please see your healthcare provider for a proper diagnosis, as the combination of a fever and a headache may be a sign of a serious infection. 

A headache and fever may be a sign of an infection that is localized to your brain and/or spinal cord, which forms your central nervous system. Examples include: meningitis, encephalitis, or a brain abscess.

Systemic or whole body infections, such as the flu or early HIV symptoms, may also cause a headache and fever.

This all being said, sometimes a headache and fever is a sign of a viral infection that needs to run its course. It can be hard to distinguish, though, so be sure to get it checked out.

Let’s explore these infectious causes of headache and fever more closely.


In addition to a severe, generalized headache and a high fever, symptoms of meningitis include neck stiffness, nausea, vomiting, confusion, and a sensitivity to light. That being said, a person typically will not have all of these symptoms, and that is why a doctor’s examination is critical.

In the majority of people with meningitis, nuchal rigidity will be present. Nuchal rigidity means a person cannot flex their neck (so are unable to touch their chin to their chest). Other potential symptoms of meningitis include rash, joint pains, seizures, or other neurological deficits.

In order to make the diagnosis, a person with suspected meningitis will undergo a lumbar puncture. During a lumbar puncture, the cerebrospinal fluid (CSF) is analyzed to determine whether an infection is present and if so, what type of infection. In addition, a person with suspected meningitis will also usually undergo laboratory studies, including blood cultures and a white blood cell count (which are infection-fighting cells in the body).


Encephalitis is an infection of the central nervous system that may be caused by a virus, bacteria, or fungus (similar to meningitis). Even for doctors, it can be difficult to distinguish viral meningitis from encephalitis. The key difference is that encephalitis causes people to have abnormalities in brain function. This means that a person will have an impaired mental status or have movement or sensory problems, even paralysis— whereas this is generally not the case in meningitis. Because the two can be so difficult to differentiate, doctors sometimes use the term “meningoencephalitis.”

Brain Abscess

A brain abscess is a rare, but potentially life-threatening condition, in which infected fluid collects in the brain. Symptoms of a brain abscess can resemble that of meningitis or encephalitis and include: fever, headache, neck stiffness, neurological dysfunction, and confusion. The headache from a brain abscess and the confusion result from the elevated intracranial pressure that the infected fluid collection causes on the brain, as it continues to grow and take up space. 

Diagnosis of a brain abscess is confirmed with a CT scan of the brain, which classically shows a ring-enhancing lesion.

Patients are treated with antibiotics given through the vein and sometimes surgical drainage of the abscess. Clearing of the infection is documented, usually through serial CT scans, and can take weeks to months.

Sinus Infection

A sinus headache and fever, in addition to a variety of other possible symptoms, like facial tenderness or swelling, ear pain, tooth pain, and thick nasal discharge may indicate a bacterial sinus infection. The good news is that if you have bacterial sinusitis, a week or so of antibiotics, rest, fluids, and steam should clear it up quickly.

Very rarely sinus infections lead to other complications like a brain abscess, meningitis, blood clot, or osteomyelitis—an infection of the facial bones (especially the forehead).

If you are diagnosed with a sinus infection, be sure to follow up with your healthcare provider if your fever persists while taking antibiotics. 

Whole Body Infection

A systemic or whole body infection, such as influenza, commonly known as “the flu,” or infectious mononucleosis, often referred to as “kissing disease,” or mono, can cause fever and headache, as can a number of other viruses.

Usually, there are other clues that help doctors confirm a systemic infection. For example, if you have the flu, you will typically have body aches and a cough, in addition to a headache and fever. If you have mono, you will have a sore throat and test positive on the monospot test, a rapid test used to diagnose infectious mononucleosis.

Non-Infectious Causes of Headache and Fever

It's important to note that besides infections, other illnesses may cause a headache and fever and affect the whole body. These include a number of rheumatic diseases like:

There are also rare, but very serious causes of a headache and fever like subarachnoid hemorrhagepituitary apoplexy, or a brain tumor

A Word From Verywell

While it may just be that you have a mild illness and need fluids and a fever-reducing medication for your headache and fever, it's important to be safe and get it evaluated by a doctor—as fever and headache can be a potentially serious combination.


Bahwa ZH & Wooton RJ. Evaluation of headache in adults. In: UpToDate, Basow DS (ed), UpToDate, Waltham, MA, 2013.

Chun CH, Johnson JD, Hofstetter M, Raff MJ. Brain abscess. A study of 45 consecutive cases. Medicine (Baltimore). 1986 Nov;65(6):415-31. Dykewicz MS, Hamilos DL. J Allergy Clin Immunol. 2010 Feb;125(2 Suppl 2):S103-15.

Johnson RP & Gluckman SJ. Viral encephalitis in adults. In: UpToDate, Basow DS (ed), UpToDate, Waltham, MA, 2013.

Karaman E, Hacizade Y, Isildak H, Kaytaz A. Pott’s puffy tumor. J Carniofac Surg. 2008 Nov;19(6):1694-7.

Van de Beek D, de Gans J, Spanjaard L, Weisfelt M, Reitsman JB, Vermeulen M. Clinical features and prognostic factors in adults with bacterial meningitis. N Engl J Med. 2004;35(18):1849.

Continue Reading