What works for migraines depends on how often you get them and how severe they are

Migraine treatment falls into two categories: stopping a migraine once it starts, and preventing migraines from happening in the first place. Most people use both. For a migraine that is already underway, over-the-counter pain relievers like ibuprofen or naproxen work for some people, especially if taken early. Others need prescription medications called triptans, which narrow blood vessels and block pain signals in the brain. If you get migraines more than four times a month, your doctor may recommend a preventive medication you take daily or monthly, even on days you do not have a migraine.

The right treatment for you depends on how often migraines hit, how long they last, whether you have warning signs before one starts, and what other health conditions you have. A doctor or neurologist can help you figure out which approach makes sense. This guide explains the main categories of treatment, what to expect from each, and how to track what works.

Key Takeaways

  • Over-the-counter pain relievers work best if taken within the first hour of a migraine, before the pain becomes severe.
  • Prescription triptans are designed specifically for migraines and work differently than regular pain relievers, stopping the migraine process itself rather than just masking pain.
  • Preventive medications reduce how often migraines occur and are worth considering if you have more than three or four per month.
  • Keeping a migraine diary—noting when migraines happen, what triggered them, and what you took—helps you and your doctor find patterns and choose the best treatment.
  • Non-medication approaches like rest in a dark room, ice packs, and avoiding known triggers work alongside medication and sometimes prevent migraines from starting.

Over-the-counter pain relievers for acute migraine

Ibuprofen (Advil, Motrin) and naproxen (Aleve) are the most common over-the-counter options. Aspirin also works for some people. These medications reduce inflammation and block pain signals. The key is timing: they work best if you take them within the first hour after a migraine starts, before the pain peaks. Once a migraine is severe, over-the-counter drugs are less likely to stop it completely.

Acetaminophen (Tylenol) alone is generally less effective for migraine than ibuprofen or naproxen, but some people find that combining acetaminophen with caffeine helps. Caffeine can make pain relievers work faster and stronger. If you use over-the-counter pain relievers more than two days a week, you risk developing medication overuse headache, a condition where frequent use of pain relievers actually triggers more headaches. If that happens, you need to stop the medication and let your body reset, which can take weeks.

Prescription triptans and other acute medications

Triptans are medications designed specifically for migraine. They work by narrowing blood vessels around the brain and blocking pain pathways. Common triptans include sumatriptan (Imitrex), rizatriptan (Maxalt), and zolmitriptan (Zomig). They come as tablets, nasal sprays, or injections. Triptans work best in the first two hours of a migraine, though some people find them helpful even later. They stop the migraine itself, not just the pain, which means nausea and sensitivity to light often improve too.

Triptans do not work for everyone, and some people find one triptan works better than another. Your doctor may have you try a few to find the best fit. Side effects are usually mild—tingling, warmth, or tightness in the chest or neck—but triptans are not safe for people with certain heart conditions or uncontrolled high blood pressure. If you have heart disease or risk factors, tell your doctor before using a triptan. Like over-the-counter pain relievers, using triptans more than ten days a month can lead to medication overuse headache.

Preventive medications for frequent migraines

If you have three or more migraines per month, or if each migraine disables you for a full day or more, a preventive medication may help. These are taken daily or on a regular schedule, whether or not you have a migraine that day. Preventive medications reduce how often migraines occur, how severe they are, or how long they last. They do not stop a migraine once it has started, so you still need an acute medication on hand.

Common preventive medications include beta-blockers like propranolol (Inderal), tricyclic antidepressants like amitriptyline (Elavil), and anticonvulsants like topiramate (Topamax). Newer options include monoclonal antibodies that target a protein involved in migraine, such as erenumab (Aimovig), which is given as a monthly injection. Preventive medications take weeks or months to show full effect, so you need patience. Your doctor will start at a low dose and increase it gradually. If one does not work after two to three months, you may try another.

Tracking your migraines to find what works

