What is the best medication for a headache that does not respond to Non-Steroidal Anti-Inflammatory Drugs (NSAIDs)?

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: October 14, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Best Medications for Headache When NSAIDs Are Ineffective

For patients with headaches that do not respond to NSAIDs, the recommended first-line treatment is a triptan (such as sumatriptan) combined with acetaminophen. 1

Treatment Algorithm Based on Headache Type and Severity

For Migraine Headaches

  • If NSAIDs have failed, add a triptan to an NSAID or to acetaminophen (when NSAIDs are contraindicated) 1
  • Choice of specific triptan (almotriptan, eletriptan, frovatriptan, naratriptan, rizatriptan, sumatriptan, or zolmitriptan) should be based on route of administration and cost 1
  • Begin treatment as soon as possible after headache onset for improved efficacy 1

When Triptans Are Contraindicated or Ineffective

  • CGRP antagonists (gepants) such as rimegepant, ubrogepant, or zavegepant are recommended for moderate to severe acute episodic migraine 1, 2
  • Dihydroergotamine (DHE), particularly in intranasal formulation, shows good efficacy for acute migraine attacks 2, 3
  • Lasmiditan (a ditan) can be considered for moderate to severe acute migraine when other options fail 2

For Headaches with Significant Nausea/Vomiting

  • Select a non-oral route of administration (nasal spray, injection) 1, 4
  • Add an antiemetic such as metoclopramide or prochlorperazine, which can also provide synergistic analgesia 2, 3
  • Combination of acetaminophen (1000 mg) plus metoclopramide (10 mg) has shown efficacy equivalent to oral sumatriptan 100 mg 5

Specific Medication Evidence and Considerations

Triptans

  • Oral sumatriptan 50-100 mg provides significant headache relief at 2 hours (50-62% response rate) compared to placebo (17-27%) 6
  • Subcutaneous and intranasal sumatriptan are particularly useful for patients with nausea and vomiting 3
  • Contraindicated in patients with uncontrolled hypertension, coronary artery disease, and basilar or hemiplegic migraine 4

CGRP Antagonists (Gepants)

  • Rimegepant, ubrogepant, and zavegepant are effective for moderate to severe migraine attacks 2
  • Particularly valuable for patients who cannot take triptans due to cardiovascular contraindications 7
  • Generally well-tolerated with fewer cardiovascular concerns than triptans 8

Other Options

  • Dihydroergotamine nasal spray has good evidence for efficacy and safety 1, 2
  • Acetaminophen alone is ineffective for most migraines but may be combined with caffeine for mild to moderate attacks 4, 5
  • Antiemetics like metoclopramide or prochlorperazine can be effective both for nausea and as primary headache treatment 3

Important Cautions

  • Avoid opioids and butalbital-containing medications for routine headache treatment as they can lead to dependency, rebound headaches, and eventual loss of efficacy 1, 2, 9
  • Be aware of medication overuse headache, which can occur with frequent use of acute medications (≥15 days per month with most medications; ≥10 days per month with triptans) 1, 2
  • If episodic migraine occurs frequently or treatment doesn't provide adequate response, consider preventive medications 1
  • Patients who don't respond to one triptan may respond to another within the same drug class 1

Special Populations

  • For pregnant or breastfeeding patients, discuss the adverse effects of pharmacologic treatments during pregnancy and lactation 1
  • For patients with cardiovascular risk factors, gepants or lasmiditan may be safer alternatives to triptans 7

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Alternative Treatment Options for Migraine Relief

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Acute Headache Treatment Guidelines

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Migraine Treatment Options Without Opiates or Diphenhydramine

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Acute Migraine Headache: Treatment Strategies.

American family physician, 2025

Research

Symptomatic treatment of migraine: when to use NSAIDs, triptans, or opiates.

Current treatment options in neurology, 2011

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.

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.