Migraine Medications: Your Complete Treatment Guide

Medically reviewed | Last reviewed: | Evidence level: 1A
Migraine is a neurological condition characterized by recurrent episodes of throbbing, pulsating headache typically affecting one side of the head. The pain ranges from moderate to severe and is often accompanied by nausea, vomiting, and sensitivity to light and sound. Treatment involves both acute medications to stop attacks and preventive medications for those experiencing frequent episodes. Understanding your medication options can significantly improve quality of life.
📅 Published:
⏱️ Reading time: 15 minutes
Written and reviewed by iMedic Medical Editorial Team | Specialists in neurology and headache medicine

📊 Quick facts about migraine medications

Global Prevalence
12% affected
1 billion people worldwide
Triptan Efficacy
70-80% relief
within 2 hours
Prevention Threshold
3+ attacks/month
consider preventive therapy
CGRP Antibody Effect
50% reduction
in monthly migraine days
Overuse Limit
Max 9 days/month
to avoid MOH
ICD-10 Code
G43
Migraine disorders

💡 The most important things you need to know

  • Take acute medication early: The sooner you take your medication when an attack begins, the more effective it will be at stopping the migraine
  • Triptans are the gold standard: For moderate to severe migraines, triptans provide the most effective acute relief for most patients
  • Avoid medication overuse: Using pain relievers more than 9 days per month can lead to medication overuse headache (MOH)
  • Preventive treatment reduces attacks: If you have 3+ migraines monthly, preventive medication can reduce frequency by 50% or more
  • CGRP antibodies offer new hope: These newer preventive medications are well-tolerated and effective for many chronic migraine sufferers
  • Different medications work for different people: It may take trying several options to find what works best for you
  • Track your medication use: Keep a headache diary to monitor patterns and prevent overuse

What Medications Are Used During a Migraine Attack?

During a migraine attack, medications aim to relieve symptoms and stop the headache. Options include over-the-counter pain relievers (paracetamol, NSAIDs), triptans for moderate to severe attacks, and anti-nausea medications like metoclopramide. Taking medication early in the attack provides the best results.

When a migraine attack begins, quick and appropriate treatment can make the difference between hours of debilitating pain and swift relief. The key principle in acute migraine treatment is to take medication early - ideally when you first recognize that a migraine is developing, not after the pain has reached its peak. This is because migraine involves a cascade of neurological and vascular changes that become increasingly difficult to reverse as the attack progresses.

The choice of acute medication depends on several factors, including the severity of your attacks, how quickly symptoms develop, whether you experience nausea and vomiting, and your response to previous treatments. Many people find that mild migraines respond well to over-the-counter options, while more severe attacks require prescription medications like triptans.

It's crucial to understand that acute migraine medications are designed for intermittent use. Using them too frequently - more than 9 to 10 days per month - can paradoxically lead to more headaches, a condition called medication overuse headache. This creates a cycle where the medication that once provided relief now perpetuates the problem.

Over-the-Counter Pain Relievers

For mild to moderate migraines, non-prescription pain relievers can be effective when taken early. The most commonly used options include paracetamol (acetaminophen) and non-steroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen, naproxen, and aspirin. These medications work by reducing inflammation and blocking pain signals.

Aspirin combined with caffeine is particularly effective for migraines. The caffeine enhances absorption and increases the pain-relieving effect of aspirin. However, if you rely on caffeine-containing medications, be aware that this can contribute to medication overuse headache if used too frequently.

It's essential not to exceed recommended doses, especially with paracetamol, as overdose can cause serious liver damage. NSAIDs should be used cautiously by people with stomach problems, kidney disease, or cardiovascular conditions.

Triptans - The Gold Standard for Migraine

Triptans revolutionized migraine treatment when they were introduced in the 1990s and remain the most effective acute treatment for most people with moderate to severe migraines. These medications work by activating serotonin receptors in the brain, which causes constriction of dilated blood vessels and reduces the release of inflammatory substances involved in migraine pain.

Multiple triptans are available, including sumatriptan, rizatriptan, eletriptan, zolmitriptan, naratriptan, and almotriptan. While they all work through similar mechanisms, they differ in how quickly they act, how long their effects last, and their side effect profiles. Some people respond better to one triptan than another, so it may be worth trying different options to find the most effective one for you.

