Migraines: Simple steps to head off the pain

Migraines cause pain as real as the pain of injuries — with one difference: Healthy habits and simple remedies sometimes stop migraines before they start.By Mayo Clinic Staff

Medicine is a proven way to both treat and prevent migraines. But medicine is only part of the story. It's also important to take good care of yourself and understand how to cope with migraine pain when it strikes.

The same lifestyle choices that promote overall good health also can reduce the number of migraines you have and lessen the migraine pain.

Combining medicine with behavioral measures and lifestyle can often be the most effective way to handle migraines.

Find a calm environment

At the first sign of a migraine, take a break and step away from whatever you're doing if possible.

  • Turn off the lights. Light and sound can make migraine pain worse. Relax in a dark, quiet room. Sleep if you can.
  • Try temperature therapy. Apply hot or cold compresses to your head or neck. Ice packs have a numbing effect, which may dull the pain. Hot packs and heating pads can relax tense muscles. Warm showers or baths may have a similar effect.
  • Sip a caffeinated drink. In small amounts, caffeine alone can relieve migraine pain in the early stages. Caffeine also may enhance the pain-reducing effects of acetaminophen (Tylenol, others) and aspirin.

    Be careful, however. Drinking too much caffeine too often can lead to withdrawal headaches later on. And having caffeine too late in the day may interfere with sleep, which can affect migraines.

Sleep well

Migraines may keep you from falling asleep or wake you up at night. Likewise, migraines are often triggered by a poor night's sleep.

Here are some tips to encourage sound sleep.

  • Establish regular sleep hours. Wake up and go to bed at the same time every day — even on weekends. If you nap during the day, keep it short. Naps longer than 20 to 30 minutes may interfere with nighttime sleep.
  • Unwind at the end of the day. Anything that helps you relax can promote better sleep: Listen to soothing music, soak in a warm bath or read a favorite book.

    But watch what you eat and drink before bedtime. Intense exercise, heavy meals, caffeine, nicotine and alcohol can interfere with sleep.

  • Lessen distractions. Save your bedroom for sleep and intimacy. Don't watch television or take work materials to bed. Close your bedroom door. Use a fan to muffle distracting noises.
  • Don't try so hard to sleep. The harder you try to sleep, the more awake you'll feel. If you can't fall asleep, read or do another quiet activity until you become drowsy.
  • Check your medicine. Medicine that contains caffeine or another stimulant — including some medicine to treat migraines — may interfere with sleep.

Eat wisely

Your eating habits can influence your migraines. Consider the basics:

  • Be consistent. Eat at about the same time every day.
  • Don't skip meals. Fasting increases the risk of migraines.
  • Keep a food journal. Keeping track of the foods you eat and when you have migraines can help you find potential food triggers.
  • Avoid foods that trigger migraines. If you suspect that a certain food is triggering migraines, remove it from your diet to see what happens. These foods may include aged cheese, chocolate, caffeine and alcohol.

Exercise regularly

During physical activity, your body releases certain chemicals that block pain signals to your brain. These chemicals also help reduce anxiety and depression — two conditions that can make migraines worse.

Obesity also increases the risk of chronic headaches. Maintaining a healthy weight through exercise and diet can provide additional benefits in managing migraines.

If your health care provider agrees, choose any exercise you enjoy. Walking, swimming and cycling are often good choices. Just remember to ease into exercise gradually, as very vigorous exercise may trigger migraines.

Manage stress

Stress and migraines often go hand in hand. You can't avoid daily stress, but you can keep it under control to help manage your migraines:

  • Simplify your life. Don't look for ways to squeeze more activities or chores into the day. Instead, find a way to leave some things out.
  • Manage your time wisely. Update your to-do list every day — both at work and at home. Delegate what you can, and divide large projects into manageable chunks.
  • Take a break. If you feel overwhelmed, a few slow stretches or a quick walk may renew your energy for the task at hand.
  • Adjust your attitude. Stay positive. If you find yourself thinking, "This can't be done," switch gears. Think instead, "This will be tough. But I can make it work."
  • Enjoy yourself. Find time to do something you enjoy for at least 15 minutes every day. It could be playing a game, having coffee with a friend or pursuing a hobby. Doing something you enjoy is a natural way to combat stress.
  • Relax. Deep breathing from your diaphragm can help you relax. Focus on inhaling and exhaling slowly and deeply for at least 10 minutes every day. It may help to relax your muscles, one group at a time. When you're done, sit quietly for a minute or two.

