If a migraine has already started, your fastest option is an over-the-counter pain reliever taken as early as possible, a cold pack on your forehead or neck, and a dark, quiet room. That combination handles a significant number of migraine attacks without a prescription. But what you do between attacks matters just as much as what you do during one, and there are effective strategies at every level, from quick relief to long-term prevention.
Immediate Relief With OTC Pain Relievers
Timing is everything with migraine medication. Taking a pain reliever at the first sign of an attack, before the pain fully builds, makes it far more effective than waiting. Three common options work well for most non-severe migraines:
- Ibuprofen has strong evidence behind it for migraine, with effective doses ranging from 200 to 1,200 mg. A solubilized 200 mg capsule version is the only ibuprofen product FDA-approved specifically for migraine management, since the liquid-filled format absorbs faster.
- Acetaminophen at 1,000 mg has been shown to significantly relieve pain, light sensitivity, and sound sensitivity in people whose migraines are not incapacitating.
- Naproxen sodium is another anti-inflammatory option that works similarly to ibuprofen and lasts longer, which can help with migraines that tend to drag on.
Combination products that pair a pain reliever with caffeine can also boost effectiveness, since caffeine helps your body absorb the medication faster and has mild pain-relieving properties on its own. The key risk with any of these is overuse: relying on pain relievers more than two or three days a week can actually cause rebound headaches that make migraines more frequent over time.
Home Strategies That Actually Help
A cold pack applied to your forehead, temples, or the back of your neck constricts blood vessels and slows the pain signals that nerves send to your brain during an attack. The numbing effect combined with reduced blood flow can provide real relief without medication. Wrap ice or a gel pack in a thin cloth and apply it for 15 to 20 minutes at a time.
Retreating to a dark, quiet room addresses two of the most common migraine symptoms directly. Light sensitivity and sound sensitivity aren’t just annoyances during an attack; sensory input actively amplifies migraine pain. Reducing that input gives your nervous system less to process. If you can’t get to a dark room, even putting on sunglasses and noise-canceling headphones helps.
Caffeine deserves a special mention here. A small amount early in an attack (a cup of coffee or tea) can narrow blood vessels and enhance the effect of pain relievers you’ve already taken. But caffeine is a double-edged sword. Regular high intake followed by a day without it is itself a common migraine trigger. Keeping your caffeine consumption steady from day to day matters more than the exact amount.
When to Talk to a Doctor About Prescriptions
The American Headache Society recommends considering preventive treatment if you’re getting four or more headache days per month. That threshold is lower than many people expect. If your migraines are frequent, long-lasting, or severe enough that OTC medications can’t control them, prescription options can make a dramatic difference.
For stopping an attack that’s already started, triptans have been the standard prescription treatment for decades. They work by narrowing blood vessels around the brain and blocking pain pathways. They’re effective but aren’t suitable for everyone, particularly people with cardiovascular risk factors, because they constrict blood vessels throughout the body, including the heart.
A newer class of medications works by blocking a protein called CGRP, which plays a central role in migraine pain signaling. These drugs reduce inflammation and pain transmission without constricting blood vessels at all. That’s a meaningful advantage for people who can’t safely take triptans. Some versions treat attacks as they happen, while others are taken regularly to prevent attacks from starting in the first place.
Supplements Worth Trying
Three supplements have enough research behind them that the American Headache Society specifically addresses their use for migraine prevention. None of them work overnight. You’ll typically need two to three months of consistent daily use before you can judge whether they’re helping.
- Magnesium oxide at 400 to 500 mg per day is the most widely recommended. Many people with migraine have lower magnesium levels, and supplementation can reduce attack frequency. Start at a lower dose and work up, since magnesium can cause digestive issues.
- Riboflavin (vitamin B2) at 400 mg per day supports your cells’ energy production. At that dose, it has been shown to reduce how often migraines occur.
- CoQ10 at 300 mg per day has been found to reduce migraine frequency in adults. It works along similar energy-metabolism pathways as riboflavin.
The Food Trigger Question
You’ve probably seen lists of migraine trigger foods: aged cheese, chocolate, red wine, processed meats. The reality is more nuanced than those lists suggest. Recent research shows that true dietary triggers are not very common, and no studies have confirmed that cheese, chocolate, dairy, or soy consistently increase migraine risk. Even tyramine, long blamed for triggering attacks, has failed to show a consistent link in the majority of studies. One trial compared low, medium, and high tyramine diets and found no difference between groups.
Processed meats with nitrites and nitrates may increase risk for some people, but only one study has confirmed this, and it used pharmaceutical-grade nitrates at high doses rather than the amounts actually found in food. The bigger dietary picture matters more: eating regular meals, staying well hydrated, and avoiding long gaps without food are consistently more protective than eliminating specific ingredients. A low-glycemic diet (one that avoids blood sugar spikes) and a diet higher in omega-3 fatty acids have both been shown in trials to reduce migraine frequency.
Lifestyle Changes That Reduce Attack Frequency
Five lifestyle areas have the strongest evidence for migraine prevention, sometimes summarized by clinicians as Sleep, Exercise, Eat, Diary, and Stress.
Sleep consistency may be the single most impactful change. It’s not just about getting enough hours; it’s about going to bed and waking up at the same time every day, including weekends. Improving sleep habits alone has been shown to convert chronic migraine (15 or more days per month) to episodic migraine.
Regular aerobic exercise reduces monthly migraine days, and the benefit increases with intensity. A meta-analysis of controlled trials found a modest reduction of about 0.6 fewer migraine days per month on average, but higher-intensity exercise produced stronger effects. Even 30 minutes of moderate activity like brisk walking, swimming, or cycling several times a week is a reasonable starting point.
Stress management is the other pillar with outsized impact. Cognitive behavioral therapy has been shown to decrease migraine severity, frequency, and the disability that comes with it. You don’t necessarily need formal therapy. Consistent use of relaxation techniques, progressive muscle relaxation, or even structured breathing exercises can lower the baseline stress level that makes your brain more susceptible to attacks.
Keeping a headache diary ties everything together. Tracking when attacks happen, what you ate, how you slept, your stress level, and where you are in your menstrual cycle (if applicable) reveals patterns that are impossible to spot from memory alone. Many people discover their triggers are situational combinations rather than single factors: poor sleep plus a skipped meal plus a stressful day, for example. Even a simple notes app entry after each attack builds a useful picture over a few months.

