Medication for migraines

Photo of a woman taking a tablet

Migraine attacks can be treated with painkillers or migraine medication. If needed, medicine for nausea and vomiting can be taken as well. But if painkillers are taken too often, they themselves may cause headaches.

Lying down in a dark, cool room may be enough to relieve mild migraines. Migraines are usually very painful, though, so most people take medication to get through them. Over-the-counter painkillers may be effective enough for moderate pain. But stronger medication is sometimes needed for more severe migraines. If you often have migraines, it's a good idea to have different kinds of medicine on hand.

The following medications can be used to treat migraine:

  • The group of painkillers known as NSAIDs (non-steroidal ) and acetaminophen (paracetamol)
  • Anti-nausea medication (antiemetics)
  • Special migraine medication (triptans and ergotamines)

Can painkillers like acetylsalicylic acid or acetaminophen (paracetamol) help?

NSAID painkillers have been shown to effectively relieve migraine pain. The most commonly used painkillers in Germany are acetylsalicylic acid (ASA, used in medicines like Aspirin), diclofenac, ibuprofen and acetaminophen (paracetamol). Research has shown that these drugs are effective in treating migraine: Migraine pain disappeared within two hours in about

  • 10 out of 100 people who did not take painkillers.
  • 20 out of 100 people who took painkillers.

In other words, the pain was gone in an extra 10 out of 100 people two hours after taking the medicine. Another 20 out of 100 people can expect some pain relief. The effectiveness of a drug will depend on things like the severity of the migraine and the dose used.

How effectively do painkillers relieve migraine headaches?

Effectiveness of painkillers

The following table shows the doses commonly used to treat migraines in adults:

Drug Dose taken for a migraine attack Maximum daily dose for adults
Acetylsalicylic acid 1,000 mg 3,000 mg
Diclofenac 50 mg 150 mg
Ibuprofen 400 mg 2,400 mg
Acetaminophen (paracetamol) 1,000 mg 4,000 mg

What are the side effects?

Side effects are rare because painkillers are usually only used for a short time in migraine treatment. In studies, ibuprofen caused stomach ache in less than 1 out of 100 people. Other drugs didn't have any side effects. But taking painkillers may be a problem for people who already have certain conditions, such as kidney damage.

NSAIDs can also affect the stomach lining, so they aren't suitable for people who have stomach ulcers. Acetylsalicylic acid can reduce the blood's ability to clot, increasing the risk of bleeding. Usually the bleeding is slight, for instance a nosebleed or bleeding gums. In rare cases it may be more serious, for example in the gastrointestinal tract. High doses of NSAIDs can also increase the risk of complications in people who have cardiovascular disease.

Acetaminophen (paracetamol) is not suitable for people with impaired liver function because it is broken down in the liver. At high doses it can even cause liver damage in people who are otherwise healthy. So it's important not to exceed the maximum recommended daily dose.

What drugs relieve nausea?

If you feel nauseous during migraine attacks, you can take domperidone or metoclopramide in addition to painkillers. It is estimated that these drugs relieve nausea and vomiting in about 40 out of 100 people. Combination drugs are also available. They combine a painkiller with a drug for nausea relief, for instance acetaminophen (paracetamol) with metoclopramide.

How do migraine medications like triptans and ergotamines work?


Triptans were developed specifically for the treatment of migraine. All of the triptans narrow the blood vessels in the brain and inhibit the release of chemical messengers that contribute to . Triptans can relieve pain and help reduce nausea and sensitivity to light. Seven different triptans are currently available in Germany:

  • almotriptan
  • eletriptan
  • frovatriptan
  • naratriptan
  • rizatriptan
  • sumatriptan
  • zolmitriptan

Some of these drugs can be used in different forms: tablets, capsules, nasal sprays, suppositories, injection solutions or lozenges that are placed under the tongue. Injections can be given using a pre-filled pen that your doctor can prescribe. Most triptans are prescription-only. Almotriptan and naratriptan are available without a prescription.

Because of chemical differences between the triptans, they are sometimes taken in different doses. For instance, sumatriptan tablets have 50 or 100 mg of sumatriptan in them, whereas zolmitriptan tablets contain 2.5 or 5 mg of zolmitriptan. The different triptans also differ in terms of their duration of action. Some of them start working more quickly and have a shorter effect. This means that if one triptan doesn't provide enough relief, it might be worth trying another.

All triptans can help relieve migraines. Studies on the most commonly prescribed triptan, sumatriptan (50 mg), for example, show the following: Migraine pain went away within two hours in

  • about 10 out of 100 people who did not use sumatriptan.
  • 20 to 30 out of 100 people who used sumatriptan.

So an additional 10 to 20 out of 100 people had no pain two hours later. And the drug offered at least some pain relief in another 25 out of 100 people.

How effectively do triptans relieve migraine headaches?

Effectiveness of triptans

How quickly and effectively a drug works will depend on the severity of the migraine, the dose of the drug and how it is administered. For instance, injections are faster and more effective than other forms of administration, but they also have more side effects.

The possible side effects of triptans include drowsiness, unusual sensations such as tingling, weakness, heat or cold, and sometimes mild nausea as well. Using a suppository or injection might help avoid nausea. But triptans aren't suitable for people who have cardiovascular (heart and blood vessel) diseases. This is because triptans can narrow the blood vessels and increase blood pressure, although this is rare.


