Skip to main content

Therapeutic effects of magnesium and vitamin B6 in alleviating the symptoms of restless legs syndrome: a randomized controlled clinical trial


Background and objective

Restless legs syndrome/Willis-Ekbom Disease (RLS/WED) is one of the most prevalent sleep disorders. There are contradicting data about the effectiveness of magnesium and vitamin B6 in alleviating the symptoms of this condition. Therefore, this study aimed to assess the efficacy of magnesium and vitamin B6 in alleviating the symptoms of RLS/WED.


A single-blind study was conducted on individuals with this illness for at least three months. Randomly, 75 patients were assigned into three groups: magnesium, vitamin B6, and placebo. The experimental group received daily doses of 40 mg vitamin B6 or 250 mg magnesium oxide. While others in the control group merely received a placebo. Patients’ disease severity and sleep quality were evaluated three times using standard questionnaires (at the beginning of the study, one and two months after therapy). Utilizing SPSS22 software and the ANOVA, t-test, and repeated measure tests, statistical analysis was conducted.


The mean and standard deviation of sleep quality and disease severity at the beginning of the trial and throughout the first month following the intervention did not differ statistically between the three groups. In the second month following the intervention, the mean and standard deviation of sleep quality and disease severity were significantly different (P = 0.001).


Taking magnesium and vitamin B6 supplements can reduce the severity of symptoms of RLS/WED patients and improve their sleep quality.

Peer Review reports


Restless Legs Syndrome/Willis-Ekbom Disease (RLS/WED) is a sensory-motor condition characterized by aberrant sensations in the legs. Patients frequently experience a strong desire to move the afflicted limbs, and these strange sensations are represented partially or entirely by voluntary movements like walking [1]. These symptoms are frequently aggravated during sleep and frequently result in sleep disturbance. The condition might cause daytime sleepiness or weariness due to insufficient nighttime sleep. Other implications of this condition include a decline in quality of life, sadness, and anxiety disorders [2]. This issue is also recognized as a cardiovascular disease risk factor [3]. The disease prevalence is 7–10% among the general population and 20–30% among people with diabetes [4]. There are two types of the disease: idiopathic and secondary. Pregnancy, uremia, iron insufficiency, diabetes, and neuropathy are considered risk factors for the condition in its secondary form; nevertheless, the mechanism of the disease is not yet fully understood [1, 5].

RLS/WED is frequently misdiagnosed and inadequately treated. The initial step in treating this condition is to eradicate its underlying causes, such as iron deficiency anemia. Drug groups such as benzodiazepines, opioids, dopamine agonists, carbamazepine, gabapentin, pregabalin, and clonazepam are frequently used to treat RLS/WED [6].

Magnesium may have a role in the pathophysiology of RLS/WED since studies have revealed that magnesium levels are lower in RLS/WED patients compared to healthy controls [7]. Some studies have also demonstrated that oral and intravenous magnesium can benefit these patients [8, 9]. In his study, Sinniah described a patient with RLS/WED who recovered entirely after taking magnesium sulfate intravenously [10]. A study by Yıldırım & Apaydın, as well as a study by Meta et al., both show that magnesium therapy can lower the intensity of symptoms of this illness and improve the quality of sleep of patients, suggesting that magnesium may be considered an appropriate replacement for the treatment of patients with RLS/WED [8, 11]. However, there is some evidence that magnesium is useless in treating this condition [12].

On the other hand, vitamin deficiency may also contribute to the disease’s etiology. Several investigations have demonstrated that these individuals had lower blood levels of B vitamins, particularly vitamin B6, than the control group [13]. Lemoine et al.‘s study that the combination of vitamin B6 and medicinal plants may be beneficial in mild-to-moderate insomnia [14]. The study by Peters et al. also showed that dietary intake of vitamin B6 correlated significantly with insomnia and sleep quality  [15]. Pyridoxine’s action as a coenzyme in tryptophan metabolism suggests an increase in brain serotonin levels which has been known to suppress REM sleep [16]. Also vitamin B6 appears to have strong influence on night awakenings reduction [17]. A study also recommends that vitamin B6 can relieve painful cramps in pregnant women  [18]. However, no study has evaluated the therapeutic efficacy of B vitamins in these individuals. Due to the paucity of studies in this field and the ambiguity surrounding the therapeutic role of supplements in this disorder, the present study sought to determine the role of magnesium and vitamin B6 in alleviating RLS/WED symptoms in patients referred to neurology clinics in Arak.