Keep a migraine diary

A diary may help you determine what triggers your migraines. Note when your migraines started, what you were doing at the time, how long they lasted and what, if anything, provided relief.

Until recently, avoiding migraine triggers was considered the best advice. But new research suggests this may actually increase sensitivity to potential triggers.

A more useful approach may be to gradually expose yourself to triggers, and learn to cope with these headache triggers by using behavioral management techniques. These may include identifying and challenging negative thoughts, relaxation training, and stress reduction. More research is needed to understand if and how this approach is more effective in managing migraines.

Strive for balance

Living with migraines is a daily challenge. But making healthy lifestyle choices can help. Ask your friends and loved ones for support.

If you're feeling anxious or depressed, consider joining a support group or seeking counseling. Believe in your ability to take control of the pain.

From Mayo Clinic to your inbox

Sign up for free and stay up to date on research advancements, health tips, current health topics, and expertise on managing health. Click here for an email preview.

To provide you with the most relevant and helpful information, and understand which information is beneficial, we may combine your email and website usage information with other information we have about you. If you are a Mayo Clinic patient, this could include protected health information. If we combine this information with your protected health information, we will treat all of that information as protected health information and will only use or disclose that information as set forth in our notice of privacy practices. You may opt-out of email communications at any time by clicking on the unsubscribe link in the e-mail.

Oct. 04, 2022 See more In-depth

See also

  1. Acupuncture
  2. Antidepressant withdrawal: Is there such a thing?
  3. Antidepressants and alcohol: What's the concern?
  4. Antidepressants and weight gain: What causes it?
  5. Antidepressants: Can they stop working?
  6. Antidepressants: Side effects
  7. Antidepressants: Selecting one that's right for you
  8. Antidepressants: Which cause the fewest sexual side effects?
  9. Antiphospholipid syndrome
  10. Atypical antidepressants
  11. Biofeedback
  12. Botox injections
  13. Chiropractic adjustment
  14. Chronic daily headaches
  15. Clinical depression: What does that mean?
  16. CT scan
  17. Depression and anxiety: Can I have both?
  18. Depression, anxiety and exercise
  19. What is depression? A Mayo Clinic expert explains.
  20. Depression in women: Understanding the gender gap
  21. Depression (major depressive disorder)
  22. Depression: Supporting a family member or friend
  23. Diarrhea
  24. Headache
  25. Headaches and hormones
  26. Headaches in children
  27. Headaches: Treatment depends on your diagnosis and symptoms
  28. Lumbar puncture (spinal tap)
  29. Male depression: Understanding the issues
  30. Managing Headaches
  31. MAOIs and diet: Is it necessary to restrict tyramine?
  32. Marijuana and depression
  33. Massage therapy
  34. Mayo Clinic Minute: Prevent migraines with magnetic stimulation
  35. Mayo Clinic Minute: Weathering migraines
  36. Migraine
  37. What is a migraine? A Mayo Clinic expert explains
  38. Migraine medicines and antidepressants
  39. Migraine FAQs
  40. Migraine treatment: Can antidepressants help?
  41. Migraines and gastrointestinal problems: Is there a link?
  42. Migraines and Vertigo
  43. Migraines: Are they triggered by weather changes?
  44. Monoamine oxidase inhibitors (MAOIs)
  45. MRI
  46. Natural remedies for depression: Are they effective?
  47. Nausea and vomiting
  48. Nervous breakdown: What does it mean?
  49. Nighttime headaches: Relief
  50. Occipital nerve stimulation: Effective migraine treatment?
  51. Ocular migraine: When to seek help
  52. Pain and depression: Is there a link?
  53. Pain Management
  54. Prednisone risks, benefits
  55. Prednisone withdrawal: Why taper down slowly?
  56. Relaxation techniques
  57. Seeing inside the heart with MRI
  58. Selective serotonin reuptake inhibitors (SSRIs)
  59. Serotonin and norepinephrine reuptake inhibitors (SNRIs)
  60. Sleep tips
  61. Symptom Checker
  62. Treatment-resistant depression
  63. Tricyclic antidepressants and tetracyclic antidepressants
  64. Migraine aura
  65. MRI
  66. Vitamin B-12 and depression