• Medical Author:
    Benjamin Wedro, MD, FACEP, FAAEM


    Danette C. Taylor, DO, MS, FACN


  • Medical Editor: Jay W. Marks, MD
    Jay W. Marks, MD

    Jay W. Marks, MD


Headache definition and facts

  • Headache may arise spontaneously or may be associated with activity or exercise. It may have an acute onset or it may be chronic in nature with or without episodes of increasing severity.
  • Secondary headaches are usually a symptom of an injury or an underlying illness. For example, sinus headaches are considered a secondary headache due to increased pressure or infection in the sinuses.
  • Medication overuse headache (rebound headache) is a condition where frequent use of pain medications can lead to persistent head pain. The headache may improve for a short time after medication is taken and then recur (The term "rebound headache" has been replaced by the term "medication overuse headache")
  • Individuals. should seek medical care for new onset headaches or if headaches are associated with fever, stiff neck, weakness, change in sensation on one side of the body, change in vision, vomiting or change in behavior that may be caused by the development of serious infections.

What is a headache?


How are headaches classified?



There are three major categories of headache based upon the source of the pain.

  1. Primary headaches
  2. Secondary headaches
  3. Cranial neuralgias, facial pain, and other headaches


Quick GuideMigraine or Headache? Migraine Symptoms, Triggers, Treatment

Migraine or Headache? Migraine Symptoms, Triggers, Treatment

Migraine Triggers



  • flashing lights
  • anxiety and stress
  • lack of food or sleep
  • hormonal changes
  • tyramine
  • caffeine

What are primary headaches?


  • Tension headaches are the most common type of primary headache. Tension headaches occur more commonly among women than men. According to the World Health Organization, 1 in 20 people in the developed world suffer with a daily tension headache.
  • Migraine headaches are the second most common type of primary headache. Migraine headaches affect children as well as adults. Before puberty, boys and girls are affected equally by migraine headaches, but after puberty, more women than men are affected.
  • Cluster headaches are a rare type of primary headache. It more commonly affects men in their late 20s though women and children can also suffer from this type of headache.

Primary headaches can affect the quality of life. Some people have occasional headaches that resolve quickly while others are debilitating. While these headaches are not life threatening, they may be associated with symptoms that can mimic strokes.

Many patients equate severe headache with migraine, but the amount of pain does not determine the diagnosis of migraine. Read our Migraine Headache article for more information about the symptoms, causes, and treatment of migraines.

What are secondary headaches?

Secondary headaches are those that are due to an underlying structural or infectious problem in the head or neck. This is a very broad group of medical conditions ranging from dental pain from infected teeth or pain from an infected sinus, to life-threatening conditions like bleeding in the brain or infections like encephalitis or meningitis.

Traumatic headaches fall into this category including post-concussion headaches.

This group of headaches also includes those headaches associated with substance abuse and excess use of medications used to treat headaches (medication overuse headaches). "Hangover" headaches fall into this category as well. People who drink too much alcohol may waken with a well-established headache due to the effects of alcohol and dehydration.

What are cranial neuralgias, facial pain, and other headaches?

Neuralgia means nerve pain (neur=nerve + algia=pain). Cranial neuralgia describes inflammation of one of the 12 cranial nerves coming from the brain that control the muscles and carry sensory signals (such as pain) to and from the head and neck. Perhaps the most commonly recognized example is trigeminal neuralgia, which affects cranial nerve V (the trigeminal nerve), the sensory nerve that supplies the face and can cause intense facial pain when irritated or inflamed.

17 types of headaches

The different types of headaches depend upon the class to which they belong. Some common types include:

  1. Primary tension headaches that are episodic
  2. Primary tension headaches that are chromic
  3. Primary muscle contraction headaches
  4. Primary migraine headaches with aura
  5. Primary migraine headaches without aura
  6. Primary cluster headache
  7. Primary paroxysmal hemicrania (a type of cluster headache)
  8. Primary cough headache
  9. Primary stabbing headache
  10. Primary headache associated with sexual intercourse
  11. Primary thunderclap headache
  12. Hypnic headache (headaches that awaken a person from sleep)
  13. Hemicrania continua (headaches that are persistently on one side only. right or left [unilateral])
  14. New daily-persistent headache (NDPH) (a type of chronic headache)
  15. Headache from exertion
  16. Trigeminal neuralgia and other cranial nerve inflammation
  17. Secondary headaches due to:
    • Trauma
    • Disorders
    • Infection
    • Structural problems with the bones of the face, teeth, eyes, ears, nose, sinuses or other structures
    • Substance abuse or withdrawal

