Skip to main content
Neurology logoLink to Neurology
. 2024 Jan 24;102(4):e208102. doi: 10.1212/WNL.0000000000208102

Association Between Electronic Diary–Rated Sleep, Mood, Energy, and Stress With Incident Headache in a Community-Based Sample

Tarannum M Lateef 1, Debangan Dey 1, Andrew Leroux 1, Lihong Cui 1, Mike Xiao 1, Vadim Zipunnikov 1, Kathleen R Merikangas 1,
PMCID: PMC11383878  PMID: 38266217

Abstract

Background and Objectives

The aim of this study was to examine the diurnal links between average and changes in average levels of prospectively rated mood, sleep, energy, and stress as predictors of incident headache in a community-based sample.

Methods

This observational study included structured clinical diagnostic assessment of both headache syndromes and mental disorders and electronic diaries that were administered 4 times per day for 2 weeks yielding a total of 4,974 assessments. The chief outcomes were incident morning (am) and later-day (pm) headaches. Generalized linear mixed-effects models were used to evaluate the average and lagged values of predictors including subjectively rated mood, anxiety, energy, stress, and sleep quality and objectively measured sleep duration and efficiency on incident am and pm headaches.

Results

The sample included 477 participants (61% female), aged 7 through 84 years. After adjusting for demographic and clinical covariates and emotional states, incident am headache was associated with lower average (ß = −0.206*; confidence intervals: −0.397 to −0.017) and a decrease in average sleep quality on the prior day (ß = −0.172*; confidence interval: −0.305, −0.039). Average stress and changes in subjective energy levels on the prior day were associated with incident headaches but with different valence for am (decrease) (ß = −0.145* confidence interval: −0.286, −0.005) and pm (increase) (ß = 0.157*; confidence interval: 0.032, 0.281) headache. Mood and anxiety disorders were not significantly associated with incident headache after controlling for history of a diagnosis of migraine.

Discussion

Both persistent and acute changes in arousal states manifest by subjective sleep quality and energy are salient precursors of incident headaches. Whereas poorer sleep quality and decreased energy on the prior day were associated with incident morning headache, an increase in energy and greater average stress were associated with headache onsets later in the day. Different patterns of predictors of morning and later-day incident headache highlight the role of circadian rhythms in the manifestations of headache. These findings may provide insight into the pathophysiologic processes underlying migraine and inform clinical intervention and prevention. Tracking these systems in real time with mobile technology provides a valuable ancillary tool to traditional clinical assessments.

Background

Migraine headaches are highly prevalent across the life span and are often associated with significant functional impairment,1 yet migraine remains underdiagnosed and untreated worldwide. Even when diagnosed and treated, controlled studies of pharmacologic agents for acute and prophylactic treatment have generally not resulted in more than a 50% reduction in headaches.2 More accurate prediction could, therefore, advance our ability to prevent migraine attacks and associated impairments.

One of the major challenges to effective treatment of migraine is pervasive comorbidity with a range of disorders, particularly cardiovascular disease3 and mood disorders.4 However, there is limited understanding of potential explanations regarding how mood disorders and symptoms involving sleep, mood, and energy may contribute to the dynamic manifestations of migraine. Although the association between sleep disturbances and migraine has been well-recognized, the mechanisms involved are complex. Disturbed sleep could be a manifestation of mood disorders or symptoms or a reflection of underlying dysregulation of homeostatic and autonomic systems that are more broadly related to migraine susceptibility.5,6

Electronic diaries are a powerful approach to characterize the dynamics of prodromal manifestations and/or triggers of acute headache attacks.7,8 Daily diaries that have been routinely used to collect real-time data on the precursors and sequelae of headaches in both clinical practice and empirical research have identified a wide range of triggers of headache attacks including fatigue,9,10 stress,10,11 altered sleep patterns and sleep deprivation,12,13 dietary factors,14 and menstrual cycle fluctuations.15 Several studies have also examined circadian variation in migraine, with convergence of evidence that migraine attacks are more likely to occur in the morning.11,12,16

Despite the compelling evidence from previous studies that have used prospective diaries to characterize the predictors, features, and postdrome of headaches,9,10,13,17 there are a number of methodologic issues that limit the generalizability and clinical implications of this work. First, most of the samples have been conducted in specialty headache clinics or nonsystematic samples that may not generalize to migraine in primary care or the general population. Second, most prior studies were based exclusively on female participants and did not collect data across the full age spectrum. Third, non-migraine control groups that are critical for studying the specificity of factors associated with migraine have not been included in most prior diary research on headaches. Finally, many studies include only one assessment per day that is subject to retrospective reporting bias.

In this study, we evaluated the real-time associations between incident headaches and sleep, mood, and energy in people with a lifetime diagnosis of migraine and/or mood disorders using combined actigraphy and ecological momentary assessment 4 times per day for 2 weeks. We used generalized linear mixed-effects models that included both the average level and within-subject day-specific changes in sleep, emotional, and energy states and stress across two-week epochs. The objectives of this study were as follows:

  1. To evaluate whether the average levels of anxiety, depression, energy, stress, and sleep quality reported with electronic diaries across 2 weeks are associated with incident headache;

  2. To examine whether changes in the average levels of anxiety, depression, energy, stress, and sleep quality are associated with incident headache on the following day; and

  3. To assess whether the predictors of incident headache differ for AM and PM onset and by demographic and clinical history of migraine or mood and anxiety disorders.

Methods

Sample

