Headache: migraine, tension-type and cluster headache
How to tell migraine, tension-type and cluster headache apart, the red flags of secondary headache, and the acute and preventive drugs for each, including triptans and ergotamine.
UHS PGET syllabus: Central nervous system (10 MCQs), Headache syndrome; migraine headache; tension band headache; cluster headache; acute and prophylactic management of headaches; role of ergotamine derivatives in migraine; first line and second line treatments for migraineUpdated October 2026Share on WhatsApp
In 30 seconds
Migraine is a recurrent, often one-sided, throbbing headache lasting 4–72 hours with nausea and light or sound sensitivity; about a quarter have an aura.
Tension-type headache is a bilateral, band-like, mild to moderate pressure without vomiting; cluster headache is a brief, excruciating, one-sided eye pain with tearing and nasal congestion, mostly in young men.
Treat migraine attacks with analgesic + antiemetic, then triptans; prevent with propranolol, topiramate or amitriptyline; treat cluster attacks with subcutaneous sumatriptan and high-flow oxygen and prevent with verapamil.
On this page
Overview
Headache is one of the most common reasons people see a doctor. Most headaches are primary (the headache is the disease): migraine, tension-type and cluster headache. A small number are secondary to something serious, such as meningitis, subarachnoid haemorrhage, raised intracranial pressure or giant cell arteritis.
The diagnosis of primary headache rests on the history. Examination and scans are normal; their job is to exclude a secondary cause. PGET questions focus on telling the three primary headaches apart and on choosing acute and preventive drugs.
Why the head hurts
The brain tissue itself has almost no pain receptors.
Pain arises from meninges, large intracranial vessels and venous sinuses, scalp, muscles, sinuses, eyes and teeth.
Pain signals travel in the trigeminal (V) and glossopharyngeal (IX) nerves and the upper cervical roots. That is why posterior fossa pain can refer to the neck and occiput.
Primary versus secondary headache
Red flags (think secondary headache)
Red flag
Think of
Thunderclap: maximal in under a minute
Subarachnoid haemorrhage
Fever, neck stiffness, rash
Meningitis
Worse on waking, coughing or straining; vomiting; papilloedema
Raised intracranial pressure (tumour, IIH)
New headache over 50, scalp tenderness, jaw claudication
Giant cell arteritis (check ESR)
Headache only when upright, relieved lying flat
Low CSF pressure (after LP or a spontaneous leak)
Red painful eye, haloes, vomiting
Acute angle-closure glaucoma
Focal neurological signs, seizures, confusion
Mass lesion, encephalitis, stroke
Immunosuppression or cancer
Abscess, toxoplasmosis, metastases
High-yield
Neuroimaging does not help diagnose primary headache. Scan only when the history or examination suggests a secondary cause; in anyone over 50 with a new headache also check the ESR.
Exam trap
Blood pressure, refractive error and sinusitis are commonly blamed for chronic headache, but they rarely cause it. Hypertension causes headache mainly when it is malignant.
Migraine
Who gets it
The commonest cause of recurrent episodic headache: it affects 15–20% of women but only 5–10% of men.
Usually starts around puberty; onset is before 40 in most. Family history is common.
Mechanism (only what explains the exam facts)
Migraine is now thought to be mainly neural, not primarily vascular.
Cortical spreading depression: a slow wave of neuronal depolarisation, then silence, that crawls forward from the occipital cortex. This explains the aura and why it moves across the visual field.
The headache comes from activation of the trigeminovascular system (trigeminal fibres around dural and large intracranial vessels). These fibres release CGRP (calcitonin gene-related peptide), substance P and other peptides, which inflame and dilate meningeal vessels.
Sensitised trigeminal pathways make normal stimuli (light, noise, movement, touching the scalp) painful.
Triggers
Too much or too little sleep; stress (and the "let-down" after it); skipped meals; alcohol; bright light and loud noise; falling oestrogen (menstrual migraine just before a period, the combined pill, the menopause). Specific foods are much less often to blame than patients think.
Clinical features: migraine without aura (common migraine)
Diagnostic pattern:
Recurrent attacks lasting 4–72 hours (untreated).
Two or more of: one-sided pain; throbbing; moderate or severe; worse with movement or routine activity.
One or more of: nausea or vomiting; photophobia and phonophobia.
Normal examination and no other cause.
The patient wants to lie still in a dark, quiet room; sleep helps. The scalp may be tender (allodynia). A washed-out feeling follows.
Migraine with aura (classical migraine)
About 25% of people with migraine have an aura in some attacks.
The aura builds up over 5–20 minutes, lasts under 60 minutes, and is followed by headache.
Visual aura is the commonest: shimmering, zigzag lines (teichopsia, fortification spectra), broken-glass images, a moving scotoma, sometimes hemianopia.
Tingling that spreads up a limb, speech disturbance and, rarely, weakness may follow the visual symptoms.
Exam trap
An aura spreads and changes over minutes and has positive features (flashing lines, tingling). A TIA is sudden and negative (loss of vision or power). Older men can have aura with no headache, which is easily mistaken for a TIA.
Variants
Hemiplegic migraine: rare, often autosomal dominant; hemiparesis with headache, recovering within 24 hours.
Vestibular migraine: episodes of vertigo lasting hours linked to migraine.
Chronic migraine: headache on 15 or more days a month for over 3 months; often driven by medication overuse.
High-yield
Migraine with aura carries a higher risk of ischaemic stroke. The combined oral contraceptive pill is contraindicated in migraine with aura; a progestogen-only method is preferred.
Treatment of migraine
General measures
Explain the condition, keep a headache diary, identify and avoid triggers, keep regular sleep and meals, and limit painkiller days.
Acute (abortive) treatment: step by step
Step
Drug
Notes
First line
Simple analgesic: aspirin 900 mg (dispersible), paracetamol 1 g, or an NSAID such as naproxen 250–500 mg or ibuprofen
Take as early as possible in the attack
Add
Antiemetic/prokinetic: metoclopramide or domperidone
Treats nausea and helps gastric emptying, so tablets are absorbed
Use when simple analgesia fails; can be combined with an NSAID
If vomiting
Subcutaneous sumatriptan, or a rectal NSAID with a parenteral antiemetic
Nasal triptan is largely swallowed and absorbed from the gut
Older option
Ergotamine (see below)
Now rarely used
Avoid opioids (codeine, tramadol): they work poorly and readily cause medication overuse headache.
Triptans
Mechanism: agonists at 5-HT1B receptors on cranial vessels (vasoconstriction) and 5-HT1D receptors on trigeminal nerve endings (block CGRP release and pain transmission).
Contraindications:ischaemic heart disease, previous MI or stroke, peripheral vascular disease, uncontrolled hypertension, coronary vasospasm (Prinzmetal angina), hemiplegic or brainstem aura.
Do not take with ergotamine. Care with SSRIs and SNRIs (serotonin syndrome).
High-yield
Triptans also constrict coronary arteries. A patient with angina who has migraine should not be given a triptan.
Ergotamine and the ergot derivatives
Ergotamine is the old specific anti-migraine drug, now largely replaced by triptans.
Action: partial agonist at 5-HT receptors and α-adrenergic receptors (also dopamine). Causes strong, long-lasting and cumulative vasoconstriction.
Use: only for the acute attack, best taken in the prodrome or very early; it works poorly if delayed. It has no value for prevention and is not an analgesic for other pain.
Forms: tablets, sublingual, suppository; often combined with caffeine (1 mg ergotamine with 100 mg caffeine) to improve absorption.
Dose limit: no more than 6 mg per attack and 10 mg per week.
Dihydroergotamine (injection or nasal) is used for severe, intractable migraine and during in-hospital withdrawal in medication overuse headache.
Side-effects: nausea, vomiting, diarrhoea (the commonest), muscle cramps; with overdose ergotism: prolonged vasospasm, cold painful limbs, gangrene, bowel ischaemia.
Contraindications:coronary artery disease, peripheral vascular disease (including Raynaud), uncontrolled hypertension, pregnancy (uterine stimulant), severe liver or kidney disease, combination with triptans or strong CYP3A4 inhibitors (ritonavir, clarithromycin, azole antifungals), which raise levels and cause ergotism.
Methysergide (an ergot once used for prevention) was withdrawn because long-term use caused retroperitoneal, pleural and heart valve fibrosis.
Exam trap
Ergotamine is an acute (abortive) drug, not a preventive. The ergot that was used for prevention is methysergide, now obsolete.
Memory hook
Ergot = "ER-GOT gangrene": a vasoconstrictor that must be avoided in any narrowed artery and in the pregnant uterus.
Preventive (prophylactic) treatment
When: attacks are frequent (more than 1–2 a month) and disabling, acute drugs fail or are overused, or there are prolonged or hemiplegic auras.
How: start low, increase slowly, and judge the effect after an adequate course. A course of 3–6 months typically halves attack frequency, and the benefit often persists after stopping. Prevention fails if analgesic overuse continues.
Pizotifen causes weight gain; flunarizine can cause depression and parkinsonism
Specialist
Botulinum toxin A injections every 3 months
-
Only for chronic migraine
Specialist
CGRP monoclonal antibodies or gepants
-
Refractory migraine; availability varies
Migraine in pregnancy and with the pill
Migraine often improves in pregnancy (steady oestrogen) and returns after delivery.
Use paracetamol; sumatriptan may be used if needed. Avoid ergotamine and avoid topiramate and valproate.
For prevention in pregnancy, low-dose propranolol or amitriptyline may be used.
Medication overuse headache
Taking analgesics or triptans on 10 or more days a month (especially codeine or combination painkillers) can convert episodic headache into chronic daily headache (15 or more days a month for 3 months).
Treatment: explain, withdraw the overused drug (expect a temporary rebound), and start a preventive.
Worked example: is this medication overuse?
A woman takes a triptan or a codeine combination on 3 days every week. 3 days × 4 weeks = 12 days a month 12 is more than the 10-day threshold → medication overuse headache is likely; withdraw and start prevention.
Tension-type headache
The commonest headache overall, but usually mild, so many never consult.
Bilateral, pressing or tightening "band round the head", pressure behind the eyes; mild to moderate.
No nausea or vomiting, not worsened by routine activity; at most one of photophobia or phonophobia.
Often linked with stress, poor sleep, depression and anxiety.
Examination is normal (pericranial muscles may be tender).
Management:
Acute: simple analgesics (paracetamol, aspirin, NSAID), limited to avoid overuse.
Frequent or chronic: amitriptyline is the preventive of choice.
Exam trap
"Band-like", bilateral, no vomiting = tension-type. Vomiting and photophobia with a throbbing one-sided pain point to migraine.
Cluster headache
Cluster headache is one of the trigeminal autonomic cephalalgias: one-sided pain in the ophthalmic division of V with same-side autonomic features.
Features
Uncommon (about 1 in 1000); mainly men aged 20–40; smokers and drinkers over-represented.
Excruciating, boring pain around or behind one eye (temple), always the same side in a bout.
Same-side: tearing, red eye, blocked or running nostril, eyelid swelling, ptosis and miosis (partial Horner syndrome), facial sweating.
Attacks last 30–90 minutes, up to several a day, often waking the patient at the same time each night.
Bouts (clusters) last 1–2 months, then remission for months or a year, often recurring at the same time of year.
The patient is restless, paces or rocks, unlike the still migraine patient.
Alcohol triggers attacks during a bout.
Functional imaging shows hypothalamic activation (explains the clock-like timing).
Management
Aim
Treatment
Acute attack
Subcutaneous sumatriptan (drug of choice; works fast enough); high-flow oxygen by non-rebreathing mask; nasal zolmitriptan or sumatriptan as alternatives
Prevention during a bout
Verapamil (first choice; monitor ECG for heart block); lithium; a short course of oral steroids to break the bout; greater occipital nerve block
Not helpful
Simple analgesics and most migraine preventives
High-yield
Cluster = sumatriptan injection + oxygen for the attack; verapamil for prevention. Oral analgesics are too slow.
Memory hook
Cluster = "Clock, Cry, Crawl": same time every night, a tearing eye, and the patient cannot keep still.
Other primary headaches (short attacks)
Headache
Key features
Treatment
Paroxysmal hemicrania
Like cluster but shorter (10–30 min) and more frequent (more than 5 a day); women
Complete response to indometacin (diagnostic)
SUNCT
Very short (seconds to 2 minutes) stabs with red, tearing eye
Specialist treatment
Hemicrania continua
Continuous one-sided pain with autonomic flares
Indometacin
Primary stabbing ("ice-pick")
Momentary jabs, often in migraine sufferers
Usually none; indometacin
Cough, exertional, sex headache
Sudden pain with the trigger
Exclude SAH or posterior fossa lesion first; indometacin
Comparing the three main headaches
Feature
Migraine
Tension-type
Cluster
Sex
Women more
Both
Men more
Site
Often one side
Both sides, band
One eye, always same side
Character
Throbbing
Pressing, tight
Boring, excruciating
Duration
4–72 hours
30 min to days
30–90 min
Associated
Nausea, vomiting, photophobia, aura
Few
Tearing, red eye, nasal congestion, Horner
Behaviour
Lies still in the dark
Carries on
Restless, paces
Acute treatment
Analgesic + antiemetic, then triptan
Simple analgesic
SC sumatriptan, oxygen
Prevention
Propranolol, topiramate, amitriptyline
Amitriptyline
Verapamil, lithium, steroids
Two mimics to remember: trigeminal neuralgia (seconds-long electric-shock pain in V2 or V3 triggered by touch or chewing; carbamazepine) and giant cell arteritis (over 50, jaw claudication, high ESR; start steroids at once to protect vision).
Exam focus
Expect: diagnosis from a short vignette (one-sided throbbing with photophobia = migraine; band-like = tension-type; young man with nightly eye pain and tearing = cluster); the commonest aura (visual); triptan mechanism (5-HT1B/1D) and contraindication in ischaemic heart disease; first-line migraine prevention (propranolol, avoid in asthma; topiramate and valproate avoided in pregnancy; amitriptyline); ergotamine use only in the acute attack, its dose limits, ergotism and its contraindications (vascular disease, pregnancy); cluster acute treatment (SC sumatriptan, oxygen) and prevention (verapamil); indometacin-responsive paroxysmal hemicrania; medication overuse headache; red flags.
Quick revision
Migraine: 4–72 h, one-sided, throbbing, nausea, photophobia; aura in about a quarter (visual zigzags).
Acute migraine: aspirin/NSAID/paracetamol + metoclopramide, then triptan; SC sumatriptan if vomiting.
Triptans: 5-HT1B/1D agonists; avoid in coronary, cerebrovascular and peripheral vascular disease.
Ergotamine: abortive only; give early; max 6 mg per attack, 10 mg per week; avoid in vascular disease and pregnancy; ergotism and gangrene.
Prevention when more than 1–2 disabling attacks a month: propranolol, topiramate, amitriptyline first; valproate, candesartan, pizotifen, flunarizine next; botulinum toxin for chronic migraine.
Tension-type: bilateral band, no vomiting; analgesics, amitriptyline for prevention.
Paroxysmal hemicrania: indometacin. Painkillers on 10 or more days a month cause medication overuse headache.
Written by The House Job from standard references (Kumar and Clark's Clinical Medicine; Katzung's Basic and Clinical Pharmacology).
FAQ
What is the first-line drug to prevent migraine?
Propranolol, topiramate or amitriptyline are all first-line choices; propranolol is avoided in asthma and topiramate in pregnancy, so the choice depends on the patient.
Can ergotamine be used to prevent migraine?
No. Ergotamine only aborts an attack and works best when taken very early; it is limited to 6 mg per attack and 10 mg per week because its vasoconstriction accumulates.
What is the best acute treatment for cluster headache?
Subcutaneous sumatriptan, with high-flow oxygen through a non-rebreathing mask; oral painkillers act too slowly.
How do you tell tension-type headache from migraine?
Tension-type headache is bilateral, pressing and mild to moderate, without vomiting and not worsened by activity; migraine is usually one-sided, throbbing and comes with nausea and sensitivity to light and sound.
Which headache responds completely to indometacin?
Paroxysmal hemicrania, a short, frequent, one-sided headache with eye tearing that is commoner in women; hemicrania continua also responds.