Lock IconYour Privacy is Our Priority

Connect with others who understand.

  •   Learn from expert-reviewed resources
  •   Real advice from people who’ve been there
  •   People who understand what you’re going through
Sign Up Log In
Powered By

Migraine Treatments and How They Work

Updated on December 3, 2026

Key Takeaways

  • Migraine is a complex condition that goes beyond a bad headache, causing severe pain, light sensitivity, and nausea, but while there is no cure, a range of treatments can help prevent attacks and ease symptoms.
  • Migraine treatments generally fall into two groups: preventive options that help reduce how often attacks happen, and acute options taken when an attack begins to help bring relief. From medications like CGRP-targeting therapies, triptans, and NSAIDs to lifestyle changes like managing stress, keeping a regular sleep schedule, and tracking triggers, there are many approaches that people use to manage migraine.
  • If you experience frequent or recurring headaches, talking with a healthcare provider is a great first step, as they can help figure out what is going on and work with you to build a treatment plan that fits your needs.
  • View all takeaways

Migraine involves more than a bad headache. Migraine headaches can cause severe pain, light sensitivity, and nausea that can make everyday tasks feel impossible.

While there’s no cure for migraine, treatments can help prevent attacks and offer relief from symptoms. Most migraine treatments fall into two categories — preventive medications, which help avoid migraine attacks, and abortive (acute) medications, which treat migraine attacks once they start.

Your healthcare provider will recommend migraine treatments based on your age, health, and medical history.

What Types of Treatments Are Available for Migraine?

Some people may consider lifestyle changes, clinical trials, and alternative pain-relief techniques to manage migraine attacks. Some may use more than one medication to treat migraine, but this can increase the risk of side effects.

Certain migraine medications must be used within strict limits. If overused, they can raise the risk of developing chronic migraine — defined as having headaches on 15 or more days per month for more than three months, with migraine symptoms on at least eight days a month.

What Preventive Medications Treat Migraine?

Some prescription drugs help prevent migraine attacks. These medications work in different ways to reduce how often you have migraine attacks (frequency) or how severe they are.

CGRP-Targeting Therapies

Calcitonin gene-related peptide (CGRP) is a protein involved in sending pain signals in the body, including during a migraine attack. CGRP-targeting therapies help block the effects of this protein to help prevent migraine attacks.

The American Headache Society recommends CGRP-targeting therapies as a first-line treatment for migraine prevention. There are two main types of CGRP-targeting therapies — monoclonal antibodies and gepants.

Monoclonal Antibodies

These medications block CGRP or the receptor (attachment site) it binds to. They’re given as an injection or IV infusion to help prevent migraine attacks. Examples include:

Gepants

Most gepants are oral medications that block the CGRP receptor. Depending on the medication, gepants can be used to prevent migraine attacks, treat attacks after they start, or both. Gepants used for migraine prevention include:

For migraine prevention, atogepant is taken daily, whereas rimegepant is taken every other day.

Rimegepant is used to prevent episodic migraine, which involves having headaches on fewer than 15 days a month.

These medications can have side effects and other safety risks. For example, rimegepant may cause new or worsening high blood pressure or Raynaud’s phenomenon (a condition that reduces blood flow to areas such as the fingers and toes).

Refer to the prescribing information for your specific medication to learn more about its side effects and safety risks. Talk with your doctor about these risks before taking the medication.

Beta-Blockers

Beta-blockers can help prevent migraine attacks, but how these drugs work for migraine isn’t fully understood. One of the most commonly used beta-blockers for migraine prevention is propranolol hydrochloride (Inderal LA).

Beta-blockers may not be safe for people with asthma, low blood pressure, or certain heart conditions.

Some Anti-Seizure Drugs

Some anti-seizure medications can help prevent migraine attacks, although exactly how they work for migraine isn’t fully understood. Anti-seizure drugs prescribed for migraine prevention include:

Divalproex and topiramate have been shown to reduce the frequency of migraine attacks, but they can cause a range of side effects. Divalproex can also cause serious harm to a fetus, and topiramate may cause birth defects and other pregnancy-related problems.