Participants in this cross-sectional study were enrolled in the National Institute of Mental Health (NIMH) Family Study of Affective Spectrum Disorders, a large community-based controlled family study with participants recruited from a screening of the greater Washington, DC metropolitan area and other local sources through the NIH Clinical Center general volunteer referral core (see Table 1, Results). More details of the family study methods are presented elsewhere.18

Table 1.

Demographic and Clinical History of Participants With and Without Lifetime Migraine Diagnosis (n = 477; 4,974b)

Variables Males (n = 186) Females (n = 291)
No migraine (n = 127) Migraine (n = 59) p Value No migraine (n = 130) Migraine (n = 161) p Value
Age group, n (%) 0.017 0.6
 <45 65 (51) 42 (71) 76 (58) 87 (54)
 45–59 28 (22) 11 (19) 34 (26)) 43 (27)
 >= 60 34 (27) 6(10) 20 (15) 31 (19)
Race and ethnicity, n (%)
 White 108 (85) 51 (86) 0.81 99 (76) 130 (81) 0.342
 Non-White 19 (15) 8 (14) 31 (24) 31 (19)
  American Indian or Alaska Native 0 (0) 0 (0) 1 (1) 2 (1)
  Asian 3 (2) 2 (3.5) 0 (0) 0 (0)
  Black or African American 9 (7) 3 (5) 19 (15) 11 (1)
  Hispanic 0 (0) 0 (0) 1 (1) 3 (2)
  More than one Race 4 (3) 1 (2) 3 (2) 3 (2)
  Unknown/Other 3 (2) 2 (3.5) 7 (5) 12 (7)
Mood/anxiety, n (%)
 Mood and/or anxiety disorders (lifetime) 73 (57) 42 (71) 0.044 86 (66) 147 (91) <0.001
 Current mood or anxiety disorders 55 (43) 37 (63) 0.010 69 (53) 125 (78) <0.001
Migraine characteristics, n (%)
 Current Migraine 0 (0) 45 (76) <0.001 0 (0) 138 (86) <0.001
 Presence of any AM headache 31 (24) 26 (44) 0.005 51 (39) 103 (64) <0.001
 Presence of any PM headache 43 (34) 34 (58) 0.002 70 (54) 120 (75) <0.001
