Key takeaways:
Migraine treatments include both acute and preventive options. Acute treatments aim to stop headache pain as it starts. Preventive treatments work to keep your headaches from occurring in the first place.
Nonsteroidal anti-inflammatory medications (NSAIDs), triptans, and other prescription treatments can help lessen headache pain.
Strategies to manage migraine headaches include migraine trigger avoidance, therapy, and other natural treatments.
A migraine is a type of recurring, painful headache. Some people experience visual or sensory changes, known as a migraine aura, before their pain begins. Migraines can also cause other symptoms like an upset stomach, fatigue, and sensitivity to light and/or sound.
Migraines can last for several hours or even days. And symptoms can be severe enough that they disrupt daily activities. Fortunately, there are many options to help treat migraines. Let’s take a closer look at the best medications, home remedies, and other treatments to help your migraine attacks.
Depending on your situation, you and a healthcare professional can decide together which treatments are best for you. These might include medications to treat migraines when they occur (acute treatments). Treatments might also be medications that you take on a daily basis to prevent migraines from starting in the first place (preventive). Some medications can do both jobs. Here, we’ll focus on acute treatments.
Migraine medications come in many different forms:
Oral pills
Dissolvable tablets
Nasal sprays
Injections
IV (intravenous) infusions
There are many types of medications that can stop an acute migraine attack in progress. First-choice medications often include over-the-counter (OTC) pain relievers like NSAIDs or acetaminophen (Tylenol), triptans, and anti-nausea medications. These can be used alone or in combination with each other. Let’s take a closer look at these medications.
Tension headache, migraine, or something else? Here’s how to tell what kind of headache you have and when to seek medical attention.
Stress and headaches: Learn about some of the best ways to get rid of a tension headache.
Living with cluster headaches: Find out how three people manage their cluster headaches and what strategies work for them.
As many as 40% of people who experience migraines never seek medical treatment, instead managing the headaches on their own. The two mainstays of OTC migraine treatment are NSAIDs and acetaminophen.
NSAIDs are a well-known remedy for managing migraines. They work by directly relieving headache pain and inflammation. Many NSAIDs are inexpensive, easy to get without a prescription, and well tolerated. All NSAIDs seem to be equally helpful for migraines and they work better than acetaminophen (Tylenol).
NSAIDs are beneficial because they:
Can lessen pain and inflammation caused by a variety of conditions
Are available over the counter (OTC)
Can be combined with triptans and anti-nausea medications
Can be taken in oral and non-oral forms (by prescription)
The downsides include that NSAIDs:
Might not help with severe migraine attacks
May require high doses to be effective
May raise the risk of heart attack or stroke if non-aspirin NSAIDs are used for a long period of time
May raise the risk of stomach or intestinal bleeding
May require a prescription, depending on the version
There’s some evidence that certain NSAIDs may help prevent migraines from occurring. But frequent use may lead to medication overuse headaches, also known as rebound headaches. The risk of rebound headaches is higher with NSAIDs than with triptans.
Acetaminophen (Tylenol) is a common OTC pain medication. It may help block pain signals in your brain, which relieves migraine pain. Unlike NSAIDs, acetaminophen doesn’t help lessen inflammation.
Acetaminophen options for migraine headaches include:
Acetaminophen (Tylenol)
Acetaminophen / caffeine / aspirin (Excedrin)
Some benefits of acetaminophen include that it’s:
Inexpensive
Available OTC
Able to be combined with triptans and anti-nausea medications
However, with acetaminophen:
You may need high doses to treat pain symptoms
High doses may lead to liver injury
When combined with other medications, it may be more likely to cause rebound headaches if used more than 15 days per month
Headache specialists generally don’t recommend combination medications (like Excedrin Migraine). These are more likely to cause rebound headaches. This may be because acetaminophen is less effective than NSAIDs in treating migraines, so people are more likely to overuse it. Also, the caffeine in some combination medications may act as a migraine trigger for some people.
When OTC medications aren’t effective for treating migraines, prescription medications may be able to help. A recent meta-analysis published in BMJ looked at 137 studies on medications to treat migraines. The authors concluded that triptans are the most effective for relieving migraine acutely within 2 hours of onset.
But each person is different, and you have to choose the best treatment given your medical history and symptoms. One class of medication may not work for you, but fortunately there are other options. Let’s take a look at the different types of prescription migraine treatments.
Triptans are used to stop a migraine in progress. If NSAIDs aren’t helpful, a healthcare professional may recommend trying a triptan. These medications help to lessen inflammation and pain during a migraine. They can also help with symptoms like nausea and light sensitivity.
Triptans for migraines include:
Naratriptan (Amerge)
Zolmitriptan (Zomig)
Rizatriptan (Maxalt)
Frovatriptan (Frova)
Eletriptan (Relpax)
Sumatriptan (Imitrex)
Sumatriptan / Naproxen (Treximet)
Some benefits of triptans include that they:
Are specifically designed to stop migraine attacks in progress
Work on severe migraines
Can be combined with NSAIDs and anti-nausea medications
Can be taken orally or non-orally
Are available as a combination pill with NSAIDs (Treximet)
However, triptans are:
Not for people with cardiovascular (heart and blood vessel) disease
Only available by prescription
Often expensive
Involved in causing medication overuse headache if used more than 15 days per month
Triptans come in many forms:
Pills
Injections
Oral melts
Nasal sprays
Triptans work well to lessen nausea associated with migraines. And because they can be taken in many forms, they’re an especially good option for people who have nausea and vomiting with their migraines.
They’re generally most effective when taken at the start of a headache. Some people may have uncomfortable side effects with these medications, such as jaw tightness or fatigue.
For people who don’t respond to NSAIDS or triptans, medications developed for acute migraines may be an option. These medications work on receptors in the brain to lessen inflammation and headache pain.
Some advantages to these medications include:
They may be safer than triptans for people with heart or blood vessel disease.
Some medications are available as oral melts (like rimegepant).
Some can be combined with other medications, like triptans.
Here are some disadvantages of these medications include that they:
Are only available by prescription
May cost more than other options
Lasmiditan (Reyvow) only works on specific serotonin receptors in your brain. It doesn’t affect the blood vessels in your body or heart. Also, ubrogepant and rimegepant don’t seem to cause vasoconstriction (blood vessel narrowing). This might make these new types of medications a safer option for people with cardiovascular disease.
Dihydroergotamine is an older medication. It’s generally used when other medications haven’t been successful or for migraines lasting more than 3 to 4 days. Dihydroergotamine narrows the blood vessels in your brain to lessen migraine pain. So, it’s not safe for people with a history of heart or blood vessel disease.
Dihydroergotamine examples include:
Dihydroergotamine (D.H.E. 45)
Dihydroergotamine has some advantages. For example, it:
Works on severe migraines
May be helpful for other types of headaches
Can be combined with anti-nausea medications
Is inexpensive
But dihydroergotamine:
Can increase nausea and vomiting
Is only available by prescription
Can’t be combined with triptans or with some NSAIDs
Can’t be taken orally
Dihydroergotamine isn’t well absorbed when taken as a pill or tablet. It must be given as an injection, nasal spray, or intravenous (IV) infusion.
If you have nausea and vomiting with your migraines, a healthcare professional may also suggest a medication to help with these symptoms. These block signals in your brain that cause nausea and vomiting.
Anti-nausea medication is often combined with NSAIDs and triptans. They generally work best if taken before nausea and vomiting are severe.
Examples of anti-nausea medications for migraines include:
Ondansetron (Zofran)
Metoclopramide (Reglan)
Promethazine (Phenergan)
Anti-nausea medications can:
Relieve nausea and vomiting during a migraine
Help other medications like NSAIDs and triptans be better absorbed
Be inexpensive
Be taken in different forms
Unfortunately, anti-nausea medications:
Are only available by prescription
May have additional side effects and risks in some people
Anti-nausea medication can make your other acute medications work better. That’s because having an upset stomach can make it harder for your body to absorb medication.
In addition to medications, natural, complementary, and alternative medicine treatments may help reduce migraine pain. These include home remedies like:
Applying hot or cold packs to your neck, head, or belly
Acupressure (pushing on specific pressure points on your body)
Self-massage or compression (squeezing your head or temples)
Aromatherapy (like lavender or mint)
Foods and drinks are important to consider during a migraine attack. Staying hydrated with water or electrolyte-replacement drinks may help improve your symptoms. This is especially important if you have been vomiting. Although food doesn’t seem to help a migraine attack that’s already in progress, a healthy diet can help migraines overall.
Caffeine can help lessen headache pain, especially if used at the start of a headache. But too much caffeine may cause withdrawal headaches, especially if used on a daily basis. If caffeine is helpful for your migraines, talk with a healthcare professional about how to use it safely.
There are many herbs and supplements that may help prevent migraines. For an acute attack, ginger powder may be especially helpful. In one study, ginger worked as well as sumatriptan for relieving migraines. Ginger is also a cheap and effective treatment for nausea and vomiting.
Learning about and avoiding your migraine triggers can help you prevent and manage attacks. Common migraine triggers include:
Stress
Lack of sleep
Certain foods like alcohol, processed meats, and aged cheese
Strong odors, bright lights, or loud noises
Extreme physical activity
Keeping a headache diary can help you figure out your triggers and learn to avoid them.
Working with other healthcare professionals like therapists or acupuncturists can provide additional support for managing migraines.
Cognitive behavioral therapy (CBT) can help you learn to manage your migraine attacks. CBT can help with stress and mood, while teaching you pain-management techniques like:
Meditation
Progressive muscle relaxation
Visualization
For some, these skills can reduce or stop migraine pain and other symptoms during an attack.
There’s also evidence that acupuncture can prevent migraines. It can also help with an attack in progress. For acute relief during a migraine attack, acupuncture is generally done in-office.
Various medical therapies can help manage acute migraines. Specialized neurostimulation devices may be able to change how your body perceives and processes pain. There are a wide variety of neurostimulation devices that can be used to treat chronic headaches. These devices can help some people get pain relief without the use of medications. They are generally safe and well-tolerated.
Neurostimulation devices can be used in-office or prescribed for home use. These devices deliver a painless electrical current through your skin to help reduce pain.
When all other treatments haven’t worked, some people may choose to try a type of neurostimulation device that’s embedded under the skin. This device connects to your nerves and offers pain relief. People generally work with a pain specialist to use and manage this device.
Having a plan to manage your migraines at home is important. Keeping a migraine diary can help you understand your own unique prodrome, aura, and headache symptoms. By working with a healthcare professional, you can create a plan for managing your migraine headaches.
A good migraine management plan includes:
Medication
Home remedies
Trigger avoidance
Complementary therapies (like acupuncture or CBT)
Using a headache tracking tool (like an app or printable diary) is a great strategy to help you understand your migraines, identify triggers, and learn which treatments work the best.
Tracking your headaches and medications can also help you avoid medication overuse headaches.
You may be having rebound headaches if your migraines are getting worse or if your medications don’t seem to be working very well. A healthcare professional can help you manage these issues by setting limits on certain medication use and developing a more effective treatment strategy.
For more information about migraines and resources for how to get relief, check out the following:
There are certain foods that can trigger migraines. These include:
Alcohol (like red wine)
Foods or drinks with artificial sweeteners (like aspartame or sucralose)
Beans
Caffeine
Cheeses, yogurt, and aged foods
Foods containing MSG (monosodium glutamate)
Processed meats with sulfites (like jerky, bacon, sausages, and deli meat)
There’s not a lot of research on drinks that help with migraines. One review study looked at foods and supplements. They found that the following might be safe and helpful with migraines:
Water
Drinks high in magnesium (like citrus juice, prune juice, and green tea)
Yes, dehydration can cause migraines in some people. About one-third of people who get migraines say that dehydration is a trigger. One study found that the severity and duration of a migraine were worse in people who drank less water compared to those who drank more. More studies are needed to figure out how much water is needed each day to prevent triggering migraines.
Migraine headaches can disrupt daily life. Fortunately, there are treatments that can help. Some medications can help stop the headache pain when it starts. Other treatments — like avoiding migraine triggers — can help you prevent them from happening.
Talk with a healthcare professional if you’re having migraine headaches. They can help develop a treatment plan that works best for you.
Allais, G., et al. (2012). Acupressure in the control of migraine-associated nausea. Neurological Sciences.
American Migraine Foundation. (2016). Medication overuse headache.
American Migraine Foundation. (2016). Migraine and diet.
American Migraine Foundation. (2017). Top 10 migraine triggers and how to deal with them.
American Migraine Foundation. (2019). Headache journals: Tracking your migraine.
Bigal, M. E., et al. (2013). Why does sleep stop migraine? Current Pain and Headache Reports.
Fischer, M. A., et al. (2023). Medication-overuse headache. StatPearls.
Gilmore, B., et al. (2011). Treatment of acute migraine headache. American Family Physician.
Gray, A. (2016). Targeting the CGRP protein could lead to a preventative treatment for migraine. The Pharmaceutical Journal.
Holland, S., et al. (2012). Evidence-based guideline update: NSAIDs and other complementary treatments for episodic migraine prevention in adults. Neurology.
International Neuromodulation Society. (2017). Neurostimulation and headache disorders.
Jahromi, S. R., et al. (2019). Association of diet and headache. The Journal of Headache and Pain.
Karlsson, W. K., et al. (2024). Comparative effects of drug interventions for the acute management of migraine episodes in adults: systematic review and network meta-analysis. The BMJ.
Khorsha, F., et al. (2020). Association of drinking water and migraine headache severity. Journal of Clinical Neuroscience.
Láinez, M. J. A., et al. (2013). Optimal management of severe nausea and vomiting in migraine: Improving patient outcomes. Patient Related Outcome Measures.
Lakhan, S. E., et al. (2016). The effectiveness of aromatherapy in reducing pain: A systematic review and meta-analysis. Pain Research and Treatment.
Lipton, R. B., et al. (1998). Medical consultation for migraine: Results from the American Migraine Study. Headache.
Maghbooli, M., et al. (2014). Comparison between the efficacy of ginger and sumatriptan in the ablative treatment of the common migraine. Phytotherapy Research.
Marmura, M. J., et al. (2020). Incorporating remote electrical neuromodulation into usual care reduces acute migraine medication use: An open-label extension study. Frontiers in Neurology.
Mayans, L., et al. (2018). Acute migraine headache: Treatment strategies. American Family Physician.
Molsberger, A. (2012). The role of acupuncture in the treatment of migraine. Canadian Medical Association Journal.
National Center for Complimentary and Integrative Health. (2020). Feverfew.
Pardutz, A., et al. (2010). NSAIDs in the acute treatment of migraine: A review of clinical and experimental data. Pharmaceuticals.
Schuster, N. M., et al. (2016). New strategies for the treatment and prevention of primary headache disorders. Nature Reviews Neurology.
Shapiro, R. E., et al. (2019). Lasmiditan for acute treatment of migraine in patients with cardiovascular risk factors: Post-hoc analysis of pooled results from 2 randomized, double-blind, placebo-controlled, phase 3 trials. The Journal of Headache and Pain.
Sprouse-Blum, A. S., et al. (2013). Randomized controlled trial: Targeted neck cooling in the treatment of the migraine patient. Hawai’i Journal of Medicine & Public Health.
Sun-Edelstein, C., et al. (2009). Foods and supplements in the management of migraine headaches. The Clinical Journal of Pain.
U.S. Food and Drug Administration. (2018). FDA drug safety communication: FDA strengthens warning that non-aspirin nonsteroidal anti-inflammatory drugs (NSAIDs) can cause heart attacks or strokes.
Zanchin, G., et al. (2001). Self-administered pain-relieving manoeuvres in primary headaches. Cephalalgia.