Risk of Functional Disorders and/or Thyroid Autoimmunity and Its Association with 25OH Vitamin D and Magnesium Levels: A Population-Based Case-Control Study
Abstract
1. Introduction
2. Materials and Methods
2.1. Study Population
2.2. Study Design
2.3. Definition of AITDs and/or Thyroid Function (Normal or Abnormal)
2.4. Exclusion Criteria
2.5. Sociodemographic and Anthropometric Data
2.6. Laboratory Methods
2.7. Statistical Analysis
3. Results
3.1. Anthropometric and Sociodemographic Characteristics, Prevalence of Functional Thyroid Disorders and Positivity of Thyroid Abs
3.2. Prevalence of Goiter According to Age and Sex
3.3. Prevalence of Thyroid Functional Disorders and Thyroid Abs Positivity
3.4. Prevalence of Normal (Or Deficient) 25OH Vit-D and Mg Levels According to Age
3.5. Prevalence of Thyroid Abs Positivity According to 25OH Vit-D and Mg Levels (In Cases)
3.6. 25OH Vit-D and Mg Levels and Risk of Thyroid Dysfunction
3.7. 25OH Vit-D and Mg Levels and AITD Risk
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Vargas-Uricoechea, H. Molecular mechanisms in autoimmune thyroid disease. Cells 2023, 12, 918. [Google Scholar] [CrossRef]
- Martínez-Hernández, R.; Sánchez de la Blanca, N.; Sacristán–Gómez, P.; Serrano–Somavilla, A.; Muñoz De Nova, J.L.; Sánchez Cabo, F.; Heyn, H.; Sampedro-Núñez, M.; Marazuela, M. Unraveling the molecular architecture of autoimmune thyroid diseases at spatial resolution. Nat. Commun. 2024, 15, 5895. [Google Scholar] [CrossRef]
- Li, P.; Wang, Q.; Yang, Y.; Ding, Z. Autoimmune thyroid disease and human health: A systematic review of Mendelian randomization studies. Front. Immunol. 2025, 16, 1689498. [Google Scholar] [CrossRef] [PubMed]
- Conrad, N.; Misra, S.; Verbakel, J.Y.; Verbeke, G.; Molenberghs, G.; Taylor, P.N.; Mason, J.; Sattar, N.; McMurray, J.J.V.; McInnes, I.B.; et al. Incidence, prevalence, and co–occurrence of autoimmune disorders over time and by age, sex, and socioeconomic status: A population–based cohort study of 22 million individuals in the UK. Lancet 2023, 401, 1878–1890. [Google Scholar] [CrossRef]
- Petranović Ovčariček, P.; Görges, R.; Giovanella, L. Autoimmune thyroid diseases. Semin. Nucl. Med. 2024, 54, 219–236. [Google Scholar] [CrossRef] [PubMed]
- Dwivedi, S.N.; Kalaria, T.; Buch, H. Thyroid autoantibodies. J. Clin. Pathol. 2023, 76, 19–28. [Google Scholar] [CrossRef] [PubMed]
- Li, R.; He, T.; Xing, Z.; Mi, L.; Su, A.; Wu, W. The immune system in Hashimoto’s thyroiditis: Updating the current state of knowledge on potential therapies and animal model construction. Autoimmun. Rev. 2025, 24, 103783. [Google Scholar] [CrossRef]
- Kobayashi, G.; Okamura, T.; Hashimoto, Y.; Sakai, K.; Sumi, M.; Imai, D.; Kitagawa, N.; Hamaguchi, M.; Fukui, M. Pathogenesis of Graves’ disease determined using single–cell sequencing with thyroid autoantigen peptide stimulation in B cells. Cells 2025, 14, 1102. [Google Scholar] [CrossRef]
- Tywanek, E.; Michalak, A.; Świrska, J.; Zwolak, A. Autoimmunity, new potential biomarkers and the thyroid gland—The perspective of Hashimoto’s thyroiditis and its treatment. Int. J. Mol. Sci. 2024, 25, 4703. [Google Scholar] [CrossRef]
- Shrestha, A.; Adhikari, N.; Devkota, S.; Chowdhury, T.; Shiferaw–Deribe, Z.; Gousy, N.; Adhikari, S. Fluctuating hyperthyroidism and hypothyroidism in Graves’ disease. Cureus 2022, 14, e27715. [Google Scholar] [CrossRef]
- Shulhai, A.M.; Rotondo, R.; Petraroli, M.; Patianna, V.; Predieri, B.; Iughetti, L.; Esposito, S.; Street, M.E. The role of nutrition on thyroid function. Nutrients 2024, 16, 2496. [Google Scholar] [CrossRef] [PubMed]
- Mikulska, A.A.; Karaźniewicz–Łada, M.; Filipowicz, D.; Ruchała, M.; Główka, F.K. Metabolic characteristics of Hashimoto’s thyroiditis patients and the role of microelements and diet in disease management—An overview. Int. J. Mol. Sci. 2022, 23, 6580. [Google Scholar] [CrossRef] [PubMed]
- Yu, Y.; Tong, K.; Deng, J.; Wu, J.; Yu, R.; Xiang, Q. Unveiling the connection between micronutrients and autoimmune thyroiditis. Biol. Trace Elem. Res. 2025, 203, 4994–5005. [Google Scholar] [CrossRef] [PubMed]
- Barrea, L.; Gallo, M.; Ruggeri, R.M.; Giacinto, P.D.; Sesti, F.; Prinzi, N.; Adinolfi, V.; Barucca, V.; Renzelli, V.; Muscogiuri, G.; et al. Nutritional status and follicular–derived thyroid cancer: An update. Crit. Rev. Food Sci. Nutr. 2021, 61, 25–59. [Google Scholar] [CrossRef]
- Zhou, Q.; Xue, S.; Zhang, L.; Chen, G. Trace elements and the thyroid. Front. Endocrinol. 2022, 13, 904889. [Google Scholar] [CrossRef]
- Li, S.; Xu, Q.; Wang, S.; Peng, H.; Liu, Y. Recent advances of trace elements in autoimmune thyroid disease. Front. Immunol. 2025, 16, 1662521. [Google Scholar] [CrossRef]
- Brown, G.; Marchwicka, A.; Marcinkowska, E. Vitamin D and immune system. Adv. Food Nutr. Res. 2024, 109, 1–41. [Google Scholar]
- Pleić, N.; Babić Leko, M.; Gunjača, I.; Zemunik, T. Vitamin D and thyroid function: A Mendelian randomization study. PLoS ONE 2024, 19, e0304253. [Google Scholar] [CrossRef]
- Jonklaas, J.; Bianco, A.C.; Bauer, A.J.; Burman, K.D.; Cappola, A.R.; Celi, F.S.; Cooper, D.S.; Kim, B.W.; Peeters, R.P.; Rosenthal, M.S.; et al. American Thyroid Association Task Force on Thyroid Hormone Replacement. Guidelines for the treatment of hypothyroidism. Thyroid 2014, 24, 1670–1751. [Google Scholar] [CrossRef]
- Wang, Y.; Zhang, J.; Cheng, X.; Duan, X.; Liang, Y.; Sun, D. Quality of guidelines for hyperthyroidism. Postgrad. Med. 2025, 137, 139–147. [Google Scholar] [CrossRef]
- National Institute for Health and Care Excellence (NICE). Thyroid Disease: Assessment and Management; NICE Clinical Guidelines, No. 145; NICE: London, UK, 2023. Available online: https://www.ncbi.nlm.nih.gov/books/NBK550859/ (accessed on 18 November 2025).
- World Health Organization; UNICEF; ICCIDD. Indicators for Assessing Iodine Deficiency Disorders and Their Control Through Salt Iodization; WHO/NUT/94.6; WHO: Geneva, Switzerland, 1994. [Google Scholar]
- Vargas-Uricoechea, H.; Urrego-Noguera, K.; Vargas-Sierra, H.; Pinzón-Fernández, M. Zinc and ferritin levels and their associations with functional disorders and/or thyroid autoimmunity: A population–based case–control study. Int. J. Mol. Sci. 2024, 25, 10217. [Google Scholar] [CrossRef] [PubMed]
- Laborteknic. Codigo 12797—Quimica Dedica A15–25. Available online: https://laborteknic.com/wp-content/uploads/2022/04/Codigo-12797-Quimica-Dedica-A15-25.pdf (accessed on 12 September 2024).
- DNA–NIK. OHVitaminD. Available online: https://dna-nik.com/pdf/OHVitaminD.pdf (accessed on 12 September 2024).
- Tang, J.; Shan, S.; Li, F.; Yun, P. Effects of vitamin D supplementation on autoantibodies and thyroid function in patients with Hashimoto’s thyroiditis: A systematic review and meta–analysis. Medicine 2023, 102, e36759. [Google Scholar] [CrossRef] [PubMed]
- Yu, Y.; Yang, X.; Wu, J.; Shangguan, X.; Bai, S.; Yu, R. A Mendelian randomization study of the effect of serum 25–hydroxyvitamin D levels on autoimmune thyroid disease. Front. Immunol. 2024, 14, 1298708. [Google Scholar] [CrossRef] [PubMed]
- Zhang, J.; Chen, Y.; Li, H.; Li, H. Effects of vitamin D on thyroid autoimmunity markers in Hashimoto’s thyroiditis: Systematic review and meta–analysis. J. Int. Med. Res. 2021, 49, 3000605211060675. [Google Scholar] [CrossRef]
- Vahabi Anaraki, P.; Aminorroaya, A.; Amini, M.; Momeni, F.; Feizi, A.; Iraj, B.; Tabatabaei, A. Effect of vitamin D deficiency treatment on thyroid function and autoimmunity markers in Hashimoto’s thyroiditis: A double–blind randomized placebo–controlled clinical trial. J. Res. Med. Sci. 2017, 22, 103. [Google Scholar] [CrossRef]
- Chahardoli, R.; Saboor-Yaraghi, A.A.; Amouzegar, A.; Khalili, D.; Vakili, A.Z.; Azizi, F. Can supplementation with vitamin D modify thyroid autoantibodies and thyroid profile in Hashimoto’s thyroiditis? A double blind, randomized clinical trial. Horm. Metab. Res. 2019, 51, 296–301. [Google Scholar]
- Luo, D.; Li, B.; Shan, Z.; Teng, W.; Liu, Q.; Li, J. The impacts of vitamin D supplementation on serum levels of thyroid autoantibodies in patients with autoimmune thyroid disease: A meta–analysis. PeerJ 2025, 13, e19541. [Google Scholar] [CrossRef]
- Khozam, S.A.; Sumaili, A.M.; Alflan, M.A.; Shawabkeh, R.A.S. Association between vitamin D deficiency and autoimmune thyroid disorder: A systematic review. Cureus 2022, 14, e25869. [Google Scholar] [CrossRef]
- Wang, J.; Lv, S.; Chen, G.; Gao, C.; He, J.; Zhong, H.; Xu, Y. Meta–analysis of the association between vitamin D and autoimmune thyroid disease. Nutrients 2015, 7, 2485–2498. [Google Scholar] [CrossRef]
- Xu, M.Y.; Cao, B.; Yin, J.; Wang, D.F.; Chen, K.L.; Lu, Q.B. Vitamin D and Graves’ disease: A meta–analysis update. Nutrients 2015, 7, 3813–3827. [Google Scholar] [CrossRef]
- Vargas-Uricoechea, H.; Castellanos-Pinedo, A.; Urrego-Noguera, K.; Pinzón-Fernández, M.V.; Meza-Cabrera, I.A.; Vargas-Sierra, H. A scoping review on the prevalence of Hashimoto’s thyroiditis and the possible associated factors. Med. Sci. 2025, 13, 43. [Google Scholar]
- Altieri, B.; Muscogiuri, G.; Barrea, L.; Mathieu, C.; Vallone, C.V.; Mascitelli, L.; Bizzaro, G.; Altieri, V.M.; Tirabassi, G.; Balercia, G.; et al. Does vitamin D play a role in autoimmune endocrine disorders? A proof of concept. Rev. Endocr. Metab. Disord. 2017, 18, 335–346. [Google Scholar] [CrossRef] [PubMed]
- Zhao, R.; Zhang, W.; Ma, C.; Zhao, Y.; Xiong, R.; Wang, H.; Chen, W.; Zheng, S.G. Immunomodulatory function of vitamin D and its role in autoimmune thyroid disease. Front. Immunol. 2021, 12, 574967. [Google Scholar] [CrossRef] [PubMed]
- Lebiedziński, F.; Lisowska, K.A. Impact of vitamin D on immunopathology of Hashimoto’s thyroiditis: From theory to practice. Nutrients 2023, 15, 3174. [Google Scholar] [CrossRef]
- Czarnywojtek, A.; Florek, E.; Pietrończyk, K.; Sawicka-Gutaj, N.; Ruchała, M.; Ronen, O.; Nixon, I.J.; Shaha, A.R.; Rodrigo, J.P.; Tufano, R.P.; et al. The role of vitamin D in autoimmune thyroid diseases: A narrative review. J. Clin. Med. 2023, 12, 1452. [Google Scholar] [CrossRef]
- Gorini, F.; Tonacci, A. Vitamin D: An essential nutrient in the dual relationship between autoimmune thyroid diseases and celiac disease—A comprehensive review. Nutrients 2024, 16, 1762. [Google Scholar] [CrossRef]
- Wang, K.; Wei, H.; Zhang, W.; Li, Z.; Ding, L.; Yu, T.; Tan, L.; Liu, Y.; Liu, T.; Wang, H.; et al. Severely low serum magnesium is associated with increased risks of positive anti–thyroglobulin antibody and hypothyroidism: A cross–sectional study. Sci. Rep. 2018, 8, 9904. [Google Scholar] [CrossRef]
- Kolanu, B.R.; Vadakedath, S.; Boddula, V.; Kandi, V. Activities of serum magnesium and thyroid hormones in pre–, peri–, and post–menopausal women. Cureus 2020, 12, e6554. [Google Scholar] [CrossRef]
- Luo, Y.; Zeng, H.; Ye, Y.; Yu, G.; Song, C.; Liu, S.; Chen, X.; Jiang, Y.; Duan, H.; Li, Y.; et al. Associations of metal profiles in blood with thyroiditis: A cross–sectional study. Environ. Sci. Pollut. Res. Int. 2023, 30, 21072–21080. [Google Scholar] [CrossRef]
- Klatka, M.; Grywalska, E.; Partyka, M.; Charytanowicz, M.; Rolinski, J. Impact of methimazole treatment on magnesium concentration and lymphocytes activation in adolescents with Graves’ disease. Biol. Trace Elem. Res. 2013, 153, 155–170. [Google Scholar] [CrossRef]
- Jones, J.E.; Desper, P.C.; Shane, S.R.; Flink, E.B. Magnesium metabolism in hyperthyroidism and hypothyroidism. J. Clin. Investig. 1966, 45, 891–900. [Google Scholar] [CrossRef]
- Kolisek, M.; Touyz, R.M.; Romani, A.; Barbagallo, M. Magnesium and Other Biometals in Oxidative Medicine and Redox Biology. Oxid. Med. Cell. Longev. 2017, 2017, 7428796. [Google Scholar] [CrossRef]
- Kawicka, A.; Regulska-Ilow, B.; Regulska-Ilow, B. Metabolic disorders and nutritional status in autoimmune thyroid diseases. Postepy Hig. Med. Dosw. (Online) 2015, 69, 80–90. [Google Scholar] [CrossRef]
- Morais, J.B.; Severo, J.S.; Santos, L.R.; de Sousa Melo, S.R.; de Oliveira Santos, R.; de Oliveira, A.R.; Cruz, K.J.; do Nascimento Marreiro, D. Role of magnesium in oxidative stress in individuals with obesity. Biol. Trace Elem. Res. 2017, 176, 20–26. [Google Scholar] [CrossRef]
- Celik, E.; Celik, M.; Bulbul, B.Y.; Andac, B.; Okur, M.; Colak, S.Y.; Yekdes, A.C. Immunological harmony: The role of magnesium in the development of euthyroid Hashimoto’s thyroiditis. J. Elem. 2024, 29, 367–378. [Google Scholar] [CrossRef]
- Disashi, T.; Iwaoka, T.; Inoue, J.; Naomi, S.; Fujimoto, Y.; Umeda, T.; Tomita, K. Magnesium metabolism in hyperthyroidism. Endocr. J. 1996, 43, 397–402. [Google Scholar] [CrossRef]



