What are the possible causes and recommended management for a patient presenting with eye pain and headache?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: November 28, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Eye Pain with Headache: Differential Diagnosis and Management

Acute angle-closure crisis (AACC) is the most critical diagnosis to rule out immediately when a patient presents with eye pain and headache, as it represents an ophthalmic emergency requiring urgent intervention within hours to prevent permanent vision loss 1.

Immediate Red Flag Assessment

When evaluating eye pain with headache, you must first identify features requiring emergent ophthalmology referral:

Emergency features include:

  • Markedly elevated intraocular pressure (IOP)
  • Vision loss or significant visual impairment
  • Severe photophobia
  • Mid-dilated, non-reactive pupil
  • Corneal edema
  • Conjunctival and episcleral vascular congestion
  • Nausea and vomiting
  • Halos around lights 1, 2

Additional urgent features:

  • Proptosis
  • Hyphema
  • Corneal ulceration
  • Dendritic corneal lesions (suggesting herpes keratitis)
  • Anisocoria
  • Restricted extraocular movements 2

Algorithmic Approach to Diagnosis

Step 1: Determine if This is Ophthalmic vs. Neurologic

Ophthalmic causes (69% of eye pain presentations) include inflammatory eye diseases: conjunctivitis, blepharitis, keratitis, uveitis, dry eye, chalazion, scleritis, and acute angle-closure glaucoma 3.

Neurologic causes are more common when eye examination is normal but include:

  • Migraine (51% of eye pain in neurology clinics) 3
  • Optic neuritis
  • Trigeminal autonomic cephalalgias
  • Trigeminal neuralgia
  • Primary stabbing headache 4, 3, 5

Step 2: Perform Targeted Physical Examination

Essential examination components:

  • Visual acuity using Snellen or Rosenbaum chart
  • Pupillary reactions (check for mid-dilated pupil, anisocoria)
  • Extraocular movements (restriction suggests orbital pathology)
  • Inspect for redness, discharge, corneal clarity
  • Fluorescein examination if available (identifies corneal lesions)
  • Measure or estimate IOP if equipment available 2

Step 3: Risk Stratification for Angle-Closure

High-risk features for primary angle-closure disease:

  • Age >50 years
  • Female sex
  • Asian or Inuit descent
  • Hyperopia
  • Family history of angle closure
  • Shallow anterior chamber appearance 1

If AACC is suspected based on symptoms (eye pain, headache, nausea/vomiting, blurred vision with halos) plus signs (elevated IOP, corneal edema, mid-dilated pupil, conjunctival injection), immediate ophthalmology consultation is mandatory 1.

Management Based on Diagnosis

For Acute Angle-Closure Crisis:

Immediate IOP-lowering therapy followed by laser peripheral iridotomy (LPI), anterior chamber paracentesis, or laser peripheral iridoplasty 1. After the acute episode, the fellow eye requires prompt prophylactic LPI due to high risk of bilateral involvement 1.

For Migraine-Related Eye Pain:

Acute treatment options:

  • Triptans
  • Aspirin-acetaminophen-caffeine combination
  • CGRP inhibitors (gepants) 4

Preventive therapy for episodic migraine:

  • Angiotensin-receptor blockers
  • Lisinopril
  • Topiramate
  • Valproate
  • CGRP monoclonal antibodies
  • Atogepant
  • Magnesium
  • Memantine 4

Note: Gabapentin is not recommended for migraine prevention 4.

For Inflammatory Eye Disease:

Refer to ophthalmology for specific diagnosis and treatment, as management varies by condition (infectious keratitis, anterior uveitis, scleritis all require different approaches) 2.

Critical Pitfalls to Avoid

  1. Do not dismiss eye pain as "just a headache" without proper ophthalmic examination, especially in patients over 50 with risk factors for angle closure 1.

  2. Do not delay referral when red flags are present—conditions like AACC, orbital cellulitis, infectious keratitis, and scleritis can cause permanent vision loss within hours to days 2.

  3. Do not assume normal visual acuity excludes serious pathology—early AACC may present before significant vision loss occurs 1.

  4. Recognize that migraine can present with prominent eye pain (51% of neurologic eye pain cases), but this is a diagnosis of exclusion requiring normal eye examination 3.

  5. The fellow eye in AACC requires prophylactic treatment even if asymptomatic, as bilateral involvement risk is extremely high 1.

When to Consult

Immediate ophthalmology consultation: Any red flag features, suspected AACC, vision-threatening conditions 2.

Urgent ophthalmology referral (within 24 hours): Persistent eye pain with unclear etiology, corneal findings, suspected uveitis or scleritis 2, 6.

Neurology referral: Eye pain with normal ophthalmic examination, features suggesting primary headache disorder, or suspected optic neuritis 6, 3.

Collaboration between ophthalmology and neurology is often necessary, as the distinction between ophthalmic and neurologic causes may not be immediately clear 3.

References

Research

Evaluation of the Painful Eye.

American family physician, 2026

Research

The Most Common Causes of Eye Pain at 2 Tertiary Ophthalmology and Neurology Clinics.

Journal of neuro-ophthalmology : the official journal of the North American Neuro-Ophthalmology Society, 2018

Research

The Eye and Headache.

Continuum (Minneapolis, Minn.), 2015

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.