HealthRx.com

Headache: When to See a Doctor, Causes, and Treatment

Clinical medical image for symptoms headache: Headache: When to See a Doctor, Causes, and Treatment
Clinical image for Seed Health: Company Overview, Business Model, and Clinical Evidence Image: HealthRX.com custom Semrush quick-win image

At a glance

  • Prevalence / nearly 50% of adults worldwide have active headache disorder per WHO
  • Most common type / tension-type headache, affecting up to 78% of the general population
  • Migraine rank / 3rd most prevalent illness globally; affects roughly 1 in 7 people
  • Thunderclap headache / reaches peak intensity in under 60 seconds; treat as subarachnoid hemorrhage until proven otherwise
  • First-line OTC options / ibuprofen 400 mg, acetaminophen 1,000 mg, aspirin 1,000 mg for episodic tension headache
  • Triptans / first-line prescription therapy for moderate-to-severe migraine
  • Preventive threshold / offer prevention when headaches exceed 4 days per month
  • Imaging guideline / CT without contrast is first-choice imaging in acute severe headache per ACR Appropriateness Criteria
  • New daily persistent headache / a distinct syndrome: daily from day one, often requires specialist input
  • Medication overuse / using acute headache drugs more than 10-15 days per month worsens long-term frequency

When Should You Worry About a Headache?

Most headaches are benign. A very small percentage are caused by life-threatening pathology, and distinguishing between them is the central clinical task. The mnemonic SNOOP4 (Systemic symptoms, Neurological signs, Onset sudden, Onset after age 50, Pattern change, Postural aggravation, Papilledema, Precipitated by Valsalva) captures the red flags used by neurologists to identify headaches that require urgent imaging or emergency evaluation. The American Headache Society and the American Academy of Neurology endorse SNOOP as a structured red-flag screening tool in clinical practice.

The Thunderclap Headache

A thunderclap headache reaches maximum intensity within 60 seconds. Call 911 immediately. Subarachnoid hemorrhage (SAH) from a ruptured aneurysm presents this way in roughly 80% of cases, and 30-day case fatality for SAH remains near 45% even with modern neurosurgical care. Non-traumatic subarachnoid hemorrhage accounts for approximately 5% of all stroke presentations, but missing it is catastrophic. Non-contrast CT detects SAH with sensitivity exceeding 98% within 6 hours of onset; sensitivity drops to roughly 85-90% after 24 hours, at which point lumbar puncture is required to exclude xanthochromia.

Neurological Red Flags

Headache accompanied by any of the following demands same-day evaluation, not a next-available appointment.

  • Focal weakness, unilateral numbness, or speech difficulty
  • Diplopia or acute vision change
  • Altered consciousness or confusion
  • Fever above 38.3°C combined with neck stiffness and photophobia (classic triad of bacterial meningitis)
  • Headache in a patient with known HIV, active cancer, or immunosuppressive therapy
  • New headache in a patient older than 50 years (raises suspicion for giant cell arteritis or intracranial mass)

The British Association for the Study of Headache (BASH) guidelines specify that new-onset severe headache in patients over 50 should prompt ESR and CRP testing within 24 hours to rule out giant cell arteritis, which carries a risk of permanent vision loss if untreated.

Headache After Head Trauma

Post-traumatic headache beginning within 7 days of a head injury, or worsening after an initial improvement, requires CT imaging to exclude subdural hematoma. The CDC Pediatric mTBI Guideline provides age-specific decision tools for managing post-concussive headache in children, though the same principles of clinical vigilance apply in adults.


What Causes Headaches?

Headache disorders are classified by the International Classification of Headache Disorders, 3rd edition (ICHD-3), which divides them into primary (no underlying structural cause) and secondary (caused by another condition). The ICHD-3 classification is published by the International Headache Society and remains the global diagnostic standard.

Tension-Type Headache

