What stops a migraine once it starts
The fastest way to stop a migraine is to take medication as soon as you feel one beginning — ideally during the aura phase, before the headache pain sets in. Over-the-counter pain relievers like ibuprofen or naproxen work for mild to moderate migraines if you take them early. For moderate to severe migraines, prescription medications called triptans (such as sumatriptan, rizatriptan, or frovatriptan) are more effective; they work by narrowing blood vessels and blocking pain pathways in the brain.
If you wait until the pain is severe, medication takes longer to work and may not work at all. This is why keeping your medication with you and recognizing your early warning signs matters. Some people also find relief from resting in a dark, quiet room, applying ice or heat to the head or neck, or staying hydrated — but medication is the most reliable first step.
If over-the-counter medication does not work within two hours, or if your migraines are severe, talk to your doctor about prescription options. Your doctor can also prescribe anti-nausea medication if vomiting is part of your migraine, since nausea can prevent other medications from working.
Key Takeaways
- Taking medication during the aura phase or at the very first sign of pain stops migraines faster than waiting until pain is severe.
- Over-the-counter ibuprofen or naproxen work for mild migraines; prescription triptans are more effective for moderate to severe ones.
- Resting in a dark room, applying ice or heat, and staying hydrated can help, but medication is the most reliable treatment.
- Preventive medications taken daily can reduce how often migraines occur and how severe they are, even if you still get them sometimes.
- Identifying and avoiding your personal triggers — such as certain foods, stress, or sleep changes — prevents migraines before they start.
Preventive medications that reduce how often migraines happen
If you have migraines more than four times a month, or if they are so severe that they disrupt your life, your doctor may recommend a preventive medication. These are taken daily, whether or not you have a migraine that day, and they work by making migraines less frequent and less intense over time.
Common preventive medications include beta-blockers (such as propranolol), tricyclic antidepressants (such as amitriptyline), and anticonvulsants (such as topiramate). Newer options called CGRP inhibitors (erenumab, fremanezumab, and eptinezumab) are injected monthly or quarterly and are particularly effective for chronic migraines. Your doctor will choose based on your migraine pattern, other health conditions, and medications you already take.
Preventive medications usually take four to eight weeks to show results, so you will not see improvement right away. If one does not work or causes side effects you cannot tolerate, your doctor can switch you to another. Finding the right preventive medication sometimes takes trial and adjustment.
Identifying and avoiding your personal migraine triggers
Most people with migraines have specific triggers — situations, foods, or changes that make a migraine more likely. Common triggers include skipped meals, dehydration, caffeine withdrawal, hormonal changes, stress, sleep disruption, bright lights, strong smells, and certain foods like aged cheese, processed meats, or alcohol. Your triggers may be different from someone else's, which is why tracking them matters.
Start a migraine diary: write down the date, time, and severity of each migraine, plus what you ate, how much you slept, your stress level, and anything unusual that day. After a few weeks, patterns often emerge. Once you know your triggers, you can avoid them or prepare for them — for example, by eating regular meals, staying hydrated, managing stress, or wearing sunglasses in bright environments.
Some triggers cannot be avoided (like hormonal changes in people who menstruate), but knowing they are coming lets you take preventive medication ahead of time or be extra careful about other triggers that day. Keeping your migraine diary even after you identify triggers helps you spot new ones and track whether your prevention plan is working.
Lifestyle changes that lower migraine frequency
Regular sleep, consistent meal timing, and staying hydrated are the foundation of migraine prevention. Migraines are more likely when you sleep too little, sleep too much, or have an irregular sleep schedule — even a one-hour shift can trigger one. Eating at regular times prevents the low blood sugar that can set off a migraine, and dehydration is one of the most common triggers.
Regular exercise also reduces migraine frequency, though intense exercise can trigger one in some people. Start with moderate activity like walking or swimming, three to five times a week. Stress management through meditation, deep breathing, yoga, or other relaxation techniques lowers migraine risk, though the stress relief often comes after the activity ends — the activity itself can sometimes trigger a migraine.
If you use caffeine, keep your intake consistent; both too much caffeine and sudden withdrawal can trigger migraines. If you drink alcohol, track which types trigger yours — red wine and beer are common culprits for some people, while others have no reaction. Small changes in these areas often reduce migraines more than you might expect.
When to see a doctor about migraines
See your doctor if you have a new migraine pattern you have never had before, if migraines are getting worse or more frequent, or if your usual medication stops working. Also see a doctor if a migraine is accompanied by fever, stiff neck, confusion, vision changes beyond your normal aura, weakness, numbness, or difficulty speaking — these can signal a more serious condition.
If you have migraines more than once a month, or if they are affecting your work, school, or daily life, your doctor can help you find a prevention plan. A neurologist (a doctor who specializes in nervous system disorders) can be especially helpful if your migraines are complex or if standard treatments have not worked.
Keep a record of your migraines before your appointment: how often they happen, how long they last, what makes them better or worse, and how they affect you. This information helps your doctor choose the right treatment for you.
Medication options for different migraine patterns
The right medication depends on how often you have migraines, how severe they are, and how quickly you need relief. For occasional mild migraines, over-the-counter ibuprofen or naproxen taken early is often enough. For migraines that happen a few times a month, a triptan prescription gives you faster, more reliable relief.
For chronic migraines (15 or more days a month), preventive medication is usually necessary. Your doctor may combine a daily preventive with a triptan for breakthrough migraines — ones that happen despite prevention. Some people also benefit from Botox injections (onabotulinumtoxinA), which is injected into the scalp and neck muscles every 12 weeks for chronic migraines; it is approved by the FDA specifically for this use.
If you are pregnant, planning to become pregnant, or breastfeeding, tell your doctor before starting any migraine medication, as some are not safe during pregnancy or while nursing. Your doctor can recommend options that are safe for you and your baby.
What to do during a migraine if medication is not available
If you do not have medication on hand, these steps can reduce pain and help you get through the migraine. Move to a dark, quiet room and lie down. Apply a cold compress or ice pack to your head, neck, or temples for 15 minutes at a time, or try a warm compress if cold does not help — people respond differently. Drink water slowly to stay hydrated.
Close your eyes and try to rest or sleep if you can; sleep often ends a migraine. If nausea is a problem, eat something bland like crackers or toast, or sip ginger tea or peppermint tea, which some people find soothing. Avoid screens, loud noises, and strong smells, which can make the migraine worse.
These steps are not a substitute for medication, but they can help while you wait for medication to work or until you can see a doctor. If a migraine lasts more than 72 hours, causes severe symptoms, or is different from your usual migraines, seek medical care.
Frequently Asked Questions
Can I take migraine medication every day to prevent migraines?
Some migraine medications are designed to be taken daily as prevention, like beta-blockers or topiramate. Others, like triptans, are meant for acute treatment only and should not be used more than 10 days a month, as overuse can cause medication-overuse headaches. Your doctor will tell you which medications are safe to use daily and which are not.
Why does my migraine medication work sometimes but not other times?
Medication effectiveness depends on when you take it, how severe the migraine is, and what triggered it. Taking medication during the aura phase works better than waiting until pain is severe. Stress, hormonal changes, or other triggers happening at the same time can also make medication less effective. If your medication is failing more often, tell your doctor — you may need a different dose or a different medication.
Is it safe to take over-the-counter pain relievers with a prescription triptan?
Some combinations are safe, but not all. Mixing ibuprofen with a triptan is generally considered safe, but combining acetaminophen, ibuprofen, and caffeine (as in some combination products) with a triptan is not recommended. Always ask your doctor or pharmacist before combining medications, as it depends on which specific drugs you are taking.
What if nothing stops my migraine?
If a migraine does not respond to your usual medication within two hours, or if it lasts longer than 72 hours, contact your doctor. You may need a different medication, a higher dose, or additional treatment like an injection or IV medication given in a clinic or emergency room. This is called status migrainosus, and it requires medical care.
Can I prevent migraines by avoiding all possible triggers?
Not completely — some triggers are unavoidable, and avoiding too many things can actually increase stress and trigger migraines. The goal is to identify your main triggers and manage them reasonably, while using preventive medication and lifestyle habits to lower your overall migraine risk. Your doctor can help you find the right balance.