Headache and migraine
Most headaches are primary (migraine, tension-type, cluster). The job is to spot red flags that need imaging, treat attacks early, and start prevention when attacks are frequent.
🎯 What to know by level
Step 1Primary vs secondary headaches.
Step 2/3Red flags; triptans.
🎓 IM BoardsCGRP drugs, medication-overuse headache.
Sections marked 🎓 Advanced are residency/board level — for Step 1–2 the core sections are enough.
Diagnosis
| Red flag (SNOOP) | Concern |
|---|---|
| Thunderclap (peak <1 min) | Subarachnoid hemorrhage → CT; LP if CT negative after 6 h; RCVS, dissection |
| Age >50 new headache | Giant cell arteritis (ESR/CRP), mass |
| Fever, stiff neck, immunosuppression | Meningitis, abscess |
| Papilledema, worse lying/morning | Raised ICP: mass, IIH, venous sinus thrombosis |
| Focal deficits, seizure, personality change | Mass, stroke |
| Pregnancy/postpartum | Preeclampsia, venous thrombosis, pituitary apoplexy |
| Positional, after LP or leak | Low CSF pressure |
Treatment
🎓 Advanced · IM Boards / residency level
| Type | Acute | Prevention |
|---|---|---|
| Migraine | NSAIDs/acetaminophen; triptans (avoid in vascular disease); gepants or lasmiditan if triptans contraindicated; antiemetics (metoclopramide/prochlorperazine) | ≥4 days/month: propranolol, topiramate, amitriptyline, venlafaxine, candesartan, CGRP antibodies, atogepant/rimegepant, onabotulinumtoxin (chronic) |
| Tension-type | Simple analgesics | Amitriptyline |
| Cluster | 100% oxygen, SC sumatriptan | Verapamil (ECG), short steroid bridge |
Medication-overuse headache: analgesics ≥15 days/month or triptans/opioids ≥10 days → withdraw and start prevention. Avoid opioids and butalbital. Estrogen pills are contraindicated in migraine with aura.
🧭 Algorithm: headache — red flags first
Any red flag? (SNOOP4)
Systemic signs (fever, weight loss, cancer, HIV/immunosuppression), Neurologic deficit or papilledema, Onset sudden (thunderclap), Older (new headache >50 y), Positional, Precipitated by Valsalva/exertion/sex, Progressive change, Pregnancy/postpartum.
Systemic signs (fever, weight loss, cancer, HIV/immunosuppression), Neurologic deficit or papilledema, Onset sudden (thunderclap), Older (new headache >50 y), Positional, Precipitated by Valsalva/exertion/sex, Progressive change, Pregnancy/postpartum.
Thunderclap
Noncontrast CT: negative within 6 h of onset rules out SAH; later → LP (xanthochromia) or CTA. Also think RCVS, dissection, venous thrombosis, apoplexy.
Noncontrast CT: negative within 6 h of onset rules out SAH; later → LP (xanthochromia) or CTA. Also think RCVS, dissection, venous thrombosis, apoplexy.
>50 y + jaw claudication or visual symptoms
ESR/CRP; start glucocorticoids before temporal artery biopsy/ultrasound (IV methylprednisolone if vision loss).
ESR/CRP; start glucocorticoids before temporal artery biopsy/ultrasound (IV methylprednisolone if vision loss).
Fever + neck stiffness
Blood cultures → empiric antibiotics + dexamethasone; CT before LP only if focal deficit, papilledema, seizure, immunocompromise or altered consciousness.
Blood cultures → empiric antibiotics + dexamethasone; CT before LP only if focal deficit, papilledema, seizure, immunocompromise or altered consciousness.
Papilledema, positional or progressive
MRI + MRV; normal imaging + high opening pressure → idiopathic intracranial hypertension.
MRI + MRV; normal imaging + high opening pressure → idiopathic intracranial hypertension.
No red flags → primary headache. Which pattern?
Migraine
Acute: NSAID/acetaminophen ± antiemetic; triptan (not with vascular disease); gepant or lasmiditan if triptans fail. Prevention if ≥4 days/month or disabling: propranolol, topiramate, amitriptyline, CGRP antibodies/atogepant.
Acute: NSAID/acetaminophen ± antiemetic; triptan (not with vascular disease); gepant or lasmiditan if triptans fail. Prevention if ≥4 days/month or disabling: propranolol, topiramate, amitriptyline, CGRP antibodies/atogepant.
Tension-type
Bilateral band-like, no nausea → simple analgesics; amitriptyline for prevention.
Bilateral band-like, no nausea → simple analgesics; amitriptyline for prevention.
Cluster
Unilateral orbital pain 15–180 min with autonomic signs → 100% oxygen, SC sumatriptan; verapamil prevention (ECG).
Unilateral orbital pain 15–180 min with autonomic signs → 100% oxygen, SC sumatriptan; verapamil prevention (ECG).
Watch for medication overuse
Simple analgesics ≥15 days/month or triptans/combination analgesics/opioids ≥10 days/month → withdraw and start prevention. Avoid opioids and butalbital.
Simple analgesics ≥15 days/month or triptans/combination analgesics/opioids ≥10 days/month → withdraw and start prevention. Avoid opioids and butalbital.
Key thresholds
- Thunderclap = maximal intensity within 1 minute.
- CT within 6 h of onset is ~100% sensitive for SAH.
- IIH: opening pressure >25 cm H₂O in adults.
- Migraine prevention: ≥4 headache days/month or significant disability.
📚 Source: AHS 2021 consensus on migraine treatment; ACEP clinical policy on acute headache; SNOOP4 red flags.
🔥 Exam pearls
- Worst headache of life → CT now.
- Cluster: men, unilateral orbital pain with tearing, restless, nightly at same time.
- Migraine with aura → no combined hormonal contraception.
