How to Help Migraines: Relief and Prevention Tips

You can treat a migraine from multiple angles: cold therapy and darkness for immediate relief, over-the-counter or prescription medications to stop an attack, and lifestyle changes or preventive treatments to reduce how often they strike. The best approach usually combines several of these strategies, tailored to how frequent and severe your migraines are.

What to Do During an Attack

When a migraine hits, your first move should be getting to a dark, quiet room. Light and sound amplify migraine pain through overstimulated sensory pathways, so reducing that input gives your brain a chance to calm down. Lie down if you can.

Applying a cold pack to the back of your neck is one of the most effective non-drug options. A randomized controlled trial found that a frozen neck wrap significantly reduced pain scores compared to a room-temperature control. The cold works primarily by cooling blood flowing through the carotid arteries, which reduces inflammatory signaling from intracranial blood vessels and narrows them slightly. That vascular constriction mimics part of what prescription migraine drugs do, just through a different mechanism. You can use a gel ice pack, a bag of frozen peas, or a purpose-built neck wrap. Keep it on for 15 to 20 minutes at a time with a thin cloth barrier.

Caffeine can help mild to moderate attacks, especially when combined with an over-the-counter pain reliever. It constricts blood vessels and enhances the absorption of other painkillers. A cup of strong coffee or tea at the first sign of symptoms is a simple starting point.

Over-the-Counter Pain Relievers

For mild to moderate migraines, standard painkillers like ibuprofen, naproxen, or aspirin work best when taken early, ideally within the first 30 minutes of symptoms. Acetaminophen is another option, though it tends to be less effective for moderate attacks. Combination products that pair a painkiller with caffeine can boost relief.

The critical rule here is frequency. Using simple painkillers more than 15 days a month, or combination painkillers more than 10 days a month, puts you at risk for medication overuse headache. This is a rebound cycle where the drugs themselves start triggering headaches. Keep over-the-counter painkillers to fewer than 14 days per month to stay in the safe range.

Prescription Medications for Acute Attacks

Triptans are the most widely prescribed class of migraine-specific drugs. They work by narrowing blood vessels around the brain and blocking pain signals in the trigeminal nerve. Several options exist, and their effectiveness varies. Oral eletriptan at 40 mg has the highest efficacy among oral triptans: roughly 31% of patients are completely pain-free at two hours, and about 38% experience significant pain relief, after subtracting the placebo effect. On the lower end, oral naratriptan at 2.5 mg gets about 10% of patients pain-free at two hours, though it has fewer side effects and a longer duration.

For people who need the fastest possible relief, injectable sumatriptan works quicker than any oral option. Nearly all of its two-hour pain relief occurs within that window rather than building slowly over four hours. Nasal spray formulations fall somewhere in between, with higher doses providing meaningfully better results.

The same overuse limit applies to triptans: keep use to no more than nine days per month to avoid rebound headaches.

Identifying and Managing Triggers

Migraines rarely appear out of nowhere. The three most common triggers are sleep disturbance (affecting about 71% of people with migraines), stress (67%), and fatigue (64%). Among women, menstruation triggers attacks in roughly 32% of cases. Other well-established triggers include alcohol (especially red wine), skipping meals, dehydration, strong smells, and weather changes.

Keeping a headache diary for two to three months is the most reliable way to identify your personal triggers. Record what you ate, how you slept, your stress level, where you were in your menstrual cycle, and the weather. Patterns often emerge that aren’t obvious day to day. Once you know your triggers, you can make targeted changes: consistent sleep and wake times, regular meals, stress management techniques, and adequate hydration cover the majority of modifiable triggers.

Supplements That Reduce Frequency

Two supplements have solid evidence behind them for migraine prevention. The American Headache Society recommends 400 to 500 milligrams of magnesium oxide daily. Magnesium plays a role in nerve signaling and blood vessel tone, and many people with migraines have lower magnesium levels than average. It can take six to eight weeks of consistent use to see a benefit.

Vitamin B2 (riboflavin) at 400 milligrams per day has been shown to cut migraine frequency roughly in half, from about four days per month down to two, over three to six months. The number of pain relief medications needed also dropped significantly. Riboflavin is well tolerated, with very few side effects beyond bright yellow urine. Both supplements are inexpensive and available without a prescription, making them a reasonable first step before moving to preventive medications.

Preventive Treatments for Frequent Migraines

If you’re getting four or more migraine days per month, or if your attacks are severely disabling even when less frequent, preventive treatment becomes worth discussing with a provider. Several older classes of daily medications are used first, including certain blood pressure drugs, antidepressants, and anti-seizure medications that also quiet overactive nerve pathways.

A newer class of preventive treatments targets a protein called CGRP, which surges during migraine attacks and drives inflammation and pain signaling. These medications, given as monthly self-injections, block either the protein itself or its receptor. They were developed specifically for migraines, unlike older preventives that were borrowed from other conditions. That specificity means fewer side effects for most people. Results typically become noticeable within the first one to three months.

For chronic migraines (15 or more headache days per month), Botox injections are another option. The standard protocol involves 31 injection sites across seven muscles in the head and neck, repeated every 12 weeks. Some people receive additional injections in the temples, back of the head, and upper shoulders if needed, bringing the total to 39 sites. The effects build over two to three treatment cycles, so it requires patience.

Nerve Stimulation Devices

Several FDA-cleared devices now offer drug-free options for treating or preventing migraines. These work by delivering mild electrical or magnetic pulses to specific nerves. One type stimulates the nerve above the eyebrows through a forehead electrode. Another uses a single pulse of magnetic energy applied to the back of the head. A wearable arm device sends electrical signals that activate the body’s own pain-modulating pathways. These devices are generally safe with minimal side effects, making them useful for people who want to reduce medication use or who can’t tolerate certain drugs.

When a Headache Needs Urgent Attention

Most migraines, while miserable, are not dangerous. But certain features signal something more serious. A sudden, explosive headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache) is a medical emergency. Other red flags include a headache accompanied by fever, confusion, weakness on one side of the body, vision loss, or seizures. A new type of headache starting after age 65, a headache that gets worse when you lie down or stand up, or one triggered by coughing, sneezing, or exercise also warrants prompt evaluation. Any progressive worsening over days to weeks, especially with a pattern that feels different from your usual migraines, should not be dismissed as “just another migraine.”