Over-the-Counter Migraine Medicine

Medically Reviewed by Shruthi N, MD on August 12, 2025
6 min read

Over-the-counter (OTC) migraine medications represent the first line of defense for many people seeking relief from debilitating migraine headache pain. While prescription treatments have gotten much attention in recent years, readily available over-the-counter medicines remain both accessible and useful for many people who go through mild to moderate migraine attacks. 

These medications, available without a prescription at pharmacies, grocery stores, and convenience stores nationwide, offer immediate accessibility when migraine symptoms come unexpectedly.

Common OTC options include pain relievers such as acetaminophen and ibuprofen. There’s no “best” medication because migraine attacks are complicated, and what works well for one person might not work for another. Some people get relief from a single over-the-counter medicine, while others need a combination or something different. Your pain level, response to medications, and other health issues all play a role. If over-the-counter medicines aren’t helping, it might be time to talk to your doctor about other options. Pain relievers usually work best if you take them as soon as a migraine attack starts. That’s because it takes time for your body to absorb the medication.

You can find lots of pain relievers for migraine attacks on your pharmacy shelves:

Acetaminophen

This doesn’t ease inflammation, which is especially helpful for migraine attacks. But acetaminophen is still good for mild pain.

Be sure to take no more than the dosage on the package. Taking too much may harm your liver or even lead to liver failure. The maximum recommended dose for adults is 4,000 milligrams in 24 hours.

Nonsteroidal anti-inflammatory drugs (NSAIDs)

They help lower the inflammation that causes migraine attacks. So they’re often a better choice than acetaminophen.

NSAIDs include:

Aspirin. You can buy it combined with acetaminophen and caffeine to help with mild pain. Aspirin may cause stomach trouble.

Ibuprofen. People often have tummy problems with ibuprofen. Avoid taking it if you’ve had kidney issues, liver problems, or stomach ulcers or recently had a heart attack.

Naproxen. This medication may last longer than other pain relievers. But naproxen might upset your stomach. Always have some food with naproxen to help avoid stomach upset.

Anti-nausea drugs

A migraine attack often can make you queasy and throw up. Ask your doctor about anti-nausea medicine to help with it, as certain over-the-counter versions can interact with some common pain relievers.

Over-the-counter medicines are an easy way to handle migraine pain, but timing is important. Many people with migraine only use OTC medications to treat their headaches. For the best results, take these medications as soon as you feel a migraine attack coming on. Don’t wait until the pain gets really bad, or the medication might not work as well. But, don’t overdo it. Using OTC pain relievers too often can lead to medication-overuse headaches, where the medication itself starts to cause more headaches. It’s usually best to limit your use of these medications to a couple of days a week. If you’re using them more often, talk to your doctor about other options. 

OTC migraine medications aren’t usually as strong or as fast-acting as prescription medications. So it’s best to go for over-the-counter medicines when your symptoms come on slowly or are mild or moderate. You may need prescription drugs if you have vomiting or severe nausea.

 

While over-the-counter medicines for migraine can help, it’s important to know about possible risks. For example, some pain relievers can cause changes in blood counts and affect how well your liver works, though side effects are rare if you take the medication as directed. Taking too much acetaminophen, a common pain reliever, can harm your liver. To keep risks low, always follow the directions on the label, and don’t take more than you should. If you have health problems, such as liver or kidney issues, talk to your doctor before using OTC migraine medications. Also, some medications can interact with other drugs or supplements you’re taking.

Too much pain medication of any kind may trigger headaches more often or make them stronger and harder to treat. Doctors call these medication-overuse headaches. This could happen quickly for some people or take months or years for others.

If you get intense migraine attacks on more than four or five days of a month, ask your doctor about other medications.

Taking pain relievers for a long time may lead to ulcers and stomach bleeding. Talk to your doctor first if you are pregnant or breastfeeding, have a health condition, or take other medications.

If you have migraine attacks often, they’re severe and don’t get better with over-the-counter medicines, or they mess with your daily life, talk to your doctor. They can check you out and suggest prescription medications that might work better. These could include triptans, which are made to target migraine attacks. Also, get medical advice if you have hypersensitivity reactions, acute coronary syndrome, hypertrophic obstructive cardiomyopathy, or severe stenotic heart valve defects. Remember, preventive treatment doesn’t cure migraine, and most people will still need medication when a migraine hits.

Is Tylenol or ibuprofen better for migraine?

There’s no single “best medication because migraine attacks are complicated, and what works for one person might not work for another.

  • Ibuprofen is a nonsteroidal anti-inflammatory drug (NSAID) that helps lower inflammation that causes migraine attacks.
  • Tylenol (acetaminophen) doesn’t ease inflammation, though it’s still good for mild pain.
  • NSAIDs such as ibuprofen are “often a better choice than acetaminophen, specifically because they target the inflammation linked to migraine attacks.

What is the strongest pain relief for migraine?

Prescription medications are generally stronger and faster-acting than over-the-counter options. You may need prescription drugs if you have serious symptoms such as vomiting or severe nausea. Prescription drugs, such as triptans, are “made to target migraines and may work better for serious cases. OTC medications aren’t usually as strong or as fast-acting as prescription medications and may work best for symptoms that come on slowly or are mild or moderate. Among OTC options, naproxen “may last longer than other pain relievers, though strength rankings aren’t specifically given.

What are some risks with OTC migraine medications, and who should avoid them?

Key risks:

  • Liver damage: Taking too much acetaminophen can harm your liver or even lead to liver failure.
  • Medication-overuse headaches: Using OTC pain relievers too often can cause the medication itself to trigger more headaches.
  • Stomach problems: NSAIDs can cause stomach upset, ulcers, and bleeding with long-term use.
  • Blood count changes: Some pain relievers can affect blood counts and liver health.

Who should avoid or use caution:

  • Ibuprofen should be avoided by people who have had:
    • Kidney issues
    • Liver problems
    • Stomach ulcers
    • Recent heart attack
  • People who are pregnant or breastfeeding should talk to their doctor first.
  • Those with health conditions such as liver or kidney issues should consult a doctor before use.
  • People taking other medications or supplements should check for interactions.
  • Those with specific heart conditions (hypersensitivity reactions, acute coronary syndrome, hypertrophic obstructive cardiomyopathy, or severe stenotic heart valve defects) should get medical advice.

Usage guidelines:

  • Limit use to a couple of days per week to avoid medication-overuse headaches.
  • Always follow label directions, and don’t exceed recommended doses.
  • Take naproxen with food to avoid stomach upset.