Triptans come in various formulations - tablets, dissolvable tablets that work faster, nasal sprays, and injections. Nasal sprays and injections are particularly useful if you experience severe nausea or vomiting during attacks, as they bypass the digestive system. The injection form of sumatriptan provides the fastest relief, typically within 10-15 minutes.

Important timing for triptans:

Do not take triptans during the aura phase of migraine - wait until the headache begins. Taking them too early may reduce effectiveness. However, once headache starts, earlier treatment produces better results. If the first dose doesn't work, don't take a second dose for the same attack. You may take another dose if the headache goes away but returns, but wait at least 2 hours between doses.

Anti-Nausea Medications

Nausea and vomiting are common migraine symptoms that not only cause additional suffering but also impair absorption of oral medications. Metoclopramide is commonly used alongside migraine treatments for several reasons: it reduces nausea, speeds up stomach emptying (which improves absorption of other medications), and may have some direct anti-migraine effects.

During a migraine attack, the stomach essentially slows down or stops working properly - a phenomenon called gastric stasis. This means that tablets you swallow may sit in the stomach without being absorbed effectively. By restoring normal stomach function, metoclopramide helps your migraine medication reach your bloodstream where it can work.

How Do Triptans Work and Which One Should I Choose?

Triptans work by activating serotonin receptors, causing blood vessel constriction and reducing inflammation in the brain. They're available as tablets, dissolvable tablets, nasal sprays, and injections. Different triptans have varying speeds of action and duration - your doctor can help find the best match for your migraine pattern.

Understanding how triptans work helps explain why they're so effective for migraine and why certain precautions are necessary. During a migraine attack, blood vessels in and around the brain become dilated and inflamed. Specialized nerve fibers release inflammatory substances called neuropeptides, particularly CGRP (calcitonin gene-related peptide), which perpetuate pain and inflammation.

Triptans activate specific serotonin receptors (5-HT1B and 5-HT1D) on blood vessels and nerve endings. This causes three beneficial effects: constriction of the dilated blood vessels, reduced release of inflammatory neuropeptides, and inhibition of pain signal transmission in the trigeminal nerve pathway that carries pain signals from the head to the brain.

Because triptans cause blood vessel constriction, they're not suitable for everyone. People with coronary artery disease, uncontrolled high blood pressure, previous stroke or transient ischemic attack, or certain other cardiovascular conditions should not use triptans. They're also not recommended during the aura phase of migraine or for people over 65 years of age without prior cardiovascular evaluation.

Comparison of commonly used triptans and their characteristics
Triptan Available Forms Onset of Action Duration Key Features
Sumatriptan Tablets, nasal spray, injection 30-60 min (injection: 10-15 min) 4-6 hours Most widely studied; available OTC in some countries
Rizatriptan Tablets, dissolvable tablets 30-45 min 4-6 hours Fast-acting; dissolvable form good for nausea
Eletriptan Tablets 30-60 min 4-6 hours Good efficacy; may work when others fail
Zolmitriptan Tablets, dissolvable tablets, nasal spray 30-45 min 4-6 hours Nasal spray works quickly
Naratriptan Tablets 60-120 min 8-12 hours Slower but longer-lasting; fewer side effects

Side Effects and Precautions

Triptans are generally well-tolerated, but some people experience side effects. Common reactions include a feeling of tightness or pressure in the chest, throat, or jaw, tingling sensations, fatigue, dizziness, dry mouth, and nausea. The chest sensations can be alarming but are usually not related to the heart - they result from the medication's effects on serotonin receptors in the chest muscles and esophagus.

More serious concerns arise if you smoke while using triptans, as both nicotine and triptans constrict blood vessels. This combination can lead to excessive vasoconstriction. If you use triptans, it's especially important to avoid smoking.

Combining Triptans with Other Medications

Triptans can be combined with NSAIDs like naproxen for enhanced effect. Studies show that combining a triptan with an NSAID provides better pain relief and reduces the likelihood of headache recurrence compared to either medication alone. This combination is particularly useful for people whose migraines tend to return a few hours after initial treatment.

Adding metoclopramide can improve triptan absorption and provide anti-nausea benefits. However, triptans should not be taken within 24 hours of other triptans or ergot medications, and caution is needed when combining them with certain antidepressants (SSRIs and SNRIs) due to the rare risk of serotonin syndrome.

When Should I Consider Preventive Migraine Medication?

Preventive medication is recommended if you have 3 or more migraine attacks per month, attacks lasting longer than 12 hours, significant disability despite acute treatment, or contraindications to acute medications. Options include beta-blockers, antidepressants, anti-epileptics, and CGRP antibodies.

