Primary Headache Disorders

These are headaches that happen on their own, without a specific underlying cause. Think of it like a cold – it happens for its own reasons. Examples include tension headaches and migraines.

Condition

What people with Primary Headache Disorders report

Every report comes from a Lived member, sent anonymously.

Have you tried Advil / Motrin (Ibuprofen) for Primary Headache Disorders?

NameHow it went

About Primary Headache Disorders

What It Is

A primary headache disorder is one in which the headache is the condition itself rather than a symptom of something else. That separates it from a secondary headache, which is caused by another problem such as an injury, an infection, bleeding in the brain or a side effect of a medicine. Primary headaches can be painful and disruptive, but they are not a sign of damage to the brain. Most primary headaches are familiar ones. Tension-type headache, the most common, causes a steady pressing or tightening pain on both sides of the head. Migraine causes recurring attacks of throbbing pain, often on one side, with nausea or sensitivity to light and sound. Cluster headache and its rarer relatives cause short, intensely painful attacks around one eye, with tearing or a blocked nose on the same side. The rest form a smaller group of less familiar headaches, each recognized by what sets it off or when it occurs. Cough headache comes on seconds after coughing, sneezing or straining and usually fades within minutes. Exercise headache follows strenuous physical effort, and a related headache builds with sexual activity and can peak sharply at orgasm. Stabbing (ice-pick) headache produces jabs of pain lasting a few seconds. Hypnic headache, sometimes called alarm clock headache, wakes people from sleep often at about the same time each night. Thunderclap headache is a sudden, severe headache that reaches full strength within a minute; it is listed here only because, rarely, no cause is found after a full emergency workup.

Causes & Risk Factors

Primary headaches arise from how the brain and the nerves that carry pain signals from the head work, not from a structural problem. Genes play a part, and some types run in families. Migraine and tension-type headache are more common in women; cluster headache is more common in men and in people who smoke. A trigger is different from a cause. Stress, poor or irregular sleep, skipped meals, dehydration, alcohol and changes in routine can set off attacks in someone who already has a headache disorder, but they do not create the disorder. For the less familiar types, the trigger is part of the definition: coughing or straining for cough headache, sustained hard effort (especially in hot weather or at high altitude) for exercise headache, and sexual activity for sex-related headache. Cough headache mostly affects people over 40, and hypnic headache usually begins after age 50. One important exception is how often pain relievers are used. Taking acute headache medicine on many days each month can itself cause more frequent headaches, a problem known as medication-overuse headache.

How It's Diagnosed

There is no single test that confirms a primary headache disorder. A clinician makes the diagnosis from a careful description of the headaches (where the pain is, what it feels like, how fast it starts, how long it lasts, what brings it on and what comes with it) together with a physical and neurological examination. The diagnosis also depends on ruling out other causes, which is why the clinician will ask about head injury, fever, new neurological symptoms, cancer, pregnancy and the medicines you take. Keeping a headache diary for a few weeks, noting timing, severity, possible triggers, sleep and any medicine taken, often makes the pattern much clearer. For migraine or tension-type headache with a typical, stable pattern and a normal examination, scans are usually unnecessary. The less familiar types are different, because they can imitate serious problems. Cough headache needs a brain scan, usually MRI (magnetic resonance imaging), since in a large share of cases it is caused by a structural problem, most often a Chiari malformation (the lower part of the brain sitting lower than normal, near the opening at the base of the skull). The first headache brought on by exercise or sexual activity needs tests to exclude bleeding around the brain, a tear in an artery wall (arterial dissection) and a condition in which brain arteries temporarily narrow. A thunderclap headache is treated as an emergency: brain imaging, imaging of the blood vessels and sometimes a lumbar puncture (spinal tap) come first, and a primary diagnosis is made only when all of these are normal. Hypnic headache is diagnosed only after other causes of night-time headache, such as sleep apnea, are considered.

Treatment Options