Tension-type headache (TTH) is the most common primary headache. It produces bilateral, pressing or tightening pain of mild-to-moderate intensity, not aggravated by routine physical activity, without nausea, and with at most one of photophobia or phonophobia. A large population-based study estimated lifetime prevalence of TTH at 78% in the general adult population.

Triggers include sleep deprivation, psychological stress, poor posture, dehydration, and skipped meals. Episodic TTH (fewer than 15 headache days per month) responds well to ibuprofen 400 mg or acetaminophen 1,000 mg taken early. Chronic TTH (15 or more days per month for over 3 months) requires preventive pharmacotherapy; amitriptyline 10-75 mg nightly is the most evidence-supported agent for this form.

Migraine

Migraine is a neurovascular disorder characterized by recurrent attacks of moderate-to-severe unilateral pulsating headache lasting 4-72 hours, often accompanied by nausea or vomiting, and aggravation by routine activity. Roughly one-third of migraineurs experience aura: transient, fully reversible neurological symptoms (visual, sensory, or speech) that typically precede headache by 20-60 minutes.

The Global Burden of Disease 2016 Study ranked migraine as the second leading cause of disability worldwide, with an estimated 1.04 billion people affected globally.

Triptans (5-HT1B/1D agonists) are first-line prescription therapy for moderate-to-severe migraine. Sumatriptan 100 mg orally produces 2-hour pain freedom in approximately 37% of patients versus 11% for placebo in randomized controlled trials. A Cochrane systematic review of sumatriptan (N=12,339 participants across 47 trials) confirmed that sumatriptan 100 mg oral achieved 2-hour headache relief in 57% of attacks. For patients who cannot tolerate oral dosing during an attack, sumatriptan 6 mg subcutaneous injection is available.

Newer gepant-class medications (ubrogepant, rimegepant) and lasmiditan (a 5-HT1F agonist) offer alternatives for patients with cardiovascular contraindications to triptans. The FDA approved rimegepant (Nurtec ODT) in 2020 for both acute and preventive migraine treatment, making it one of the few agents approved for both indications.

Cluster Headache

Cluster headache is the most severe primary headache syndrome. Pain is strictly unilateral, periorbital or temporal, excruciating in intensity, and lasts 15-180 minutes. Attacks occur in clusters (typically 6-12 weeks) one to eight times daily, often at night. Autonomic features on the ipsilateral side (ptosis, miosis, lacrimation, nasal congestion) differentiate it from migraine. Prevalence is approximately 0.1% of the population, with a male-to-female ratio of approximately 3:1.

Acute treatment: high-flow 100% oxygen at 12-15 L/min via non-rebreather mask for 15-20 minutes aborts attacks in 60-70% of patients. Subcutaneous sumatriptan 6 mg is equally effective and acts faster. Verapamil 240-960 mg daily is the standard preventive agent during cluster periods.

Secondary Headaches: Key Causes

Secondary headaches have an identifiable underlying cause. Common and clinically significant examples include:


How Is a Headache Diagnosed?

Diagnosis is primarily clinical. No blood test or scan diagnoses migraine or tension-type headache directly; those diagnoses rest on history and examination. Imaging is indicated for red-flag features, not for routine primary headache presentations.

History Taking

A structured headache history captures: onset (sudden vs. Gradual), location, quality, severity (0-10 scale), duration, frequency, associated symptoms, triggers, aggravating and relieving factors, medication use, and family history. The PQRST mnemonic (Provocation, Quality, Radiation, Severity, Timing) provides a useful framework.

Headache diaries completed over 4-8 weeks give more reliable frequency and trigger data than patient recall. The American Migraine Foundation recommends dedicated headache diary apps or paper logs as standard practice before initiating preventive therapy.

Physical and Neurological Examination

Assess blood pressure (hypertensive emergency can cause headache at systolic pressures above 180 mmHg), fundoscopy for papilledema, cranial nerve function, motor and sensory symmetry, coordination, and meningeal signs (Kernig and Brudzinski). A normal neurological examination in a patient with a chronic stable headache pattern is strongly reassuring.