While acute medications treat individual attacks, preventive medications aim to reduce the frequency, severity, and duration of migraines before they occur. The decision to start preventive treatment is based on how significantly migraines impact your life and how often you need acute medication.

Generally, preventive treatment should be considered if you experience three or more migraine attacks per month, if attacks last longer than 12 hours even with treatment, if your migraines significantly impair your work, school, or daily activities, if you're using acute medications too frequently (risking medication overuse headache), or if you cannot tolerate or have contraindications to acute treatments.

The goal of preventive treatment is typically to reduce migraine frequency by 50% or more. It's important to have realistic expectations - prevention rarely eliminates migraines completely, but it can significantly improve quality of life. Most preventive medications take 2-3 months to show full effect, so patience is necessary.

Beta-Blockers

Beta-blockers like metoprolol and propranolol are among the most established preventive treatments for migraine. Originally developed for heart conditions, they were found to reduce migraine frequency in many patients. The exact mechanism isn't fully understood, but they may stabilize blood vessels and reduce sensitivity to migraine triggers.

Treatment typically starts at a low dose and is increased gradually. Side effects can include fatigue, dizziness, cold hands and feet, and exercise intolerance. Beta-blockers are particularly useful for people who also have high blood pressure or anxiety, but they're not suitable for those with asthma or certain heart conditions.

When stopping beta-blockers, it's important to taper gradually rather than stopping suddenly, as abrupt discontinuation can cause rebound effects including elevated blood pressure and heart rate.

Antidepressants

Certain antidepressants, particularly amitriptyline, are effective for migraine prevention even in people without depression. Amitriptyline belongs to the tricyclic antidepressant class and works by affecting neurotransmitters involved in pain processing. It's typically taken at bedtime because it can cause drowsiness.

Common side effects include dry mouth, constipation, weight gain, and morning drowsiness. These often improve over time. Amitriptyline is particularly useful for people who also have tension-type headaches or difficulty sleeping. Alcohol should be avoided or limited as it can intensify drowsiness.

Anti-Epileptic Medications

Topiramate and valproate are anti-epileptic drugs that have proven effective for migraine prevention. They work by reducing brain excitability, making migraine attacks less likely to occur. Topiramate is often preferred because it may cause weight loss rather than gain, but it can affect cognitive function and cause tingling sensations.

Valproate is effective but has significant considerations for women of childbearing age due to risks of birth defects. Both medications require careful dose adjustment and monitoring. They're typically reserved for cases where other preventive treatments haven't worked.

⚠️ Important warning about pregnancy:

Valproate must not be used during pregnancy due to serious risks of birth defects and developmental problems. Women who could become pregnant should use effective contraception and discuss alternatives with their doctor. Topiramate also carries pregnancy risks and requires contraception.

What Are CGRP Antibodies and How Do They Work?

CGRP antibodies are a newer class of preventive medications that block calcitonin gene-related peptide, a protein central to migraine attacks. Options include erenumab, fremanezumab, and galcanezumab, given as monthly or quarterly self-injections. They can reduce migraine days by 50% or more with minimal side effects.

CGRP (calcitonin gene-related peptide) antibodies represent a breakthrough in migraine treatment because they are the first medications specifically developed to target the underlying mechanisms of migraine rather than being repurposed from other conditions. CGRP is a protein released during migraine attacks that causes blood vessel dilation and transmits pain signals. By blocking CGRP or its receptor, these medications prevent a key step in the migraine cascade.

Three CGRP antibodies are currently available: erenumab (which blocks the CGRP receptor), fremanezumab, and galcanezumab (which bind to CGRP itself). All are given as subcutaneous injections using pre-filled syringes or auto-injectors that patients can administer themselves at home. Erenumab and galcanezumab are given monthly, while fremanezumab can be given monthly or quarterly.

Clinical trials show that approximately 50% of chronic migraine patients experience at least a 50% reduction in monthly migraine days with CGRP antibody treatment. Some patients experience even greater improvement, and a significant proportion become migraine-free. Benefits often begin within the first month of treatment.

Who Is Eligible for CGRP Antibodies?

CGRP antibodies are approved for patients who experience at least 4 migraine days per month. They're particularly valuable for people who haven't responded adequately to other preventive treatments or who cannot tolerate them. In many healthcare systems, they're initially prescribed for patients with chronic migraine (15 or more headache days per month) who have tried other preventive options.

