Treatment of migraine headache
Treatment has two parts: treating the current attack and preventing frequent attacks.
1. Treat an acute migraine attack
Treat early in the headache, rest in a dark quiet room, drink fluids, and avoid known triggers.
For mild to moderate attacks
- Paracetamol/acetaminophen
- NSAID such as ibuprofen, naproxen, or diclofenac, if safe for you
- Add an anti-nausea medicine such as metoclopramide or prochlorperazine if nausea/vomiting is prominent
For moderate to severe attacks, or when simple painkillers fail
- A triptan, for example sumatriptan, rizatriptan, or zolmitriptan, is a common migraine-specific option.
- Newer non-vasoconstricting options include CGRP receptor antagonists, such as ubrogepant or rimegepant, or lasmiditan, where available.
Triptans should generally be avoided in people with coronary artery disease, previous stroke/TIA, peripheral vascular disease, uncontrolled hypertension, hemiplegic migraine, or certain complicated migraine syndromes. They should not be combined with an ergot medication within 24 hours.
Do not routinely use opioids, codeine, tramadol, butalbital-containing medicines, or frequent combination analgesics. They are less effective for migraine and can lead to medication-overuse headache. Tintinalli's Emergency Medicine, p. 1330-1336.
2. Avoid medication-overuse headache
Limit acute medicines:
- Triptans, opioids, combination analgesics: ideally no more than 10 days/month
- Paracetamol or NSAIDs: ideally no more than 15 days/month
If you need acute treatment more often, discuss preventive treatment with a clinician.
3. Preventive treatment
Consider prevention when attacks are frequent, disabling, prolonged, poorly responsive to acute medicines, or acute medicines are needed too often.
Common options, selected according to other health conditions:
- Beta-blockers: propranolol, metoprolol
- Antiseizure medicines: topiramate, valproate
- Antidepressants: amitriptyline, venlafaxine
- CGRP-targeting treatments: erenumab, fremanezumab, galcanezumab, eptinezumab; oral options include atogepant or rimegepant
- OnabotulinumtoxinA (Botox): mainly for chronic migraine
CGRP-targeting treatments are now recognized by the American Headache Society as a first-line preventive option, with selection based on access, medical history, preference, and pregnancy plans. See the
AHS preventive-therapy position.
4. Non-drug prevention
- Keep regular sleep, meals, hydration, and exercise.
- Keep a headache diary to identify triggers and track treatment response.
- Reduce excess caffeine and avoid abrupt caffeine withdrawal.
- Consider cognitive behavioral therapy, relaxation training, mindfulness, or biofeedback.
- Address anxiety, depression, sleep apnea, or neck pain if present.
A 2025 systematic review found supportive evidence for behavioral approaches in migraine prevention (
PMID 39968795).
Seek urgent medical care now if
- Sudden, explosive “worst-ever” headache
- New headache with weakness, numbness, speech difficulty, fainting, seizure, or persistent visual loss
- Fever, stiff neck, confusion, rash, or severe vomiting
- Headache after head injury
- New severe headache during pregnancy/postpartum
- New headache after age 50, or with cancer/immunosuppression
- A usual migraine that is substantially different or not settling
If this is your first severe headache or the diagnosis of migraine has not been confirmed, it should be assessed by a clinician before self-treating.