Introduction

Migraine is one of the most common disabling neurological disorders. It is characterized by recurrent episodes of headache, variable in duration, intensity, and frequency, and is accompanied by nausea, vomiting, photophobia, and/or phonophobia. In some cases, migraine attacks are preceded by focal neurological symptoms called aura [1].

Although the diagnosis of migraine remains mostly clinical, researchers have made great efforts in the investigation of the role of the neurotransmitter, hormones, and other biochemical elements in the pathophysiology of this disease. Such efforts have permitted a better understanding of the cerebral and extra-neurological mechanisms underlying this type of headache leading to the identification of a treatment target [2].

Vitamin D has been suggested to play an important role in various physiological activities such as immune system regulation and resolution of inflammation, which are both proposed to be involved in the pathogenesis of several neurological diseases including migraine [3].

Among all the serum electrolytes, magnesium plays a significant role in the conversion of vitamin D by hepatic 25-hydroxylation and renal 1α-hydroxylation into the active, hormonal form 1,25-dihydroxy-vitamin D [4]. Magnesium deficiency results in reduced levels of vitamin D and impaired parathyroid hormone response [5]. Magnesium supplementation was shown to markedly reduce the resistance to vitamin D treatment, and it has been implicated in magnesium-dependent vitamin D-resistant rickets. It also plays a key role in bone mineralization by influencing synthesis of the active vitamin D metabolites [6]. Magnesium deficiency is found in patients with chronic medical illnesses, including cardiovascular disease, diabetes, pre-eclampsia, eclampsia, sickle cell disease, and chronic alcoholism [7]. Henceforth, we investigated the impact of vitamin D and its related minerals (calcium and magnesium) on migraine characteristics.

Methods

This case-control study was carried out over a period of 6 months from July 2018 to December 2018, on 78 migraine patients, diagnosed according to the international classification of headache disorders, third edition (ICHD-3) [8]. The exclusion criteria were age < 18 years, patients with known history of other neurological diseases (cerebrovascular stroke, epilepsy, brain tumors, multiple sclerosis), those who have received vitamin D supplements in the previous 4 months, those with concomitant medical diseases especially tumors, hypertension, diabetes, renal or hepatic insufficiency, autoimmune disease, and thyroid diseases, and the patients on medications that clearly affect electrolytes’ levels such as diuretics, cyclosporine, aminoglycosides, and acetazolamide. Eighteen patients were excluded, leaving a sample of 60 patients; they were 40 (66.6%) females and 20 (33.3%) males, with an age range of (19–49) years and a mean age of 31.13 ± 7.4 years. Apparently, 30 healthy individuals, 12 (40%) males, and 18 (18%) females, matched for age, gender, and menstrual status of the female patients, were served as a control group. The characteristics of the patients and control are summarized in (Table 1).

Table 1 Demographic characteristics of migraine patients and control subjects

The detailed history of all migraine patients including, level of education, residence, and consumption of vitamin and mineral supplements was collected. General and neurological examinations and the assessment of migraine characteristics using the visual analogue score for pain intensity [9] were conducted. Migraine severity was assessed by the Migraine Severity Scale (MIGSEV) [10] and the Migraine Disability Assessment (MIDAS) questionnaires to evaluate the migraine-related disability in different life domains of the patients over the previous 3 months.

The venous blood samples (5 mL) were collected under complete aseptic conditions from all the subjects included in the present study. A fresh serum aliquot for each subject was used for the assay of electrolytes including serum calcium and magnesium, liver, and kidney functions. Regarding vitamin D, blood samples were collected, centrifuged, and stored at − 80 °C. Serum levels of vitamin D were measured using the enzyme-linked immunosorbent assay (ELISA) method. Vitamin D insufficiency was noted at 20–29 ng/mL and vitamin D deficiency at < 20 ng/mL [11]. Repeated freezing and thawing cycles were avoided.

Statistical analysis

The collected data were coded, entered, presented, and analyzed by a computer using a database software program, Statistical Package for Social Science (SPSS) version 22 [12]. Quantitative variables were expressed as the mean ± SD and range, and the categorical variables were expressed as a number and percentage. Continuous data were checked for normality by using the Shapiro-Wilk test. Student’s t test was used to compare two independent groups of normally distributed data, while the Mann-Whitney U test was used for non-normally distributed data. The percentages of categorical variables were compared using the chi-square test. Spearman’s rank correlation analysis was done between the selected study parameters. P value < 0.05 was considered statistically significant.

Our institutional review boards approved this study, and informed consent was obtained from each patient before starting the study.

Results

Among the study participants who suffered from migraine, 38 patients (63.3%) were diagnosed with episodic migraine (EM), whereas 22 (36.7%) with chronic migraine (CM). Only ten patients (16.7%) experienced symptoms consistent with the diagnosis of migraine with aura; on the contrary, 50 (83.3%) patients had migraine without aura (Fig. 1). The age of onset of the disease ranged from 10 to 35 years of age, with a mean of 25.9 ± 5.5 years, and the whole duration of illness ranged from 1 to 19 years with a mean of 5.2 ± 5.1 years. While the frequency of attacks for the last month ranged from 4 to 30 with a mean of 14.37 ± 7.75, the average duration of a headache attack was about 12 h with a mean of 11.43 ± 7.04 h. The intensity of migraine headache pain on the VAS ranged from 2 to 9 with a mean of 6.30 ± 1.90 (Table 2). The severity of migraine was assessed by the migraine severity questionnaire (MIGSEV) and results showed that 43.3% (26 patients) had grade 1 (low) severe headache, and 16.7% (10 patients) suffered grade 3 (high) severity, with the rest of the patients (40%) were in the intermediate severity grade 2. The level of impairment in daily activities, as assessed by the Migraine Disability Assessment (MIDAS) questionnaire, indicated that 26.7% of the patients were associated with little or no disability, 46.7% with mild disability, 23.3% with moderate disability, and only 3.3% with severe disability (Table 3). The statistical analysis evaluated the mean (±SD) level of vitamin D to be significantly higher in the control group (27.23 ± 7.65) as compared to the migraines’ group (16.77 ± 7.47) with P < 0.001. Vitamin D deficiency among migraine patients was 60 % (36 patients), and insufficiency was 33.3% (20 patients), whereas only 6.7% (4 patients) had normal levels. While 43% of participants of the control group had normal vitamin D levels, and 13% of them had deficient levels, 43% of healthy individuals also had vitamin D insufficiency (Fig. 2).

Fig. 1
figure 1

Sub-groups of migraine patients

Table 2 Clinical characteristics of migraine attacks
Table 3 The severity of migraine and the level of impairment in daily activities were assessed by MIGSEV and MIDAS questionnaire
Fig. 2
figure 2

Demonstration of vitamin D deficiency and insufficiency among migraineurs and healthy subjects

Serum magnesium was significantly higher in the control group (2.21 ± 0.40 mEq/L) than the patient’s group (1.88 ± 0.20 mEq/L) (p = 0.04). On the contrary, the calcium level reported no significant difference between the two groups (p = 0.62). Other basic laboratory investigations showed no statistically significant differences between both the groups (Table 4).

Table 4 Basic laboratory investigations and serum electrolytes of migraine patients and control

Vitamin D level and calcium were significantly lower (p = 0.002 and p < 0.05, respectively) in patients of migraine without aura compared to patients having migraine with aura. However, there was no statistical difference between the two groups regarding magnesium level (p = 0.11). According to the type of migraine, vitamin D and serum magnesium were higher in patients with episodic migraine (EP) than patients with chronic migraine (CM) with a statistically significant difference between two groups (p < 0.001 and p = 0.04 respectively). However, there was no statistical difference between the two types of migraine regarding serum calcium level (p = 0.12). When we compared serum level of vitamin D, calcium, and magnesium in patients taking prophylactic migraine medications and the other group of patients without any prophylaxis treatment, we found no significant difference between the two groups of patients (Table 5).

Table 5 Relation between vitamin D, calcium, and magnesium and migraine patient sub-groups

Both vitamin D and serum magnesium showed statistically significant negative correlation with body mass index (BMI) (p < 0.001 and p = 0.017), frequency of attacks of migraine (p < 0.001 and P = 0.001), duration of migraine attacks (p = 0.004 and p < 0.001), and level of disability measured by MIDAS (p < 0.001 and P < 0.001) respectively. However, they showed non-significant correlation with the age of patients or severity of pain according to VAS scores, based on statistical computations. On the other hand, serum calcium level showed only a statistically significant positive correlation with BMI (p = 0.007), with no statistically significant correlation with age of patients, frequency, duration, the severity of migraine, or level of disability by MIDAS. Vitamin D and serum magnesium levels showed a significant negative correlation with the severity of migraine assessed by the MIGSEV score (p < 0.001 and p < 0.001 respectively). Calcium also showed a negative correlation; however, there was no statistical significance (Table 6).

Table 6 Correlation of data of patients and headache character with Vitamin D, calcium, and magnesium serum level

Discussion

Migraine should be viewed as a complex brain network disorder with a strong genetic basis that involves multiple cortical, subcortical, and brain stem regions, to account for the pain and the wide constellation of symptoms characterizing the disease [13]. Multiple pathological changes contribute to the origin of migraine pain. Considerable circumstantial evidence suggests neuro-inflammation in the intracranial meninges to be a key element responsible for the sensitization of trigeminal meningeal nociceptors in migraine [14].

The anti-inflammatory effect of vitamin D is well documented, and several studies have shown that vitamin D, at physiologic levels, can suppress the production of pro-inflammatory cytokines in human monocytes and macrophages [15].

The aim of this case-control study was to assess the serum level of vitamin D and its related minerals (calcium and magnesium) in patients with migraine and to evaluate its relation to the disease activity.

Our results confirmed the female predominance in migraine, where the female-to-male ratio was 2 to 1. This high female-to-male ratio was reported in several studies [16, 17].

Our study basically provides information on the association between serum vitamin D and migraine. We have demonstrated that migraine sufferers have significantly lower vitamin D levels compared to the healthy subjects (p < 0.001). In our patients, the prevalence of vitamin D was 60% deficiency, 33.3% insufficiency, and only 6.7% normal. This observation is in accordance with a cross-sectional prospective study conducted by Celikbilek and colleagues [18], where serum vitamin D levels were significantly lower in 52 newly diagnosed migraine patients than in controls (p = 0.012). In another prospective study conducted over 134 migraine patients in Italy, migraine sufferers had a severe vitamin D deficiency compared to the healthy subjects [19]. In Iran, Togha and colleagues [20] recruited seventy migraine patients and found that they significantly had a lower mean of serum vitamin D (30 ± 16 ng/mL) than healthy subjects (43 ± 19 ng/mL) (p < 0.001). In addition, a higher level of serum Vitamin D (between 50 to less than 100 ng/mL) is associated with 80–83% lower odds of migraine headache than those with serum 25 (OH) D levels below 20 ng/mL. Vitamin D supplements can decrease inflammatory markers like C-reactive protein (CRP) which can suppress the neurogenic inflammation in migraine pathogenesis [21]. Vitamin D has a protective efficacy against endothelial dysfunction and this could explain the inverse relationship between nitric oxide (NO) and 25 (OH) D levels [22]. Elevated level of NO could lead to vasodilation [23] and elevate calcitonin gene-related peptide and substance P synthesis that ultimately may result in triggering nociceptive neurons and inflammation especially in trigeminovascular system [24].

Contrarily, Zandifar and colleagues [25] showed no significant differences in serum levels of vitamin D between cases and controls. However, they considered vitamin D sufficiency if it was > 20 ng/mL. Furthermore, Kjaergaard and colleagues [26] were only able to detect a significant relationship between serum vitamin D and the types of headaches other than migraines. These differences might be presumably due to differences in race or residence area and study design.

Vitamin D insufficiency is not an unusual finding in our country, Egypt [27]. Although being a sunny country, these findings might be explained by inadequate dietary intake and inadequate sun exposure, probably due to cultural factors like veiling [28]. Also, darker skin, like most Egyptians, needs much longer time for sun exposure than that needed by fair skin to produce adequate vitamin D due to the higher amount of cutaneous melanin in darker pigmented skin, which slows the conversion to cholecalciferol in the skin [29].

We also showed that serum magnesium level was lower in migraine patients than in healthy controls, and our results are consistent with those of various other studies [30, 31]. Magnesium, specifically, plays a crucial role in the synthesis and metabolism of vitamin D. Also, intestinal absorption of magnesium is dependent on vitamin D. Hence, lower levels of vitamin D are generally associated with lower serum magnesium levels [32]. Assarzadegana and colleagues [33] in a case-control study showed that a sub-normal magnesium serum level increases the odds of a migraine attack up to 35-fold. It has been suggested that magnesium plays a role in the pathogenesis of migraine by counteracting vasospasm, inhibiting platelet aggregation, and cell membrane stabilization [34]. Magnesium deficiencies could contribute to a modified mitochondrial metabolism by altering oxidative phosphorylation and neuronal polarization resulting in cortical spreading depression [35]. Magnesium also might be involved in the control of vascular tone and reactivity to neurotransmitter and endogenous hormones through plugging the n-methyl-d-aspartate (NMDA) receptor and preventing calcium from entering the cell and exert its effects on neurons and cerebral vascular muscles. NMDA receptors may play pivotal role in nociceptive processes, resulting in neuro-plastic changes in the trigeminal nociceptive neurons. Thus, NMDA receptor antagonists may be useful as an analgesic in the treatment of persistent pain [36].

Dissimilar to Yin and colleagues [37], we did not find any significant correlation between serum calcium level and any headache-related variables in migraine patients.

In contrast to Celikbilek and colleagues [18] and Togha and colleagues [20], our research showed significantly low levels of vitamin D in migraine without aura patients, rather than migraine with aura. However, magnesium level was not significantly different in migraine patients with aura and without aura. Our results here go in the same line with those of Talebi and colleagues [38].

We also observed a significant decrease in the serum levels of vitamin D and magnesium among chronic than episodic migraineurs. We found a significant inverse correlation between the frequency of migraine headache attacks and serum levels of vitamin D and magnesium. This was in agreement with a previous study conducted by Song and colleagues [39] in South Korea, where they found that vitamin D deficiency was present in 77.1 % of patients, and that the duration of headache was related to the degree of vitamin D deficiency among migraineurs. Low vitamin D serum level is associated with a high incidence of chronic pain and headache [26]. Wheeler [40] reported that 14.8% of patients with chronic migraine had serum vitamin D level < 20 ng/mL, and 25.9% of them had serum vitamin D level between 20 and 30 ng/mL. Talebi and colleagues [38] reported a significant linear relationship between the frequency of headaches and serum magnesium levels. These studies were in line with the findings of the present study.

In our study, there was a significant relationship between vitamin D and serum magnesium levels with migraine severity as assessed by the migraine severity questionnaire (MIGSEV). They both showed a significant inverse correlation with the MIGSEV questionnaire score especially “tolerability of pain” and “disability in daily activities” items. However, the “intensity of pain” item within the MIGSEV questionnaire or as assessed by the VAS scale showed no significant correlation with the levels of vitamin D and magnesium. Our results were in accordance with Song and colleagues [39] where they reported no significant difference in pain intensity on VAS and vitamin D level.

In a similar prospect, we showed that low vitamin D level is also linked to the degree of disability in daily activities in migraine patients as measured by the MIDAS scale, with a significant negative correlation between them. This is in agreement with the works of Rapisarda and colleagues [19]. Contrasting results were observed by Togha and colleagues [20], as they failed to find any correlation between vitamin D level and the MIDAS score.

Huang and colleagues [41] in a prospective case series of patients with chronic pain, who received 3 months of vitamin D supplementation, reported a significant decrease in the number of pain areas and in use of analgesics with improvement in sleep and quality of life, providing a more comprehensive evaluation of pain. Similarly, Thys-Jacobs [42] reported a dramatic reduction in frequency and duration of headaches after supplementation with vitamin D. Significant reduction in the intensity of photophobia and phonophobia was also observed in patients after receiving magnesium supplements [43].

Among all socio-demographic characteristics, we found a significant negative correlation of vitamin D level with body mass index (BMI), with a p value < 0.001. This result is in line with the works of Wortsman and colleagues [44] and Das and colleagues [45] who demonstrated that low serum levels of vitamin D have consistently been associated with higher adiposity represented in high BMI, as adipose tissue sequesters vitamin D.

In the present study, we found that BMI had a significant positive correlation with calcium and inversely a significant correlation with magnesium serum level. These findings are in context with Ekweogu and colleagues [46]. The proposed mechanism is that low serum magnesium can increase weight gain by enhancing intracellular Ca+2 [47]. Increased Ca+2 in adipocytes activates phosphodiesterase-3B which decreases lipolysis [48] and enhances lipogenesis [49]. In addition, inflammatory cytokines that are produced by adipose tissue, especially TNF, enhance renal Ca+2 reabsorption and magnesium urinary excretions [50].

In spite of these results, our study has some limitations. First, the severity and disability scales and questionnaires used in our study were self-reported by the patients, and although we offered easy translations and clarified vague questions; however, the validity and reliability of their answers are questionable .Second, we did not control some comorbidities of migraine that may influence levels of vitamin D, such as anxiety or depression.

Conclusion

The serum levels of vitamin D and magnesium are lower in migraine patients than in the control. The serum level of vitamin D and magnesium is linked to the frequency and tolerability of the headache attacks rather than the mere intensity of pain. Further, prospective large studies are essential to establish high-quality evidence for using vitamin D and/or magnesium supplements in the treatment of migraine.