The medications are monitored by neurologists or headache specialists who track efficacy and side effects. Treatment is typically continued if there's a meaningful reduction in migraine frequency and disability.

Side Effects and Considerations

CGRP antibodies are generally very well tolerated. The most common side effects are injection site reactions - pain, redness, or swelling where the injection is given. Some patients experience constipation. Unlike many older preventive medications, CGRP antibodies don't cause weight gain, drowsiness, or cognitive impairment.

Because CGRP plays roles in wound healing and cardiovascular function, there were initial concerns about potential cardiovascular effects. However, clinical trials and post-marketing surveillance have been reassuring. Still, these medications are relatively new, and long-term effects continue to be monitored.

Can Overusing Pain Medication Make Migraines Worse?

Yes, using acute migraine medications more than 9-10 days per month can lead to medication overuse headache (MOH), where the medication itself causes more frequent headaches. This applies to all pain relievers, triptans, and combination analgesics. Breaking the cycle requires stopping the overused medication with medical guidance.

Medication overuse headache (MOH), previously called rebound headache, is a frustrating condition where the treatments meant to relieve headaches actually perpetuate them. It develops when acute headache medications are used too frequently - typically more than 10-15 days per month for simple analgesics or 10 days per month for triptans, opioids, or combination medications.

The underlying mechanism involves changes in brain chemistry and pain processing. Regular exposure to pain medication causes the brain to adapt in ways that actually lower the threshold for pain, making headaches more likely to occur. The person then takes more medication to treat these headaches, perpetuating the cycle.

Warning signs of medication overuse headache include needing medication more frequently, headaches becoming more frequent over time, medications becoming less effective, and awakening with headaches that improve after taking medication. The headache pattern may change from distinct migraine attacks to a more constant, daily or near-daily headache.

Breaking the Cycle

Treatment of medication overuse headache requires stopping the overused medication - a process called withdrawal. This can be challenging because headaches typically worsen temporarily before improving. Withdrawal should be done under medical supervision, as symptoms can include intensified headache, nausea, sleep disturbance, and anxiety.

Depending on the medication being overused and the severity of symptoms, withdrawal may be done abruptly or gradually. Preventive medications are typically started or optimized during this period to help reduce headaches as the brain readjusts. Many people experience significant improvement within 2-3 months, with headaches returning to their original pattern and becoming responsive to acute medication again.

Tracking your medication use:

Keeping a headache diary that records when you take medication helps prevent overuse. Note every dose of every pain reliever or migraine medication. If you find you're using medication more than 2 days per week on average, speak with your healthcare provider about preventive treatment options.

How Are Migraines Treated in Children and Teenagers?

Children with migraine can use paracetamol or ibuprofen for acute attacks. Children over 12 can use certain triptan nasal sprays. Oral triptans are generally not recommended under 18. Taking medication early is crucial, and preventive treatment may be considered for frequent attacks.

Migraine affects approximately 10% of school-age children, making it one of the most common causes of missed school. While many principles of adult migraine treatment apply to children, there are important differences in medication choices and safety considerations.

For acute attacks, paracetamol and ibuprofen are first-line treatments and are often effective when given early in the attack. The key challenge is that children often wait too long before mentioning their headache, by which time the migraine is harder to treat. Teaching children to recognize early warning signs and take medication promptly can significantly improve outcomes.

Triptan nasal sprays are approved for children over 12 in many regions and can be very effective for moderate to severe attacks. However, oral triptan tablets are generally not recommended for children and teenagers under 18, as their effectiveness hasn't been clearly demonstrated in this age group.

When Preventive Treatment Is Needed

Children who have frequent migraines - particularly those with attacks more than three times per month or those missing significant school time - may benefit from preventive treatment. Options are more limited than in adults, and the decision requires careful consideration of benefits versus risks.

Lifestyle measures are particularly important in childhood migraine and may reduce the need for preventive medication. Regular sleep patterns, consistent meal times, adequate hydration, regular physical activity, and stress management can significantly reduce migraine frequency in many children.

What Migraine Medications Are Safe During Pregnancy?

Paracetamol is the safest pain reliever during pregnancy. NSAIDs should be avoided, especially in the third trimester. Triptans should be discussed with your doctor - some may be used when necessary. Preventive medications require careful evaluation. Always use emergency medication for severe reactions regardless of pregnancy.

