💊 RxHero
← Back to blog
HealthBy RxHero Team‱3/13/2026‱7 min read‱AI-assisted

Why Do I Have a Headache? Unraveling the Causes, Treatments, and Clinical Pearls

Headaches affect 1 in 5 adults worldwide. This guide explains the underlying mechanisms, therapeutic options, and practical pearls to help you navigate diagnosis and management.

Headaches are the most common chief complaint in primary care, with an estimated 1 in 5 adults reporting a headache at least once a month. Clinicians routinely encounter patients who present with an acute throbbing pain that can be debilitating enough to require emergency department evaluation. Understanding why a headache occurs is not only essential for effective treatment, but also for avoiding unnecessary investigations and for identifying red‑flag signs that may herald a more serious underlying pathology.

Introduction and Background

Historically, headaches have been described in medical literature since ancient times, with early texts noting the association of migraine with visual aura and cluster headaches with circadian patterns. Epidemiologically, the prevalence of headache disorders varies by age, sex, and geography; women are twice as likely as men to suffer from migraine, and tension‑type headaches are the most common primary headache worldwide. The International Classification of Headache Disorders (ICHD‑3) currently categorizes headaches into primary (migraine, tension‑type, cluster, etc.) and secondary types (intracranial hypertension, infection, drug‑induced, etc.).

From a pharmacological standpoint, headache pathophysiology involves a complex interplay of peripheral nociceptive signaling, central sensitization, and neurovascular mechanisms. Key drug classes used to treat headaches include non‑steroidal anti‑inflammatory drugs (NSAIDs), triptans (5‑HT1B/1D agonists), ergot alkaloids, dopamine antagonists (e.g., prochlorperazine), calcium channel blockers (verapamil), and the newer CGRP receptor antagonists and monoclonal antibodies. Each class targets distinct receptors or signaling pathways, which explains their varied efficacy and side‑effect profiles.

Mechanism of Action

Primary Headache Pathophysiology

Primary headaches are not caused by an underlying disease but rather arise from dysregulation of neural and vascular pathways. Two central mechanisms are commonly implicated: (1) neurogenic inflammation of the meninges, mediated by calcitonin gene‑related peptide (CGRP), substance P, and prostaglandins; and (2) central sensitization, where repeated nociceptive input lowers the threshold for pain transmission in the trigeminal nucleus caudalis and the thalamus. Peripheral release of CGRP leads to vasodilation of meningeal arteries, while central sensitization amplifies pain signals, producing the throbbing quality of migraine.

Migraine Pathophysiology

Migraine is a neurovascular disorder characterized by episodic activation of the trigeminovascular system. The cascade begins with a cortical spreading depression (CSD) that propagates across the occipital cortex, triggering release of vasoactive neuropeptides. The resultant vasodilation and inflammation of meningeal vessels recruit mast cells and release histamine, which further sensitizes trigeminal afferents. Key receptors involved include 5‑HT1B/1D (targeted by triptans), CGRP receptors (targeted by gepants and monoclonal antibodies), and dopamine D2 receptors (targeted by prochlorperazine). The interplay between these pathways explains why different medications are effective for different phases of a migraine attack.

Medication‑Related Headache

Headaches can also arise as adverse effects of drugs, termed medication‑induced headaches. Common culprits include vasoconstrictive agents (e.g., beta‑blockers), antihypertensives (e.g., clonidine), and certain antidepressants (e.g., SSRIs). The mechanism often involves abrupt changes in cerebral blood flow or altered neurotransmitter levels. For instance, discontinuation of a vasodilating antihypertensive can precipitate rebound vasoconstriction, leading to a severe headache.

Clinical Pharmacology

Below is a synthesis of pharmacokinetic (PK) and pharmacodynamic (PD) data for the most frequently used acute headache therapies. The values are based on adult populations; pediatric and geriatric data are summarized in the therapeutic applications section.

Drug Class Key PK Parameters Key PD Characteristics
NSAIDs (e.g., ibuprofen) Absorption: 80–90% within 30 min; Half‑life: 2–4 h; Protein binding: 80% Inhibition of COX‑1/2 → ↓ prostaglandin synthesis; onset: 30–60 min; dose‑response: linear up to 800 mg BID
Triptans (sumatriptan) Absorption: 70% orally; Half‑life: 2–3 h; Protein binding: 30% 5‑HT1B/1D agonism → vasoconstriction of cranial vessels; onset: 15–30 min; therapeutic window: within 4 h of onset
CGRP Receptor Antagonists (ubrogepant) Absorption: 60% orally; Half‑life: 5–6 h; Protein binding: 50% Competitive inhibition of CGRP receptors; onset: 30–60 min; dose‑response plateau at 50 mg
Ergot Alkaloids (ergotamine) Absorption: 60% orally; Half‑life: 4–6 h; Protein binding: 90% 5‑HT1B/1D agonism + α‑adrenergic agonism → vasoconstriction; onset: 30–60 min; dose‑response: steep up to 1 mg BID

Therapeutic Applications

  • Acute migraine: sumatriptan 50–100 mg PO, ibuprofen 400–600 mg PO, or ubrogepant 50 mg PO
  • Cluster headache: subcutaneous sumatriptan 6 mg or oxygen 100% 15 L/min for 15 min
  • Tension‑type headache: NSAIDs or acetaminophen 500–1000 mg PO
  • Medication‑overuse headache: gradual taper of analgesics and avoidance of triptans >10 days/month
  • Preventive therapy (≄4 migraine days/month): propranolol 40–160 mg BID, topiramate 50–100 mg BID, CGRP monoclonal antibodies (erenumab 70 mg q4w)

Special populations:

  • Pediatrics: ibuprofen 5–10 mg/kg PO q6–8 h; sumatriptan 0.1 mg/kg PO (max 50 mg)
  • Geriatrics: lower starting doses of triptans (25 mg) and monitor for cardiovascular contraindications
  • Renal impairment: reduce dose of NSAIDs and ergotamine; CGRP antagonists are renally excreted but have no dose adjustment in mild–moderate CKD
  • Hepatic impairment: avoid NSAIDs; use sumatriptan with caution in severe dysfunction
  • Pregnancy: acetaminophen and ibuprofen (low dose) are category B; avoid triptans and ergot alkaloids in pregnancy

Adverse Effects and Safety

Common side effects differ by drug class:

  • NSAIDs: dyspepsia (15–25%), gastric ulcer (1–2%/year), renal impairment (5–10% in elderly)
  • Triptans: chest tightness (1–2%), paresthesias (5–10%), serotonin syndrome when combined with MAOIs
  • CGRP antagonists: nausea (10–15%), constipation (5–7%)
  • Ergot alkaloids: vasospasm, nausea, hypertension (3–5%)

Serious black‑box warnings:

  • Triptans: ischemic heart disease, stroke risk in patients with uncontrolled hypertension or atherosclerosis
  • NSAIDs: GI bleeding, cardiovascular events in high‑dose or long‑term use
  • Ergot alkaloids: ergotism (severe vasoconstriction leading to gangrene)

Drug interactions (key interactions shown in table):

Drug Interaction Clinical Significance
Sumatriptan MAO inhibitors Serotonin syndrome – avoid
Ibuprofen ACE inhibitors Reduced antihypertensive effect – monitor BP
Verapamil Triptans Increased risk of cardiac arrhythmia – use with caution

Monitoring parameters:

  • Cardiovascular status before initiating triptans in patients >50 years or with risk factors
  • Renal function (creatinine clearance) for NSAIDs and ergot alkaloids
  • Blood pressure for patients on verapamil or propranolol

Contraindications:

  • Uncontrolled hypertension, ischemic heart disease, stroke history – triptans and ergot alkaloids
  • Active peptic ulcer disease – NSAIDs
  • Severe hepatic dysfunction – all triptans and ergot alkaloids