Treatment depends on which headache someone has. It usually combines three things: medicine to stop an attack, a preventive approach when attacks are frequent or disabling, and attention to triggers, sleep and overall health. For tension-type headache, over-the-counter pain relievers such as ibuprofen, naproxen, aspirin or acetaminophen often work for occasional episodes. Migraine has specific attack treatments, such as triptans like sumatriptan (Imitrex), and several preventive options, including blood pressure medicines, certain antidepressants and anti-seizure medicines, and newer drugs that block a pain-signaling protein called CGRP (calcitonin gene-related peptide). Cluster attacks can often be stopped by breathing pure oxygen through a mask or with a fast-acting triptan, and verapamil, a blood pressure medicine, is commonly used to prevent attacks during a cluster period. Several of the less familiar types respond to indomethacin, a prescription anti-inflammatory medicine in the same family as ibuprofen (a nonsteroidal anti-inflammatory drug). Once a scan has ruled out other causes, it is the usual choice for cough headache and exercise headache, and some people take it shortly before exercise or sexual activity rather than every day. Like other drugs in that family, it can irritate the stomach, so its use is weighed against stomach, kidney and heart risks. Hypnic headache has been helped by caffeine at bedtime, lithium (a prescription medicine more often used for bipolar disorder), melatonin or indomethacin, though this evidence comes from reports of individual patients. Stabbing headache is usually so brief that no treatment is needed, and many of these rarer headaches are recognized and treated mainly on the basis of specialist experience rather than clinical trials. Non-drug approaches matter across all types. Regular sleep and meals, physical activity, and stress-management methods such as relaxation training, biofeedback and cognitive behavioral therapy can reduce how often headaches occur. Because frequent use of pain relievers can make headaches more frequent, a care plan usually sets a limit on how many days a month acute medicine is used.

What to Expect

Primary headache disorders are usually long-term or recurring, but their course varies widely. Tension-type headache and migraine often come and go over years, with quieter and busier periods linked to life stage, hormones, sleep and stress. Cluster headache typically arrives in bouts lasting weeks, separated by months without attacks. The less familiar types often follow their own pattern. Cough headache and exercise headache can settle over months to a few years, and exercise headache may become less of a problem with gradual warm-up or by avoiding hard effort in heat and at altitude. Sex-related headache sometimes happens only once, but it runs a longer course in a substantial minority of people. Hypnic headache tends to persist, with attacks on many nights. Stabbing headache is common in people who also have migraine and usually comes and goes without lasting effect. Finding the right approach can take some trial and adjustment. A diary helps show whether a treatment is reducing how often attacks happen and how much they interfere with work, sleep and family life. Follow-up visits are a chance to review that record, check on medicine use, and reconsider the diagnosis if the pattern changes.

When to Seek Help

Arrange a visit if headaches are frequent, affect work, school or sleep, or if you need pain relievers on more than a few days most weeks. See a clinician the same day the first time a headache is brought on by exercise or sexual activity. See one promptly, within a day or so, the first time a headache is brought on by coughing, if headaches are getting steadily worse or changing in pattern, or if a new persistent headache starts after age 50 or in someone with cancer or a weakened immune system. Call 911 for a sudden, severe headache that reaches full intensity within about a minute, including one that strikes explosively during exercise or sex, or for a headache with weakness, numbness, trouble speaking, confusion or fainting. These can be signs of bleeding in the brain or a stroke, where fast treatment matters. Get emergency care right away for a headache with fever and a stiff neck, or a headache after a blow to the head.

Questions to Ask Your Doctor

  1. 1.Based on my pattern, which type of primary headache do you think this is, and what else needs to be ruled out?
  2. 2.Do I need a scan or other tests, and what would they show?
  3. 3.Is there a treatment I can take before a known trigger, such as exercise, or should we consider daily prevention?
  4. 4.How many days a month is it safe for me to use pain relievers before they start causing more headaches?
  5. 5.What change in my headaches should prompt me to call you or seek urgent care?

Last reviewed • Oct 2026

Educational content, not medical advice.