Why Does Sleep Affect Migraines?
A person's sleep quality and regularity affect the frequency and intensity of their migraines. Half of individuals with migraines identify sleep disruption as a common cause, according to the American Migraine Foundation (2022). Both insufficient and excess sleep reduces migraine threshold by causing fluctuation in levels of serotonin, melatonin and cortisol. Improving regular sleep patterns is the easiest, and most evidence-based way to decrease migraine risk without medication.
Sleep and migraines share overlapping neurological pathways that make sleep quality directly relevant to migraine prevention.
- The hypothalamus (the brain's regulator of sleep, pain, and hormonal activity) plays a central role in both sleep regulation and migraine generation
- Low levels of serotonin (a brain chemical involved in mood and pain) as a consequence of sleep disruption can cause a direct reduction in the migraine threshold. Stress hormone (cortisol) levels increase, along with markers of inflammation which are both migraine triggers.
- Melatonin (the hormone regulating the sleep-wake cycle) is significantly lower in people with chronic migraines compared to those without migraines, according to Cephalalgia (2021)
Maintain a Consistent Sleep Schedule
A consistent sleep schedule is the single most impactful sleep habit for migraine prevention. The migraine brain is highly sensitive to routine disruption.
- Go to bed and wake up at the same time every day, even on weekends and holidays
- Limit variation in sleep and wake times to no more than 30 minutes day to day
- Avoid sleeping in to compensate for a poor night, as oversleeping disrupts circadian rhythm (the body's internal 24-hour clock) and can directly trigger a weekend migraine
- Set a consistent pre-sleep routine to signal the brain that sleep is approaching, such as dimming lights and avoiding screen time 30 minutes before bed
Aim for 7 to 9 Hours of Sleep
Sleep duration directly influences migraine threshold.
- Adults should aim for 7 to 9 hours of sleep per night consistently
- Sleeping fewer than 7 hours increases cortisol levels and lowers the migraine threshold
- Sleeping more than 9 to 10 hours disrupts serotonin and cortisol rhythms, commonly triggering weekend migraines in people who sleep in after a busy week
- Both sleep deprivation and oversleeping are independent migraine triggers, making duration consistency as important as schedule consistency
Optimize the Sleep Environment
The sleep environment directly affects sleep quality and depth, both of which influence migraine risk.
- Keep the bedroom dark using blackout curtains or a sleep mask, as light sensitivity is heightened in people with migraines and light exposure during sleep fragments sleep quality
- Keep your room temperature cool between 60 to 67F (15 to 19 C), which is a good range for REM and deep sleep.
- Use a white noise machine or earplugs to drown out noise that interrupts sleep stages. Only use your bedroom for sleep to build a strong brain association between the bedroom and sleep initiation.
Limit Caffeine and Alcohol Before Bed
- Caffeine and alcohol both negatively impact the quality of your sleep and increase your susceptibility to migraines when consumed in the hours before going to bed:
- Avoid caffeine after 2pm, because caffeine is broken down slowly by the body with a half life of 5 to 6 hours and will affect sleep long into the night.
- If you consume more than 200mg of caffeine a day (approx 2 cups of coffee), this may lead to dependence and the migraines which result from withdrawal.
- Stay away from alcohol at least three hours before you go to sleep, because although it can initially help you fall asleep, it disrupts your sleep architecture.
Reduce Screen Exposure Before Bed
- The blue light from your devices inhibits the production of melatonin, which leads to delayed sleep and decreased sleep quality.
- Avoid the use of any electronic devices, like cell phones, tablets, and televisions, in the 30 to 60 minutes before bed.
- Wear blue-light-blocking glasses or screen filters for evening use of electronic devices if you can't completely avoid them.
- Dim the lights in your home an hour before bed to encourage melatonin production and tell your brain that it is almost time to sleep.
Address Underlying Sleep Disorders
Untreated sleep disorders are a significant and underrecognized driver of increased migraine frequency.
- Obstructive sleep apnea (OSA): Causes repeated oxygen drops during sleep. This triggers brain pain pathways and commonly presenting as morning migraines. Treating OSA with CPAP therapy (continuous positive airway pressure) has been shown to reduce migraine frequency by up to 50%, according to Sleep Medicine Reviews (2021)
- Insomnia: People with insomnia are two to three times more likely to experience frequent migraines. Cognitive behavioral therapy for insomnia (CBT-I) is the gold standard treatment and has demonstrated benefits for both insomnia severity and migraine frequency reduction
- Restless legs syndrome (RLS): Shares neurological pathways with migraines and significantly disrupts sleep quality. Evaluation and treatment by a doctor reduces both RLS symptoms and associated migraine frequency
Sleep and Migraine Risk:
When Should You See a Doctor?
- Your headaches tend to occur at or just upon waking, a possible correlation with sleep apnea
- You continue to have trouble sleeping despite diligent efforts at regular sleep hygiene
- Your migraines are increasing to more than 4 a month and you continue to have trouble sleeping
- You are also experiencing loud snoring, gasping for breath during sleep, and significant daytime fatigue
- Anxiety or depression contributing to insomnia and migraine occurrence
Conclusion
Sleep quality and consistensy is a significant risk factor for migraine and arguably the one we have the most control over. The most evidence-based sleep habits to minimize migraine risk are a regular sleep schedule, 7-9 hours sleep per night, an optimal sleep environment, reducing pre-sleep consumption of caffeine and alcohol, and treatment of any comorbid sleep disorder. Those with recurring migraines and consistent sleep difficulties will benefit the most from assessment by a neurologist or a sleep specialist.