Prescription migraine drugs may also contain ergotamines, which are made from a fungus called ergot. For nearly one century it was the only migraine-specific drug. Ergotamines are used less nowadays for the treatment of migraine attacks because they have more side effects than triptans do. The use of ergotamines for the prevention of migraines hasn't been approved in Germany since 2014.

Which medications are suitable for children and teenagers?

Medications sometimes have different effects in children and teenagers than they do in adults. Young people need other doses, and some of the side effects are also different. The following medications have been approved in Europe for the treatment of migraines in children and teenagers:

  • ibuprofen
  • acetaminophen (paracetamol): for children ages 12 and up, also in combination with metoclopramide
  • sumatriptan: as a nasal spray for children ages 12 and up

It is not clear whether acetaminophen can relieve migraine symptoms in children and teenagers. Several studies have shown that ibuprofen can help relieve migraine attacks. There were no serious side effects in the studies involving children with migraines. Mild side effects like stomach ache were rare.

The sumatriptan nasal spray also helped relieve migraine attacks in children and teenagers. Mild side effects were more common though, such as an unpleasant taste or nausea.

Children and teenagers are sometimes prescribed medication that hasn't been approved for their age group. This is known as "off-label use." If your doctor prescribes a medication off-label, then he or she needs to explain why and tell you about the associated risks.

What can happen if you take painkillers too often?

Painkillers or triptans can themselves cause headaches if used too often. These headaches are known as medication overuse headaches or rebound headaches. Medication overuse headaches cause a dull pain that affects the entire head. Pain from a migraine is more of a throbbing pain, and is accompanied by other symptoms. Medication overuse headaches are chronic, occurring on more than 15 days per month for three months. People with this kind of headache may still have migraine attacks.

If you have medication overuse headaches, it makes sense to stop taking the medication for a while, even if the headache gets worse at first and there are other withdrawal symptoms such as restlessness, trouble sleeping or nausea.

Sometimes medication is used for preventive purposes. The aim is to reduce the number of migraine attacks – and also reduce the need for painkillers and migraine medications in the long term.

Barnes NP. Migraine headache in children. BMJ Clin Evid 2015: pii: 0318.

Bird S, Derry S, Moore RA. Zolmitriptan for acute migraine attacks in adults. Cochrane Database Syst Rev 2014; (5): CD008616.

Damen L, Bruijn JK, Verhagen AP et al. Symptomatic treatment of migraine in children: a systematic review of medication trials. Pediatrics 2005; 116(2): e295-302.

Derry CJ, Derry S, Moore RA. Sumatriptan (all routes of administration) for acute migraine attacks in adults - overview of Cochrane reviews. Cochrane Database Syst Rev 2014; (5): CD009108.

Derry CJ, Derry S, Moore RA. Sumatriptan (oral route of administration) for acute migraine attacks in adults. Cochrane Database Syst Rev 2012; (2): CD008615.

Derry S, Moore RA. Paracetamol (acetaminophen) with or without an antiemetic for acute migraine headaches in adults. Cochrane Database Syst Rev 2013; (4): CD008040.

Derry S, Rabbie R, Moore RA. Diclofenac with or without an antiemetic for acute migraine headaches in adults. Cochrane Database Syst Rev 2013; (4): CD008783.

Deutsche Gesellschaft für Neurologie (DGN), Deutsche Migräne- und Kopfschmerzgesellschaft (DMKG). Therapie der Migräneattacke und Prophylaxe der Migräne (S1-Leitlinie). AWMF-Registernr.: 030-057. 2020.

Evers S, Marziniak M. Clinical features, pathophysiology, and treatment of medication-overuse headache. Lancet Neurol 2010; 9(4): 391-401.

Kirthi V, Derry S, Moore RA. Aspirin with or without an antiemetic for acute migraine headaches in adults. Cochrane Database Syst Rev 2013; (4): CD008041.

Rabbie R, Derry S, Moore RA. Ibuprofen with or without an antiemetic for acute migraine headaches in adults. Cochrane Database Syst Rev 2013; (4): CD008039.

Richer L, Billinghurst L, Linsdell MA et al. Drugs for the acute treatment of migraine in children and adolescents. Cochrane Database Syst Rev 2016; (4): CD005220.

Singh RB, VanderPluym JH, Morrow AS et al. Acute Treatments for Episodic Migraine (AHRQ Effective Health Care Programme). 2022.

IQWiG health information is written with the aim of helping people understand the advantages and disadvantages of the main treatment options and health care services.

Because IQWiG is a German institute, some of the information provided here is specific to the German health care system. The suitability of any of the described options in an individual case can be determined by talking to a doctor. can provide support for talks with doctors and other medical professionals, but cannot replace them. We do not offer individual consultations.

Our information is based on the results of good-quality studies. It is written by a team of health care professionals, scientists and editors, and reviewed by external experts. You can find a detailed description of how our health information is produced and updated in our methods.

Comment on this page

What would you like to share with us?

We welcome any feedback and ideas. We will review, but not publish, your ratings and comments. Your information will of course be treated confidentially. Fields marked with an asterisk (*) are required fields.

Please note that we do not provide individual advice on matters of health. You can read about where to find help and support in Germany in our information “How can I find self-help groups and information centers?

Updated on August 4, 2022
Next planned update: 2025


Institute for Quality and Efficiency in Health Care (IQWiG, Germany)

How we keep you informed

Follow us on Twitter or subscribe to our newsletter or newsfeed. You can find all of our films online on YouTube.