| Descriptive | Cases | Controls | Total | p-Value |
|---|---|---|---|---|
| Number of cases and controls | 514 | 514 | 1028 | NS |
| Age (years), mean ± SD | 48.5 ± 17.8 | 47.4 ± 16.4 | 47.95 ± 17.1 | NS |
| Women, prevalence (%) | 63.6 | 63.6 | 63.6 | NS |
| Low SES, prevalence (%) | 65.6 | 65.6 | 65.6 | NS |
| High SES, prevalence (%) | 34.4 | 34.4 | 34.4 | NS |
| Origin (rural/urban, prevalence (%)) | 38.3/61.7 | 38.3/61.7 | 38.3/61.7 | NS |
| BMI (kg/m2), mean ± SD | 27.5 ± 4.4 | 27.9 ± 4.3 | 27.7 ± 4.3 | NS |
| Systolic BP (mmHg), mean ± SD | 129.0 ± 12 | 127.4 ± 11 | 128.2 ± 11.5 | NS |
| Diastolic BP (mmHg), mean ± SD | 74.1 ± 7.4 | 72.3 ± 7.0 | 73.2 ± 7.2 | NS |
| Descriptive | Cases | Controls | p-Value |
|---|---|---|---|
| Number of cases and controls | 514 | 514 | NS |
| Prevalence (%) of goiter | 64.6 | 11.5 | <0.001 |
| Prevalence (%) of subclinical hypothyroidism (F/M) | 33.1 (35.2/29.1) | NA | <0.001 |
| Prevalence (%) of primary hypothyroidism (F/M) | 20.4 (25/17.9) | NA | <0.001 |
| Prevalence (%) of normal thyroid function (F/M) | 38.3 (40.2/38.3) | 100 | <0.001 |
| Prevalence (%) of subclinical hyperthyroidism (F/M) | 6.4 (7.0/4.2) | NA | <0.001 |
| Prevalence (%) of primary hyperthyroidism (F/M) | 1.8 (2.0/1.6) | NA | <0.001 |
| Prevalence (%) of TPOAb positivity | 77 (78/76) | 0.0 | <0.001 |
| Prevalence (%) of TgAb positivity | 50 (51/48.6) | 0.0 | <0.001 |
| Prevalence (%) of TRAb positivity | 20.8 (22/19.7) | 0.0 | <0.001 |
| Descriptive | Cases | Controls | Total | p-Value |
|---|---|---|---|---|
| Number of cases and controls | 514 | 514 | 1028 | NS |
| 25OH Vit-D, mean ± SD | 25.1 ± 9.0 | 31.3 ± 7.7 | 28.2 ± 8.9 | <0.001 |
| 25OH Vit-D, mean ± SD (age < 50 years) | 25.9 ± 9.5 | 32.3 ± 7.7 | 29.1 ± 9.2 | <0.001 |
| 25OH Vit-D, mean ± SD (age ≥ 50 years) | 24 ± 8.2 | 30 ± 7.6 | 27 ± 8.4 | <0.001 |
| Prevalence (%) of 25OH Vit-D deficiency (value < 20 ng/mL) | 37.5 | 6.4 | 22 | <0.001 |
| Prevalence (%) of 25OH Vit-D deficiency (value < 12 ng/mL) | 5.1 | 0.6 | 2.8 | <0.001 |
| Prevalence (%) of 25OH Vit-D deficiency (age < 50 years) | 36.5 | 5.3 | 20.9 | <0.001 |
| Prevalence (%) of 25OH Vit-D deficiency (age ≥ 50 years) | 38.9 | 7.9 | 23.4 | <0.001 |
| Magnesium, mean ± SD | 1.9 ± 0.2 | 2.1 ± 0.2 | 2.0 ± 0.2 | <0.001 |
| Magnesium, mean ± SD (age < 50 years) | 1.91 ± 0.23 | 2.05 ± 0.16 | 1.99 ± 0.21 | <0.001 |
| Magnesium, mean ± SD (age ≥ 50 years) | 1.89 ± 0.27 | 2.0 ± 0.2 | 1.96 ± 0.25 | <0.001 |
| Prevalence (%) of Mg deficiency (value < 1.7 mg/dL) | 21.1 | 5.1 | 13.1 | <0.001 |
| Prevalence (%) of Mg deficiency (age < 50 years) | 17.2 | 3.2 | 10.2 | <0.001 |
| Prevalence (%) of Mg deficiency (age ≥ 50 years) | 25.9 | 7.5 | 16.7 | <0.001 |
| Combined prevalence (%) of Mg deficiency (<1.7 mg/dL) and 25OH Vit-D deficiency (<20 ng/dL) | 18.5 | 1.4 | 9.9 | <0.001 |
| 25OH Vit-D and/or Mg Levels | Prevalence (%) of Negative (−) or Positive (+) Thyroid Antibodies | |||||
|---|---|---|---|---|---|---|
| 25OH Vit-D levels | % TPOAb (−) | % TPOAb (+) | % TgAb (−) | % TgAb (+) | % TRAb (−) | % TRAb (+) |
| 20–50 ng/mL | 68.5 | 31.5 | 80.4 | 19.6 | 92.3 | 7.7 |
| ≥12 to <20 ng/mL | 36.3 | 63.7 * | 55.3 | 44.7 | 80.1 | 19.9 |
| <12 ng/mL | 31 | 69 ** | 62.1 | 37.9 | 75.9 | 24.1 |
| Mg levels | TPOAb (−) | TPOAb (+) | TgAb (−) | TgAb (+) | TRAb (−) | TRAb (+) |
| 1.7–2.4 mg/dL | 64.9 | 35.1 | 76.6 | 23.4 | 90.6 | 9.4 |
| <1.7 mg/dL | 38.1 | 61.9 † | 64.2 | 35.8 | 82.8 | 17.2 |
| Mg levels < 1.7 mg/dL and 25OH Vit-D < 20 ng/mL) | 33.4 | 64.6 †† | 41.7 | 58.3 ††† | 79.1 | 20.1 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Vargas-Uricoechea, H.; Castellanos-Pinedo, A.; Urrego-Noguera, K.; Pinzón-Fernández, M.V.; Meza-Cabrera, I.A.; Vargas-Sierra, H.; Agredo-Delgado, V. Risk of Functional Disorders and/or Thyroid Autoimmunity and Its Association with 25OH Vitamin D and Magnesium Levels: A Population-Based Case-Control Study. Med. Sci. 2026, 14, 143. https://doi.org/10.3390/medsci14010143
Vargas-Uricoechea H, Castellanos-Pinedo A, Urrego-Noguera K, Pinzón-Fernández MV, Meza-Cabrera IA, Vargas-Sierra H, Agredo-Delgado V. Risk of Functional Disorders and/or Thyroid Autoimmunity and Its Association with 25OH Vitamin D and Magnesium Levels: A Population-Based Case-Control Study. Medical Sciences. 2026; 14(1):143. https://doi.org/10.3390/medsci14010143
Chicago/Turabian StyleVargas-Uricoechea, Hernando, Alejandro Castellanos-Pinedo, Karen Urrego-Noguera, María V. Pinzón-Fernández, Ivonne A. Meza-Cabrera, Hernando Vargas-Sierra, and Valentina Agredo-Delgado. 2026. "Risk of Functional Disorders and/or Thyroid Autoimmunity and Its Association with 25OH Vitamin D and Magnesium Levels: A Population-Based Case-Control Study" Medical Sciences 14, no. 1: 143. https://doi.org/10.3390/medsci14010143
APA StyleVargas-Uricoechea, H., Castellanos-Pinedo, A., Urrego-Noguera, K., Pinzón-Fernández, M. V., Meza-Cabrera, I. A., Vargas-Sierra, H., & Agredo-Delgado, V. (2026). Risk of Functional Disorders and/or Thyroid Autoimmunity and Its Association with 25OH Vitamin D and Magnesium Levels: A Population-Based Case-Control Study. Medical Sciences, 14(1), 143. https://doi.org/10.3390/medsci14010143

