In this guide
What helps most at home during a migraine is resting in a dark, quiet room, sipping water and taking your usual pain reliever as soon as the headache starts.[9] For fewer attacks, regular meals, steady sleep and yoga have the best support, and results vary from person to person.
This is general education for adults, not advice for any one person.
Who should be careful?
Read this before trying anything below.
- Pregnancy, breastfeeding and children: a new or changed headache in pregnancy, or just after having a baby, needs urgent medical advice.[9] Ask your doctor before any supplement, as some are not safe in pregnancy or breastfeeding.[10] Do not use herbs or oils on children without medical advice.
- Medicines: ginger may add to the effect of blood thinners at high doses. Magnesium is not suitable for everyone, including people with kidney disease. Talk to your doctor or pharmacist before starting, stopping or changing anything.
- Pain relievers: too much paracetamol can harm the liver, and too much ibuprofen, naproxen or aspirin can irritate the stomach or damage the kidneys.[10]
- Birth control pills: tell your provider if you have migraine and take them.[10]
- Call emergency services (999 in the UK, 911 in the US, 112 in India) for a sudden, extremely painful headache, speech or vision problems, weakness on one side, drowsiness, confusion, a seizure, or a recent head injury.[9] In the UK, NHS 111 can advise on an attack lasting over 72 hours or aura lasting over an hour.
What should I do during a migraine attack?
Lie down in a darkened, quiet room, stay hydrated and take your usual pain reliever early, as the NHS advises.[9] A cold cloth on the forehead and slow breathing may add comfort. Treat early, because medicines tend to work best at the start.
Do this today:
- Lie down, head slightly raised, with lights and screens off.
- Place a cold pack wrapped in a thin cloth on forehead or neck for 15 to 20 minutes.
- Sip a glass of water, and eat something light such as plain rice or a banana if you skipped a meal.
- Breathe in for four counts and out for six, for five minutes.
- Write down the time, what you ate and slept, and what you took.
Does ginger help migraine?
Ginger may help some people. A meta-analysis of three randomised trials found better pain freedom at two hours and less nausea than comparison treatments.[2] In one trial of 100 people, ginger powder worked about as well as sumatriptan at two hours.[3]
These are small studies, so treat ginger as an extra and not a replacement for your usual medicine.
Indian kitchen tip: a quarter to half a teaspoon of dry ginger (sonth) stirred into a cup of warm water at the first sign, or fresh ginger tea if you prefer it milder. Stop if it causes heartburn. See our ginger guide.
How can I prevent migraine attacks?
Regular habits do more than any single remedy. Skipped meals, poor sleep, stress, too much caffeine and your period are common triggers.[9] A headache diary shows your own pattern.
| Habit | Simple way to start |
|---|---|
| Meals | Breakfast daily, lunch on time, a snack of nuts or fruit in the bag |
| Sleep | Same bedtime and wake time, including weekends. See our insomnia guide |
| Water | A steel bottle at the desk, more in summer heat |
| Caffeine | Small, regular tea or coffee; avoid sudden stops |
| Heat and sun | Hat or umbrella, avoid midday sun |
| Screens | A break every 30 to 60 minutes, stretch neck and shoulders |
Taking painkillers on too many days can itself cause more headaches. The NHS advises trying not to take them on more than 2 days a week; if you need more, see your doctor about prevention.[7][9]
Do yoga, magnesium and riboflavin work?
Yoga has the best evidence. In the CONTAIN trial in New Delhi, 160 people with episodic migraine had medical treatment alone or with yoga, and the yoga group had fewer headaches, less pain and fewer pills after three months.[6]
A gentle routine of neck loosening, nadi shodhana and bhramari pranayama, and five to ten minutes of relaxation is a common starting point. Skip strenuous practice during an attack.
A meta-analysis found oral magnesium reduced migraine frequency and intensity.[4] If you are weighing the forms, see our guide to magnesium glycinate benefits.
Food sources include pumpkin seeds, almonds, cashews, leafy greens and bananas.
A meta-analysis of riboflavin (vitamin B2) trials, mostly at 400 mg a day for three months, found fewer migraine days.[5] That is a trial dose, not a recommendation. Check with your provider before taking either supplement, and note they take months to show any effect.[10]
Myth versus evidence: "Migraine is just stress" is a myth. Stress is one trigger among several, and migraine is a real condition that drives much of the disability from headache disorders, more in women.[1]
What does Ayurveda say about migraine?
Classical Ayurveda describes one-sided headache as ardhavabhedaka, linked mainly to vata and pitta imbalance. Practitioners traditionally suggest cooling or grounding routines. This is a traditional view, and modern trial evidence for most of it is limited. Find your likely pattern with our dosha quiz.
Pitta-leaning pattern (burning pain, triggered by heat, sun, skipped meals, acidity):
- Regular cooling meals, less chilli, sour and fermented food
- Coconut water and cumin buttermilk
- See our acidity guide
Vata-leaning pattern (shifting pain, triggered by poor sleep, stress, travel, cold wind):
- Warm, regular meals with a little ghee
- Fixed sleep times and a gentle sesame oil scalp massage
- See abhyanga in our vata guide
Treatments such as nasya and shirodhara are traditionally given by trained practitioners. Do not do nasya yourself, and avoid it with a cold or in pregnancy without advice. You can also try the remedy finder.
When is a headache not a migraine?
Seek urgent care for a sudden, extremely painful headache, the worst headache of your life, or one with fever and a stiff neck. The same applies to speech, vision or movement problems, a seizure, or a head injury.[9][10]
Doctors also use a checklist to flag headaches with a possible serious cause, including a new headache after 50, one worse when lying down, or a clear change in your usual pattern.[8]
See your doctor soon if attacks come more than once a week, are getting worse, or no longer respond to your usual treatment.[9][10] Children with headaches that wake them from sleep or come with morning vomiting need prompt assessment.
Talk to your doctor or pharmacist before starting, stopping or changing any medicine or supplement.
Key takeaways
- Treat early: rest, darkness, fluids and your usual pain reliever work best at the first signs.
- Pain relievers taken too often can cause more headaches, so keep them to a couple of days a week.
- Regular meals, steady sleep and daily yoga are the most useful prevention habits.
- Know the red flags: a sudden, severe headache, speech or vision problems, confusion, or a seizure.
Questions people ask
Can ginger tea stop a migraine?
Not reliably. In small trials ginger powder eased pain and nausea at two hours for some people, but it is not a replacement for your usual medicine. Results vary, and it can upset the stomach.
What foods trigger migraine?
Triggers differ. Skipped meals and too much caffeine are common, and some people react to chocolate, certain cheeses or cured meats. A headache diary is the best way to find yours.
Does Ayurveda have a name for migraine?
Classical texts describe one-sided headache as ardhavabhedaka. Practitioners link it mostly to vata and pitta and suggest routine, diet and oil-based care. Modern evidence for these methods is limited.
Is it safe to put oil in the nose for migraine?
Nasya uses medicated oils and is traditionally done under a practitioner. Do not try it on your own, especially with a cold, in pregnancy or in children.
Sources (10)
- 1.GBD 2023 Headache Collaborators. Global, regional, and national burden of headache disorders, 1990-2023: a systematic analysis for the Global Burden of Disease Study 2023 The Lancet. Neurology, 2025.
- 2.Chen L, Cai Z. The efficacy of ginger for the treatment of migraine: A meta-analysis of randomized controlled studies The American journal of emergency medicine, 2021.
- 3.Maghbooli M, Golipour F, Moghimi Esfandabadi A, et al. Comparison between the efficacy of ginger and sumatriptan in the ablative treatment of the common migraine Phytotherapy research : PTR, 2014.
- 4.Chiu HY, Yeh TH, Huang YC, et al. Effects of Intravenous and Oral Magnesium on Reducing Migraine: A Meta-analysis of Randomized Controlled Trials Pain physician, 2016.
- 5.Chen YS, Lee HF, Tsai CH, et al. Effect of Vitamin B2 supplementation on migraine prophylaxis: a systematic review and meta-analysis Nutritional neuroscience, 2022.
- 6.Kumar A, Bhatia R, Sharma G, et al. Effect of yoga as add-on therapy in migraine (CONTAIN): A randomized clinical trial Neurology, 2020.
- 7.Ashina S, Terwindt GM, Steiner TJ, et al. Medication overuse headache Nature reviews. Disease primers, 2023.
- 8.Do TP, Remmers A, Schytz HW, et al. Red and orange flags for secondary headaches in clinical practice: SNNOOP10 list Neurology, 2019.
- 9.NHS. NHS: Migraine
- 10.NIH / MedlinePlus. MedlinePlus: Migraine
For education only, not medical advice. Medical disclaimer