Materials and methods

This study was a single-blind investigation of Arak University of Medical Sciences clinic patients with RLS/WED. Inclusion criteria were a 3-month history of the condition, age between 15 and 50, and the absence of risk factors including pregnancy, renal failure, uremia, diabetes, multiple sclerosis, and anemia. Patients were randomly assigned into magnesium, vitamin B6, and control groups. Sealed envelopes with computer-generated randomized numbers were used to allocate patients to groups. In addition to the medicine (Pramipexole), the experimental groups received one daily pill of vitamin B6 (40 mg) or magnesium oxide (250 mg). In addition to pramipexole, the control group received only a placebo. In this trial, blinding was achieved by removing the pills from their packaging and placing them in a different container so that the patient did not know what medication he was taking, but the physician and researchers did. In addition, the persons were arranged in groups such that they were not connected. This study assessed the therapeutic benefit of changing two questionnaire scores following medication therapy. Exclusion criteria included reluctance to continue the trial, pregnancy during the study, and adverse medication reactions. Patients filled out the survey questionnaires three times (at the beginning of the study, one and two months after medication therapy).

This investigation utilized the International Restless Legs Scale (IRLS) and the Petersburg Sleep Quality Index (PSQI were utilized in this investigation. The IRLS consists of 10 items that are scored on a Likert scale ranging from 0 to 4. 0 signifies mild intensity, 11–20 moderate, 21–30 severe, and 40 − 31 very severe [19]. The symptom severity rating scale was validated by Walters et al. [20]. The PSQI assesses the individuals’ attitudes towards sleep quality in the past four weeks. This week consists of seven scales, where each scale’s score is between 0 and 3, and a score of 3 on each scale denotes the maximum negative. The overall score of this questionnaire is from 0 to 21, and a score of 6 or more indicates insufficient quality [21]. Multiple research has proven these surveys’ reliability and validity. After data collection, statistical analysis was conducted using SPSS 22 and ANOVA, t-test, and repeated measures.


In this study, 75 patients with RLS/WED were divided into three groups: control, magnesium oxide intervention, and vitamin B6 intervention. The independent t-test revealed that the mean age of the three groups did not differ substantially. The Chi-square test also revealed that other demographic characteristics did not differ significantly between the three groups (Table 1).

Table 1 Comparison of the demographic variables between study groups

The ANOVA test revealed that the mean PSQI score at the beginning of the intervention and one month after the intervention was not significantly different between the three groups, but there was a significant change (P 0.05) after two months. The IRLS questionnaire reveals the disease’s severity. At the start of the intervention and one month later, there was no significant difference between the three groups; however, after two months, there was a significant difference (Table 2).

Table 2 Comparison of sleep quality and severity of symptoms between groups in three measurement

In addition, a repeated measures test revealed that the mean score of sleep quality and the IRLS questionnaire differed significantly between the three assessments in all three groups: control, magnesium oxide intervention, and B6 intervention (P < 0.05). This data indicates that all three groups attained relative progress; however, the questionnaire scores of the two intervention groups were significantly higher than those of the control group. In contrast, the mean Pittsburgh quality of sleep and IRLS questionnaire scores in the magnesium oxide intervention group were considerably lower than in the B6 intervention group, and this difference was statistically significant (P 0.05). This indicates that magnesium oxide is more beneficial than B6 for treating RLS/WED (Table 2).


In this study, 75 RLS/WED patients with a mean age of 40.06 ± 8.6 years were randomly assigned to one of three groups: vitamin B6 intervention, magnesium oxide intervention, or a placebo group. 68% of this study’s participants were female. The majority of participants were married, college-educated homemakers. There were no differences between the three groups in terms of demographic factors. Also, the primary factors of the research (disease severity and sleep quality) did not change significantly across groups before the intervention.

Two months after receiving the intervention, the disease severity and the quality of sleep improved in all three groups. Nevertheless, both intervention groups outperformed the control group. This result is consistent with other research on this subject, such as the study conducted by Sinniah and Metta [10, 11].

Magnesium may have a role in the pathophysiology of RLS/WED since investigations have revealed that magnesium levels in the blood of RLS/WED patients are lower than those of controls. In this regard, the research of Yıldırım and Apaydın indicates that the zinc and magnesium levels of pregnant women with this illness are much lower than those of other women. In addition, they demonstrated a correlation between this and the intensity of the syndrome symptoms, such that the lower serum levels of magnesium and zinc in patients, the more severe the symptoms [8].

In contrast, the findings of the present investigation contradict the findings of the study of Taj. In this prospective case-control study including 600 pregnant women with RLS/WED, the researchers discovered that a drop in iron consumption and an increase in magnesium intake were related to an increase in syndrome symptoms [22]. The pathophysiology of the illness in pregnant women may differ from that of nonpregnant women, which is one of the causes for this divergence. However, Trenkwalder et al. proposed in a systematic review that there cannot be a solid conclusion about the effectiveness of magnesium in treating RLS/WED. They claim it is unclear if magnesium alleviates RLS/WED. Nor can it be determined which subset of patients may experience advantages [6]. In a comprehensive evaluation of pharmacological and non-pharmacological therapy for RLS/WED, Anguelova et al. do not believe magnesium to be a valuable medication for treating the symptoms of this condition [23].

However, other studies suggest that magnesium plays an important role in hundreds of metabolic reactions and muscle function [24, 25]. As magnesium deficiency leads to neuronal excitability and enhances neuromuscular transmission [26, 27]. Magnesium makes muscles relax more easily, which could be due to magnesium’s ability to block calcium, which helps regulate nerves and muscles, rather than allowing calcium to activate nerves [28]. If magnesium is low, calcium is not blocked and nerves become overactive, causing muscle contractions. Another study also showed that magnesium can improve insomnia caused by restless leg syndrome. Another pathway influenced by Mg is the serotoninergic system [29].

This study also showed that vitamin B6 (pyridoxine) helps alleviate the symptoms of this illness. Although the improvement in sleep complaints was not as great as in the magnesium group, it was significant when compared to the control group, which received just pramipexole. Vitamin B6 is equally helpful as propranolol in treating anxiety caused by antipsychotic medicines, according to certain studies. However, no research has been conducted on the efficacy of vitamin B6 in alleviating RLS/WED symptoms. Additionally,  some investigations have demonstrated that the B vitamin levels of these individuals are lower than those of the control group [30]. Pyridoxine is a covalently bound cofactor of glycogen phosphorylase. Phosphorylase is a major muscle protein and therefore represents a significant pool of pyridoxal phosphate. Pyridoxal phosphate is also important in carbohydrate metabolism as a cofactor of glycogen phosphorylase. A molecule of pyridoxal phosphate covalently bound to a lysine residue of each phosphorylase subunit is essential for the maintenance of enzyme activity and muscle function [31]. Vitamin B6 insufficiency is, therefore, one of the treatable etiologies of this disease. However, other researchers have also ruled out a connection between vitamin B6 levels and RLS/WED, concluding that the two are unrelated [32]. Therefore, further investigation is recommended.


This study showed that magnesium and vitamin B6 administered for two months could lessen RLS/WED symptoms and enhance sleep quality in people with this condition. However, there is no clear cure for this disease, and it is not possible to expect a cure with these medications; however, magnesium and vitamin B6 supplements can be used in conjunction with other therapies to alleviate the symptoms of this disease. However, due to the discrepancy in the current information, further research is required in this field.

Study limitations

This study was conducted on a few individuals who did not have a risk factor; therefore, the results should be extrapolated with caution to other patients. On the other hand, as this study was conducted blindly, the interpretation of the results may have been biased. Another limitation of this trial is that it was single-blind, so it may have influenced the interpretation of the findings.

Availability of data and materials

The datasets used and/or analysed during the current study are available from the corresponding author on reasonable request.


  1. Earley CJ. Restless legs syndrome. N Eng J Med. 2003;348(21):2103–9.

    Article  Google Scholar 

  2. Ekbom K, Ulfberg J. Restless legs syndrome. J Intern Med. 2009 Nov;266(5):419–31.

    Article  CAS  Google Scholar 

  3. Trenkwalder C, Paulus W, Walters AS. The restless legs syndrome lancet neurol. 2005;4(8):465–75.

    Article  CAS  Google Scholar 

  4. Gonzalez-Latapi P, Malkani R. Update on restless legs syndrome: from mechanisms to treatment. Curr Neurol Neurosci Rep. 2019;19(8):1–12.

    Article  Google Scholar 

  5. Ashtiani AR, Amirhossein LS, Jadidi A, Ghasami K, Hezave AK, Pour SMA, et al. The effect of novel simple saffron syrup on fatigue reduction in patients with multiple sclerosis. J Basic Clin Physiol Pharmacol. 2020;31(6):1–5.

    Article  Google Scholar 

  6. Trenkwalder C, Allen R, Högl B, Clemens S, Patton S, Schormair B, et al. Comorbidities, treatment, and pathophysiology in restless legs syndrome. Lancet Neurol. 2018;17(11):994–1005.

    Article  CAS  Google Scholar 

  7. Silber MH, Buchfuhrer MJ, Earley CJ, Koo BB, Manconi M, Winkelman JW, et al. editors. The management of restless legs syndrome: an updated algorithm. Mayo Clin Proc. 2021;96(7):1921–37.

  8. Yıldırım E, Apaydın H. Zinc and magnesium levels of pregnant women with restless leg syndrome and their relationship with anxiety: a case-control study. Biol Trace Elem Res. 2021;199(5):1674–85.

    Article  Google Scholar 

  9. Marshall NS, Serinel Y, Killick R, Child JM, Raisin I, Berry CM, et al. Magnesium supplementation for the treatment of restless legs syndrome and periodic limb movement disorder: a systematic review. Sleep Med Rev. 2019;48:101218.

    Article  Google Scholar 

  10. Sinniah D. Magnesium deficiency: a possible cause of restless leg syndrome in haemodialysis patients. Intern Med J. 2015;45(4):467–8.

    Article  CAS  Google Scholar 

  11. Metta V, Sampath N, Vm R, Iska A. Primary restless legs syndrome in patients with type 2 diabetes mellitus: efficacy of magnesium & co enzyme q10 therapy. J Neurol Sci. 2015;357:e271.

    Article  Google Scholar 

  12. Sundaresan S, Migden MR, Silapunt S. Treatment of leg veins for restless leg syndrome: a retrospective review. Cureus. 2019;11(4):1–8.

    Google Scholar 

  13. Çakır T, Doğan G, Subaşı V, Filiz MB, Ülker N, Doğan ŞK, et al. An evaluation of sleep quality and the prevalence of restless leg syndrome in vitamin D deficiency. Acta Neurol Belgica. 2015;115(4):623–7.

    Article  Google Scholar 

  14. Lemoine P, Bablon JC, Da Silva C. A combination of melatonin, vitamin B6 and medicinal plants in the treatment of mild-to-moderate insomnia: A prospective pilot study. Complement Ther Med. 2019;45:104–8.

    Article  Google Scholar 

  15. Peters L, Fernstrand AM, Garssen J, Verster JC. The effect of dietary intake of vitamin B6 on sleep quality and insomnia. Eur Neuropsychopharmacol. 2015;25(S2):654–9.

    Article  Google Scholar 

  16. Ebben M, Lequerica A, Spielman A. Effects of pyridoxine on dreaming: A preliminary study. Percept Mot Skills. 2002;94(1):135–40.

    Article  Google Scholar 

  17. Bravaccio C, Terrone G, Rizzo R, Gulisano M, Tosi M, Curatolo P. Use of nutritional supplements based on melatonin, tryptophan and vitamin B6 (Melamil Tripto®) in children with primary chronic headache, with or without sleep disorders: a pilot study. Minerva Pediatr. 2019;72(1):30–6.

    Google Scholar 

  18. Avşar AF, Özmen Ş, Söylemez F. Vitamin B1 and B6 substitution in pregnancy for leg cramps. American Journal of Obstetrics & Gynecology. 1996 Jul 1;175(1):233-4.

    Article  Google Scholar 

  19. Ferri R, DelRosso LM, Provini F, Stefani A, Walters AS, Picchietti DL. Scoring of large muscle group movements during sleep: an International Restless Legs Syndrome Study Group position statement. Sleep. 2021;44(9):92–8.

    Article  Google Scholar 

  20. Walters AS, Ondo W, Sethi K, Dreykluft T, Gruustein R. Ropinirole versus placebo in the treatment of restless legs syndrome (RLS): a 12-week multicenter double-blind placebo-controlled study conducted in 6 countries. In: Sleep, vol. 26. One Westbrook Corporate Center Ste 920, Westchester, Il 60154 USA: Amer Academy Sleep Medicine; 2003. p. A344–A344.

  21. Manzar MD, BaHammam AS, Hameed UA, Spence DW, Pandi-Perumal SR, Moscovitch A, et al. Dimensionality of the Pittsburgh Sleep Quality Index: a systematic review. Health Qual Life Outcomes. 2018;16(1):1–22.

    Article  Google Scholar 

  22. Taj M. Sun-245 Association of Restless Leg Syndrome and Chronic Kidney Disease Mineral And Bone Disorder in Hemodialysis Patients. Kidney Int Rep. 2020;5(3):S300.

  23. Anguelova GV, Vlak MH, Kurvers AG, Rijsman RM. Pharmacologic and nonpharmacologic treatment of restless legs syndrome. Sleep Med Clin. 2020;15(2):277–88.

    Article  Google Scholar 

  24. Graber TW, Yee AS, Baker FJ. Magnesium: physiology, clinical disorders, and therapy. Ann Emerg Med. 1981;10(1):49–57.

    Article  CAS  Google Scholar 

  25. Elin RJ. Magnesium: the fifth but forgotten electrolyte. Am J Clin Pathol. 1994;102(5):616–22.

    Article  CAS  Google Scholar 

  26. Rabbitt L, Mulkerrin EC, O’Keeffe ST. A review of nocturnal leg cramps in older people. Age Ageing. 2016;45(6):776–82.

    Article  Google Scholar 

  27. Monderer RS, Wu WP, Thorpy MJ. Nocturnal leg cramps. Curr Neurol Neurosci Rep. 2010;10(1):53–9.

    Article  Google Scholar 

  28. Pinto MM, Dubouchaud H, Jouve C, Rigaudiere JP, Patrac V, Bouvier D, Hininger-Favier I, Walrand S, Demaison L. A chronic low-dose magnesium L-lactate administration has a beneficial effect on the myocardium and the skeletal muscles. J Physiol Biochem. 2022;78(2):501–16.

    Article  CAS  Google Scholar 

  29. Cuciureanu MD, Vink R. Magnesium and stress. University of Adelaide Press; 2011.

  30. Gossard TR, Trotti LM, Videnovic A, St Louis EK. Restless legs syndrome: Contemporary diagnosis and treatment. Neurotherapeutics. 2021;18(1):140–55.

    Article  CAS  Google Scholar 

  31. Zhou J, Effiong U. Isolated Pyridoxine Deficiency Presenting as Muscle Spasms in a Patient With Type 2 Diabetes: A Case Report and Literature Review. Am J Med Sci. 2021;361(6):791–4.

    Article  Google Scholar 

  32. Manconi M, Garcia-Borreguero D, Schormair B, Videnovic A, Berger K, Ferri R, et al. Restless legs syndrome. Nat Rev Dis Primers. 2021;7(1):1–18.

    Article  Google Scholar 

Download references


The current study is a part of a research project which acquired the approval of Arak University of Medical Sciences (with code: 701). The researchers hereby express their gratitude to the members of Nursing Faculty and research Vice-Chancellor of Arak University of Medical Sciences.



Author information

Authors and Affiliations



A.J & A.RA: Designing and conducting the research, analyzing the data and writing the article and submitting the article. A.K.H & S.A.P: Contributing to designing and conducting the research and analyzing the data. All authors have read and approved the manuscript.

Corresponding author

Correspondence to Ali Jadidi.

Ethics declarations

Ethics approval and consent to participate

This study is authorized by the Arak University of Medical Sciences Ethics Committee, with the ethics code IR.ARAKMU.REC.1396.63. The study is registered at the National Center for Clinical Trial Registration, the identifier IRCT2017070134806N1. All methods were carried out in accordance with relevant guidelines and regulations. All experimental protocols were approved by ethics comettee of Arak Univerity of Medical Sciences. Informed consent was obtained from all subjects. They were informed that their involvement in the study was entirely voluntary, that they may withdraw from the study at any moment, and that their continuous collaboration would not affect their treatment. On the other hand, the surveys were anonymous, and the participants in the research were guaranteed that the collected data would be released without their names or addresses.

Consent for publication


Competing interests

There is no conflict of interests in this study.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Jadidi, A., Rezaei Ashtiani, A., Khanmohamadi Hezaveh, A. et al. Therapeutic effects of magnesium and vitamin B6 in alleviating the symptoms of restless legs syndrome: a randomized controlled clinical trial. BMC Complement Med Ther 23, 1 (2023).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: