Primary relevance to vitamin D Vitamin D is a stated subject of this paper.
Vitamin D is a stated subject of this paper; the supporting source evidence is shown below.
Why this paper is included
Supporting source evidence:
The results of the present study revealed a evident negative correlation between vitamin D levels and headache risk in children and adolescents, a finding that was further supported by smoothed curve fitting.
Source: Abstract. View original paper
Relevance classification does not establish study quality, causation or editorial approval.
Study design Study design awaiting verification.
Study design awaiting verification
The available source does not establish a sufficiently clear study design.
Meta-analysis unclear · Blinding unclear / not reported · Human research reported
How this paper was classified
Automatic source-based classification; awaiting editorial verification. This is not a quality score.
The following participants were excluded from the data analysis process: missing headache questionnaire information (n = 3), missing vitamin D testing data (n = 1003), missing BMI data (n = 75), or missing data on relevant covariates (n = 906).
Source: Methods.
What the study types mean
- Systematic review
- Uses explicit methods to identify, assess and summarise research on a defined question.
- Scoping review
- Maps the extent and characteristics of research on a topic.
- Narrative review
- Discusses existing research; systematic-review methods have not been established by this classification.
- Review / evidence synthesis
- Reviews existing research; the exact review methods need further assessment.
- Randomised controlled trial
- Assigns participants or groups to comparison interventions by chance.
- Non-randomised intervention study
- Examines an intervention without random allocation.
- Cohort study
- Examines exposures and outcomes over time within a defined group.
- Case-control study
- Compares people with an outcome against people without it, examining exposures.
- Cross-sectional study
- Examines a population at a particular point in time.
- Observational study
- Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
- Case report
- Describes an individual case.
- Case series
- Describes a group of individual cases.
- Secondary analysis
- Analyses existing study data; this paper is not automatically another independent trial.
- Laboratory study
- Investigates biological processes in a laboratory setting.
- Qualitative study
- Examines experiences or meanings using qualitative methods.
- Genetic instrumental-variable study
- Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
- Study protocol
- Describes planned methods and is not evidence that the planned study has reported results.
- Multiple reported designs
- More than one design is explicitly reported; examine the supporting methods.
- Study design awaiting verification
- The available source does not establish a sufficiently clear study design.
Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.
Full studies
Vitamin D concentrations and headache risk in children and adolescents aged 6 to 19 years: The mediating role of body mass index
Study design awaiting verification · Medicine · 2026
Original publication title
Vitamin D concentrations and headache risk in children and adolescents aged 6 to 19 years: The mediating role of body mass index
Copyright © 2026 the Author(s). Published by Wolters Kluwer Health, Inc.
Original publication · Publisher record · CC BY 4.0
Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.
At a glance
Study background
What background does the paper provide?
Headache is a common and significantly debilitating health issue among children and adolescents. Globally, up to 60% of children and adolescents suffer from severe headaches, with 7.7% to 9.1% of adolescents experiencing migraines.[1,2] Frequent headaches or migraines not only impair daily functioning and academic performance but also markedly reduce quality of life and social interaction capabilities,[3,4] making them a pressing public health concern. In recent years, the role of vitamin D in nonskeletal systems has garnered increasing attention, with its potential functions in neurology, immune regulation, and inflammation control being particularly noteworthy.[5,6] Among neurological disorders, the association between vitamin D and headaches warrants special exploration.
Some studies suggest that low vitamin D levels may be associated with an increased risk of headaches,[7] and vitamin D supplementation may help alleviate headache symptoms.[8,9] However, randomized controlled trials have also indicated that vitamin D supplementation does not significantly reduce headache incidence or severity.[10] Consequently, the association between vitamin D and headaches in children and adolescents remains controversial, and its potential mechanisms are unclear.
Serum 25-hydroxyvitamin D, the primary biomarker for vitamin D status, is a fat-soluble vitamin obtained through sunlight exposure, dietary sources, and supplementation.[11] Despite these multiple sources, vitamin D deficiency remains prevalent in the United States, particularly among children and adolescents.[12-15] Addressing this deficiency in childhood may help prevent adverse health outcomes later in life. Vitamin D supplementation not only improves the frequency and intensity of headaches but also reduces the use of painkillers, preventive medications, and related side effect medications.
Especially in the pediatric age group, where the use of medications is heavily burdened by ethical issues and side effects, the possibility of using milder interventions such as nutraceuticals like vitamin D could prove to be highly advantageous.[16]
Moreover, childhood obesity has emerged as a global health challenge,[17,18] with vitamin D deficiency exhibiting a close association with obesity.[19-21] Multiple cross-sectional and cohort studies indicate that childhood obesity correlates with an increased risk of headaches, while weight reduction contributes to the alleviation of headache symptoms.[22-27] Against this backdrop, BMI may serve as a potential mediating factor in the relationship between vitamin D and headaches.
Based on current evidence, we hypothesized that lower vitamin D levels are associated with frequent or severe headaches in children and adolescents, with BMI potentially playing a role in this relationship. So, we used 2001 to 2004 nationally representative NHANES data and explored the relationship between vitamin D and headache in children and the potential mediating role of BMI via multivariate linear regression and mediation analyses. Due to the study’s cross-sectional design, causality couldn’t be confirmed. Future longitudinal and intervention studies are needed to validate these associations and explore potential mechanisms.
Source: 1. Introduction Source: 1. Introduction Source: 1. Introduction Source: 1. IntroductionStudy methods
What methods does the paper describe?
2.1. Study population and data sources
The NHANES is a representative US national population survey that uses complex, multistage, and probability sampling methods to provide a wealth of information about the nutritional and health status of the general US population.[28] The Ethics Review Board of the National Center for Health Statistics (NCHS) approved the study protocol. All survey participants signed a written informed consent form. Please visit https://wwwn.cdc.gov/nchs/nhanes/analyticguidelines.aspx for more information. This study utilized data from the NHANES 2001–2004 Continuous Survey and initially included a total of 21,161 participants.
The study population consisted of 7066 children and adolescents aged 6 to 19 years. The following participants were excluded from the data analysis process: missing headache questionnaire information (n = 3), missing vitamin D testing data (n = 1003), missing BMI data (n = 75), or missing data on relevant covariates (n = 906). The final analysis included 5079 eligible participants, as shown in Figure 1.
Flow chart of participant selection, NHANES 2001–2004. BMI = body mass index, NHANES = National Health and Nutrition Examination Survey.
Definition of headache: The primary outcome variable for this study was defined as the respondent’s affirmative answer to the following question on the NHANES questionnaire: “In the past 12 months, have you or the respondent experienced frequent or severe headaches, including migraines?”[29]
The serum vitamin D concentration was measured via the DiaSorin RIA kit and converted to an equivalent 25-hydroxyvitamin D concentration via the regression method via standardized liquid chromatography–tandem mass spectrometry.[30] The same laboratory method (DiaSorin RIA) was used for vitamin D measurement across both survey cycles (2001–2004), and all values were standardized to LC-MS/MS equivalents to ensure consistency.
Centers for Disease Control and Prevention/National Centre for Health Statistics. Analytical notes for 25-hydroxyvitamin D data analyses via NHANES III (1988–1994), NHANES 2001–2006, and NHANES 2007–2010 (October 2015; https://wwwn.cdc.gov/nchs/nhanes/vitamind/analyticalnote.aspx?b=2013&e=2014&d=VID_H).
BMI is defined as BMI = weight (kg)/height (m)2.
2.2. Covariates
All covariates included in this study were selected a priori based on established associations with headache, vitamin D status, or BMI in the existing literature and clinical reasoning. No variables were added or removed based on the outcomes of the statistical models. Several potential confounding variables, including age, sex, race, education, poverty income ratio (PIR), total cholesterol (TC), high-density lipoprotein (HDL), C-reactive protein (CRP), bone alkaline phosphatase, hemoglobin, white blood cell count (WBC), neutrophil count, asthma, attention deficit, season of investigation, and presence of smokers in the household, were considered on the basis of published findings and clinical judgment.
In logistic regression, age was considered a continuous variable, whereas in describing participant characteristics and subgroup analyses, age was categorized as 6 to 11 years and 12 to 19 years (defined as 6–11 years and 12 to 19 years for children and adolescents, respectively).[31] In the descriptive participant characteristics and mediation analysis, BMI was treated as a continuous variable. The race categories included Mexican American, other Hispanic, non-Hispanic White, non-Hispanic Black, and other races (including multiracial). Asthma and attention deficit were defined as an affirmative response to the following question: “Have you ever been told you have asthma/attention deficit?”[32,33] The presence of smokers in the household was defined as an affirmative answer to the question “Does anyone smoke in the home?” and a positive answer to this question.
Since season affects vitamin D levels, we categorized testing time into 2 periods: November 1 to April 30 and May 1 to October 31.[34]
2.3. Statistical methods
This study was statistically analyzed via EmpowerStats software (version 4.1, http://www.empowerstats.com) and R software (version 3.4.3, http://www.R-project.org). Data for continuous variables are expressed as weighted means (95% CI), whereas categorical variables are expressed as percentages (95% CI). We compared the baseline characteristics of the headache population with those of the nonheadache population and assessed differences between the 2 groups via weighted t tests and chi-square tests. In our analysis, serum vitamin D was treated as a continuous variable for analysis.
Participants were classified into quartiles (Q1–Q4) according to the sample distribution of vitamin D levels, without the application of clinical cutoff values. To investigate the association between vitamin D and headache, we developed 3 logistic regression models: model 1, not adjusted for any covariates; model 2, adjusted for age, sex, and race; and model 3, adjusted for age, sex, race, level of education, PIR, TC, HDL, bone alkaline phosphatase, CRP, WBC, neutrophil count, hemoglobin, asthma, attention deficit, survey season, and household smoking.
In addition, we investigated the relationship between vitamin D and headache in different subgroups via subgroup analyses and interaction tests. Finally, a statistical mediation effect model with BMI as a mediating variable was developed via the bootstrapping method of the PROCESS macro (5000 replicate samples, 95% confidence intervals) to assess the indirect effect and mediation proportions of BMI in the relationship between vitamin D and headache risk.
2.4. Ethics guidelines
The NCHS Ethics Review Board reviewed and approved this study. Patients/participants provided written informed consent to participate in this study.
Results: Baseline data for selected populations
The study included 5079 participants, of whom 1210 (23.8%) reported headache. The headache group had a higher proportion of females. Compared with those of nonheadache patients, the age, BMI, neutrophil count and CRP values of headache patients were evidently greater (P < .05), whereas the vitamin D concentration, PIR value, hemoglobin and bone alkaline phosphatase level were evidently lower (P < .01), which may indicate potential nutritional and metabolic differences in the headache population (Table S1, Supplemental Digital Content, https://links.lww.com/MD/R773).
Source: 3.1. Baseline data for selected populationsAnalysis of the association between vitamin D and headaches
Results: Analysis of the association between vitamin D and headaches
Table 1 shows the associations between vitamin D concentrations and headache in children and adolescents.
Correlation studies between vitamin D and headache in children and adolescents.
| Model 1 | Model 2 | Model 3 | |
|---|---|---|---|
| OR (95% CI) P value | OR (95% CI) P value | OR (95% CI) P value | |
| Per 1 nmol/L vitamin D increase | 0.99 (0.99, 0.99) <.0001 | 0.99 (0.99, 1.00) .0073 | 0.99 (0.99, 1.00) .0123 |
| Categories (vitamin D) | |||
| Q1 | Ref. | Ref. | Ref. |
| Q2 | 0.77 (0.64, 0.93) .0060 | 0.92 (0.76, 1.13) .4262 | 0.94 (0.76, 1.14) .5158 |
| Q3 | 0.65 (0.53, 0.79) <.0001 | 0.85 (0.68, 1.06) .1568 | 0.86 (0.68, 1.07) .1806 |
| Q4 | 0.56 (0.46, 0.69) <.0001 | 0.74 (0.58, 0.93) .0097 | 0.75 (0.59, 0.95) .0185 |
| P for trend | 0.83 (0.77, 0.88) <.0001 | 0.91 (0.84, 0.98) .0095 | 0.91 (0.84, 0.98) .0169 |
Model 1: No covariates were adjusted.
Model 2: Age, sex, and race were adjusted.
Model 3: Age, sex, race, level of education, PIR, TC, HDL, bone alkaline phosphatase, CRP, WBC, neutrophil count, hemoglobin, asthma, attention deficit, survey season, and household smoking status were adjusted.
CI = confidence interval, CRP = C-reactive protein, HDL = high-density lipoprotein, OR = odds ratio, PIR = poverty income ratio, TC = total cholesterol, WBC = white blood cell count.
We found that model 1 showed a 1% reduction in headache risk for each 1-unit increase in vitamin D; this negative correlation persisted in model 3,which fully adjusted for covariates, representing a weak yet statistically significant trend. After the vitamin D quartiles were grouped, participants in the highest quartile (Q4) demonstrated a evident inverse association with headache incidence in model 3 (Table 1). Linear regression analysis revealed a negative vitamin D-headache risk relationship, consistently supported by subsequent smoothed curve fitting (Fig. 2).
Vitamin D and headache smoothing curve fit.
Results: Subgroup analyses
Table 2 subgroup analyses showing the relationship between vitamin D and headache in different populations. Specifically, there were evident differences between vitamin D and headache among female, adolescent (12–19 years old), no asthma, no attention deficit, and Mexican American participants. Interaction tests revealed that the interaction effects of sex, age, asthma, attention deficit, and race on the relationship between vitamin D and headache were not evident (P > .05), suggesting that the negative association between vitamin D and headache was stable across subgroups of the population.
Subgroup analysis.
| Vitamin D | OR (95% CI) P value | P for interaction | |
|---|---|---|---|
| Sex | .9657 | ||
| Male | N = 2539 | 0.99 (0.99, 1.00) .0850 | |
| Female | N = 2540 | 0.99 (0.99, 1.00) .0431 | |
| Age (yr) | .6321 | ||
| 6–11 | N = 1170 | 0.99 (0.98, 1.00) .1582 | |
| 12–19 | N = 3909 | 1.00 (0.99, 1.00) .0274 | |
| Asthma (%) | .5856 | ||
| Yes | N = 842 | 0.99 (0.98, 1.00) .1103 | |
| No | N = 4237 | 1.00 (0.99, 1.00) .0412 | |
| Attention deficit (%) | .4256 | ||
| .5388 | |||
| Yes | N = 4692 | 0.94 (0.84, 1.05) .2820 | |
| No | N = 387 | 0.98 (0.96, 0.99) .0073 | |
| Race (%) | .8308 | ||
| Mexican American | N = 1566 | 0.99 (0.98, 1.00) .0931 | |
| Other Hispanic | N = 194 | 0.99 (0.97, 1.01) .1550 | |
| Non-Hispanic White | N = 1443 | 1.00 (0.99, 1.00) .3547 | |
| Non-Hispanic Black | N = 1678 | 0.99 (0.99, 1.00) .1860 | |
| Other races | N = 198 | 1.00 (0.97, 1.02) .6773 |
CI = confidence interval, OR = odds ratio.
Results: Mediation analysis of BMI
We further investigated the potential mediating role of BMI in the correlation between vitamin D and headache risk. We found that higher vitamin D levels were associated with lower BMI (β = −0.05, 95% CI = −0.06, −0.04, P < .0001). Moreover, a higher BMI was associated with a greater risk of headache (OR = 1.02, 95% CI = 1.01, 1.04, P = .0023). The results suggest that BMI plays a partial mediating role. The P value for the mediating effect was .0120, and the mediation ratio was 20.94% (Fig. 3).
Mediation effect of BMI on the association between vitamin D and headache. Analysis of the effects of BMI on the associations between vitamin D and headache incidence. Sex, race, education level, PIR, total cholesterol (TC), high-density lipoprotein (HDL), bone alkaline phosphatase, C-reactive protein (CRP), white blood cell count (WBC), neutrophil count, hemoglobin, asthma, attention deficit, survey season, and household smoking status, were adjusted for. BMI = body mass index, CI = confidence interval, CRP = C-reactive protein, HDL = high-density lipoprotein, OR = odds ratio, PIR = poverty income ratio, TC = total cholesterol, WBC = white blood cell count.
Discussion
Based on NHANES data, this study reveals an inverse association between vitamin D levels and headache risk in children and adolescents, particularly among females and adolescents. Although the effect size per unit increase in vitamin D was modest (OR = 0.99), it may hold public health relevance given the large sample. Mediation analysis further indicated that BMI partially explains this relationship, offering new insights into the role of vitamin D in pediatric headache.
Many clinical studies have suggested that vitamin D deficiency may increase the risk of headache in children.[27,35-37] According to a retrospective analysis of Turkish children with headache, 69% had serum 25-hydroxyvitamin D levels < 50 nmol/L, suggesting that children with headache had low vitamin D levels.[38] A cross-sectional study conducted in Norway confirmed that headache patients had lower mean vitamin D levels than did patients with other types of pain symptoms.[39] In conclusion, a number of current observational and interventional studies support the existence of a correlation between vitamin D deficiency and headache in children.
Our study also supports the conclusion that low levels of vitamin D increase the risk of headache. Unlike previous studies, we specifically examined children and adolescents across broad developmental stages, enabling more targeted treatment strategies that account for hormonal status and maturation.
To better understand the negative association between vitamin D and headache, the present study further analyzed the possible physiological mechanisms. First, reduced vitamin D levels correlate with elevated inflammatory markers such as CRP and tumor necrosis factor-α (TNF-α), which are directly implicated in headache pathogenesis through promoting neurogenic inflammation and sensitization of nociceptive pathways.[40,41] In addition, studies have shown that vitamin D deficiency may be associated with neurotransmitter imbalance, increased neuroinflammation and neuronal damage in the brain, all of which are closely related to the development of headache.[42] New research indicates that vitamin D also regulates the synthesis of 5-hydroxytryptamine, a key neurotransmitter that regulates pain and mood.[43] In addition, vitamin D deficiency may lead to psychiatric disorders such as major and minor depression, schizophrenia, anxiety, and sleep disorders, further suggesting that vitamin D deficiency may promote or exacerbate headache through neurobiological and mental health pathways.[44,45] Headaches are more common in children and adolescents with psychiatric disorders.[46] Therefore, future studies should further focus on the overall role of vitamin D in inflammatory, neurological function, and mental health in order to develop more precise and comprehensive interventions.
Our subgroup analyses indicated a more robust association between vitamin D levels and headache risk among females. Several plausible biological mechanisms might underpin this sex-specific finding: First, estrogen may reduce bioavailable vitamin D by increasing vitamin D-binding protein concentrations, thereby limiting free circulating vitamin D[47]; second, females generally exhibit higher rates of vitamin D deficiency attributable to behaviors such as frequent sunscreen use, increased adiposity, and physiological states like pregnancy; third, females may possess greater neurological sensitivity to low vitamin D levels and exhibit enhanced pain perception pathways.[48] Furthermore, the vitamin D-headache association was notably more pronounced in adolescents compared to younger children.
Adolescents tend to engage more frequently in sedentary behaviors, such as prolonged screen time, which limit outdoor sunlight exposure essential for vitamin D synthesis.[49] Additionally, rapid skeletal growth during adolescence heightens the physiological demand for vitamin D due to increased calcium utilization, potentially exacerbating relative vitamin D deficiency. Therefore, targeted monitoring and intervention strategies for vitamin D status should particularly prioritize adolescent and female populations.
In addition, this study clarified that BMI mediated 20.9% of the effect, partially explaining the relationship between vitamin D and headaches, thereby further elucidating the complex interplay between metabolic and nutritional factors. Obesity may reduce the bioavailability of vitamin D through adipose tissue hyperplasia while causing chronic inflammation and increasing headache risk.[50] Furthermore, elevated BMI exacerbates chronic low-grade inflammation, heightening susceptibility to headaches. This finding is in line with the findings of another study that revealed a evidently increased risk of primary headache in a group of children with a BMI > 25,[27] further suggesting a possible synergistic effect between obesity and vitamin D deficiency.
This study provides emerging evidence for the extraskeletal function of vitamin D but emphasizes the need to interpret the results in a specific context. Although many studies have focused on the potential clinical benefits of vitamin D supplementation for headache, our study revealed that interventions combining vitamin D supplementation with weight management may provide greater health benefits. Particularly in women and adolescents with headache, weight management and routine vitamin D screening may provide the basis for individualized treatment.
The present study has several limitations. First, owing to the cross-sectional design of the study, no clear causality could be derived. Second, using self-reported headache data from NHANES may involve recall bias, which could affect the accuracy of headache prevalence estimates. Furthermore, the NHANES lacked detailed data on headache subtypes and severity and did not consider the possible effects of other micronutrients. Finally, although the analyses were adjusted for multiple potential confounders, unknown or unmeasured confounders may still exist (such as sunlight exposure or diet).
Therefore, future longitudinal studies and more in-depth nutrient analyses are necessary.
Source: 4. Discussion Source: 4. Discussion Source: 4. Discussion Source: 4. Discussion Source: 4. Discussion Source: 4. Discussion Source: 4. DiscussionResults
3.1. Baseline data for selected populations
The study included 5079 participants, of whom 1210 (23.8%) reported headache. The headache group had a higher proportion of females. Compared with those of nonheadache patients, the age, BMI, neutrophil count and CRP values of headache patients were evidently greater (P < .05), whereas the vitamin D concentration, PIR value, hemoglobin and bone alkaline phosphatase level were evidently lower (P < .01), which may indicate potential nutritional and metabolic differences in the headache population (Table S1, Supplemental Digital Content, https://links.lww.com/MD/R773).
3.2. Analysis of the association between vitamin D and headaches
Table 1 shows the associations between vitamin D concentrations and headache in children and adolescents.
Correlation studies between vitamin D and headache in children and adolescents.
| Model 1 | Model 2 | Model 3 | |
|---|---|---|---|
| OR (95% CI) P value | OR (95% CI) P value | OR (95% CI) P value | |
| Per 1 nmol/L vitamin D increase | 0.99 (0.99, 0.99) <.0001 | 0.99 (0.99, 1.00) .0073 | 0.99 (0.99, 1.00) .0123 |
| Categories (vitamin D) | |||
| Q1 | Ref. | Ref. | Ref. |
| Q2 | 0.77 (0.64, 0.93) .0060 | 0.92 (0.76, 1.13) .4262 | 0.94 (0.76, 1.14) .5158 |
| Q3 | 0.65 (0.53, 0.79) <.0001 | 0.85 (0.68, 1.06) .1568 | 0.86 (0.68, 1.07) .1806 |
| Q4 | 0.56 (0.46, 0.69) <.0001 | 0.74 (0.58, 0.93) .0097 | 0.75 (0.59, 0.95) .0185 |
| P for trend | 0.83 (0.77, 0.88) <.0001 | 0.91 (0.84, 0.98) .0095 | 0.91 (0.84, 0.98) .0169 |
Model 1: No covariates were adjusted.
Model 2: Age, sex, and race were adjusted.
Model 3: Age, sex, race, level of education, PIR, TC, HDL, bone alkaline phosphatase, CRP, WBC, neutrophil count, hemoglobin, asthma, attention deficit, survey season, and household smoking status were adjusted.
CI = confidence interval, CRP = C-reactive protein, HDL = high-density lipoprotein, OR = odds ratio, PIR = poverty income ratio, TC = total cholesterol, WBC = white blood cell count.
We found that model 1 showed a 1% reduction in headache risk for each 1-unit increase in vitamin D; this negative correlation persisted in model 3,which fully adjusted for covariates, representing a weak yet statistically significant trend. After the vitamin D quartiles were grouped, participants in the highest quartile (Q4) demonstrated a evident inverse association with headache incidence in model 3 (Table 1). Linear regression analysis revealed a negative vitamin D-headache risk relationship, consistently supported by subsequent smoothed curve fitting (Fig. 2).
Vitamin D and headache smoothing curve fit.
3.3. Subgroup analyses
Table 2 subgroup analyses showing the relationship between vitamin D and headache in different populations. Specifically, there were evident differences between vitamin D and headache among female, adolescent (12–19 years old), no asthma, no attention deficit, and Mexican American participants. Interaction tests revealed that the interaction effects of sex, age, asthma, attention deficit, and race on the relationship between vitamin D and headache were not evident (P > .05), suggesting that the negative association between vitamin D and headache was stable across subgroups of the population.
Subgroup analysis.
| Vitamin D | OR (95% CI) P value | P for interaction | |
|---|---|---|---|
| Sex | .9657 | ||
| Male | N = 2539 | 0.99 (0.99, 1.00) .0850 | |
| Female | N = 2540 | 0.99 (0.99, 1.00) .0431 | |
| Age (yr) | .6321 | ||
| 6–11 | N = 1170 | 0.99 (0.98, 1.00) .1582 | |
| 12–19 | N = 3909 | 1.00 (0.99, 1.00) .0274 | |
| Asthma (%) | .5856 | ||
| Yes | N = 842 | 0.99 (0.98, 1.00) .1103 | |
| No | N = 4237 | 1.00 (0.99, 1.00) .0412 | |
| Attention deficit (%) | .4256 | ||
| .5388 | |||
| Yes | N = 4692 | 0.94 (0.84, 1.05) .2820 | |
| No | N = 387 | 0.98 (0.96, 0.99) .0073 | |
| Race (%) | .8308 | ||
| Mexican American | N = 1566 | 0.99 (0.98, 1.00) .0931 | |
| Other Hispanic | N = 194 | 0.99 (0.97, 1.01) .1550 | |
| Non-Hispanic White | N = 1443 | 1.00 (0.99, 1.00) .3547 | |
| Non-Hispanic Black | N = 1678 | 0.99 (0.99, 1.00) .1860 | |
| Other races | N = 198 | 1.00 (0.97, 1.02) .6773 |
CI = confidence interval, OR = odds ratio.
3.4. Mediation analysis of BMI
We further investigated the potential mediating role of BMI in the correlation between vitamin D and headache risk. We found that higher vitamin D levels were associated with lower BMI (β = −0.05, 95% CI = −0.06, −0.04, P < .0001). Moreover, a higher BMI was associated with a greater risk of headache (OR = 1.02, 95% CI = 1.01, 1.04, P = .0023). The results suggest that BMI plays a partial mediating role. The P value for the mediating effect was .0120, and the mediation ratio was 20.94% (Fig. 3).
Mediation effect of BMI on the association between vitamin D and headache. Analysis of the effects of BMI on the associations between vitamin D and headache incidence. Sex, race, education level, PIR, total cholesterol (TC), high-density lipoprotein (HDL), bone alkaline phosphatase, C-reactive protein (CRP), white blood cell count (WBC), neutrophil count, hemoglobin, asthma, attention deficit, survey season, and household smoking status, were adjusted for. BMI = body mass index, CI = confidence interval, CRP = C-reactive protein, HDL = high-density lipoprotein, OR = odds ratio, PIR = poverty income ratio, TC = total cholesterol, WBC = white blood cell count.
Conclusion
This study found that lower vitamin D levels were associated with higher headache prevalence, partly explained by BMI. However, more prospective studies are necessary to further validate this association and its underlying mechanisms.
Source: 5. ConclusionAuthors’ abstract
Emerging evidence suggests vitamin D deficiency might be linked to increased headache risk, though consistent conclusions are lacking due to population and methodological heterogeneity. In addition, childhood and adolescent obesity may influence headache development through metabolic and inflammatory pathways, but the specific role of body mass index (BMI) in the relationship between vitamin D and headache is currently unclear. Therefore, this study used National Health and Nutrition Examination Survey (NHANES) large-scale population-based data to investigate the association between vitamin D levels and headache risk in children and adolescents aged 6 to 19 years and to analyze the possible mediating effect of BMI on this relationship.
The aim of this study was to explore the complex association between vitamin D levels and headache. We analyzed 2 cycles of the NHANES dataset, which included a total of 7066 children and adolescents aged 6 to 19 years. Multivariate linear regression models, subgroup analyses and smoothed curve fitting were used to investigate the associations between vitamin D levels and headache, and the potential mediating role of BMI was explored. The results of the present study revealed a evident negative correlation between vitamin D levels and headache risk in children and adolescents, a finding that was further supported by smoothed curve fitting.
Notably, this negative correlation was stronger in the female and adolescent groups. The results of the mediation analysis revealed that BMI had a evident mediating effect, with a mediation ratio of 20.94%. This study found that lower vitamin D levels were associated with a higher likelihood of headache in children and adolescents, and that BMI may play a partial mediating role. This finding provides new strategies for the prevention and treatment of headache in children and adolescents. More prospective studies are necessary to further validate this association and its underlying mechanisms.
Read the full paper
1. Introduction
Headache is a common and significantly debilitating health issue among children and adolescents. Globally, up to 60% of children and adolescents suffer from severe headaches, with 7.7% to 9.1% of adolescents experiencing migraines.[1,2] Frequent headaches or migraines not only impair daily functioning and academic performance but also markedly reduce quality of life and social interaction capabilities,[3,4] making them a pressing public health concern. In recent years, the role of vitamin D in nonskeletal systems has garnered increasing attention, with its potential functions in neurology, immune regulation, and inflammation control being particularly noteworthy.[5,6] Among neurological disorders, the association between vitamin D and headaches warrants special exploration.
Some studies suggest that low vitamin D levels may be associated with an increased risk of headaches,[7] and vitamin D supplementation may help alleviate headache symptoms.[8,9] However, randomized controlled trials have also indicated that vitamin D supplementation does not significantly reduce headache incidence or severity.[10] Consequently, the association between vitamin D and headaches in children and adolescents remains controversial, and its potential mechanisms are unclear.
Serum 25-hydroxyvitamin D, the primary biomarker for vitamin D status, is a fat-soluble vitamin obtained through sunlight exposure, dietary sources, and supplementation.[11] Despite these multiple sources, vitamin D deficiency remains prevalent in the United States, particularly among children and adolescents.[12-15] Addressing this deficiency in childhood may help prevent adverse health outcomes later in life. Vitamin D supplementation not only improves the frequency and intensity of headaches but also reduces the use of painkillers, preventive medications, and related side effect medications.
Especially in the pediatric age group, where the use of medications is heavily burdened by ethical issues and side effects, the possibility of using milder interventions such as nutraceuticals like vitamin D could prove to be highly advantageous.[16]
Moreover, childhood obesity has emerged as a global health challenge,[17,18] with vitamin D deficiency exhibiting a close association with obesity.[19-21] Multiple cross-sectional and cohort studies indicate that childhood obesity correlates with an increased risk of headaches, while weight reduction contributes to the alleviation of headache symptoms.[22-27] Against this backdrop, BMI may serve as a potential mediating factor in the relationship between vitamin D and headaches.
Based on current evidence, we hypothesized that lower vitamin D levels are associated with frequent or severe headaches in children and adolescents, with BMI potentially playing a role in this relationship. So, we used 2001 to 2004 nationally representative NHANES data and explored the relationship between vitamin D and headache in children and the potential mediating role of BMI via multivariate linear regression and mediation analyses. Due to the study’s cross-sectional design, causality couldn’t be confirmed. Future longitudinal and intervention studies are needed to validate these associations and explore potential mechanisms.
2. Materials and methods
2.1. Study population and data sources
The NHANES is a representative US national population survey that uses complex, multistage, and probability sampling methods to provide a wealth of information about the nutritional and health status of the general US population.[28] The Ethics Review Board of the National Center for Health Statistics (NCHS) approved the study protocol. All survey participants signed a written informed consent form. Please visit https://wwwn.cdc.gov/nchs/nhanes/analyticguidelines.aspx for more information. This study utilized data from the NHANES 2001–2004 Continuous Survey and initially included a total of 21,161 participants.
The study population consisted of 7066 children and adolescents aged 6 to 19 years. The following participants were excluded from the data analysis process: missing headache questionnaire information (n = 3), missing vitamin D testing data (n = 1003), missing BMI data (n = 75), or missing data on relevant covariates (n = 906). The final analysis included 5079 eligible participants, as shown in Figure 1.
Flow chart of participant selection, NHANES 2001–2004. BMI = body mass index, NHANES = National Health and Nutrition Examination Survey.
Definition of headache: The primary outcome variable for this study was defined as the respondent’s affirmative answer to the following question on the NHANES questionnaire: “In the past 12 months, have you or the respondent experienced frequent or severe headaches, including migraines?”[29]
The serum vitamin D concentration was measured via the DiaSorin RIA kit and converted to an equivalent 25-hydroxyvitamin D concentration via the regression method via standardized liquid chromatography–tandem mass spectrometry.[30] The same laboratory method (DiaSorin RIA) was used for vitamin D measurement across both survey cycles (2001–2004), and all values were standardized to LC-MS/MS equivalents to ensure consistency.
Centers for Disease Control and Prevention/National Centre for Health Statistics. Analytical notes for 25-hydroxyvitamin D data analyses via NHANES III (1988–1994), NHANES 2001–2006, and NHANES 2007–2010 (October 2015; https://wwwn.cdc.gov/nchs/nhanes/vitamind/analyticalnote.aspx?b=2013&e=2014&d=VID_H).
BMI is defined as BMI = weight (kg)/height (m)2.
2.2. Covariates
All covariates included in this study were selected a priori based on established associations with headache, vitamin D status, or BMI in the existing literature and clinical reasoning. No variables were added or removed based on the outcomes of the statistical models. Several potential confounding variables, including age, sex, race, education, poverty income ratio (PIR), total cholesterol (TC), high-density lipoprotein (HDL), C-reactive protein (CRP), bone alkaline phosphatase, hemoglobin, white blood cell count (WBC), neutrophil count, asthma, attention deficit, season of investigation, and presence of smokers in the household, were considered on the basis of published findings and clinical judgment.
In logistic regression, age was considered a continuous variable, whereas in describing participant characteristics and subgroup analyses, age was categorized as 6 to 11 years and 12 to 19 years (defined as 6–11 years and 12 to 19 years for children and adolescents, respectively).[31] In the descriptive participant characteristics and mediation analysis, BMI was treated as a continuous variable. The race categories included Mexican American, other Hispanic, non-Hispanic White, non-Hispanic Black, and other races (including multiracial). Asthma and attention deficit were defined as an affirmative response to the following question: “Have you ever been told you have asthma/attention deficit?”[32,33] The presence of smokers in the household was defined as an affirmative answer to the question “Does anyone smoke in the home?” and a positive answer to this question.
Since season affects vitamin D levels, we categorized testing time into 2 periods: November 1 to April 30 and May 1 to October 31.[34]
2.3. Statistical methods
This study was statistically analyzed via EmpowerStats software (version 4.1, http://www.empowerstats.com) and R software (version 3.4.3, http://www.R-project.org). Data for continuous variables are expressed as weighted means (95% CI), whereas categorical variables are expressed as percentages (95% CI). We compared the baseline characteristics of the headache population with those of the nonheadache population and assessed differences between the 2 groups via weighted t tests and chi-square tests. In our analysis, serum vitamin D was treated as a continuous variable for analysis.
Participants were classified into quartiles (Q1–Q4) according to the sample distribution of vitamin D levels, without the application of clinical cutoff values. To investigate the association between vitamin D and headache, we developed 3 logistic regression models: model 1, not adjusted for any covariates; model 2, adjusted for age, sex, and race; and model 3, adjusted for age, sex, race, level of education, PIR, TC, HDL, bone alkaline phosphatase, CRP, WBC, neutrophil count, hemoglobin, asthma, attention deficit, survey season, and household smoking.
In addition, we investigated the relationship between vitamin D and headache in different subgroups via subgroup analyses and interaction tests. Finally, a statistical mediation effect model with BMI as a mediating variable was developed via the bootstrapping method of the PROCESS macro (5000 replicate samples, 95% confidence intervals) to assess the indirect effect and mediation proportions of BMI in the relationship between vitamin D and headache risk.
2.4. Ethics guidelines
The NCHS Ethics Review Board reviewed and approved this study. Patients/participants provided written informed consent to participate in this study.
3. Results
3.1. Baseline data for selected populations
The study included 5079 participants, of whom 1210 (23.8%) reported headache. The headache group had a higher proportion of females. Compared with those of nonheadache patients, the age, BMI, neutrophil count and CRP values of headache patients were evidently greater (P < .05), whereas the vitamin D concentration, PIR value, hemoglobin and bone alkaline phosphatase level were evidently lower (P < .01), which may indicate potential nutritional and metabolic differences in the headache population (Table S1, Supplemental Digital Content, https://links.lww.com/MD/R773).
3.2. Analysis of the association between vitamin D and headaches
Table 1 shows the associations between vitamin D concentrations and headache in children and adolescents.
Correlation studies between vitamin D and headache in children and adolescents.
| Model 1 | Model 2 | Model 3 | |
|---|---|---|---|
| OR (95% CI) P value | OR (95% CI) P value | OR (95% CI) P value | |
| Per 1 nmol/L vitamin D increase | 0.99 (0.99, 0.99) <.0001 | 0.99 (0.99, 1.00) .0073 | 0.99 (0.99, 1.00) .0123 |
| Categories (vitamin D) | |||
| Q1 | Ref. | Ref. | Ref. |
| Q2 | 0.77 (0.64, 0.93) .0060 | 0.92 (0.76, 1.13) .4262 | 0.94 (0.76, 1.14) .5158 |
| Q3 | 0.65 (0.53, 0.79) <.0001 | 0.85 (0.68, 1.06) .1568 | 0.86 (0.68, 1.07) .1806 |
| Q4 | 0.56 (0.46, 0.69) <.0001 | 0.74 (0.58, 0.93) .0097 | 0.75 (0.59, 0.95) .0185 |
| P for trend | 0.83 (0.77, 0.88) <.0001 | 0.91 (0.84, 0.98) .0095 | 0.91 (0.84, 0.98) .0169 |
Model 1: No covariates were adjusted.
Model 2: Age, sex, and race were adjusted.
Model 3: Age, sex, race, level of education, PIR, TC, HDL, bone alkaline phosphatase, CRP, WBC, neutrophil count, hemoglobin, asthma, attention deficit, survey season, and household smoking status were adjusted.
CI = confidence interval, CRP = C-reactive protein, HDL = high-density lipoprotein, OR = odds ratio, PIR = poverty income ratio, TC = total cholesterol, WBC = white blood cell count.
We found that model 1 showed a 1% reduction in headache risk for each 1-unit increase in vitamin D; this negative correlation persisted in model 3,which fully adjusted for covariates, representing a weak yet statistically significant trend. After the vitamin D quartiles were grouped, participants in the highest quartile (Q4) demonstrated a evident inverse association with headache incidence in model 3 (Table 1). Linear regression analysis revealed a negative vitamin D-headache risk relationship, consistently supported by subsequent smoothed curve fitting (Fig. 2).
Vitamin D and headache smoothing curve fit.
3.3. Subgroup analyses
Table 2 subgroup analyses showing the relationship between vitamin D and headache in different populations. Specifically, there were evident differences between vitamin D and headache among female, adolescent (12–19 years old), no asthma, no attention deficit, and Mexican American participants. Interaction tests revealed that the interaction effects of sex, age, asthma, attention deficit, and race on the relationship between vitamin D and headache were not evident (P > .05), suggesting that the negative association between vitamin D and headache was stable across subgroups of the population.
Subgroup analysis.
| Vitamin D | OR (95% CI) P value | P for interaction | |
|---|---|---|---|
| Sex | .9657 | ||
| Male | N = 2539 | 0.99 (0.99, 1.00) .0850 | |
| Female | N = 2540 | 0.99 (0.99, 1.00) .0431 | |
| Age (yr) | .6321 | ||
| 6–11 | N = 1170 | 0.99 (0.98, 1.00) .1582 | |
| 12–19 | N = 3909 | 1.00 (0.99, 1.00) .0274 | |
| Asthma (%) | .5856 | ||
| Yes | N = 842 | 0.99 (0.98, 1.00) .1103 | |
| No | N = 4237 | 1.00 (0.99, 1.00) .0412 | |
| Attention deficit (%) | .4256 | ||
| .5388 | |||
| Yes | N = 4692 | 0.94 (0.84, 1.05) .2820 | |
| No | N = 387 | 0.98 (0.96, 0.99) .0073 | |
| Race (%) | .8308 | ||
| Mexican American | N = 1566 | 0.99 (0.98, 1.00) .0931 | |
| Other Hispanic | N = 194 | 0.99 (0.97, 1.01) .1550 | |
| Non-Hispanic White | N = 1443 | 1.00 (0.99, 1.00) .3547 | |
| Non-Hispanic Black | N = 1678 | 0.99 (0.99, 1.00) .1860 | |
| Other races | N = 198 | 1.00 (0.97, 1.02) .6773 |
CI = confidence interval, OR = odds ratio.
3.4. Mediation analysis of BMI
We further investigated the potential mediating role of BMI in the correlation between vitamin D and headache risk. We found that higher vitamin D levels were associated with lower BMI (β = −0.05, 95% CI = −0.06, −0.04, P < .0001). Moreover, a higher BMI was associated with a greater risk of headache (OR = 1.02, 95% CI = 1.01, 1.04, P = .0023). The results suggest that BMI plays a partial mediating role. The P value for the mediating effect was .0120, and the mediation ratio was 20.94% (Fig. 3).
Mediation effect of BMI on the association between vitamin D and headache. Analysis of the effects of BMI on the associations between vitamin D and headache incidence. Sex, race, education level, PIR, total cholesterol (TC), high-density lipoprotein (HDL), bone alkaline phosphatase, C-reactive protein (CRP), white blood cell count (WBC), neutrophil count, hemoglobin, asthma, attention deficit, survey season, and household smoking status, were adjusted for. BMI = body mass index, CI = confidence interval, CRP = C-reactive protein, HDL = high-density lipoprotein, OR = odds ratio, PIR = poverty income ratio, TC = total cholesterol, WBC = white blood cell count.
4. Discussion
Based on NHANES data, this study reveals an inverse association between vitamin D levels and headache risk in children and adolescents, particularly among females and adolescents. Although the effect size per unit increase in vitamin D was modest (OR = 0.99), it may hold public health relevance given the large sample. Mediation analysis further indicated that BMI partially explains this relationship, offering new insights into the role of vitamin D in pediatric headache.
Many clinical studies have suggested that vitamin D deficiency may increase the risk of headache in children.[27,35-37] According to a retrospective analysis of Turkish children with headache, 69% had serum 25-hydroxyvitamin D levels < 50 nmol/L, suggesting that children with headache had low vitamin D levels.[38] A cross-sectional study conducted in Norway confirmed that headache patients had lower mean vitamin D levels than did patients with other types of pain symptoms.[39] In conclusion, a number of current observational and interventional studies support the existence of a correlation between vitamin D deficiency and headache in children.
Our study also supports the conclusion that low levels of vitamin D increase the risk of headache. Unlike previous studies, we specifically examined children and adolescents across broad developmental stages, enabling more targeted treatment strategies that account for hormonal status and maturation.
To better understand the negative association between vitamin D and headache, the present study further analyzed the possible physiological mechanisms. First, reduced vitamin D levels correlate with elevated inflammatory markers such as CRP and tumor necrosis factor-α (TNF-α), which are directly implicated in headache pathogenesis through promoting neurogenic inflammation and sensitization of nociceptive pathways.[40,41] In addition, studies have shown that vitamin D deficiency may be associated with neurotransmitter imbalance, increased neuroinflammation and neuronal damage in the brain, all of which are closely related to the development of headache.[42] New research indicates that vitamin D also regulates the synthesis of 5-hydroxytryptamine, a key neurotransmitter that regulates pain and mood.[43] In addition, vitamin D deficiency may lead to psychiatric disorders such as major and minor depression, schizophrenia, anxiety, and sleep disorders, further suggesting that vitamin D deficiency may promote or exacerbate headache through neurobiological and mental health pathways.[44,45] Headaches are more common in children and adolescents with psychiatric disorders.[46] Therefore, future studies should further focus on the overall role of vitamin D in inflammatory, neurological function, and mental health in order to develop more precise and comprehensive interventions.
Our subgroup analyses indicated a more robust association between vitamin D levels and headache risk among females. Several plausible biological mechanisms might underpin this sex-specific finding: First, estrogen may reduce bioavailable vitamin D by increasing vitamin D-binding protein concentrations, thereby limiting free circulating vitamin D[47]; second, females generally exhibit higher rates of vitamin D deficiency attributable to behaviors such as frequent sunscreen use, increased adiposity, and physiological states like pregnancy; third, females may possess greater neurological sensitivity to low vitamin D levels and exhibit enhanced pain perception pathways.[48] Furthermore, the vitamin D-headache association was notably more pronounced in adolescents compared to younger children.
Adolescents tend to engage more frequently in sedentary behaviors, such as prolonged screen time, which limit outdoor sunlight exposure essential for vitamin D synthesis.[49] Additionally, rapid skeletal growth during adolescence heightens the physiological demand for vitamin D due to increased calcium utilization, potentially exacerbating relative vitamin D deficiency. Therefore, targeted monitoring and intervention strategies for vitamin D status should particularly prioritize adolescent and female populations.
In addition, this study clarified that BMI mediated 20.9% of the effect, partially explaining the relationship between vitamin D and headaches, thereby further elucidating the complex interplay between metabolic and nutritional factors. Obesity may reduce the bioavailability of vitamin D through adipose tissue hyperplasia while causing chronic inflammation and increasing headache risk.[50] Furthermore, elevated BMI exacerbates chronic low-grade inflammation, heightening susceptibility to headaches. This finding is in line with the findings of another study that revealed a evidently increased risk of primary headache in a group of children with a BMI > 25,[27] further suggesting a possible synergistic effect between obesity and vitamin D deficiency.
This study provides emerging evidence for the extraskeletal function of vitamin D but emphasizes the need to interpret the results in a specific context. Although many studies have focused on the potential clinical benefits of vitamin D supplementation for headache, our study revealed that interventions combining vitamin D supplementation with weight management may provide greater health benefits. Particularly in women and adolescents with headache, weight management and routine vitamin D screening may provide the basis for individualized treatment.
The present study has several limitations. First, owing to the cross-sectional design of the study, no clear causality could be derived. Second, using self-reported headache data from NHANES may involve recall bias, which could affect the accuracy of headache prevalence estimates. Furthermore, the NHANES lacked detailed data on headache subtypes and severity and did not consider the possible effects of other micronutrients. Finally, although the analyses were adjusted for multiple potential confounders, unknown or unmeasured confounders may still exist (such as sunlight exposure or diet).
Therefore, future longitudinal studies and more in-depth nutrient analyses are necessary.
5. Conclusion
This study found that lower vitamin D levels were associated with higher headache prevalence, partly explained by BMI. However, more prospective studies are necessary to further validate this association and its underlying mechanisms.
Author contributions
Methodology: Cheng Guo.
Software: Cheng Guo, Tiesong Zhang.
Supervision: Kai Liu.
Writing – original draft: Min Zhang, Juan Xie.
Writing – review & editing: Kai Liu.
Supplementary Material
body mass index confidence interval C-reactive protein high-density lipoprotein National Center for Health Statistics National Health and Nutrition Examination Survey odds ratio poverty income ratio total cholesterol tumor necrosis factor-α white blood cell countAbbreviations:
BMI
Ethics approval and consent to participate in the NHANES are provided by the Centers for Disease Control and Prevention (CDC) in collaboration with the National Center for Health Statistics (NCHS). The NHANES study protocol was reviewed and approved by the NCHS Research Ethics Review Committee. Written informed consent was obtained from all participants.
The authors have no funding and conflicts of interest to disclose.
The datasets generated during and/or analyzed during the current study are publicly available.
Supplemental Digital Content is available for this article.
How to cite this article: Zhang M, Xie J, Guo C, Zhang T, Liu K. Vitamin D concentrations and headache risk in children and adolescents aged 6 to 19 years: The mediating role of body mass index. Medicine 2026;105:18(e48477).
MZ and JX contributed to this article equally.
References
Publication and source details
Original title: Vitamin D concentrations and headache risk in children and adolescents aged 6 to 19 years: The mediating role of body mass index
Min Zhang; Juan Xie; Cheng Guo; Tiesong Zhang; Kai Liu
Medicine · 2026
* Correspondence: Kai Liu, Comprehensive Pediatrics, Kunming Medical University Affiliated Children’s Hospital (Kunming Children’s Hospital), Shulin Street 28, Kunming 650103, Yunnan Province, China (e-mail: liukai@kmmu.edu.cn).Copyright © 2026 the Author(s). Published by Wolters Kluwer Health, Inc.2026https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the Creative Commons Attribution License 4.0 (CCBY), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.Repository JATS snapshot; version as supplied
Source retrieved: 2026-11-10T10:40:16.176636+00:00
DOI: 10.1097/md.0000000000048477 · PMC13138427