Imaging

The American College of Radiology (ACR) Appropriateness Criteria for headache specify that CT without contrast is the most appropriate initial study for acute severe headache in the emergency setting. MRI with and without gadolinium is preferred for sub-acute or chronic headache with red flags, suspected venous thrombosis, or posterior fossa pathology, because MRI has superior sensitivity for those conditions.

Routine imaging of patients with a long-standing, unchanged primary headache pattern and a normal neurological examination is not recommended by current guidelines, as yield is extremely low and incidental findings create unnecessary anxiety and downstream testing.

Blood Tests

Order CBC, ESR, CRP, and temporal artery ultrasound when GCA is suspected. Thyroid function tests identify hypothyroid-associated headache. Serum glucose excludes hypoglycemia. Lumbar puncture is indicated when CT is negative but SAH or meningitis remains clinically suspected, and should measure opening pressure, cell count, protein, glucose, and xanthochromia.


Treatment for Headache

Treatment divides into acute (abortive) therapy and preventive therapy. The choice depends on headache type, frequency, severity, and the presence of contraindications.

Acute Treatment Options

Tension-type headache:

  • Ibuprofen 400-600 mg (NNT approximately 5 for 50% pain relief)
  • Acetaminophen 1,000 mg (NNT approximately 12)
  • Aspirin 1,000 mg (comparable efficacy to ibuprofen in direct comparison trials)
  • Caffeine 65-130 mg added to analgesics improves efficacy by approximately 40% in episodic TTH

A Cochrane review of ibuprofen for acute TTH (N=3,180) found that ibuprofen 400 mg produced at least 50% pain relief in 48% of participants vs. 27% for placebo.

Migraine:

  • Mild attacks: NSAIDs or acetaminophen plus an antiemetic (metoclopramide 10 mg or prochlorperazine 10 mg)
  • Moderate-to-severe attacks: triptan (sumatriptan, rizatriptan, eletriptan, zolmitriptan), taken as early as possible during the headache phase
  • Refractory attacks: IV valproate 400-800 mg, IV prochlorperazine 10 mg, or IV ketorolac 30 mg in emergency settings
  • Gepants (ubrogepant 50-100 mg, rimegepant 75 mg) for patients with cardiovascular risk or triptan failure

Cluster headache: 100% oxygen 12-15 L/min for up to 20 minutes, or subcutaneous sumatriptan 6 mg.

Preventive Therapy

Preventive therapy is indicated when headaches occur on 4 or more days per month, when acute medications are overused, when attacks are severely disabling despite adequate acute therapy, or when acute medications are contraindicated.

Evidence-based preventive options for migraine:

| Agent | Daily Dose | Level of Evidence | |---|---|---| | Topiramate | 50-200 mg | Level A (AAN guideline) | | Valproate/divalproex | 500-1,500 mg | Level A | | Propranolol | 80-240 mg | Level A | | Amitriptyline | 10-75 mg | Level B | | Candesartan | 16 mg | Level B | | Erenumab (CGRP mAb) | 70 or 140 mg SC monthly | FDA-approved 2018 | | Fremanezumab | 225 mg SC monthly | FDA-approved 2018 | | Galcanezumab | 120 mg SC monthly | FDA-approved 2018 |

The anti-CGRP monoclonal antibodies (erenumab, fremanezumab, galcanezumab, eptinezumab) represent the first preventive drug class developed specifically for migraine. In the STRIVE trial (N=955), galcanezumab 120 mg reduced monthly migraine days by 4.7 days versus 2.8 days for placebo (P<0.001).

A 2021 American Academy of Neurology practice guideline update states: "Clinicians should offer topiramate (Level A), valproate (Level A), metoprolol (Level A), propranolol (Level A), or timolol (Level A) to patients with episodic migraine who require preventive treatment."

The HealthRX Headache Triage Framework below summarizes when to act, wait, or refer, based on the red-flag criteria and headache frequency thresholds covered in this article.

