How to Stop a Migraine Before It Starts: Signs and Steps

How to Stop a Migraine Before It Starts: Signs and Steps

You can often stop a migraine before it fully develops by recognizing early warning signs, taking your acute medicine as soon as the headache starts, and resting somewhere dark and quiet. Over the longer term, tracking triggers, keeping regular sleep and meals, and using preventive treatment when attacks are frequent cut down how many migraines you get.

This guide is for adults who already know they get migraines, or suspect they do, and want a practical plan for heading attacks off.

Key takeaways

  • About 12% of people in the United States have migraines, and adult women have them about three times as often as men, according to the NINDS.
  • Many migraines follow four phases: prodrome, aura, headache and postdrome, though not everyone has all four.
  • Untreated migraine attacks usually last about 4 to 72 hours.
  • Pain relievers work best taken as soon as the headache starts, and the NHS advises not taking painkillers on more than 2 days a week.
  • A sudden, extremely severe headache, or a headache with weakness, confusion or vision loss, needs emergency care.

What are the early warning signs of a migraine?

The earliest warning signs come in the prodrome, a phase that can start a day or two before the pain. Spotting it gives you time to act. Some people also get an aura shortly before the headache.

Mayo Clinic lists common prodrome signs as food cravings, mood changes, constipation, neck stiffness and frequent yawning. The NINDS describes this premonitory phase as starting up to 48 hours before the headache.

An aura is a set of temporary nervous system symptoms, most often visual, such as flashing lights, zigzag lines or blind spots. It can also include tingling, weakness or trouble speaking. Aura symptoms usually build over several minutes and last up to 60 minutes. Not everyone who has migraines gets aura.

PhaseTypical timingCommon signsWhat you can do
ProdromeUp to 1 to 2 days beforeYawning, cravings, stiff neck, mood changeHydrate, eat regularly, protect sleep, prepare medicine
AuraBuilds over minutes, up to 60 minutesFlashing lights, blind spots, tinglingStop driving, move to a safe quiet place
HeadacheAbout 4 to 72 hours untreatedThrobbing pain, light and sound sensitivity, nauseaTake acute treatment early, rest in the dark
PostdromeUp to a day afterDrained, foggy, tiredGentle activity, fluids, avoid sudden head movement

Timings in the table come from Mayo Clinic and the NINDS. Your own pattern may be shorter or longer, which is why a diary helps.

What triggers migraines?

Triggers are factors that make an attack more likely in someone who is already prone to migraine. They do not cause migraine on their own, and they differ a lot from person to person.

Commonly reported triggers, according to Mayo Clinic, include:

  • Hormonal shifts, such as changes in estrogen around periods, pregnancy and menopause
  • Alcohol, especially wine, and too much caffeine
  • Stress at work or home
  • Bright or flashing lights, loud sounds and strong smells
  • Missing sleep or sleeping much more than usual
  • Intense physical exertion
  • Weather and barometric pressure changes
  • Skipped meals, aged cheeses and salty or processed foods
  • Additives such as aspartame and MSG

Sleep is one of the easiest triggers to work on. Our guide to sleep hygiene habits that actually work covers how to keep a steady schedule. Alcohol is another; if wine nights tend to end badly, our piece on what actually prevents a hangover explains why some drinks hit harder. For the sweetener question, see our review of aspartame research.

Hormones deserve a special mention. Women are about three times more likely than men to have migraines, and many notice attacks around their period or during perimenopause. If attacks cluster around your cycle, tell your doctor, because that pattern can change which treatment makes sense.

How do you stop a migraine once you feel it coming?

Treat early. The NHS advises taking painkillers such as ibuprofen or paracetamol (acetaminophen) as soon as the headache starts, rather than waiting to see if it gets bad.

Here is a step-by-step plan for the moment you notice warning signs:

  1. Recognize your signal. Yawning, a stiff neck, visual aura or your personal first sign means it is time to act, not to push through.
  2. Take your acute medicine early. Use the treatment you and your doctor have agreed on, at the dose on the label or prescription. Over-the-counter options include ibuprofen, naproxen, aspirin and acetaminophen. Prescription options include triptans and gepants, per the NHS.
  3. Treat nausea too. The NHS notes that anti-sickness medicines can help when nausea or vomiting is part of the attack.
  4. Cut sensory input. Move to a dark, quiet room. Light and sound sensitivity often make pain worse.
  5. Drink water and eat something plain if you have skipped a meal.
  6. Try a cold or warm compress on your forehead or neck, whichever feels better.
  7. Rest or sleep if you can. Many people find a short sleep shortens the attack.
  8. Log it. Write down the time, likely trigger, what you took and how well it worked.

The NINDS describes triptans as a preferred treatment for moderate to severe migraine pain, with over-the-counter analgesics used for less severe attacks. If your current medicine does not work within a reasonable time, that is a reason to ask about a different option, not to take more.

How can you prevent migraines long term?

