U.S. flag

An official website of the United States government

NCBI Bookshelf. A service of the National Library of Medicine, National Institutes of Health.

InformedHealth.org [Internet]. Cologne, Germany: Institute for Quality and Efficiency in Health Care (IQWiG); 2006-.

Cover of InformedHealth.org

InformedHealth.org [Internet].

Show details

Medication for migraines

Last Update: May 30, 2018; Next update: 2021.

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 may be 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 anti-inflammatory drugs) 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:

  • Without painkillers, migraine pain disappeared within two hours in about 10 out of 100 people.
  • With painkillers, it disappeared within the same time in about 20 out of 100 people.

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 mg3,000 mg
Diclofenac50 mg150 mg
Ibuprofen400 mg2,400 mg
Acetaminophen (paracetamol) 1,000 mg4,000 mg

What are the side effects?

Side effects are rare since 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 act to narrow the blood vessels in the brain and inhibit the release of chemical messengers that contribute to inflammation. 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:

  • Without sumatriptan, migraine pain went away within two hours in about 10 out of 100 people.
  • With sumatriptan, the pain disappeared in the same time in 20 to 30 out of 100 people.

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 also 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. They 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's not clear whether acetaminophen can relieve migraine symptoms in children and teenagers. Several studies show 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 can also be 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.


© IQWiG (Institute for Quality and Efficiency in Health Care)
Bookshelf ID: NBK279371


Informed Health Links

Related information

  • PMC
    PubMed Central citations
  • PubMed
    Links to PubMed

Recent Activity

Your browsing activity is empty.

Activity recording is turned off.

Turn recording back on

See more...