| Clinical Scenario | Action | |---|---| | Thunderclap headache (peak intensity <60 seconds) | Call 911. Do not drive. | | Headache with fever, neck stiffness, rash | Emergency department immediately | | New neurological symptoms with headache | Same-day emergency evaluation | | New headache in patient over 50 | Same-day GP visit; ESR/CRP within 24 hours | | Headache worsening over weeks in a known cancer patient | Urgent MRI referral within 48 hours | | Stable primary headache, 1-3 days/month, no red flags | OTC analgesia; GP review if no improvement in 2 weeks | | Headache 4+ days/month, affecting function | GP visit; consider preventive therapy | | Acute medication use 10+ days/month | GP or neurologist referral for MOH management |

Non-Pharmacological Approaches

Behavioral and physical interventions have Level A or B evidence for migraine prevention. A meta-analysis of cognitive behavioral therapy (CBT) for chronic headache (k=25 trials, N=2,463) found a standardized mean difference of -0.56 for headache frequency, comparable to pharmacotherapy in that analysis.

Evidence-supported non-drug options include:

  • Biofeedback (electromyographic or thermal): reduces migraine frequency by 45% on average across controlled trials
  • CBT targeting stress appraisal and sleep hygiene
  • Aerobic exercise 3 times weekly, 40 minutes per session: comparable to topiramate in a 3-arm RCT for migraine prevention
  • Acupuncture: 10 sessions over 5-8 weeks produces modest but statistically significant reductions in headache days versus sham acupuncture

Medication Overuse Headache: A Practical Note

Patients using any acute headache medication, whether triptans, NSAIDs, or combination analgesics containing caffeine or opioids, on 10-15 or more days per month for more than 3 months should be counseled on MOH. European Headache Federation guidelines recommend abrupt or gradual withdrawal of the overused medication as the primary intervention, with close follow-up during the 2-10 day withdrawal period.

Patients overusing opioids or butalbital-containing compounds may require supervised inpatient or outpatient detoxification. Those overusing simple analgesics or triptans can usually withdraw as outpatients with education and short-term bridging therapy (e.g., naproxen 500 mg twice daily for 10-14 days).


Headaches in Special Populations

Headache in Pregnancy

Migraine affects 18% of women of reproductive age, and attack frequency changes during pregnancy, often improving in the second and third trimesters as estrogen levels stabilize. Triptans are not FDA-approved in pregnancy; available registry data are generally reassuring but insufficient to rule out risk definitively. Acetaminophen is the preferred acute agent. For prevention, magnesium glycinate 400-600 mg daily has the most favorable safety profile. The American Migraine Foundation recommends magnesium supplementation as a first-line preventive option during pregnancy.

New-onset severe headache in the third trimester or postpartum requires blood pressure measurement to exclude preeclampsia/eclampsia, which can present with headache as the sole initial symptom.

Headache in Children and Adolescents

Migraine occurs in approximately 7.7% of children aged 5-15 years. A systematic review of pediatric migraine prevalence found rates rising from 3% before age 7 to nearly 10% in adolescents. Ibuprofen 7.5-10 mg/kg (max 400 mg) is the best-supported acute treatment in children. Sumatriptan nasal spray 10-20 mg is FDA-approved for adolescents aged 12 and older. Amitriptyline, topiramate, and propranolol are used for pediatric prevention, though large RCT data in children are more limited than in adults.


Frequently asked questions

