Over-the-Counter Pain Relievers

For mild to moderate migraines, over-the-counter pain relievers are often the first thing people try. The most common options are ibuprofen (Advil, Motrin), naproxen (Aleve), and acetaminophen (Tylenol). These work by reducing inflammation and blocking pain signals, though they work differently — ibuprofen and naproxen reduce swelling, while acetaminophen affects how your brain processes pain.

Timing matters. Taking a pain reliever as soon as you notice migraine symptoms — before the headache becomes severe — gives it the best chance to work. If you wait until the pain is intense, the medication may not help as much. Most over-the-counter options take 30 minutes to an hour to reach full strength.

Some people find that combining a pain reliever with caffeine works better than either alone. This is why some over-the-counter migraine products include caffeine alongside ibuprofen or acetaminophen. However, using these medications more than two or three days a week can lead to medication overuse headache — a condition where frequent pain reliever use actually triggers more headaches.

Key Takeaways

  • Over-the-counter pain relievers like ibuprofen and acetaminophen work best when taken early, before a migraine becomes severe.
  • Prescription migraine medications called triptans work differently than regular pain relievers and are designed specifically for migraine pain.
  • Using any pain medication more than two or three days per week can cause medication overuse headache, which makes migraines worse over time.
  • Non-medication approaches like rest in a dark room, ice packs, and staying hydrated can reduce migraine severity on their own or alongside medication.
  • If over-the-counter options do not work or you have frequent migraines, your doctor can discuss prescription options and preventive treatments.

Prescription Migraine Medications (Triptans)

If over-the-counter pain relievers do not work, your doctor may prescribe a triptan. Triptans are medications designed specifically for migraine, not general pain relief. Common triptans include sumatriptan (Imitrex), rizatriptan (Maxalt), and zolmitriptan (Zomig). They work by narrowing blood vessels around the brain and blocking pain pathways — a different mechanism than regular pain relievers.

Triptans come in several forms: tablets you swallow, dissolving tablets, nasal sprays, and injections. Your doctor will help you choose based on how quickly you need relief and how you prefer to take medication. Injections and nasal sprays work faster than tablets, usually within 15 to 30 minutes, while tablets typically take 30 to 60 minutes.

Triptans work best when taken early in a migraine, just like over-the-counter options. They are not pain preventers — they treat the migraine once it has started. Some people find one triptan works better than another, so if your first prescription does not help, your doctor may suggest trying a different one.

Other Prescription Options

Beyond triptans, other prescription medications can treat migraine pain. Lasmiditan (Reyvow) is a newer option that works similarly to triptans but may be suitable for people who cannot take triptans due to heart or blood vessel conditions. Gepants (erenumab, fremanezumab) are a different class of medication that blocks a protein involved in migraine — they can be used both to treat acute migraines and to prevent them when taken regularly.

Your doctor may also prescribe anti-nausea medications like metoclopramide (Reglan) or prochlorperazine (Compazine) to take alongside pain relief, since nausea often accompanies migraine. These can make pain medication more effective by helping your stomach absorb it better.

Non-Medication Approaches

Medication is not the only tool. Many people find that resting in a dark, quiet room reduces migraine severity. Light and sound often make migraines worse, so dimming lights and minimizing noise can provide real relief. Some people find that applying ice to the head or neck, or heat to tense muscles, helps.

Staying hydrated matters — dehydration can trigger or worsen migraines. Drinking water during a migraine may help, though it works slowly. Some people find that eating something helps if their migraine came on while they were hungry, though eating during severe nausea is not always possible.

These approaches work best alongside medication rather than instead of it. If your migraine is severe, combining a pain reliever or triptan with rest and a dark room often works better than either approach alone.

Preventive Medications for Frequent Migraines

If you have migraines more than four times a month, or if your migraines are severe enough to disrupt your life, your doctor may recommend preventive medication. These are taken daily, whether or not you have a migraine, to reduce how often migraines occur or how severe they are.

Common preventive options include beta-blockers like propranolol, tricyclic antidepressants like amitriptyline, and anti-seizure medications like topiramate (Topamax). Newer options include CGRP inhibitors (erenumab, fremanezumab, eptinezumab), which are injected monthly or quarterly. These work by blocking a protein called CGRP that plays a role in migraine.

Preventive medications take time to work — usually two to three months before you notice a real difference. Your doctor will monitor how well they work and may adjust the dose or try a different medication if the first one does not help enough.

When to See a Doctor

Over-the-counter pain relievers are a reasonable first step for occasional migraines. However, you should contact your doctor if your migraines are new, if they are getting worse, if they change in pattern, or if over-the-counter options no longer work. You should also see a doctor if you are using pain medication more than two or three days per week, since this increases the risk of medication overuse headache.

Seek immediate medical attention if a migraine is accompanied by fever, stiff neck, confusion, vision changes, weakness, or numbness — these can signal a more serious condition. If you have a migraine that is different from your usual pattern, or if it is the worst headache you have ever had, go to an emergency room or call 911.

Frequently Asked Questions

Can I take ibuprofen and acetaminophen together for migraine?

Some people find that combining them works better than either alone, but this should only be done under your doctor's guidance. Taking both regularly increases the risk of side effects and medication overuse headache. Your doctor can advise whether this combination is safe for you.

Why does my triptan stop working after I have used it a few times?

This is not common, but some people do develop reduced response to a triptan over time. If this happens, your doctor may suggest switching to a different triptan or taking a break from it. Using triptans more than ten days per month can also lead to medication overuse headache, which makes migraines worse.

Is it safe to take migraine medication while pregnant?

Some migraine medications are considered safer in pregnancy than others. Acetaminophen is generally considered safe, while ibuprofen and naproxen are usually avoided, especially in the third trimester. Triptans have limited safety data in pregnancy. If you are pregnant or planning to become pregnant, discuss your migraine treatment with your doctor or obstetrician.

What should I do if my migraine does not go away after taking medication?

If a migraine persists for more than 72 hours despite medication, contact your doctor. This is called status migrainosus and may require different treatment, possibly in a hospital setting. Do not keep taking pain medication repeatedly — this can worsen the situation and increase medication overuse headache risk.

Can I prevent migraines without medication?

Lifestyle changes can reduce migraine frequency for some people. Keeping a regular sleep schedule, managing stress, staying hydrated, and identifying and avoiding your personal migraine triggers (such as certain foods or hormonal changes) may help. However, if migraines are frequent or severe, medication is often necessary alongside these approaches.