Durgical
EN
Open the app

The other headaches: stabbing, mixed, caffeine, cough, exercise, sex and hypnic

  • Syndrome

Some headaches are rare but harmless, others look the same yet hide a bleed or a tumour. The trigger and the length of each attack sort them out.

Updated

What it is

Less common headaches that exams still ask about: primary stabbing headache, mixed migraine and tension-type headache, caffeine-withdrawal headache, primary cough, exercise and sexual headache, and hypnic headache. All are diagnosed only after the secondary causes that copy them are excluded.

How to recognise it

  • Primary stabbing headache: most stabs last three seconds or less and many fall outside the territory of the first trigeminal division; in people with migraine they often hit the usual migraine site.
  • A stab always in the same spot, stabs that last longer, or a background pain between stabs are atypical and call for imaging.
  • Mixed headache: many people with migraine also have tension-type attacks, and a mild migraine is easily mistaken for tension-type headache; a diary separates the attack types.
  • Caffeine-withdrawal headache follows regular daily intake for over two weeks; it may explain weekend headaches, headache after surgery (no caffeine before the operation) and headache during dialysis.
  • Caffeine adds to the effect of analgesics, but combination analgesics with caffeine are among the strongest causes of medication overuse headache; stopping them also withdraws caffeine.
  • Primary cough headache usually starts after 40, is usually bilateral and comes on at once with coughing, sneezing or straining; MRI must look at the posterior fossa.
  • Primary exercise headache is pulsating, comes during or after sustained strenuous exercise, lasts under two days, and is more common in young people and in those with migraine.
  • Sexual headache: a dull bilateral ache building with arousal, or an explosive headache at orgasm (the more common form); about four times more common in men.
  • Hypnic headache occurs only in sleep, usually begins after 50, is more common in women, is mostly bilateral and dull and lasts from a quarter of an hour to about three hours.

Step by step

  1. Ask what sets it off (nothing, cough, effort, sex, sleep, a missed coffee) and how long one attack lasts.
  2. Ask about tearing, red eye or a runny nose on the same side: their presence points to a trigeminal autonomic headache such as cluster.
  3. A first or sudden severe headache with cough, effort or sex: CT, then lumbar puncture if CT is normal, as for subarachnoid haemorrhage.
  4. Then MRI of the brain including the posterior fossa, and imaging of head and neck vessels for dissection and vasoconstriction.
  5. Exercise headache with chest pain, breathlessness or cardiac risk: ECG and troponin, because the heart can present as headache.
  6. Count caffeine and acute analgesic days; when exams and imaging are normal, give the primary diagnosis and plan prevention.

The less common headaches side by side

HeadacheTriggerDurationFeaturesFirst step
Primary stabbingNone; comes on its ownSeconds, most three or lessSingle or repeated stabs, any part of the head, no autonomic signsImage if fixed site, longer stabs or background pain
Mixed (migraine plus tension-type)Migraine triggers for the migraine attacksMigraine up to three days; tension-type up to a weekTwo attack types in one personDiary; classify and treat each attack by its type
Caffeine withdrawalStopping or delaying regular caffeineStarts within a day; gone within a weekDull, diffuse, tiredness, poor concentrationAsk about coffee; taper caffeine gradually
Primary coughCoughing, sneezing, strainingSeconds to half an hourSudden, bilateral, onset usually after 40MRI with posterior fossa: exclude Chiari I
Primary exerciseSustained strenuous exerciseMinutes to under two daysPulsating; young people, often with migraineFirst episode: exclude bleed, dissection, vasoconstriction
Sexual activityRising arousal or orgasmMinutes to hours, rarely a dayDull build-up or explosive at orgasm; mostly menFirst episode: exclude subarachnoid haemorrhage
HypnicSleep only; wakes the patientFifteen minutes to about three hoursSame hour each night, after 50, dull, no autonomic signsExclude tumour, sleep apnoea and night hypertension

Differential diagnosis

  • A woman with migraine feels jabs of a second or two in different spots on her scalp, several times a day, with a normal examination: primary stabbing headache; explain it, and use indomethacin if the stabs are troublesome.
  • A patient with migraine has frequent dull, both-sided headaches that let him work and rarer throbbing days with nausea: two headache types; treat the throbbing attacks as migraine and choose prevention that covers both, such as amitriptyline.
  • A nurse gets a dull headache every Saturday morning when she sleeps in and skips her usual coffee: caffeine withdrawal; a gradual reduction stops the pattern.
  • A man of 55 gets a sharp headache for seconds each time he coughs: MRI of the posterior fossa before calling it primary, because Chiari I or a posterior fossa lesion is common in this group.
  • A man has a sudden, explosive headache at orgasm for the first time: manage as a thunderclap headache until subarachnoid haemorrhage and dissection are excluded.
  • A woman of 68 is woken by a dull headache at about two every morning, with no tearing or red eye: hypnic headache after excluding tumour, sleep apnoea and night hypertension; oxygen and triptans, which help cluster, do not help here.