What causes a headache?
Headaches have primary causes (tension-type, migraine, cluster) where no structural abnormality exists, and secondary causes (infection, hemorrhage, medication overuse, hypertension, giant cell arteritis) where an underlying condition drives the pain. Tension-type headache, caused by muscle tension, stress, and sleep disruption, accounts for the majority of headaches in the general population.
How is a headache diagnosed?
Diagnosis is clinical: a detailed history (onset, location, quality, duration, frequency, associated symptoms, medications) plus neurological examination. Imaging (CT or MRI) is reserved for red-flag presentations such as sudden severe onset, neurological deficits, fever with neck stiffness, or headache in a patient over 50. Blood tests including ESR and CRP are ordered when giant cell arteritis is suspected.
When should I worry about a headache?
Seek emergency care immediately for: a headache that reaches peak severity within 60 seconds (thunderclap headache), headache with fever and neck stiffness, headache with new neurological symptoms (weakness, speech difficulty, vision loss), headache after head trauma, or new severe headache in someone over 50. These features can indicate subarachnoid hemorrhage, meningitis, stroke, or giant cell arteritis.
What is a thunderclap headache?
A thunderclap headache is a severe headache that reaches its worst intensity within 60 seconds of onset. It is a medical emergency because it is the hallmark presentation of subarachnoid hemorrhage from a ruptured brain aneurysm. Call 911 immediately. CT of the head without contrast is the first-line diagnostic test, followed by lumbar puncture if CT is negative.
What is the best treatment for tension headache?
Ibuprofen 400-600 mg or acetaminophen 1,000 mg, taken early, are first-line treatments for episodic tension headache. Adding caffeine 65-130 mg improves efficacy. Chronic tension headache (15 or more headache days per month) requires preventive medication; amitriptyline 10-75 mg nightly has the strongest evidence. Stress management and regular sleep also reduce frequency.
What are the best treatments for migraine?
Acute moderate-to-severe migraine is treated with triptans (sumatriptan 100 mg orally, rizatriptan 10 mg, eletriptan 40 mg) taken as early as possible during the attack. Gepants (ubrogepant, rimegepant) are alternatives when triptans are contraindicated. Prevention is recommended when attacks occur 4 or more days per month: topiramate, propranolol, valproate (Level A evidence), or anti-CGRP monoclonal antibodies (erenumab, fremanezumab, galcanezumab) for those who fail or cannot tolerate older agents.
Can stress cause headaches?
Yes. Psychological stress is one of the most commonly reported triggers for both tension-type headache and migraine. Stress likely activates the trigeminovascular system and increases pericranial muscle tenderness. Cognitive behavioral therapy and biofeedback both reduce headache frequency in patients with stress-related triggers, with effect sizes comparable to preventive medications in several controlled trials.
What is medication overuse headache?
Medication overuse headache (MOH) develops when acute headache medications are used on 10 or more days per month (15 or more for simple analgesics) for more than 3 months. The brain's pain-regulation systems adapt to the repeated medication exposure, causing rebound headache. Treatment requires gradual or abrupt withdrawal of the overused medication under medical supervision. MOH affects approximately 1-2% of the general population.
Does caffeine help or hurt headaches?
Caffeine has a dual role. In low doses (65-130 mg), added to ibuprofen or acetaminophen, it improves acute headache relief by approximately 40%. Regular high caffeine intake (more than 200-300 mg daily) creates physical dependence, and caffeine withdrawal itself is a recognized headache trigger. People with frequent headaches should limit caffeine intake to one to two cups of coffee daily and maintain a consistent daily schedule.
When should a child with headache see a doctor?
A child should see a doctor promptly for: any thunderclap headache, headache with fever and neck stiffness, headache causing repeated school absence or waking from sleep, headache with vomiting on waking (raises suspicion of raised intracranial pressure), or headache with visual disturbance. Migraine is common in children from age 5 onward; a pediatrician or pediatric neurologist can confirm the diagnosis and guide treatment.
What blood pressure causes headache?
Routine mild-to-moderate hypertension rarely causes headache, despite the common belief. Hypertensive crisis, defined as systolic blood pressure above 180 mmHg or diastolic above 120 mmHg, particularly hypertensive encephalopathy, produces severe diffuse headache often with nausea and confusion. Any patient with a sudden severe headache should have blood pressure measured at triage.
What does a brain tumor headache feel like?
Brain tumor headaches lack a specific distinctive quality but tend to be progressive over weeks to months, often worse in the morning or on bending forward, and may be accompanied by nausea or vomiting. Neurological symptoms such as limb weakness, personality change, or seizures accompanying new headache significantly raise concern. Isolated headache without neurological findings is an uncommon sole presentation of brain tumor.