Neither medication should be used for migraine prevention during pregnancy. Talk with your doctor about these risks if you’re pregnant or could become pregnant.

What Acute Medications Treat Migraine Attacks?

Some drugs are taken when a migraine attack begins and are called abortive or acute treatments. Generally, it’s best to take these medications as early as possible. Many can provide relief within two hours.

Follow your doctor’s instructions carefully, as doses and instructions for taking additional doses can vary.

CGRP Receptor Antagonists

Some gepants, also called CGRP receptor antagonists, can also be used at the onset of a migraine attack. They’re fast-acting and may be an option for people with certain heart or blood vessel problems. Gepants used to treat migraine attacks include:

NSAIDs

Nonsteroidal anti-inflammatory drugs (NSAIDs) are among the first treatments people use to relieve migraine pain. Some NSAIDs, such as aspirin, ibuprofen, and naproxen, are available over the counter (OTC). Others require a prescription, including:

  • Celecoxib (Elyxyb)
  • Diclofenac (Cambia)
  • Indomethacin
  • Ketorolac

Higher-dosage formulations of naproxen also require a prescription.

NSAIDs work by blocking the enzymes called cyclooxygenase, reducing the production of prostaglandins — chemicals that play a role in pain and inflammation.

Some NSAIDs can cause digestive problems, bleeding, and high blood pressure, especially when taken regularly or at higher doses.

Avoid overusing NSAIDs because doing so can lead to more frequent headaches. This is known as medication overuse headache.

Acetaminophen

Acetaminophen is an OTC analgesic (pain reliever) and antipyretic (fever reducer). Acetaminophen is believed to work by altering how the body senses pain. Some OTC products, such as Excedrin Migraine, combine acetaminophen, aspirin, and caffeine.

Caffeine is a stimulant and a vasoconstrictor — a substance that causes the blood vessels to narrow. Caffeine can also enhance the pain-relieving effects of acetaminophen and aspirin.

Triptans

Triptans are commonly used medications approved by the U.S. Food and Drug Administration (FDA) to treat migraine attacks. Triptans work by targeting serotonin receptors in the nervous system to reduce pain signals and inflammation and narrow blood vessels. Examples of triptans include:

Depending on the medication, triptans are available as tablets, nasal sprays, nasal powders, and injections.

Combination Medications

Some prescription migraine treatments combine two medications in one pill to help relieve pain in different ways. For some people, these combinations may work better than either medicine alone.

For example, sumatriptan and naproxen (Treximet) and rizatriptan and meloxicam (Symbravo) are taken when a migraine attack starts. Both combine a triptan with an NSAID.

Ergot Alkaloids

Certain ergot alkaloids are FDA-approved for the acute treatment of migraine and may be prescribed when triptans are ineffective. They may also be used when migraine attacks are difficult to manage with other medications. They generally work best when taken early in an attack.

Ergot alkaloids narrow blood vessels and help reduce the release of CGRP. Dihydroergotamine (Atzumi, Migranal, Trudhesa) is an example of an ergot alkaloid. Both Migranal and Trudhesa are nasal sprays, whereas Atzumi is a nasal powder.

Ergot alkaloids should be avoided by people with certain medical conditions, such as coronary artery disease or uncontrolled high blood pressure, because of the risk of serious side effects. They should also be avoided during pregnancy. Ergot alkaloids and triptans shouldn’t be taken within 24 hours of each other.

Other Medication Treatments for Migraine

Doctors have a range of other drugs to choose from for treating acute migraine symptoms and preventing migraine attacks.

5-HT1F Receptor Agonists

Lasmiditan is an oral medication FDA-approved for acute migraine treatment. It works by targeting a specific serotonin receptor (5-HT1F) in the nervous system to help reduce migraine pain. Lasmiditan may be an option for people who can’t take triptans because of heart or blood vessel problems.

Because lasmiditan can make you drowsy (sleepy), the drug label warns not to drive or operate machinery for at least eight hours after taking it, even if you feel alert.

Injections and Nerve Blocks

