Treatments that work during a migraine attack

The fastest relief during a migraine usually comes from medication taken as soon as symptoms start. Triptans are the most effective class — drugs like sumatriptan (Imitrex), rizatriptan (Maxalt), and zolmitriptan (Zomig) work by narrowing blood vessels and blocking pain signals in the brain. They work best if you take them within the first hour of pain onset, and many people feel relief within 30 to 60 minutes.

Over-the-counter pain relievers can help with milder attacks. Ibuprofen (Advil, Motrin) and naproxen (Aleve) often work better than acetaminophen (Tylenol) for migraine pain specifically. Combining a pain reliever with caffeine — either in a single tablet like Excedrin or by taking your medication with coffee — can increase effectiveness. Some people find that taking medication early, before pain becomes severe, makes a real difference in how well it works.

Anti-nausea medication matters because nausea often comes with migraine and can prevent you from keeping other medications down. Metoclopramide (Reglan) and prochlorperazine (Compazine) are commonly prescribed. Your doctor might recommend taking these 15 to 30 minutes before your pain reliever.

Key Takeaways

  • Triptans are the most effective migraine medications and work best taken within the first hour of pain onset.
  • Over-the-counter pain relievers like ibuprofen often work for milder migraines, especially when combined with caffeine.
  • Preventive medications taken daily can reduce how often migraines happen and how severe they are.
  • Non-medication approaches like rest in a dark room, ice packs, and staying hydrated provide relief for many people.
  • Keeping a migraine diary helps you and your doctor spot patterns and find what works best for your attacks.

Preventive medications you take every day

If you have migraines more than four times a month, or if your attacks are severe enough to disrupt your life, your doctor may recommend a preventive medication. These are taken daily whether or not you have a migraine, and they work by reducing how often attacks happen and how intense they are.

Beta-blockers like propranolol (Inderal) and topiramate (Topamax) are among the oldest and most studied preventive options. Topiramate is an anticonvulsant — a medication originally developed for seizures — that has proven effective for migraine prevention. Calcium channel blockers like verapamil can also help. These medications take several weeks to show their full effect, so your doctor will ask you to stay on them for at least a month before deciding whether they are working.

Newer preventive options include CGRP inhibitors — a class of drugs that block a protein involved in migraine pain. Erenumab (Aimovig), fremanezumab (Ajovy), and eptinezumab (Vyepti) are given as injections, usually monthly or quarterly. These tend to work faster than older preventives and may be particularly helpful if you have tried other medications without success.

Botulinum toxin (Botox) injections are approved for chronic migraine — defined as 15 or more headache days per month. Injections are given every 12 weeks into muscles around the head and neck. This approach works for some people but not others, and it requires ongoing treatment to maintain the benefit.

Non-medication relief during an attack

Many people find that resting in a dark, quiet room is as important as medication. Light and sound can make migraine pain worse, so dimming lights, closing curtains, and minimizing noise gives your nervous system a chance to calm down. Some people sleep through the worst of the attack if they can lie down early enough.

Cold and heat both have fans. An ice pack or cold compress on your forehead, temples, or the back of your neck can numb pain and reduce inflammation. A heating pad on tight neck muscles or shoulders may help if tension is part of your migraine. Experiment to see which feels better during your own attacks.

Staying hydrated matters more than many people realize. Dehydration is a common migraine trigger, and drinking water or electrolyte drinks during an attack can sometimes ease symptoms. Avoid caffeine if you are not a regular user, since it can trigger migraines in some people, though it helps others.

Relaxation techniques like slow breathing, progressive muscle relaxation, or guided meditation can reduce pain intensity, especially if you practice them regularly rather than only during attacks. Some people find that gentle stretching or massage of the neck and shoulders helps, while others find any movement makes things worse — pay attention to what your body tells you.

Lifestyle changes that reduce how often migraines happen