Managing migraine during pregnancy requires balancing the risks of medication against the risks of untreated severe headaches, which can include dehydration, poor nutrition, stress, and reduced quality of life. Many women find that their migraines improve during pregnancy, particularly during the second and third trimesters, but this isn't universal.

Paracetamol (acetaminophen) is considered the safest pain reliever during pregnancy and is the first-line treatment for migraine attacks. It should be used at the lowest effective dose for the shortest duration needed.

NSAIDs like ibuprofen and naproxen should generally be avoided during pregnancy, particularly during the third trimester when they can affect fetal circulation and the onset of labor. They may be used cautiously in the first and second trimesters in some cases, but only after discussing with a healthcare provider.

Triptans fall into a gray area. While they're not specifically recommended during pregnancy, accumulated safety data on sumatriptan in particular is relatively reassuring. Many headache specialists will prescribe triptans when needed for severe attacks that don't respond to paracetamol, weighing the known risks of untreated severe migraine against the theoretical risks of medication.

Preventive Medications and Pregnancy

Most preventive migraine medications require careful consideration during pregnancy. Beta-blockers may be used when necessary but require monitoring as they can affect fetal heart rate and blood sugar. Valproate is absolutely contraindicated due to high risks of birth defects. Topiramate carries significant pregnancy risks. CGRP antibodies don't have sufficient safety data in pregnancy and are generally stopped when pregnancy is planned.

Women who are planning pregnancy should discuss their migraine management with their healthcare provider well in advance to optimize treatment and make any necessary medication changes before conception.

How Do Migraine Medications Affect My Ability to Drive?

Some migraine medications can cause drowsiness, dizziness, or visual disturbances that impair driving. Assess your individual response before driving. The migraine attack itself can also affect vision and reaction time. You are responsible for determining if you're safe to drive.

Both migraine attacks and migraine medications can affect your ability to safely operate vehicles or machinery. During a migraine, visual disturbances (including aura), cognitive impairment, and the distraction of severe pain can all impair driving safety. Many people with migraine should not drive during an attack, regardless of medication use.

Among migraine medications, those most likely to affect driving include sedating medications like amitriptyline, anti-epileptics that can affect concentration, and occasionally triptans which can cause dizziness or fatigue in some people. It's important to understand how medications affect you personally before driving.

When starting a new medication, avoid driving until you understand its effects on you. If you experience drowsiness, visual changes, or delayed reaction time, don't drive. These effects often diminish over time as your body adjusts to the medication.

Frequently Asked Questions About Migraine Medications

Medical References and Sources

This article is based on current medical research and international guidelines. All claims are supported by scientific evidence from peer-reviewed sources.

  1. American Academy of Neurology (2021). "Practice guideline update: Pharmacologic treatment for episodic migraine prevention in adults." AAN Guidelines Evidence-based recommendations for migraine prevention. Evidence level: 1A
  2. Headache Classification Committee of the International Headache Society (2018). "The International Classification of Headache Disorders, 3rd edition (ICHD-3)." Cephalalgia Diagnostic criteria and classification for headache disorders.
  3. Silberstein SD, et al. (2023). "Evidence-based guideline update: Acute treatment of migraine in adults." Guidelines for acute migraine treatment in clinical practice.
  4. Ashina M, et al. (2021). "Migraine: disease characterisation, biomarkers, and precision medicine." The Lancet. Comprehensive review of migraine pathophysiology and treatment.
  5. Cochrane Database of Systematic Reviews. "Triptans for acute migraine in adults." Systematic review of triptan efficacy and safety. Evidence level: 1A
  6. Dodick DW, et al. (2023). "CGRP-targeting monoclonal antibodies for migraine prevention: A systematic review and meta-analysis." Evidence synthesis for CGRP antibody treatments.
  7. World Health Organization (2023). "Headache disorders - Key facts." WHO Fact Sheet Global epidemiology of headache disorders.

About Our Medical Editorial Team

This article was written and reviewed by our medical editorial team, which includes specialists in neurology, headache medicine, and clinical pharmacology. Our content follows strict editorial guidelines based on the GRADE evidence framework.

Medical Writers

Licensed physicians with expertise in neurology and pharmacology who synthesize complex medical information into accessible content.

Medical Reviewers

Board-certified neurologists and headache specialists who verify accuracy and ensure content reflects current best practices.

Our Commitment: All content is independent, evidence-based, and free from commercial influence. We follow WHO, IHS, and AAN guidelines and use the GRADE framework to assess evidence quality.