Botox, a formulation of onabotulinumtoxinA, is approved by the FDA to help prevent headaches in adults with chronic migraine. Botox is an injectable form of the neurotoxin (a substance that affects nerve function) produced by bacteria called Clostridium botulinum.

Botox is believed to help prevent migraine headaches by reducing the release of CGRP and other pain-signaling chemicals from nerve endings.

Nerve-blocking techniques are also used to treat some people with chronic migraine, including sphenopalatine ganglion block. This type of nerve block can be performed intranasally (through the nose). It involves applying a local anesthetic, a medication that temporarily blocks sensation in a specific area.

Clinical Trials

Some people with migraine participate in clinical trials. These research studies may test new drugs, procedures, different dosages of existing drugs, or combinations of existing drugs. Other clinical trials test the safety and efficacy of alternative treatments, such as herbal supplements.

Nonmedication Treatments for Migraine

Other options for migraine prevention include:

  • Using behavioral approaches such as relaxation training, biofeedback, and cognitive behavioral therapy (CBT)
  • Keeping a consistent sleep schedule
  • Eating regular meals
  • Staying hydrated
  • Managing stress
  • Limiting exposure to known triggers when possible
  • Tracking attacks and symptoms in a diary to spot patterns

Although behavioral therapies and lifestyle changes don’t cure migraine, they can work alongside medication. Working with your care team to develop a treatment plan that meets your needs can help reduce the impact of migraine attacks and make them easier to manage.

Psychotherapy

CBT and other forms of psychotherapy can help people with migraine better manage stress, which can be a major migraine trigger. CBT is a goal-oriented approach that focuses on changing unhelpful patterns of thinking and behavior.

Research suggests that CBT may help reduce the frequency of migraine attacks. It can also help people manage their symptoms and make daily activities easier.

Talk With Your Doctor

If you experience frequent or recurring headaches, schedule an appointment with your healthcare provider, regardless of what type of headache you think you have. They can rule out other health conditions, make a diagnosis, and refer you to a neurologist (a doctor who specializes in nervous system disorders) if necessary.

Some people also find comfort in connecting with others who understand what they’re going through. Your care team can support you or your loved ones through treatment and may be able to suggest resources such as group programs.

Share this article

This is a member-feature!

Sign up for free to view article comments.

A MyMigraineTeam Member

I hate having migraine headaches

Attach a gif

Click on a gif to attach it

Powered By KLIPY
All updates must be accompanied by text or a picture.

We'd love to hear from you! Please share your name and email to post and read comments.

You'll also get the latest articles directly to your inbox.

Subscriber Photo Subscriber Photo Subscriber Photo
112,696 members
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service.
Privacy Policy • Terms of Use

Related

Learn about seven FDA-cleared migraine devices: Cefaly, GammaCore Sapphire, Savi Dual, and Nerivi...
7 Approved Migraine Devices To Know About
Learn about seven FDA-cleared migraine devices: Cefaly, GammaCore Sapphire, Savi Dual, and Nerivi...
A “migraine cocktail” is a combination of drugs that might include nonsteroidal anti-inflammatory...
What’s in a Migraine Cocktail? 7 Common Ingredients
A “migraine cocktail” is a combination of drugs that might include nonsteroidal anti-inflammatory...
Switching migraine treatments? These 8 migraine questions to ask your doctor cover options, effec...
New Migraine Treatments: 8 Questions To Ask Your Doctor
Switching migraine treatments? These 8 migraine questions to ask your doctor cover options, effec...

This is a member-feature!

Sign up for free to save articles for later.

Join today!

Information You Can Trust.
Support When You Need It.

Continue with Facebook
Continue with Google
Continue with Email
By joining, you accept our Terms of Use, and acknowledge our collection, sharing, and use of your data in accordance with our Health Data and Privacy policies.
Already a member? Log In

Thank you for subscribing!

Become a member to get even more

Bubbles with Question Marks
Ask Questions
Doctor with Stethoscope
Get Advice
Videos on Mobile Device
Personalized Content
Group with Heart
Meet Others Who Understand
See answer