What causes headaches?




What causes tension headaches?

While tension headaches are the most frequently occurring type of headache, their cause is not known. The most likely cause is contraction of the muscles that cover the skull. When the muscles covering the skull are stressed, they may become inflamed, go into spasm, and cause pain. Common sites include the base of the skull where the trapezius muscles of the neck insert, the temples where muscles that move the jaw are located, and the forehead.

There is little research to confirm the exact cause of tension headaches. It is believed that tension headaches occur because of physical stress on the muscles of the head. For example, these stressors can cause the muscles surrounding the skull to clench the teeth and go into spasm. Physical stressors include difficult and prolonged manual labor, or sitting at a desk or computer concentrating for long periods. Emotional stress also might cause tension headaches by causing the muscles surrounding the skull to contract.

What are the signs and symptoms of tension headaches?

Common signs and of tension headaches include:

  • Pain that begins in the back of the head and upper neck and is often described as a band-like tightness or pressure. It may spread to encircle the head.
  • The most intense pressure may be felt at the temples or over the eyebrows where the temporalis and frontal muscles are located.
  • The pain may vary in intensity but usually is not disabling, meaning that the sufferer may continue with daily activities. The pain usually is bilateral (affecting both sides of the head).
  • The pain is not associated with an aura (see below), nausea, vomiting, or sensitivity to light and sound.
  • The pain occurs sporadically (infrequently and without a pattern) but can occur frequently and even daily in some people.
  • The pain allows most people to function normally, despite the headache.

How are tension headaches diagnosed?

The key to making the diagnosis of any headache is the history given by the patient. The health-care professional will ask questions about the headache to try to help make the diagnosis. Those questions will try to define the quality, quantity, and duration of the pain, as well as any associated symptoms. The person with a tension headache will usually complain of mild-to-moderate pain that is located on both sides of the head. People with tension headaches describe the pain as a non-throbbing tightness, that is not made worse with activity. There usually are no associated symptoms like nausea, vomiting, or light sensitivity.

The physical examination, particularly the neurologic portion of the examination, is important in tension headaches because to make the diagnosis, it should be normal. However, there may be some tenderness of the scalp or neck muscles. If the health-care professional finds an abnormality on neurologic exam, then the diagnosis of tension headache should be put on hold until the potential for other causes of headaches has been investigated.

How are tension headaches treated?

Tension headaches are painful, and patients may be upset that the diagnosis is "only" a tension headache. Even though it is not life threatening, a tension headache can make daily activities more difficult to accomplish. Most people successfully treat themselves with over-the-counter (OTC) pain medications to control tension headaches. The following work well for most people:

If these fail, other supportive treatments are available. Recurrent headaches should be a signal to seek medical help. Physical therapy, massage, biofeedback, and stress management can all be used as adjuncts to help with control of tension headaches.

It is important to remember that OTC medications, while safe, are medications and may have side effects and potential interactions with prescription medications. It always is wise to ask a health care professional or pharmacist if one has questions about OTC medications and their use. This is especially important with OTC pain medications, because they are used so frequently.

It is important to read the listing of ingredients in OTC pain medications. Often an OTC medication is a combination of ingredients, and the second or third listed ingredient may have the potential interfering with the action of other drugs based upon a patient's other medical issues For example:

  • In nighttime preparations, diphenhydramine (Benadryl) may be added. This may cause sedation, and driving or using heavy machinery may not be appropriate when taking a sedative medication.
  • Some OTC cold medications have pseudoephedrine mixed in with the pain medication. This drug can cause elevated blood pressure and palpitations.

Other examples where caution should be used include the following:

  • Aspirin should not be used in children and teenagers because of the risk of Reye's syndrome, a life threatening complication that may occur when a viral infection is present and aspirin is taken.
  • Aspirin, ibuprofen, and naproxen are anti-inflammatory medications that can be irritating to the stomach and may cause intestinal bleeding. They should be used with caution in patients who have peptic ulcer disease.
  • Most anti-inflammatory medicines also cause the potential for bleeding elsewhere in the body, and you should not take them if you also take blood thinners. Talk with your doctor or other health care professional about the benefits and risks of anti-inflamatory drugs. Blood thinners include warfarin (Coumadin), heparin (Lovenox), dabigatran (Pradaxa), apixaban (Eliquis), rivaroxaban (Xarelto), edoxaban (Savaysa), clopidogrel bisulfate (Plavix), ticagrelor (Brilinta), and prasugrel (Effient).
  • Overuse of aspirin, ibuprofen, and naproxen also may cause kidney damage.
  • Acetaminophen, if used in amounts greater than recommended, can cause liver damage or failure. It also should be used with caution in patients who drink significant amounts of alcohol or who have liver disease because even lesser doses than are normally recommended may be dangerous.
  • Medication overuse headache can be mistaken for chronic tension headaches. When pain medications are used for a prolonged period headaches may recur because the effects of the medication wear off. (This type of headache was referred to as a "rebound headache," and is classified as a secondary headache.)

