What Is the Best Migraine Medicine for You?

There’s no single best migraine medicine for everyone, but the most effective options fall into a few well-studied categories depending on how often your migraines strike and how severe they are. For occasional attacks, over-the-counter painkillers with caffeine work surprisingly well. For frequent or severe migraines, newer prescription medications targeting a specific pain pathway in the brain have changed the treatment landscape significantly since 2018.

What works best for you depends on your attack frequency, other health conditions, and how you respond to a given drug. Here’s what the evidence shows for each major category.

Over-the-Counter Options Work Better Than You’d Expect

The combination of acetaminophen, aspirin, and caffeine (sold as Excedrin Migraine and store-brand equivalents) is the most effective OTC migraine treatment available. In clinical trials involving over 1,200 migraine patients, 21% were completely pain-free at two hours compared to 7% on placebo. By six hours, 51% were pain-free versus 24% on placebo. That’s a meaningful difference for something you can buy without a prescription.

The caffeine component does real work here. At doses of 100 mg or more, caffeine boosts the pain-relieving effect of whatever analgesic it’s paired with, helping an additional 5% to 10% of people reach meaningful relief. That said, regular caffeine use can itself contribute to rebound headaches, so this approach works best for people who get migraines a few times a month rather than several times a week.

Ibuprofen (Advil, Motrin) and naproxen (Aleve) on their own are also reasonable first-line choices, particularly if you catch the migraine early. Naproxen has a longer duration of action, which can help prevent the headache from returning later in the day.

Triptans: The Long-Standing Prescription Standard

Triptans have been the go-to prescription migraine treatment for over two decades. They work by narrowing blood vessels and blocking pain signals in the brain. Sumatriptan is the most widely prescribed, available as a tablet, nasal spray, and injection. The injection form acts fastest, often providing relief within 15 to 30 minutes, while tablets typically take 30 minutes to an hour.

There are seven different triptans on the market, and they vary in how fast they work, how long they last, and how likely they are to cause side effects. If one triptan doesn’t work well for you, a different one might. Common side effects include tightness in the chest or throat, tingling, and drowsiness. These sensations are usually harmless but can be unsettling the first time.

The major limitation of triptans is that they constrict blood vessels, which means they’re not safe for people with heart disease, uncontrolled high blood pressure, or a history of stroke. They also carry a ceiling on how often you can use them. The Mayo Clinic recommends limiting triptan use to no more than nine days per month to avoid medication overuse headache, a cycle where the treatment itself starts triggering more headaches.

Gepants: A Newer Alternative for Acute Attacks

Gepants are a newer class of migraine medication that work by blocking a protein called CGRP, which plays a central role in migraine pain. Unlike triptans, they don’t constrict blood vessels, making them a safer choice for people with cardiovascular risk factors.

Two gepants are currently available for treating acute attacks: ubrogepant (Ubrelvy) and rimegepant (Nurtec ODT). In a phase 3 trial, rimegepant delivered complete pain freedom at two hours in 21% of patients versus 11% on placebo, and relief from the most bothersome symptom (like light sensitivity or nausea) in 35% versus 27%. These numbers are more modest than what triptans achieve for many people, but gepants come with fewer side effects and no cardiovascular restrictions.

Rimegepant has a unique advantage: it’s approved for both acute treatment and prevention. Taken every other day, it can reduce the number of migraine days per month while also being available to treat individual attacks. This dual role makes it particularly useful for people in the gray zone between occasional and frequent migraines.

Lasmiditan: When Heart Conditions Rule Out Triptans

Lasmiditan (Reyvow) targets the same type of brain receptor as triptans but without the blood vessel constriction. This makes it an option for people who can’t take triptans because of cardiovascular disease or elevated risk factors. Studies in patients with multiple cardiovascular risk factors showed consistent effectiveness regardless of how many risk factors were present.

The trade-off is sedation. Lasmiditan can cause significant dizziness and drowsiness, so you shouldn’t drive for at least eight hours after taking it. It’s a controlled substance because of its potential for central nervous system effects, which makes it less convenient than other options for people who need to function normally during a migraine.

Preventive Medications for Frequent Migraines

If you’re getting four or more migraine days per month, preventive treatment can reduce how often attacks happen in the first place. The biggest development in migraine prevention has been the arrival of CGRP-targeting injectable medications, which the American Headache Society now considers a first-line preventive option.

Four CGRP monoclonal antibodies are available, all given as monthly or quarterly self-injections: erenumab (Aimovig), fremanezumab (Ajovy), galcanezumab (Emgality), and eptinezumab (Vyepti, given by IV infusion quarterly). In pivotal trials, erenumab reduced monthly migraine days by about 3 to 4 days in people with episodic migraine (compared to roughly 2 days for placebo) and by about 6 to 7 days in chronic migraine. Across all the CGRP antibodies, roughly 1 in 4 to 5 patients with episodic migraine achieves at least a 50% reduction in monthly attacks beyond what placebo provides.

These medications are generally well tolerated. The most common side effects are injection site reactions and constipation (particularly with erenumab). They don’t cause the weight gain, cognitive dulling, or fatigue associated with older preventive options.

Older Preventive Options Still Have a Role

Before CGRP medications existed, several drug classes originally developed for other conditions were repurposed for migraine prevention. These include certain blood pressure medications (propranolol, topiramate), antidepressants (amitriptyline, venlafaxine), and anti-seizure drugs. They’re less expensive than CGRP antibodies and are still widely used, particularly when insurance requires trying older medications first. The downside is that each comes with its own set of side effects. Topiramate can cause tingling, word-finding difficulty, and weight loss. Beta-blockers can cause fatigue and low blood pressure. Amitriptyline causes drowsiness and weight gain. Finding the right fit often takes some trial and error.

Neuromodulation Devices

Several FDA-cleared devices offer drug-free migraine treatment by delivering mild electrical stimulation to nerves involved in migraine. The Cefaly device, worn on the forehead, stimulates the nerve above the eyes and is cleared for both prevention and acute treatment. In studies, daily use reduced the number of migraine days per month and decreased medication use, though it didn’t reduce the intensity of migraines that still occurred. About 54% of users in a large satisfaction survey found it helpful enough to continue using it.

These devices work best as add-ons rather than replacements for medication. They’re worth considering if you want to reduce how much medication you take, if you’re pregnant, or if you haven’t responded well to other treatments.

Matching Treatment to Your Pattern

The practical question isn’t which migraine medicine is objectively best but which one fits your situation. A few guidelines based on migraine frequency can help narrow it down:

  • A few migraines per month, mild to moderate: OTC acetaminophen/aspirin/caffeine combination or ibuprofen, taken as early as possible in the attack.
  • A few migraines per month, moderate to severe: A triptan (if no cardiovascular concerns) or a gepant. Some people keep both on hand and choose based on the severity of the attack.
  • Cardiovascular disease or risk factors: A gepant or lasmiditan instead of triptans.
  • Four or more migraine days per month: A preventive medication, most likely a CGRP antibody or one of the older preventive drugs, combined with an acute treatment for breakthrough attacks.
  • Fifteen or more headache days per month (chronic migraine): Preventive CGRP therapy, and possibly Botox injections, which are specifically approved for chronic migraine.

Whatever acute treatment you use, the nine-day-per-month limit is worth keeping in mind. Exceeding that threshold with any pain reliever, including OTC options, raises the risk of medication overuse headache. If you find yourself reaching for acute treatment more often than that, it’s a signal that adding a preventive medication could break the cycle.