Keeping a migraine diary is one of the most useful tools you have. Write down the date and time each migraine starts, what you were doing before it began, what you ate that day, whether you slept poorly, stress level, and any other details you notice. Note what medication you took, when you took it, and whether it helped. Over time, patterns emerge: you might notice migraines happen after skipped meals, during high-stress periods, after certain foods, or around your menstrual cycle.

A diary also helps your doctor see whether a preventive medication is working. If you started a new medication three months ago and your diary shows you went from six migraines a month to three, that is clear evidence it is helping. Many people use a straightforward notebook or a migraine-tracking app on their phone. Bring your diary to appointments with your doctor or neurologist so you can discuss patterns together and adjust treatment if needed.

Non-medication strategies that reduce migraine frequency

Medication is not the only tool. Identifying and avoiding your personal triggers can prevent migraines from starting. Common triggers include skipped meals, dehydration, too much or too little sleep, stress, bright lights, loud noise, strong smells, and certain foods. Keeping your migraine diary helps you spot your triggers. Once you know them, you can often avoid them or prepare for situations where avoidance is not possible.

During a migraine, rest in a dark, quiet room and explore ice to your head or neck. Some people find heat helpful instead. Staying hydrated and eating something small, if you can tolerate it, may help. Regular exercise, consistent sleep schedule, stress management, and staying hydrated on a daily basis all reduce migraine frequency for many people. These approaches work alongside medication, not instead of it. If you have frequent migraines, combining a preventive medication with trigger avoidance and lifestyle changes usually works better than any single approach alone.

When to see a doctor about migraines

See a doctor if migraines are new, if they have changed in pattern or severity, if they happen more than once a month, or if over-the-counter pain relievers do not help. Also see a doctor if a migraine is accompanied by fever, stiff neck, confusion, vision changes, weakness, or numbness—these can signal a different condition that needs when ready attention. Your primary care doctor can often manage migraines, but a neurologist has extra training in headache disorders and may be helpful if your migraines are complex or if several medications have not worked.

When you see a doctor, describe your migraines in detail: when they start, how long they last, what the pain feels like, what other symptoms you have, and what makes them better or worse. Bring your migraine diary if you have one. Tell your doctor about all medications and supplements you take, any other health conditions you have, and whether migraines run in your family. This information helps your doctor choose the safest and most effective treatment for you.

Frequently Asked Questions

Can I use a triptan and ibuprofen together?

Some people do combine them, and some doctors recommend it. The combination may work better than either alone for some migraines. However, using both regularly increases the risk of medication overuse headache. Talk to your doctor about whether combining them is safe for you and how often you can use them together.

How long does it take for a preventive medication to work?

Most preventive medications take four to twelve weeks to show their full effect. Some people notice improvement in two to three weeks, while others need the full three months. Your doctor will usually ask you to stay on a medication for at least two to three months before deciding whether it is helping. Patience is important because stopping too early means you miss the chance to see if it would have worked.

What if nothing seems to work?

If several medications have not helped, ask your doctor for a referral to a neurologist or headache specialist. They have access to newer treatments and can sometimes identify patterns that were missed. Newer preventive options like monoclonal antibodies work differently than older medications and help some people whose migraines did not respond to other drugs. It may take trying several approaches before you find what works for you.

Can migraines go away on their own?

Migraines can change over time. Some people have fewer migraines as they age, while others continue to have them throughout life. Hormonal changes, like menopause, can shift migraine patterns. Treating migraines now does not prevent them from changing later, but it reduces suffering while you have them and helps you function better day to day.

Is it safe to take migraine medication while pregnant?

Some migraine medications are safer in pregnancy than others. Acetaminophen is generally considered safe, while some other medications carry more risk. If you are pregnant or planning to become pregnant, tell your doctor about your migraines before stopping or starting any medication. Your doctor can help you weigh the risks and benefits and choose the safest option for you and your baby.