What actually stops a migraine once it starts
The fastest way to stop a migraine is to take a painkiller as soon as you feel the first signs — before the headache becomes severe. Over-the-counter options like ibuprofen (Advil, Motrin) or naproxen (Aleve) work for mild to moderate migraines if you catch them early. For stronger relief, prescription medications called triptans (sumatriptan, rizatriptan, frovatriptan) are designed specifically for migraines and work by narrowing blood vessels and blocking pain pathways in the brain. Triptans are most effective within 30 minutes to 2 hours of taking them.
If you have severe nausea with your migraines, anti-nausea medication taken alongside a painkiller can help you keep the medicine down and absorb it better. Some people find that lying down in a dark, quiet room for 30 minutes to several hours allows the medication to work while reducing sensory triggers that make the pain worse. Ice packs on the head or neck, or a warm compress depending on what feels better, can provide additional relief while you wait for medication to take effect.
If over-the-counter painkillers do not work or you have migraines more than four days a month, talk to your doctor about prescription options. Newer medications like CGRP inhibitors (erenumab, fremanezumab) and ditans (lasmiditan) target different parts of the migraine process and may work better for you than triptans.
Key Takeaways
- Taking ibuprofen, naproxen, or a triptan within the first 30 minutes of migraine symptoms gives the best chance of stopping the headache before it worsens.
- Resting in a dark, quiet room while medication works reduces additional pain from light and sound sensitivity.
- If you have migraines more than four days per month, preventive medications taken daily can reduce how often attacks happen and how severe they are.
- Common preventive options include beta-blockers, tricyclic antidepressants, topiramate, and newer CGRP inhibitors, each with different side effects and effectiveness for different people.
- Tracking when migraines happen, what triggers them, and which treatments work helps your doctor find the right approach for you.
Preventive medications that reduce how often migraines happen
If you have migraines more than four days a month, taking a medication every day can cut the number of attacks in half or more. Beta-blockers like propranolol and metoprolol were originally developed for high blood pressure but reduce migraine frequency in many people. They work by calming the nervous system's response to triggers. Common side effects include fatigue, dizziness, and sexual dysfunction, and they are not safe if you have asthma or certain heart conditions.
Tricyclic antidepressants, particularly amitriptyline, prevent migraines even in people without depression. They take 2 to 4 weeks to show benefit and work by affecting brain chemicals involved in pain processing. Dry mouth, weight gain, and drowsiness are common, especially at higher doses. Topiramate (Topamax), an anticonvulsant, reduces migraine frequency and is often chosen when other options have not worked, though it can cause tingling in the fingers and toes, memory problems, and weight loss.
Newer CGRP inhibitors like erenumab (Aimovig), fremanezumab (Ajovy), and eptinezumab (Vyepti) block a protein involved in migraine pain and are given as monthly or quarterly injections or infusions. They tend to have fewer side effects than older preventives but are more expensive and require prior approval from insurance. Your doctor will help you choose based on your other health conditions, past medication responses, and what side effects you can tolerate.
Identifying and avoiding your personal triggers
Migraines do not happen randomly — they are set off by specific triggers that vary from person to person. Common triggers include skipped meals, dehydration, caffeine withdrawal, hormonal changes (especially around menstruation), sleep disruption, stress, and certain foods like aged cheese, cured meats, and alcohol. Bright lights, strong smells, and weather changes also trigger migraines in many people. The only way to know your triggers is to track when migraines happen and what was different that day.
Keep a simple log for 2 to 3 months noting the date, time, what you ate and drank, your sleep, stress level, and any other details before each migraine started. Look for patterns — if a migraine always follows skipped breakfast or happens the day after wine, that is a trigger worth avoiding. Some triggers are unavoidable (like menstruation), but knowing them helps you prepare with preventive medication or extra caution on high-risk days.
Caffeine deserves special attention because it both triggers migraines and is used in some migraine medications. If you drink caffeine daily, suddenly stopping can cause withdrawal migraines. If caffeine is a trigger for you, cut back slowly over a week or two rather than quitting cold turkey. The same applies to other habits — gradual change is less likely to trigger an attack than sudden change.
Lifestyle changes that reduce migraine frequency
Regular sleep on a consistent schedule is one of the most powerful migraine preventers. Going to bed and waking at the same time every day, even on weekends, stabilizes the brain chemistry that controls migraine risk. Sleeping too little or too much both trigger attacks. Aim for 7 to 9 hours and keep your schedule within an hour of your target times.
Regular aerobic exercise like walking, swimming, or cycling reduces migraine frequency when done 3 to 4 times per week. Exercise works partly by reducing stress and partly by changing brain chemistry. Start slowly if you are not used to exercise, because intense activity can trigger a migraine in some people. Staying hydrated throughout the day, eating regular meals, and managing stress through meditation, yoga, or other relaxation methods also lower migraine risk.
Limiting alcohol, especially red wine and beer, prevents migraines in people sensitive to it. If you drink, staying hydrated and eating food alongside alcohol reduces the risk. Some people find that reducing screen time or using blue-light glasses helps, though the evidence for this is weaker than for sleep and exercise.
When to see a doctor about your migraines
See a doctor if migraines are new, have changed in pattern or severity, happen more than four days a month, or are not controlled by over-the-counter medication. Also seek care if a migraine is accompanied by fever, stiff neck, confusion, vision changes, weakness, or numbness — these can signal a more serious condition. If a migraine lasts longer than 72 hours, that is called status migrainosus and requires medical attention.
Your doctor will ask about the pattern of your migraines, what makes them better or worse, and what medications you have tried. They may order blood tests or imaging (like an MRI) if your migraines are new or unusual, though most people with typical migraines do not need imaging. A headache diary kept for 2 to 3 months before your appointment gives your doctor concrete information about frequency, triggers, and what treatments work.
If your first preventive medication does not work well, do not assume nothing will help — different medications work for different people, and it often takes trying 2 or 3 options to find the right fit. Some people benefit from seeing a neurologist who specializes in headaches, especially if migraines are severe or frequent.
Emergency treatment for severe or prolonged migraines
If a migraine is so severe that you cannot function, or if it lasts more than 72 hours despite home treatment, go to an urgent care clinic or emergency room. Doctors there can give stronger medications intravenously, including dihydroergotamine (DHE), magnesium sulfate, or high-dose ketorolac (Toradol), which work faster than oral medications. Anti-nausea medication and fluids are also given to help you recover.
Some people with frequent severe migraines benefit from nerve blocks — injections of local anesthetic around nerves involved in migraine pain — which can provide relief for weeks. These are usually done in a doctor's office or outpatient clinic and are an option worth discussing if your migraines are disabling despite preventive medication.
Medication overuse and rebound headaches
Taking pain medication more than 10 to 15 days per month can actually cause more frequent headaches, a condition called medication overuse headache or rebound headache. This happens with over-the-counter painkillers, prescription painkillers, and triptans. If you find yourself reaching for medication more often, talk to your doctor about starting a preventive medication instead, which addresses the root problem rather than treating each attack.
Breaking the cycle of medication overuse requires stopping the frequent medication, which can temporarily make headaches worse before they improve. Your doctor can help you do this safely, sometimes by switching to a preventive medication first or by doing a supervised medication withdrawal. This is not something to attempt on your own, because the rebound effect can be severe.
Frequently Asked Questions
What is the difference between a migraine and a regular headache?
Migraines typically cause throbbing pain on one side of the head, often with nausea, vomiting, and sensitivity to light and sound. Regular tension headaches are usually a steady pressure on both sides and do not come with nausea or light sensitivity. Migraines also tend to be disabling — you cannot function normally during one — while tension headaches are uncomfortable but manageable.
Can migraines be cured permanently?
There is no cure that eliminates migraines forever, but they can be controlled so well that they rarely happen or are mild when they do. Preventive medications, trigger avoidance, and lifestyle changes reduce frequency and severity significantly for most people. Some people find their migraines improve or change over time, especially after hormonal changes or life circumstances shift.
Are triptans safe to use every time I have a migraine?
Triptans are safe for occasional use, but using them more than 10 days per month increases the risk of medication overuse headache. If you need triptans that often, a preventive medication taken daily is a better approach. Your doctor can help you decide whether to add a preventive or switch your current treatment.
Why do migraines run in families?
Migraines have a strong genetic component — if both your parents have migraines, your risk is around 70 percent. Genes affect how your brain processes pain signals and responds to triggers. Having a family history does not mean you will definitely have migraines, but it does increase your likelihood and may mean they start earlier in life.
Can hormonal birth control make migraines worse?
For some people, hormonal birth control reduces migraines; for others, it makes them worse or triggers them for the first time. The fluctuation in estrogen during the pill-free week is often the problem. If birth control worsens your migraines, talk to your doctor about continuous-dose pills, patches, or non-hormonal options. People with migraines with aura have a slightly higher stroke risk with estrogen-containing birth control, so this is worth discussing with your doctor.