Quick GuideMigraine or Headache? Migraine Symptoms, Triggers, Treatment

Migraine or Headache? Migraine Symptoms, Triggers, Treatment

What causes cluster headaches?

Cluster headaches are so named because they tend to occur daily for periods of a week or more followed by long periods of time -- months to years -- with no headaches. They occur at the same time of day, often waking the patient in the middle of the night.


Cluster headaches also:

  • may be triggered by changes in sleep patterns; and

If an individual is in a susceptible period for cluster headache, cigarette smoking, alcohol, and some foods (for example, chocolate, and foods high in nitrites like smoked meats) also are potential causes for headache.

What are the symptoms of cluster headaches?

Cluster headaches are headaches that come in groups (clusters) separated by pain-free periods of months or years. A patient may experience a headache on a daily basis for weeks or months and then be pain-free for years. This type of headache affects men more frequently. They often begin in adolescence but can extend into middle age.

  • Each episode of pain lasts from 30 to 90 minutes.

Unlike people with migraine headaches, those with cluster headaches tend to be restless. They often pace the floor and/or bang their heads against a wall. People with cluster headaches can be driven to desperate measures, including suicidal thoughts.

How are cluster headaches diagnosed?



How are cluster headaches treated?


Initial treatment options may include one or more of the following:

Prevention of the next cluster headache may include

Can cluster headaches be prevented?



Quick GuideMigraine or Headache? Migraine Symptoms, Triggers, Treatment

Migraine or Headache? Migraine Symptoms, Triggers, Treatment

What diseases cause secondary headaches?

Headache is a symptom associated with many illnesses. While head pain itself is the issue with primary headaches, secondary headaches are due to an underlying disease or injury that needs to be diagnosed and treated. Controlling the headache symptom will need to occur at the same time that diagnostic testing is performed to identify the underlying disease. Some of the causes of secondary headache may be potentially life threatening and deadly. Early diagnosis and treatment is essential if damage is to be limited.


Head and neck trauma

  • Injuries to the head may cause bleeding in the spaces between the meninges, the layers of tissue that surround the brain (subdural, epidural, and subarachnoid spaces) or within the brain tissue itself (intracerebral hemorrhage: intra=within + cerebral=brain, hemorrhage=bleeding).
  • Whiplash and neck injury also cause head pain.

Blood vessel problems in the head and neck

  • Stroke or transient ischemic attack (TIA).
  • Arteriovenous malformations (AVM) when they leak.
  • Carotid artery inflammation
  • Temporal arteritis (inflammation of the temporal artery)

Non-blood vessel problems of the brain

Medications and drugs (including withdrawal from those drugs)

Oral contraceptives, medications used to treat erectile dysfunction, blood pressure or other cardiac medications can all lead to or cause headaches. Medication overuse headache, occurring when pain medications are taken too frequently, can be caused by acetaminophen (Tylenol and others), aspirin, ibuprofen (Advil and others), OTC analgesics with caffeine (Excedrin®, etc.), as well as narcotic analgesics and other prescription pain medications.


Changes in the body's environment


How are secondary headaches diagnosed?


However, some patients present in crisis with a decreased level of consciousness or unstable vital signs due to the underlying cause of the headache. In these situations, the health-care professional may decide to treat a specific cause without waiting for tests to confirm the diagnosis.

For example, a patient with headache, fever, stiff neck, and confusion may have meningitis. Since meningitis can be rapidly fatal, antibiotic therapy may be started before blood tests and a lumbar puncture are performed to confirm the diagnosis. It may be that another diagnosis ultimately is found, for example, a brain tumor or subarachnoid hemorrhage, but the benefit of early antibiotics outweighs the risk of not giving them promptly.

What are the exams and tests for secondary headaches?

