What to Do for a Migraine: Home and Medical Relief

When a migraine hits, your best immediate moves are taking an over-the-counter pain reliever, applying something cold to your head or neck, and retreating to a dark, quiet room. Those three steps alone can cut a migraine short for many people, especially if you act within the first 30 minutes of symptoms. But there’s a wider toolkit available, from prescription medications to supplements that reduce how often migraines happen in the first place.

Act Fast With Over-the-Counter Pain Relief

Timing matters more than most people realize. The sooner you take a pain reliever after symptoms begin, the more effective it will be. Among common options, ibuprofen consistently outperforms acetaminophen. In head-to-head research, ibuprofen was twice as likely as acetaminophen to fully abort a migraine within two hours. Acetaminophen still works better than nothing, but if you tolerate anti-inflammatory drugs, ibuprofen or naproxen are stronger choices.

Combination products that pair acetaminophen with aspirin and caffeine can also be effective. Caffeine narrows blood vessels and helps your body absorb the other ingredients faster. If you keep one of these in your medicine cabinet, reaching for it at the first sign of an aura or throbbing pain gives you the best shot at stopping the attack early.

What to Do at Home Right Now

Cold therapy has real physiological backing. Applying a cold pack, frozen gel wrap, or even a bag of ice wrapped in a towel to your forehead, temples, or the back of your neck can calm the nerve signals involved in migraine pain. A Cleveland Clinic study on targeted nasal cooling found that nearly half of participants were completely pain-free at two hours, compared to 16% in the control group. You don’t need a medical device for a simpler version of this effect: a cold compress held against your skin for 15 to 20 minutes at a time can take the edge off.

Lying down in a dark, quiet room isn’t just comfort. During a migraine, your brain becomes hypersensitive to light, sound, and sometimes smell. Reducing sensory input lets your nervous system dial down from that heightened state. If you can’t get to a dark room, a sleep mask and earplugs accomplish much of the same thing. Staying hydrated matters too. Dehydration is a common migraine trigger, and even mild fluid loss can make an existing attack worse.

Ginger as a Surprisingly Effective Option

Ginger powder isn’t just folk medicine. A clinical trial compared 250 mg of powdered ginger to 50 mg of sumatriptan, one of the most commonly prescribed migraine drugs, and found no significant difference in pain reduction between the two groups. Both produced roughly the same drop in pain scores. Ginger also causes fewer side effects. You can take it as a capsule, stir powdered ginger into hot water, or chew on crystallized ginger at the onset of symptoms. It won’t work for everyone, but it’s a low-risk option worth trying, especially if you’re looking for something you can grab from a kitchen cabinet.

Prescription Options for Stronger Attacks

If over-the-counter remedies don’t cut it, triptans are the most widely prescribed class of migraine-specific medication. They work by altering blood circulation in the brain and changing how your brain processes pain signals. Triptans come in tablets, nasal sprays, and injections, so even if nausea makes swallowing a pill difficult, there are alternatives. They’re most effective when taken early in an attack.

A newer class of drugs called gepants works differently. These block a protein called CGRP that plays a central role in triggering migraine pain. Ubrogepant was the first in this class to receive FDA approval and reaches peak levels in your blood within about an hour. Current guidelines generally position gepants as an option after triptans haven’t worked well for you. Unlike triptans, gepants don’t constrict blood vessels, which makes them a safer choice if you have cardiovascular risk factors.

Wearable Nerve Stimulation Devices

FDA-cleared wearable devices now offer a drug-free treatment path. One device, worn on the upper arm and controlled by a smartphone app, delivers electrical pulses that activate your brain’s built-in pain regulation system. In a study of over 55,000 patients and nearly 587,000 treatments, 65% of people who used the device early in an attack reported pain relief, and about 29% became completely pain-free. Those numbers dropped significantly when people waited longer to start treatment, reinforcing the same lesson: early action produces better results.

Supplements That Reduce Migraine Frequency

If you’re getting migraines regularly, certain supplements can reduce how often they occur. The American Headache Society highlights three with the strongest evidence:

  • Magnesium oxide: 400 to 500 mg daily. Many migraine sufferers have low magnesium levels, and supplementation can reduce attack frequency by relaxing blood vessels and calming overexcited nerve cells.
  • Riboflavin (vitamin B2): 400 mg daily. This supports energy production in brain cells, which may be impaired in people who get migraines.
  • Melatonin: 3 mg before bed. Beyond its role in sleep, melatonin has anti-inflammatory properties that appear to help with migraine prevention.

These supplements typically take 6 to 12 weeks of consistent daily use before you notice a difference. They’re not meant for stopping an attack that’s already happening.

The Rebound Headache Trap

One of the most counterintuitive risks with migraines is that the medications you use to treat them can start causing more headaches. This is called medication overuse headache, and it creates a vicious cycle: you take painkillers because your head hurts, and your head hurts partly because you’re taking painkillers too often.

The thresholds are specific. Over-the-counter pain relievers like ibuprofen, acetaminophen, and naproxen carry rebound risk when used on more than 15 days per month. For triptans, combination medications containing caffeine or butalbital, and opioids, the threshold is lower: more than 10 days per month. A safe general rule is to limit acute headache medication to no more than two to three days per week. If you find yourself reaching for painkillers more often than that, it’s a signal to explore preventive strategies instead.

Headaches That Aren’t Just Migraines

Most migraines, while miserable, are not dangerous. But certain headache features signal something more serious. A sudden-onset headache that reaches maximum intensity within seconds, sometimes called a thunderclap headache, can indicate a vascular emergency like a brain aneurysm and needs immediate evaluation.

Other warning signs include headache accompanied by fever or night sweats, new neurological symptoms like weakness on one side of your body, numbness you haven’t experienced before, or vision changes that are different from your usual aura. A first-ever severe headache after age 50, or a headache pattern that is clearly getting worse over weeks, also warrants prompt medical attention. These features don’t necessarily mean something is wrong, but they fall outside the pattern of typical migraine and need to be checked.