Keeping a migraine diary is one of the most useful tools you have. Write down the date, time, and severity of each migraine, plus what you were doing before it started, what you ate, how much you slept, and your stress level. After a few weeks, patterns often emerge — certain foods, sleep schedules, stress levels, or hormonal changes that consistently come before your attacks. Once you know your triggers, you can sometimes avoid them.

Sleep is foundational. Both too much and too little sleep can trigger migraines, so aiming for a consistent sleep schedule — going to bed and waking up at roughly the same time every day — helps many people. Skipping meals can also trigger attacks, so eating regular meals with protein and complex carbohydrates keeps blood sugar stable.

Stress management reduces migraine frequency for many people. This does not mean eliminating stress — that is impossible — but rather building in regular activities that calm your nervous system. Exercise, time outdoors, time with people you care about, hobbies, and meditation all have evidence behind them. Start with whatever sounds realistic to you rather than trying to overhaul your life at once.

Limiting caffeine, alcohol, and foods you notice trigger your migraines makes a measurable difference for many people. Common food triggers include aged cheeses, cured meats, chocolate, and foods with MSG, though triggers vary widely. You do not need to avoid these foods forever — just track them in your diary to see if a pattern emerges.

When to see a doctor about migraine treatment

Schedule an appointment with your primary care doctor or a neurologist if you are having migraines for the first time, if the pattern of your migraines has changed, or if your current treatment is not working well enough. Bring your migraine diary if you have been keeping one — it gives your doctor concrete information about frequency, severity, and possible triggers.

Seek urgent care if a migraine is accompanied by fever, stiff neck, confusion, vision changes beyond your usual aura, weakness, numbness, or difficulty speaking. These can signal a more serious condition that needs immediate evaluation. Also seek urgent care if a migraine is the worst headache you have ever had, or if it feels completely different from your usual migraines.

Your doctor can prescribe stronger medications than over-the-counter options, help you identify triggers through your diary, and recommend preventive treatment if your migraines are frequent or severe. They can also rule out other conditions that might look like migraine but need different treatment.

Finding the right combination for you

Most people find that a combination of approaches works better than any single one. You might take a preventive medication daily, use a triptan at the first sign of pain, rest in a dark room, and apply ice — all as part of your routine. What works varies from person to person and can even change over time.

It often takes trial and error to find the right medication or dose. Your doctor may suggest trying one preventive for four to eight weeks, then switching if it is not helping enough. This is normal and expected — migraine treatment is not one-size-fits-all. Keep notes on what you try, how it affects you, and what side effects you notice. This information helps your doctor make better recommendations.

If a medication stops working as well as it did before, that can happen too. Your body can build tolerance, or your migraines can change. Talk to your doctor about adjusting your dose or trying something different rather than just accepting that treatment no longer works.

Frequently Asked Questions

Can I take a triptan if I also take other medications?

Most triptans are safe with common medications, but some combinations can be risky. Tell your doctor about everything you take, including over-the-counter drugs and supplements. Triptans should not be combined with certain antidepressants or other migraine medications without medical guidance.

Why does my migraine medication stop working after a while?

Your body can build tolerance to some medications over time, or your migraines may change. This is common and does not mean the medication was not working before. Your doctor can adjust your dose, switch to a different medication, or add a preventive if you are only using acute treatment.

Is it okay to use pain relievers more than a few times a week?

Using pain relievers more than 10 to 15 days per month can actually cause medication overuse headaches — a cycle where the medication itself triggers more frequent headaches. If you are taking pain relievers that often, talk to your doctor about preventive medication instead.

Do I have to try preventive medication if my migraines are not that frequent?

No. If you have a few migraines a month and your acute medication works well, prevention may not be necessary. Preventive medication is usually recommended when migraines happen more than four times a month or are severe enough to significantly disrupt your life.

What should I do if nothing seems to help my migraines?

Ask your doctor for a referral to a neurologist or headache specialist. They have access to more specialized treatments and can sometimes identify patterns or triggers that a general doctor might miss. Some people benefit from newer medications or combination approaches that a specialist can recommend.