Clinical Pearls for Practice

  • Early Intervention Is Key: Initiate triptans within the first 30 minutes of migraine onset for maximum efficacy.
  • Red‑Flag Recognition: Persistent unilateral headache with fever, neck stiffness, or photophobia warrants imaging for meningitis or subarachnoid hemorrhage.
  • Medication‑Overuse Prevention: Educate patients to limit acute analgesic use to <10 days/month to prevent rebound headaches.
  • Use the ABCDE Mnemonic for Acute Migraine: A – Acetaminophen/NSAID, B – Beta‑blocker for prevention, C – CGRP antagonist, D – Dihydroergotamine, E – Ergotamine.
  • Pregnancy‑Safe Options: Acetaminophen is first‑line; if NSAIDs are needed, use the lowest effective dose for the shortest duration.
  • Cardiovascular Screening: All patients over 50 or with risk factors should have a baseline ECG before starting triptans.
  • Lifestyle Triggers: Identify and counsel patients on sleep hygiene, hydration, and caffeine moderation as adjunctive preventive strategies.

Comparison Table

Drug Name Mechanism Key Indication Notable Side Effect Clinical Pearl
Sumatriptan 5‑HT1B/1D agonist – vasoconstriction of cranial vessels Acute migraine Chest tightness Take within 30 min of pain onset
Ibuprofen COX inhibition – ↓ prostaglandin synthesis Tension‑type headache, migraine adjunct Gastric ulcer Use with food to reduce dyspepsia
Ubrogepant CGRP receptor antagonist – blocks neurogenic inflammation Acute migraine Nausea Can be taken up to 8 h after onset
Ergotamine 5‑HT1B/1D & α‑adrenergic agonist – vasoconstriction Cluster headache, severe migraine Vasospasm, hypertension Avoid in patients with coronary artery disease

Exam‑Focused Review

Common Question Stem: A 28‑year‑old woman presents with a 2‑hour throbbing headache, photophobia, and nausea. Which medication is most appropriate for acute therapy?

Answer: Sumatriptan, because it specifically targets the trigeminovascular system and is effective when taken within 30–60 minutes of onset.

Key Differentiators:

  • Triptans vs. Ergot Alkaloids: Triptans lack α‑adrenergic activity, reducing risk of vasospasm.
  • NSAIDs vs. Acetaminophen: NSAIDs provide anti‑inflammatory effects; acetaminophen lacks GI bleeding risk but is less potent for migraine.
  • CGRP Antagonists vs. Triptans: CGRP antagonists are useful in patients with cardiovascular contraindications to triptans.

Must‑Know Facts for NAPLEX/USMLE:

  • Triptans contraindicated in uncontrolled hypertension, ischemic heart disease, or stroke.
  • NSAIDs increase risk of peptic ulcer; co‑prescribe proton pump inhibitors in high‑risk patients.
  • Pregnancy category B: Acetaminophen; category C: NSAIDs; category D: Triptans and ergot alkaloids.
  • Medication‑overuse headache requires a minimum 2‑week drug holiday and transition to preventive therapy.

Key Takeaways

  1. Headaches are the most common chief complaint; rapid assessment can prevent unnecessary imaging.
  2. Primary headaches arise from neurogenic inflammation and central sensitization.
  3. Triptans target 5‑HT1B/1D receptors and are most effective when taken within 30–60 min of onset.
  4. NSAIDs inhibit COX enzymes, reducing prostaglandin‑mediated vasodilation.
  5. CGRP antagonists block neuropeptide signaling and are safe in patients with cardiovascular disease.
  6. Medication‑overuse headache occurs with >10 days/month of acute analgesic use.
  7. Pregnancy‑safe acute options include acetaminophen; NSAIDs only short‑term and low dose.
  8. Preventive therapy (beta‑blockers, topiramate, CGRP monoclonal antibodies) is indicated for ≄4 migraine days/month.
  9. Monitor renal, hepatic, and cardiovascular function when prescribing NSAIDs, triptans, and ergot alkaloids.
  10. Educate patients on trigger avoidance, proper dosing, and red‑flag symptom recognition.
Always tailor headache therapy to the individual’s risk profile and comorbidities; when in doubt, consult a headache specialist or refer for neuroimaging if red‑flag signs are present.

⚕ Medical Disclaimer

This information is provided for educational purposes only and should not be used as a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition. Never disregard professional medical advice or delay in seeking it because of information found on RxHero.

Last reviewed: 3/13/2026

On this page