Next step

  • Thunderclap or first headache with cough, effort or sex: non-contrast CT, then lumbar puncture if CT is normal.
  • MRI of the brain with the posterior fossa and craniocervical junction for cough headache; MR or CT angiography for exercise or sexual headache.
  • Exercise headache with chest pain, breathlessness or cardiac risk factors: ECG, troponin and cardiac review.
  • Hypnic headache: MRI to exclude a posterior fossa or pituitary lesion, night blood pressure and a sleep study if apnoea is suspected.
  • A headache diary counting caffeine intake, acute drug days and each attack type; treat medication overuse if present.

Common traps

  • Seconds-long stabs at the eye are always trigeminal neuralgia: neuralgia stabs are set off by touch, chewing or talking in one nerve branch, while primary stabbing headache has no trigger and moves around the head.
  • Mixed headache is one diagnosis with one treatment: each attack type is classified on its own, and a mild migraine treated as tension-type misses migraine-specific treatment.
  • Coffee only causes headache when people drink too much: missing the usual cup causes the classic withdrawal headache, at weekends, after surgery or during dialysis.
  • A headache that comes only with sex or effort is harmless if it has happened before: the first episode is a thunderclap until shown otherwise, and a new pattern needs fresh evaluation.
  • A man woken at night by headache has cluster: hypnic headache affects older people, often women, is usually bilateral and dull and has no tearing or red eye.

Test yourself

Think of the answer, then tap the question to see it.

Why must the first headache at orgasm be investigated even though most sexual headaches are benign?

Because an explosive headache at orgasm looks the same as a subarachnoid haemorrhage or an arterial dissection; only CT, lumbar puncture and vessel imaging can tell them apart.

A man of 60 has a few seconds of headache every time he coughs. Which part of the brain must imaging examine, and why?

The posterior fossa and the craniocervical junction, because many cough headaches at this age are secondary, most often to a Chiari I malformation or a posterior fossa lesion.

Why can stopping a caffeine-containing combination analgesic make the headache worse for the first days?

Because the patient loses both the overused analgesic and the daily caffeine, so the rebound of medication overuse and caffeine withdrawal add together until both settle.

Which feature separates hypnic headache from cluster headache in an older person woken at night by head pain?

Hypnic headache lacks same-side tearing, red eye and nasal symptoms, is usually dull and bilateral, and does not respond to oxygen or triptans.

A patient with migraine also has milder band-like days. Why does it matter to classify each attack type separately?

Because the treatment differs: migraine attacks respond to migraine-specific drugs such as triptans, which are not recommended for tension-type headache, and a mild migraine labelled tension-type would be undertreated.

Add to my cards (5)

Elsewhere in DurgiPedia

Connections

← All of neurology

Educational content; it does not replace supervised training, your institution's protocols or a medical assessment. It contains no doses. For signs of stroke (face drooping, arm weakness, speech trouble), a prolonged seizure or fever with a stiff neck, call the emergency number (123 in Colombia) or go to the nearest emergency department.

Sources: Focus on therapy of primary stabbing headache (The Journal of Headache and Pain (PubMed Central), 2010); Primary Stabbing Headache in Children and Adolescents (Life (PubMed Central), 2024); Focus on therapy of the Chapter IV headaches provoked by exertional factors: primary cough headache, primary exertional headache and primary headache associated with sexual activity (The Journal of Headache and Pain (PubMed Central), 2010); Primary Exercise Headache (Current Neurology and Neuroscience Reports (PubMed Central), 2020); Focus on therapy of hypnic headache (The Journal of Headache and Pain (PubMed Central), 2010); Caffeine in the management of patients with headache (The Journal of Headache and Pain (PubMed Central), 2017); Caffeine-withdrawal headache induced by hemodialysis (The Journal of Headache and Pain (PubMed Central), 2009); Debate: differences and similarities between tension-type headache and migraine (The Journal of Headache and Pain (PubMed Central), 2023); Pediatric mixed headache: the relationship between migraine, tension-type headache and learning disabilities in a clinic-based sample (The Journal of Headache and Pain (PubMed Central), 2016); Hallmarks of primary headache: part 2, tension-type headache (The Journal of Headache and Pain (PubMed Central), 2025).

Spotted a mistake?We are always improving for the community. Tell us what is wrong and our team will review it.Report a mistake

Representative model, for educational purposes only.