The patient history and physical examination provide the initial direction for determining the cause of secondary headaches. Therefore, it is extremely important that a patient with new, severe headache seeks medical care and gives their health-care professional an opportunity to assess their condition. Tests that may be useful in making the diagnosis of the underlying disease causing the headaches will depend upon the doctor's evaluation and what specific disease, illness, or injury is being considered as the cause of the headaches (the differential diagnosis). Common tests that are considered include the following:

Specific tests will depend upon what potential issues the health-care professional and patient want to address.

Blood tests

Blood tests provide helpful information in association with the history and physical examination in pursuing a diagnosis. For example, an infection or inflammation in the body may cause a rise in the white blood cell count, the erythrocyte sedimentation rate (ESR), or C-reactive protein (CRP). These two tests are very nonspecific; that is, they may be abnormal with any infection or inflammation, and abnormalities do not point to a specific diagnosis of the cause of the infection or inflammation. The ESR is often used to make the tentative diagnosis of temporal arteritis, a condition that affects an older patient, usually over the age of 65, who presents with a sharp, stabbing temporal headache, due to inflammation of the arteries on one side of the head.

Blood tests may be used to assess electrolyte imbalance, and a variety of other potential problems involving organs like the liver, kidney, and thyroid.

Toxicology tests may be helpful if the patient is suspected of abusing alcohol, prescription, or other drugs of abuse.

Computerized tomography of the head

Computerized tomography (CT scan) is able to detect bleeding, swelling, and some tumors within the skull and brain. It also can show evidence of a previous stroke. With intravenous contrast injection, (angiogram) it may also be used to look at the arteries of the brain for aneurysms.

Magnetic resonance imaging (MRI) of the head

MRI is able to show the anatomy of the brain and the layers that cover the brain and the spinal cord (meninges). It is more precise than computerized tomography. This type of scan is not available at all hospitals. Moreover, it takes much longer to perform, requires the patient to cooperate by holding still, and requires that the patient have no metal in their body (for example, a heart pacemaker or metal foreign objects in the eye).

Lumbar puncture

Cerebrospinal fluid, the fluid that surrounds the brain and spinal cord, can be obtained with a needle that is inserted into the spine in the lower back. Examination of the fluid looks for infection (such as meningitis due to bacteria, virus, fungus, or tuberculosis) or blood from hemorrhage. In almost all cases, computerized tomography is done prior to lumbar puncture to make certain there is no bleeding, swelling, or tumor within the brain. Pressure within the space can be measured when the lumbar puncture needle is inserted. Elevated pressures may make the diagnosis of idiopathic intracranial hypertension (previously known as pseudotumor cerebri) in combination with the appropriate history and physical examination.

When should I seek medical care for a headache?

A patient should seek medical care if their headache is:

  • The "worst headache of your life." This is the wording often used in textbooks as a cue for medical practitioners to consider the diagnosis of a subarachnoid hemorrhage due to a ruptured cerebral aneurysm. The amount of pain will often be taken in context with the appearance of the patient and other associated signs and symptoms. Too often, patients are prompted to use this expression by a health-care professional and do not routinely volunteer the phrase.
  • Different than their usual headaches
  • Associated with persistent nausea and vomiting
  • Associated with fever or stiff neck. A stiff neck may be due to meningitis or blood from a ruptured aneurysm. However, most patients who complain of a stiff neck have muscle spasm and inflammation as the cause.
  • Associated with seizures
  • Associated with recent head trauma or a fall
  • Associated with changes in vision, speech, or behavior
  • Associated with weakness or change in sensation on one side of their body that may be a sign of stroke.
  • Not responding to treatment or is getting worse
  • Disabling and interfering with work and quality of life



  • First steps include maximizing rest and staying well hydrated.


Patients who have secondary headaches will often need to seek medical care.

Subscribe to MedicineNet's General Health Newsletter


Medically Reviewed on 8/16/2017

Beithon, J., et al. "Health Care Guideline Diagnosis and Treatment of Headache." 10th Edition. 2011.

International Headache Society; Headache Classification Committee of the International Headache Society (IHS). "The International Classification of Headache Disorders, 3rd edition (beta version)." Cephalagia. 33:9 (2013): 629-808.

International Headache Society. "The Classification; Part I: The Primary Headaches."

Olesen, J., et al. "The International Classification of Headache Disorders." 2nd Edition. International Headache Society (IHS). May 2005.

Steiner, T. J., et al. "Guidelines for All Healthcare Professionals in the Diagnosis and Management of Migraine, Tension-Type, Cluster and Medication-Overuse Headache." 3rd Edition. British Association for the Study of Headache. 18 Jan. 2007.

Health Solutions From Our Sponsors