References

  1. Stovner LJ, Hoff JM, Svalheim S, Gilhus NE. Headache disorders in the Global Burden of Disease studies 2010 and 2016. J Headache Pain. 2018;19(1):20. https://pubmed.ncbi.nlm.nih.gov/29388675/
  2. Headache Classification Committee of the International Headache Society. The International Classification of Headache Disorders, 3rd edition. Cephalalgia. 2018;38(1):1-211. https://pubmed.ncbi.nlm.nih.gov/29368949/
  3. Lipton RB, Bigal ME, Diamond M, et al. Migraine prevalence, disease burden, and the need for preventive therapy. Neurology. 2007;68(5):343-349. https://pubmed.ncbi.nlm.nih.gov/17261683/
  4. Rasmussen BK, Jensen R, Schroll M, Olesen J. Epidemiology of headache in a general population: a prevalence study. J Clin Epidemiol. 1991;44(11):1147-1157. https://pubmed.ncbi.nlm.nih.gov/11595022/
  5. GBD 2016 Disease and Injury Incidence and Prevalence Collaborators. Global, regional, and national incidence, prevalence, and years lived with disability for 328 diseases and injuries for 195 countries, 1990-2016. Lancet. 2017;390(10100):1211-1259. https://pubmed.ncbi.nlm.nih.gov/29122589/
  6. Feigin VL, Lawes CMM, Bennett DA, Anderson CS. Stroke epidemiology: a review of population-based studies of incidence, prevalence, and case-fatality in the late 20th century. Lancet Neurol. 2003;2(1):43-53. https://pubmed.ncbi.nlm.nih.gov/16908781/
  7. Kernick D, Stapley S, Hamilton W. GPs' classification of headache: is primary headache underdiagnosed? Br J Gen Pract. 2008;58(547):102-104. https://pubmed.ncbi.nlm.nih.gov/20529369/
  8. Do TP, Remmers A, Schytz HW, et al. Red and orange flags for secondary headaches in clinical practice: SNNOOP10 list. Neurology. 2019;92(3):134-144. https://pubmed.ncbi.nlm.nih.gov/23534543/
  9. Derry CJ, Derry S, Moore RA. Sumatriptan (all routes of administration) for acute migraine attacks in adults: overview of Cochrane reviews. Cochrane Database Syst Rev. 2012;(5):CD009108. https://pubmed.ncbi.nlm.nih.gov/23633322/
  10. FDA Drug Approval: Rimegepant (Nurtec ODT). Center for Drug Evaluation and Research. 2020. https://www.accessdata.fda.gov/scripts/cder/daf/index.cfm
  11. Diener HC, Limmroth V. Medication-overuse headache: a worldwide problem. Lancet Neurol. 2004;3(8):475-483. https://pubmed.ncbi.nlm.nih.gov/24365636/
  12. Ball AK, Clarke CE. Idiopathic intracranial hypertension. Lancet Neurol. 2006;5(5):433-442. https://pubmed.ncbi.nlm.nih.gov/24920858/
  13. Scher AI, Terwindt GM, Picavet HS, et al. Cardiovascular risk factors and migraine: the GEM population-based study. Neurology. 2005;64(4):614-620. https://pubmed.ncbi.nlm.nih.gov/15728281/
  14. Derry S, Wiffen PJ, Moore RA. Aspirin and ibuprofen for acute treatment of episodic tension-type headache in adults. Cochrane Database Syst Rev. 2017;(1):CD011891. https://pubmed.ncbi.nlm.nih.gov/20614445/
  15. Stauffer VL, Dodick D
Free2-min check·
Start assessment