Subjective emotional states
 Average (happy to sad mood) (1–7) 2.61 (0.89) 2.95 (0.96) 0.11 2.60 (0.88) 2.79 (0.83) 0.03
 Average (calm/anxious mood) (1–7) 2.31 (0.87) 2.58 (1.04) 0.14 2.27 (0.93) 2.53 (0.87) 0.01
 Average energy (lethargic to energetic) (1–7) 3.98 (0.77) 3.69 (0.72) 0.044 3.83 (0.80) 3.48 (0.82) 0.002
 Average stress level (relaxed to highly stressed (1–7)a 2.76 (0.98) 2.94 (1.02) 0.2 2.75 (1.07) 3.01 (0.94) 0.05
Sleep measures
 Average sleep duration (actigraphy) 7.28 (1.17) 7.58 (1.25) 0.3 7.50 (1.42) 7.74 (0.98) 0.15
 Average sleep midpoint (actigraphy) 3:50 am 3:51 am 0.8 3:49 am 3:42 am 0.90
 Average sleep quality (EMA) (1–7) 4.39 (1.19) 4.16 (1.06) 0.2 4.46 (1.20) 3.96 (1.22) 0.002
a

n = 389.

b

n of assessments.

Standard Protocol Approvals, Registrations, and Patient Consents

Ethics

This research was approved by the Combined Neuroscience IRB at the NIH (NIH; protocol no. 03-M-0211).

Informed Consent

All participants provided written informed consent for the protocol.

Procedures

Diagnoses

DSM-IV mood and anxiety disorders were assessed by comprehensive diagnostic assessment with the NIMH Family Study Diagnostic Interview for Affective Spectrum Disorders (DIAS).18 A total of 11.8%, 13.6%, and 38.6% of those with migraine and 10.5%, 8.2%, and 24.9% of controls had a lifetime history of bipolar I, bipolar II, and MDD, respectively. The lifetime rates of anxiety disorders were 21.8% for panic or Generalized Anxiety Disorder, 7.7% for social phobia or agoraphobia, and 13.8% for both panic/Generalized Anxiety Disorder and phobias. There was also substantial comorbidity between mood and anxiety disorders. We controlled for both mood and anxiety disorders in our analyses, and the only significant associations with incident headaches were found in the univariate models. ICHD-III headache subtypes were assessed with the NIMH Diagnostic Interview of Headache Syndromes (DIHS).19 Both the DIAS and DIHS were administered by experienced clinical interviewers and reviewed by clinical experts. Systematic evaluation of the reliability of the DIHS compared with clinical expert diagnostics yielded an area under the curve of 0.86, with a sensitivity of 91.3% and specificity of 81.0%.

Ecological Momentary Assessment (EMA)

EMA procedures were used from 2008 to 2019 to collect a comprehensive set of domains including the Mood Circumplex, Context, Life Events, Sleep, Physical Activity, Eating/Drinking, Pain, and Headache. Variables included in these analyses were collected from the mood circumplex that includes analog ratings of multiple domains underlying emotional states as defined by Larsen and Diener.20 Participants were asked to rate their current emotional states 4x/day on a Likert scale from 1 to 7 for Anxiousness [(1) very calm to (7) very anxious]; Mood [(1) very happy to (7) very sad]; and Energy [(1) very tired to (7) very energetic]. Participants rated sleep quality for the previous night [(1) not at all rested to (7) fully rested] at the first assessment of the day. A subset of the sample that only was assessed in an earlier version of the mobile app, Perceived Stress [(1) relaxed, calm to (7) highly stressed] was rated once per day at the end of the day. The Headache Module of the NIMH EMA application has now been incorporated on the Open Source Mindlogger Platform.21

Throughout the study, participants were prompted to complete an EMA assessment 4 times per day over a two-week period. A fixed schedule was used for each participant with the timing of the interviews occurring within a sampling window ranging from 7:00 am to 10:00 pm, with a minimum spacing of one hour between any 2 assessments and an average delay of 4 hours between assessments. For example, scheduling could be at 7:15 am, 11:30 am, 3:45 pm, and 7:30 pm. For each participant, sampling schedules were adjusted to accommodate their typical sleep and wake schedules so as not to modify usual daily life activities. Responses to EMA assessments that were made 45 minutes after the signal or beyond were considered as missing data. The NIMH EMA Headache Module is now available on the Mindlogger Platform.21 Additional details of EMA procedures have been described previously.22-24

Actigraphy-Estimated Sleep

Participants wore actigraphy monitors (Respironics and Actiwatch Score; Philips Respironics) on their nondominant wrist for 2 weeks to collect data on their minute-by-minute activity counts. From the actigraphy data, we derived sleep duration and sleep midpoint (sleep and wake-up times). Wake and sleep periods were defined by a default threshold of less than 40 counts per period, for more than 10 minutes.25

Definitions of Incident Headache

The presence of a headache was collected at each of the 4 daily assessments across the 56 epochs. If the participant endorsed the presence of a headache, questions on the symptoms, severity, timing, and medication use were then collected. “Incident headache” was defined as the occurrence of a new-onset headache that was not present at the 2 previous assessments. Incident morning headache was rated positive if no headache was reported at the last assessment of the previous day. Incident headaches were then divided into morning (am) headache at the first assessment of the day and afternoon/evening (pm) headache for those that were reported at the 3 subsequent assessments.

Statistical Analyses

A series of generalized linear mixed models assessed the association between AM and PM headache incidence with history of migraine, history of mood or anxiety disorders, and EMA ratings of sleep quality at the first assessment, and self-perceived stress once/day, and the mood circumplex (sad mood, energy, and anxiety) ratings 4 times/day. All models were adjusted for age in years, sex, and weekend vs weekdays and associations with a history of diagnoses of migraine, mood, and anxiety disorders. Interaction terms were included in the models to examine whether the association between subjectively rated emotional states and sleep variables with incident headache differed between people with lifetime diagnoses of either migraine and/or mood/anxiety disorders. Separate models were estimated for each EMA variable of interest to avoid potential multicollinearity issues followed by multivariate models that included significant effects from the univariate models. Nonstatistically significant terms were removed from the final models. Objective measures of sleep midpoint and duration were not associated with incident AM or PM headache and were, therefore, not included in the models presented below. Results are reported from models which showed statistically significant within (changes from usual) and between (subject average) effects. As described in the eAppendix 1 (links.lww.com/WNL/D387), this decomposition approach that incorporates simultaneous effects of both within and between-day effects has only rarely been used in EMA research. Point estimates, p values, and 95% confidence intervals are reported for all the selected models. Confidence intervals were constructed using Wald's method. Statistical significance was assessed using a threshold of 0.05.

Missingness was handled at the data processing phase. We had excellent compliance with more than 80% of the sample completing the full two-week period of EMA assessments. Systematic analysis of missing data revealed that youth were more likely to miss the second assessment of the day during weekdays and adults more likely to miss weekend assessments. However, there were no differences in the proportion of missing data among cases than controls. We, therefore, assumed that the missing data were missing at random.

Data Availability

Deidentified participant data and R analytic programs will be shared on request for research purposes through request to the study PI.

Results

Demographic and Clinical Correlates and Outcomes

There were a total of 477 participants and 4,974 assessments. A summary of the sample characteristics, including age; diagnoses; and averages and standard deviations of subjective ratings of mood, anxiety, energy, sleep quality, and stress stratified by sex and a lifetime history of migraine is presented in Table 1. The sample consisted of 161 participants (61% female) older than 50 years and 316 participants (61% female) 50 years or younger. Approximately 84% of the sample considered themselves as White or Hispanic, 8% Black, 2% Asian, 2% American Indian, and 4.2% of multiple races and ethnicities. A greater proportion of participants with migraine were female, and male participants with a history of migraine tended to be younger than those without migraine. Both lifetime history and current (past year) diagnosis of mood and anxiety disorders were more common in those with a history of migraine. Most of the sample with lifetime migraine continued to have migraine attacks during the past year.

During the two-week assessment period both male and female participants with a history of migraine were more likely to experience at least 1 AM and 1 PM headache attack as compared with those without a history of a diagnosis of migraine. Both male and female participants with a history of migraine reported significantly lower levels of subjective energy. Female participants had significantly higher levels of both sad and anxious moods across the study duration. Average sleep duration and sleep midpoint did not differ between those with and without migraine, but female participants with migraine had poorer sleep quality than controls across the assessment period.

Prediction of Incident Headache

The results of the generalized linear mixed-effects models are presented in Tables 2 and 3. There were no significant interactions between lifetime diagnoses of migraine or mood/anxiety disorders (Aim 3). Although people with migraine tended to have higher levels of sadness, anxiety, and stress levels in univariate models, their influence on headache incidence was not statistically significant in the multivariate models that included energy and sleep quality (Aim 1). The Figure summarizes the results of both the univariate and multivariate models of the effects of the subjective emotional states, stress, and sleep quality on incident AM and PM headache.

Table 2.

Predictors of Incident AM Headaches

Models Model 1a Model 2a Model 3a Model 4a
Variables Demographic and Clinical Energy Sleep quality Energy and sleep quality
(Intercept) −4.537***,a,b (−5.189 to −3.886) −3.033*** (−4.084 to −1.983) −3.436*** (−4.269 to −2.604) −2.968*** (−4.016 to −1.920)
N's and demographics
 Sex (Female vs Male) 0.358 (−0.026 to 0.741) 0.273 (−0.108 to 0.653) 0.332 (−0.048 to 0.711) 0.293 (−0.088 to 0.675)
 Age 0.006 (−0.003 to 0.015) 0.009 (−0.000 to 0.018) 0.012* (0.002 to 0.021) 0.012* (0.002 to 0.21)
Diagnosis
 Migraine Dx 0.955 *** (0.594 to 1.317) 0.833*** (0.471 to 1.195) 0.860 *** (0.499 to 1.220) 0.823*** (0.461 to 1.185)
 Mood/Anxiety Disorder 0.439 (−0.003 to 0.881) 0.358 (−0.081 to 0.797) 0.346 (−0.093 to 0.785) 0.333 (−0.106 to 0.772)
Energy
 Average −0.392** (−0.622 to −0.163) −0.209 (−0.492 to 0.074)
 Scaled Dev prior day −0.146 * (−0.287 to −0.006) −0.145* (−0.286 to −0.005)
Subjective sleep quality
 Average −0.290*** (−0.443 to −0.136) −0.206* (−0.397 to −0.017)
 Scaled Dev from Average −0.172* (−0.305 to −0.039) −0.172* (−0.305 to −0.039)
Model parameters
AIC 2,319.768 2,308.341 2,303.465 2,301.341
BIC 2,365.352 2,366.949 2,362.072 2,372.973
R-square (fixed) 0.082 0.099 0.105 0.110
R-square (total) 0.340 0.340 0.345 0.346
a

p Value; 95% CI.

b

(p Value: ***p < 0.001; **p < 0.01; *p < 0.05).

Table 3.

Predictors of Incident PM Headache

Model Model 1b Model 2b Model 3b Model 4b Model 5b
Variables Demographic/Clinical Energy Sleep Quality Energy and Sleep Quality Energy and Stress
(Intercept) −3.019***a,b (−3.503 to −2.534) −2.000*** (−2.867 to −1.133) −2.431*** (−3.110 to −1.752) −1.974 *** (−2.842 to −1.107) −2.409*** (−3.490 to −1.329)
Demographics
 Sex (Female) 0.668 *** (0.343 to 0.993) 0.615 *** (0.291 to 0.94) 0.66 *** (0.337 to 0.983) 0.625 *** (0.300 to 0.950) 0.450* (0.104 to 0.796)
 Age −0.017 *** (−0.025 to −0.009) −0.015 *** (−0.023 to −0.007) −0.014 *** (−0.022 to −0.006) −0.014 *** (−0.022 to −0.006) −0.018*** (−0.026 to −0.009)
Disorders
 Migraine Dx 0.658*** (0.355 to 0.961) 0.576*** (0.270 to 0.881) 0.602 *** (0.298 to 0.910) 0.570*** (0.264 to 0.876) 0.555*** (0.228 to 0.883)
 Mood/Anxiety Disorder 0.325 (−0.041 to 0.691) 0.274 (−0.091 to 0.640) 0.290 (−0.076 to 0.655) 0.270 (−0.096 to 0.635) 0.260 (−0.156 to 0.675)
Subjective states
 Average energy −0.263** (−0.544 to −0.073) −0.198 (−0.436 to 0.040) −0.245* (−0.459 to −0.032)
 Scaled deviation from Ave 0.156* (0.031 to 0.281) 0.157* (0.032 to 0.281) 0.109 (−0.036 to 0.255)
Sleep quality
 Average −0.153* (−0.282 to −0.025) −0.073 (−0.233 to 0.088)
 Scaled dev from Ave −0.036 (−0.153 to 0.082) −0.036 (−0.154 to 0.081)
Stressc
 Average 0.243** (0.081,0.406)
 Scaled dev from Ave 0.037 (−0.100 to 0.173)
Model parameters
AIC 2,814.310 2,804.753 2,812.461 2,807.597 2,120.906
BIC 2,859.894 2,863.361 2,871.068 2,879.228 2,188.901
R-square (fixed) 0.097 0.107 0.103 0.109 0.134
R-square (total) 0.291 0.294 0.293 0.295 0.273
a

p Value; 95% CI; b(p value: ***p < 0.001; **p < 0.01; *p < 0.05).

c

Subsample.

Figure. Predictors of Incident Headache.

Figure

AM Headache

Table 2 shows the results of the predictors of incident AM headache (models 1a–4a). In the univariate models, increased average levels of sad mood and anxiety and decreased levels of average energy and sleep quality were significantly associated with am headache (Table 2). Lower average energy (p < 0.001) and an acute decrease in average energy on the previous day were associated with an increased likelihood of incident am headache (p < 0.001, Table 2: model 2). Lower average sleep quality (p < 0.001) and poorer than average sleep quality on the previous night (p < 0.01) were associated with an increased likelihood of am headache. When energy and sleep quality were included in the same model, the effect of average energy was no longer significant, but the effect of lower energy level on the previous day persisted (models 2a vs 4a, respectively). These results suggest that lower sleep quality on average and poorer than average subjectively rated sleep quality on the prior night were associated with a greater likelihood of incident am headaches. These associations persisted after adjusting for individuals' energy, although the estimated association between average sleep quality and likelihood of incident am headache was attenuated (β^=−0.290 vs −0.207 in models 3a and 4a, respectively) (Aims 2, 3).

PM Headache

Table 3 (models 1b–4b) summarizes the associations between energy and sleep quality with incident pm headache compared with am headache. All the EMA ratings including higher sad and anxious moods, greater stress, lower energy, and poorer sleep quality were associated with pm headache. In the multivariate models, higher than average energy level on the prior day was associated with an increase in incident pm headache (p = 0.014, model 2b). In addition, lower average sleep quality, but not a decline in average sleep quality, on the prior night was significantly associated with an increased likelihood of pm headache (model 3b). However, this effect was no longer significant after adjusting for the energy levels (model 4b). Therefore, the only significant predictor of pm headache was higher than average energy level on the prior day. In the subsample of participants who were administered the dimensional stress question, there was a significant association between average self-perceived stress and PM headache (p < 0.01). However acute prior day changes in average stress levels were not associated with incident pm headache (Aim 2, 3).

Discussion

This study advances our understanding of the short-term dynamics of migraine through prospective assessment of the influence of within and between-day fluctuations of energy, mood, stress, and sleep on incident headache. The most salient finding is the prognostic role of prior day changes in energy and sleep quality beyond usual levels on incident morning headache attacks. Differences in the demographic and clinical correlates of migraine between morning and later-day incident headache highlight the role of circadian rhythms in the manifestations of headache attacks.26 Despite the well-established links between mood disorders and migraine,27,28 we show that neither lifetime depressive disorder nor higher average or acute changes in depressive or anxiety symptoms were associated with incident headache attacks. The unique application of electronic diaries in a controlled community-based sample of people with migraine also enhanced our ability to examine specificity of predictors among those with a history of migraine.

The significance of both average and change in perceived sleep quality as a predictor of incident am headache highlights the central role of sleep in the pathogenesis of migraine as documented by numerous prior controlled studies of associations between headaches and disturbed sleep patterns and disorders.29-32 However, the lack of association between actigraphically derived sleep measures and incident migraine, as shown previously,13 indicates that objective sleep characteristics may not be the primary source of decreased energy and poor perceived sleep quality. There are several possible explanations for the association between incident morning headache with poorer perceived sleep quality including (1) sleep quality could reflect a disruption in neural processes involved in impending headache that may lead to disrupted sleep; (2) psychological processes that interfere with sleep quality may be a direct trigger of the migraine attack; (3) sleep difficulties may be a residual influence of earlier episodes or their longer term effects5,6; or (4) sleep quality may be a correlate of another primary headache predictor such as acute stress, diet, or exposure to sensory stimuli that may disturb sleep. Ironically, because sleep is also one of the most effective interventions for migraine attacks,33 these potential explanations warrant further investigation.

The associations between sleep and migraine should also be interpreted in the context of the strong associations between subjective energy and incident headache. The influence of an acute reduction in energy, but not average energy level, suggests that the direct influence of sleep quality on headache may be a consequence of internal changes reflected in subjective energy on the day preceding headache. The role of changes in prior day energy, but different valence for AM and PM headache, would support the central role of arousal-sleep systems in the pathogenesis of headache.34,35 In fact, tiredness and fatigue have been the most potent reported predictors of acute headache attacks in several prior diary studies of people with migraine.10,12,36,37

The differences in predictors of morning and later-day headache suggest that timing of onset of headache may be an important source of heterogeneity in their etiology that could reflect physiologic systems involved in differential manifestation of subtypes of headache. The greater incidence of morning headaches among those with migraine compared with controls confirms prior retrospective and prospective studies of morning onset as a characteristic of migraine in clinical samples of people with headache.12,16,26,29 The association with sleep quality further supports the occurrence of changes in neural systems that emerge during sleep. Although the morning onset of migraine parallels that of several other episodic disorders such as myocardial infarction, stroke, and asthma attacks, the potential mechanisms have not been elucidated. By contrast, the association between higher levels of stress and increased energy with pm headache suggests that later-day onset of headache could be synonymous with “tension-type” headache exacerbated by higher levels of arousal and reactivity to daily events. The short-term dynamics of the underlying physiologic systems involved in migraine and other acute health events such as cortisol, catecholamines, and platelet aggregability and related systems have not been systematically interrogated in the diurnal variation in migraine.38 Future studies that measure dynamics of these biologic correlates as a function of changes in energy and sleep may advance our understanding of the pathophysiology of migraine.

This work contributes to our understanding of both the stable and proximal predictors of headache. First, this study provides systematic evaluation of incident headache in people with comprehensive diagnostic interviews of both headache syndromes and mood and anxiety disorders. This enabled us to further test whether predictors of incident migraine differ in those with comorbid depression and anxiety compared with migraine alone. Second, the large heterogeneous community-based sample that spans a broad age range provided information on incident headache both in people with a history of migraine and controls that have not been included in prior prospective diary studies of migraine. Although we did not specifically compare those with migraine and tension-type headache, prior studies have shown that some of the same factors that were associated with incident headache extend to prediction of tension-type headache, thereby suggesting a lack of specificity with respect to migraine.39 Third, this is one of the only prospective diary studies that included a large sample of male participants. However, although female participants had greater rates of migraine than male participants, we did not find sex differences in predictors of acute migraine attacks. Fourth, in contrast to prior studies that were almost exclusively based on one assessment per day that is subject to substantial retrospective bias,40 this study systematically included multiple assessments within each day with a validated set of EMA modules that has been administered in several other large population-based and clinical samples. Fifth, our study included both objective and subjective measures of sleep characteristics that have only been included in one prior electronic diary study of a clinical sample of migraine.6,13 Sixth, few prior studies have included systematic tracking of the stability, fluctuations, and inter-relationships of several emotional states, including mood, energy, and anxiety, which are well-established correlates of sleep patterns.16 Finally, we used a novel statistical method that simultaneously adjusted for fixed covariates such as sex, age, and diagnoses; average and acute changes in emotional states; and both objective and subjective sleep measures. Very few of the prior prospective diary studies jointly considered both between and within-subject effects of predictors of incident headache.11,13

There are also several methodologic limitations of this work that should be considered in the interpretation of these findings. First, this study reflected a relatively brief period of observation that only provides a cross-sectional snapshot of migraine that occurs over longer periods. Previous studies of clinical samples of migraine tended to track precursors over longer periods ranging from one to three months. Although such longer periods of assessment are far more feasible in people undergoing treatment of migraine, the frequency of missing data that ranged from 25% to 70% in prior studies is an important trade-off that may also seriously jeopardize the generalizability and validity of the findings. Second, our study did not reflect the economic and ethnic/racial diversity of the broad geographic region. Efforts to expand our sample are underway. Third, although we controlled for ongoing medication use in the sample, we could not examine the associations between specific medications and incident headache. Few prior studies of migraine predictors in specialty headache clinics considered whether ongoing treatments may have masked the influence of naturalistic precursors of headache. Fourth, we could not study the full range of headache predictors because of insufficient power for simultaneous multidomain models. Fifth, the dimensional measure of stress was only collected in a subsample, so the results may not apply to the full sample. Future analyses of these data and other studies in our consortium will test the generalizability of these findings and their bidirectional influences, longer cross-lagged epochs, as well as physiologic, dietary, social contextual, and stressful events that were measured 4 times per day.

These intriguing findings suggest that both the longer term and short-term evaluation of the dynamic inter-relationships between the rhythms of energy, sleep, and headaches should be a priority for future research. There is a need for systematic studies to determine whether clinical interventions that target sleep and low energy or their physiologic correlates may reduce the incidence, progression, and severity of migraine attacks.41 Greater harmonization of ecologic research on migraine that uses common measures, systematic samples, and analytic methods could address the widespread variability in findings regarding proximal predictors of migraine. The growing sophistication of ambulatory tools to track clinical and environmental factors associated with headaches in daily life will transform our ability to derive individual profiles that characterize circadian dynamics of headaches that can inform both the clinical management and prevention of headache.

Acknowledgment

We express our sincere gratitude for the central contribution of Professor Joel Swendsen from the Laboratory of Psychology at the University of Bordeaux, Switzerland, to this work and our research program and for his leadership role in the field of Ecological Assessment in neuropsychiatry. Dr Swendsen died unexpectedly on July 14, 2022.

Glossary

DIAS

Diagnostic Interview for Affective Spectrum

DIHS

Diagnostic Interview of Headache Syndromes

EMA

ecological momentary assessment

Appendix. Authors

Name Location Contribution
Tarannum M. Lateef, MD, MPH Children’s National Health System, Pediatric Specialists of Virginia, and George Washington University of Medicine; Intramural Research Program, Section on Developmental Genetic Epidemiology, National Institute of Mental Health Drafting/revision of the manuscript for content, including medical writing for content; major role in the acquisition of data; study concept or design; analysis or interpretation of data
Debangan Dey, PhD Intramural Research Program, Section on Developmental Genetic Epidemiology, National Institute of Mental Health Drafting/revision of the manuscript for content, including medical writing for content; analysis or interpretation of data
Andrew Leroux, PhD Department of Biostatistics and Informatics, University of Colorado School of Public Health Drafting/revision of the manuscript for content, including medical writing for content; analysis or interpretation of data
Lihong Cui, MSc Intramural Research Program, Section on Developmental Genetic Epidemiology, National Institute of Mental Health Drafting/revision of the manuscript for content, including medical writing for content; analysis or interpretation of data
Mike Xiao, BS Child Mind Institute, New York Major role in the acquisition of data; study concept or design; analysis or interpretation of data
Vadim Zipunnikov, PhD Department of Biostatistics, Johns Hopkins Bloomberg School of Public Health Drafting/revision of the manuscript for content, including statistical writing for content; analysis or interpretation of data
Kathleen R. Merikangas, PhD Intramural Research Program, Section on Developmental Genetic Epidemiology, National Institute of Mental Health, Department of Epidemiology, Johns Hopkins Bloomberg School of Public Health Drafting/revision of the manuscript for content, including medical writing for content; major role in the acquisition of data; study concept or design; analysis or interpretation of data

Study Funding

This work was supported by the Intramural Research Program of the National Institute of Mental Health. This work was supported by the National Institute of Mental Health of the National Institutes of Health (grant numbers 1ZIAMH002804 and 1ZIAMH002954). The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health. Dr. Dey's contribution to this work was supported by the Joint Training Program of the Johns Hopkins Department of Biostatistics and the NIMH Intramural Research Program.

Disclosure

The authors report no relevant disclosures. Go to Neurology.org/N for full disclosures.

References

  • 1.GBD 2016 Headache Collaborators. Global, regional, and national burden of migraine and tension-type headache, 1990-2016: a systematic analysis for the Global Burden of Disease Study 2016. Lancet Neurol. 2018;17(11):954-976. doi: 10.1016/S1474-4422(18)30322-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Silberstein SD. Preventive migraine treatment. Continuum (Minneap Minn). 2015;21(4 Headache):973-989. doi: 10.1212/CON.0000000000000199 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Mahmoud AN, Mentias A, Elgendy AY, et al. Migraine and the risk of cardiovascular and cerebrovascular events: a meta-analysis of 16 cohort studies including 1 152 407 subjects. BMJ Open. 2018;8(3):e020498. doi: 10.1136/bmjopen-2017-020498 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Radat F, Kalaydjian A, Merikangas KR. Psychiatric comorbidity in migraine. In Schoenen J, Dodick DW, Sándor P, eds. Comorbidity in Migraine. Vol. 1. Wiley-Blackwell; 2011:1-13. [Google Scholar]
  • 5.Tiseo C, Vacca A, Felbush A, et al. Migraine and sleep disorders: a systematic review. J Headache Pain. 2020;21(1):126. doi: 10.1186/s10194-020-01192-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Vgontzas A, Pavlović JM. Sleep disorders and migraine: review of literature and potential pathophysiology mechanisms. Headache. 2018;58(7):1030-1039. doi: 10.1111/head.13358 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Pellegrino ABW, Davis-Martin RE, Houle TT, Turner DP, Smitherman TA. Perceived triggers of primary headache disorders: a meta-analysis. Cephalalgia. 2018;38(6):1188-1198. doi: 10.1177/0333102417727535 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Hindiyeh NA, Zhang N, Farrar M, Banerjee P, Lombard L, Aurora SK. The role of diet and nutrition in migraine triggers and treatment: a systematic literature review. Headache. 2020;60(7):1300-1316. doi: 10.1111/head.13836 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Roesch A, Dahlem MA, Neeb L, Kurth T. Validation of an algorithm for automated classification of migraine and tension-type headache attacks in an electronic headache diary. J Headache Pain. 2020;21(1):75. doi: 10.1186/s10194-020-01139-w [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Giffin NJ, Ruggiero L, Lipton RB, et al. Premonitory symptoms in migraine: an electronic diary study. Neurology. 2003;60(6):935-940. doi: 10.1212/01.wnl.0000052998.58526.a9 [DOI] [PubMed] [Google Scholar]
  • 11.Holsteen KK, Hittle M, Barad M, Nelson LM. Development and internal validation of a multivariable prediction model for individual episodic migraine attacks based on daily trigger exposures. Headache. 2020;60(10):2364-2379. doi: 10.1111/head.13960 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Park JW, Chu MK, Kim JM, Park SG, Cho SJ. Analysis of trigger factors in episodic migraineurs using a smartphone headache diary applications. PLoS One. 2016;11(2):e0149577. doi: 10.1371/journal.pone.0149577 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Bertisch SM, Li W, Buettner C, et al. Nightly sleep duration, fragmentation, and quality and daily risk of migraine. Neurology. 2020;94(5):e489-e496. doi: 10.1212/WNL.0000000000008740 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Rockett FC, de Oliveira VR, Castro K, Chaves MLF, Perla AdS, Perry IDS. Dietary aspects of migraine trigger factors. Nutr Rev. 2012;70(6):337-356. doi: 10.1111/j.1753-4887.2012.00468.x [DOI] [PubMed] [Google Scholar]
  • 15.Goldberg J, Wolf A, Silberstein S, et al. Evaluation of an electronic diary as a diagnostic tool to study headache and premenstrual symptoms in migraineurs. Headache. 2007;47(3):384-396. doi: 10.1111/j.1526-4610.2006.00441.x [DOI] [PubMed] [Google Scholar]
  • 16.Baksa D, Gecse K, Kumar S, et al. Circadian variation of migraine attack onset: a review of clinical studies. Biomed Res Int. 2019;2019:4616417. doi: 10.1155/2019/4616417 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Peris F, Donoghue S, Torres F, Mian A, Wöber C. Towards improved migraine management: determining potential trigger factors in individual patients. Cephalalgia. 2017;37(5):452-463. doi: 10.1177/0333102416649761 [DOI] [PubMed] [Google Scholar]
  • 18.Merikangas KR, Cui L, Heaton L, et al. Independence of familial transmission of mania and depression: results of the NIMH family study of affective spectrum disorders. Mol Psychiatry. 2014;19(2):214-219. doi: 10.1038/mp.2013.116 [DOI] [PubMed] [Google Scholar]
  • 19.Lateef T, Cui L, Heaton L, et al. Validation of a migraine interview for children and adolescents. Pediatrics. 2013;131(1):e96-e102. doi: 10.1542/peds.2012-1008 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Larsen RJ, Diener E. Promises and problems with the circumplex model of emotion. Emotion. 1992;326:25-59. [Google Scholar]
  • 21.Klein A, Clucas J, Krishnakumar A, et al. Remote digital psychiatry for mobile mental health assessment and therapy: MindLogger Platform Development Study. J Med Internet Res. 2021;23(11):e22369. doi: 10.2196/22369 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Lamers F, Swendsen J, Cui L, et al. Mood reactivity and affective dynamics in mood and anxiety disorders. J Abnorm Psychol. 2018;127(7):659-669. doi: 10.1037/abn0000378 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Johns JT, Di J, Merikangas K, Cui L, Swendsen J, Zipunnikov V. Fragmentation as a novel measure of stability in normalized trajectories of mood and attention measured by ecological momentary assessment. Psychol Assess. 2019;31(3):329-339. doi: 10.1037/pas0000661 [DOI] [PubMed] [Google Scholar]
  • 24.Merikangas KR, Swendsen J, Hickie IB, et al. Real-time mobile monitoring of the dynamic associations among motor activity, energy, mood, and sleep in adults with bipolar disorder. JAMA Psychiatry. 2019;76(2):190-198. doi: 10.1001/jamapsychiatry.2018.3546 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Guo W, Leroux A, Shou H, et al. Processing of accelerometry data with GGIR in motor activity research consortium for health. J Meas Phys Behav. 2023;6(1):37-44. doi: 10.1123/jmpb.2022-0018 [DOI] [Google Scholar]
  • 26.de Tommaso M, Delussi M. Circadian rhythms of migraine attacks in episodic and chronic patients: a cross sectional study in a headache center population. BMC Neurol. 2018;18(1):94. doi: 10.1186/s12883-018-1098-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Ligthart L, Boomsma DI. Causes of comorbidity: pleiotropy or causality? Shared genetic and environmental influences on migraine and neuroticism. Twin Res Hum Genet. 2012;15(2):158-165. doi: 10.1375/twin.15.2.158 [DOI] [PubMed] [Google Scholar]
  • 28.Low NCP, Merikangas KR. The comorbidity of migraine. CNS Spectr. 2003;8(6):433-444. doi: 10.1017/s1092852900018745 [DOI] [PubMed] [Google Scholar]
  • 29.Gori S, Morelli N, Maestri M, Fabbrini M, Bonanni E, Murri L. Sleep quality, chronotypes and preferential timing of attacks in migraine without aura. J Headache Pain. 2005;6(4):258-260. doi: 10.1007/s10194-005-0201-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Seidel S, Hartl T, Weber M, et al. Quality of sleep, fatigue and daytime sleepiness in migraine—a controlled study. Cephalalgia. 2009;29(6):662-669. doi: 10.1111/j.1468-2982.2008.01784.x [DOI] [PubMed] [Google Scholar]
  • 31.Rains JC. Sleep and migraine: assessment and treatment of comorbid sleep disorders. Headache. 2018;58(7):1074-1091. doi: 10.1111/head.13357 [DOI] [PubMed] [Google Scholar]
  • 32.Song TJ, Yun CH, Cho SJ, Kim WJ, Yang KI, Chu MK. Short sleep duration and poor sleep quality among migraineurs: a population-based study. Cephalalgia. 2018;38(5):855-864. doi: 10.1177/0333102417716936 [DOI] [PubMed] [Google Scholar]
  • 33.Wilkinson M, Williams K, Leyton M. Observations on the treatment of an acute attack of migraine. Res Clin Stud Headache. 1978;6:141-146. [PubMed] [Google Scholar]
  • 34.Miller CB, Bartlett DJ, Mullins AE, et al. Clusters of insomnia disorder: an exploratory cluster analysis of objective sleep parameters reveals differences in neurocognitive functioning, quantitative EEG, and heart rate. Sleep. 2016;39(11):1993-2004. doi: 10.5665/sleep.6230 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Karsan N, Goadsby PJ. Biological insights from the premonitory symptoms of migraine. Nat Rev Neurol. 2018;14(12):699-710. doi: 10.1038/s41582-018-0098-4 [DOI] [PubMed] [Google Scholar]
  • 36.Wöber C, Brannath W, Schmidt K, et al. Prospective analysis of factors related to migraine attacks: the PAMINA study. Cephalalgia. 2007;27(4):304-314. doi: 10.1111/j.1468-2982.2007.01279.x [DOI] [PubMed] [Google Scholar]
  • 37.Houtveen JH, Sorbi MJ. Prodromal functioning of migraine patients relative to their interictal state—an ecological momentary assessment study. PLoS One. 2013;8(8):e72827. doi: 10.1371/journal.pone.0072827 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Thosar SS, Shea SA. Circadian control of human cardiovascular function. Curr Opin Pharmacol. 2021;57:89-97. doi: 10.1016/j.coph.2021.01.002 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Kikuchi H, Yoshiuchi K, Ando T, Yamamoto Y. Influence of psychological factors on acute exacerbation of tension-type headache: investigation by ecological momentary assessment. J Psychosom Res. 2015;79(3):239-242. doi: 10.1016/j.jpsychores.2015.06.008 [DOI] [PubMed] [Google Scholar]
  • 40.Johnson EI, Grondin O, Barrault M, et al. Computerized ambulatory monitoring in psychiatry: a multi-site collaborative study of acceptability, compliance, and reactivity. Int J Methods Psychiatr Res. 2009;18(1):48-57. doi: 10.1002/mpr.276 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Hundert AS, Huguet A, McGrath PJ, Stinson JN, Wheaton M. Commercially available mobile phone headache diary apps: a systematic review. JMIR Mhealth Uhealth. 2014;2(3):e36. doi: 10.2196/mhealth.3452 [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Deidentified participant data and R analytic programs will be shared on request for research purposes through request to the study PI.


Articles from Neurology are provided here courtesy of American Academy of Neurology

RESOURCES