Prevention combines steady daily habits with preventive medicine for people who have frequent or disabling attacks. The aim is fewer, milder attacks, not necessarily zero.

Lifestyle changes the NHS recommends include eating at regular times and drinking less caffeine. Regular sleep, regular exercise and stress management also help many people. Stress is a common trigger, so practical techniques from our guide on calming nerves and managing anxiety can pull double duty.

Preventive treatment means medicine taken every day, whether or not you have a headache, to reduce how often attacks happen. The NHS lists options including beta blockers, certain antidepressants and certain epilepsy medicines, along with acupuncture, relaxation techniques, cognitive behavioral therapy and vitamin B2. The NINDS suggests considering preventive treatment if migraines happen two or more times a week, if attacks are disabling however often they occur, or if acute medicine is needed more than three times a week. Each preventive is usually tried for 2 to 3 months before judging whether it works.

Some people ask about magnesium. Our comparison of magnesium glycinate and citrate explains the forms, but check with your doctor before adding any supplement to a migraine plan.

Common mistakes that make migraines worse

The most common mistake is taking pain relievers too often, which can cause a medication overuse headache: a daily or near-daily headache driven by frequent use of acute headache drugs.

  • Using painkillers on too many days. The NHS advises trying not to take painkillers on more than 2 days a week. The NINDS notes it can take weeks for overuse headaches to settle after the drug is stopped.
  • Waiting too long to treat. Holding off until pain is severe often means the medicine works less well.
  • Blaming one food for everything. Triggers often stack. Poor sleep plus a skipped lunch plus a stressful day may set off an attack when any one alone would not.
  • Cutting caffeine suddenly. If you drink a lot, reduce gradually rather than all at once.
  • Not tracking. Without a diary, it is hard to see patterns or show your doctor how often you really need medicine.

When to see a doctor

See your doctor if migraines are getting worse, lasting longer, happening more than once a week or are hard to control, as the NHS advises. Ask for an urgent appointment if an attack lasts longer than 72 hours, aura lasts longer than 1 hour, or you are pregnant or have just had a baby.

Get emergency help right away for any of these red flags, drawn from the NHS, Mayo Clinic and NINDS:

  • A sudden, extremely painful headache, sometimes called a thunderclap headache
  • Weakness or numbness in an arm, leg or one side of the face
  • Trouble speaking, confusion or drowsiness
  • Vision loss, or blurred or double vision
  • A seizure
  • Fever with a stiff neck
  • A headache after a head injury
  • A new headache pattern after age 50

Unusual headaches with other strange symptoms always deserve a look; our article on a rare cause of headache and leg weakness shows why.

FAQ

Can you really stop a migraine before it starts?

Often, yes, or at least make it milder. Acting during the prodrome or at the very first sign of pain, with your agreed acute medicine, rest and fluids, tends to work better than waiting. You cannot prevent every attack, but early treatment plus trigger management reduces how often migraines take over your day.

How long does a migraine last?

Untreated, the headache phase usually lasts about 4 to 72 hours, according to Mayo Clinic and the NINDS. The full episode can feel longer because of the prodrome before and the postdrome afterward, when many people feel drained for up to a day. An attack lasting more than 72 hours needs urgent medical advice.

Does caffeine help or hurt migraines?

Both, depending on amount. Too much caffeine is a listed trigger, and the NHS recommends drinking less as a prevention step. Some people find a small amount helps early in an attack. The bigger problem is heavy daily intake or sudden withdrawal, so keep your intake modest and consistent.

How many days a week can I take migraine painkillers?

The NHS advises trying not to take painkillers on more than 2 days a week, because frequent use can cause medication overuse headaches. If you need acute medicine more often than that, talk to your doctor about preventive treatment instead of increasing your painkiller use.

What to do next

  • Start a migraine diary today: date, time, warning signs, possible triggers, medicine taken and how well it worked.
  • Agree on an early treatment plan with your doctor or pharmacist so you know exactly what to take at the first sign.
  • Pick one trigger to work on this month, such as a fixed bedtime or regular meal times.
  • Count your painkiller days each week; if it is regularly more than 2, book an appointment to discuss prevention.

This article is for general information and is not medical advice. Always follow the dosing instructions for your medicines and ask a clinician about your own symptoms.

Sources

Last reviewed: October 2026.

Comments

Popular Posts

Top 10 Exercises to Help You Sleep Longer and Better

Muscle Gain Diet: What Actually Works, Kept Simple

Why Am I Losing Muscle Mass? Causes, Signs and Fixes

Plant Protein Powder for Acne-Prone Skin: What to Know

Calorie Deficit and Insomnia: Why Dieting Keeps You Awake

Can Pinworms Last for Years? Why Infections Keep Coming Back

No-Sugar Diet: How to Cut Added Sugar Step by Step

Fruits That Help Reduce Cholesterol and What to Avoid

Soursop Benefits and Risks: Fruit, Leaves and Tea

Why Sleep Earbuds Cause a Sore Spot on Your Ear Cartilage