Association between magnesium depletion score and the prevalence of kidney stones in the low primary income ratio: a cross-sectional study of NHANES 2007–2018 Authors: Jiahao Wang, Yunfei Xiao, Yaqing Yang, Shan Yin, Jianwei Cui, Ke Huang, Jia Wang, Yunjin Bai Published: 2024 ABSTRACT AbstractIntroduction:To explore the association between magnesium depletion score (MgDS) and the prevalence of kidney stones in the low primary income ratio (PIR).Method:A cross-sectional study was conducted using data from the National Health and Nutrition Examination Survey 2007–2018. Within the low PIR, people aged ≥20 years with complete information on MgDS and kidney stones questionnaires were enrolled. Multivariable logistic regression and stratified logistic regression analyses were performed to examine the association between MgDS and the prevalence of kidney stones and the recurrence of kidney stones by confounding factors adjusted. Stratified and interaction analysis was conducted to find whether some factors modified the association. In addition, sensitive analyses were also conducted to observe the stability. The work has been reported in line with the strengthening the reporting of cohort, cross-sectional, and case–control studies in surgery (STROCSS) criteria (Supplemental Digital Content 1, http://links.lww.com/JS9/C781).Result:A total of 7600 adults were involved in the study, and the individuals were classified into four groups: 0 points for MgDS (n=3814), 1 point for MgDS (n=2229), 2 points for MgDS (n=1020), and ≥3 points for MgDS (n=537). The multivariable logistic regression suggested that a positive association between MgDS and the prevalence of kidney stones (OR=1.123, 95% CI: 1.019–1.238) in the fully adjusted model. Compared with the lowest group, people with ≥3 points of MgDS had a significant relationship with kidney stones (OR=1.417, 95% CI: 1.013–1.983). No significant association was observed between the recurrence of kidney stones and MgDS. The result of the sensitive analysis showed the robustness of the main analysis.Conclusion:The prevalence of kidney stones is positively correlated with MgDS, which suggests that maintaining a higher MgDS is accompanied by higher prevalence rates of kidney stones in the low PIR.Keywords: association, cross-section, kidney stones, low primary ratio, magnesium depletion score Introduction Highlights Adequate magnesium intake is associated with a decreased risk of stone formation by inhibiting crystal aggregation and reducing the supersaturation of stone-forming compounds in the urine. Adequate magnesium intake is associated with a decreased risk of stone formation by inhibiting crystal aggregation and reducing the supersaturation of stone-forming compounds in the urine. Magnesium depletion score (MgDS) outperformed assessments based on serum and urinary magnesium concentrations in diagnosing magnesium deficiency. Magnesium depletion score (MgDS) outperformed assessments based on serum and urinary magnesium concentrations in diagnosing magnesium deficiency. There is a positive association between MgDS and the prevalence of kidney stones in the low primary income ratio. There is a positive association between MgDS and the prevalence of kidney stones in the low primary income ratio. No significant correlation was observed between the recurrence of kidney stones and MgDS within a low-income demographic. No significant correlation was observed between the recurrence of kidney stones and MgDS within a low-income demographic. Tailored dietary interventions and social support initiatives be implemented for low-income populations to enhance magnesium levels and mitigate the risk of kidney stone formation. Tailored dietary interventions and social support initiatives be implemented for low-income populations to enhance magnesium levels and mitigate the risk of kidney stone formation. Kidney stones have become increasingly prevalent in the field of urology, posing a significant concern due to rising medical expenses and societal impact. A nationwide study indicated that the occurrence of kidney stones varies from 1.7 to 14.8%, with rates consistently increasing annually worldwide1. Notably, the high recurrence rate, with ~30% of patients experiencing a relapse within 5 years of the initial episode, places a considerable strain on healthcare systems2. In the United States, the annual cost of kidney stone treatment surpasses $5 billion, with removal expenses outweighing preventive measures3. Consequently, while treatment methods for kidney stones have advanced, prioritizing prevention remains paramount for cost-effectiveness. Despite the identification of various chronic conditions as risk factors for kidney stones, the precise underlying mechanism remains incompletely understood. Therefore, there is an urgent need for a comprehensive exploration of preventive strategies to address the issue of kidney stones. Recent studies show that some dietary trace metals act as protect roles for kidney stones, such as copper, phosphorus, and magnesium4. Magnesium is the second most abundant intracellularly, following potassium, acting as a natural antagonist to calcium oxalate and phosphate crystal formation, the most common constituents of kidney stones5. Adequate magnesium intake is associated with a decreased risk of stone formation by inhibiting crystal aggregation and reducing the supersaturation of stone-forming compounds in the urine6. Despite its significance, over half of adults in America fail to consume sufficient magnesium7. Economic constraints in certain communities, such as a low primary income ratio (PIR), can greatly restrict the ability to obtain magnesium-rich foods. This, combined with dietary deficiencies or genetic influences, can raise the likelihood of developing magnesium deficiency and, as a result, kidney stone formation8. A prolonged lack of magnesium intake could result in chronic or hidden magnesium deficiency9. Nevertheless, the absence of noticeable clinical symptoms or signs often accompanies magnesium deficiency, and there is a lack of standardized tests to precisely evaluate magnesium levels. While the magnesium tolerance test is widely considered the most reliable approach for assessing magnesium status, its clinical utility is restricted due to the necessity of two distinct 24 h urine collections before and after a 4 h intravenous magnesium infusion10. As a result, the magnesium depletion score (MgDS) offers a more precise and dependable alternative, taking into account four key factors: present intake of diuretics, current usage of proton pump inhibitors (PPIs), deterioration in kidney function, and level of alcohol consumption11–13. Furthermore, MgDS outperformed assessments based on serum and urinary magnesium concentrations in diagnosing magnesium deficiency12. To our knowledge, there is no study focused on the association between MgDS and the prevalence of kidney stones. Given the socioeconomic disparities in health outcomes, understanding the link between magnesium depletion and kidney stones in low-income populations can inform targeted prevention and intervention strategies. Thus, this study aims to elucidate the association between MgDS and the prevalence of kidney stones among individuals with a low PIR, utilizing data from NHANES 2007–2018. Our conjecture suggests a correlation between elevated MgDS levels and a heightened incidence of kidney stones within this demographic, underscoring the significance of magnesium in dietary recommendations, and public health strategies aimed at mitigating kidney stone susceptibility. Method Study design and population The NHANES provides prevalence estimates for an array of common diseases by performing a complex, multistage, probability sampling design. The data set in the NHANES database is typically updated periodically, with new waves of data released approximately every 2 years. The information utilized in this study was obtained from the NHANES database spanning from 2007 to 2018 (for the present analysis, six survey cycles (i.e. 2007–2008, 2009–2010, 2011–2012, 2013–2014, 2015–2016, and 2017–2018) were combined to produce estimates with greater precision and smaller sampling error), a project established by the National Center for Health Statistics (NCHS) that undergoes biennial updates starting from 1999. NHANES serves as a comprehensive and nationally representative survey focusing on the health and dietary habits of individuals within the United States. Through a multistage probability sampling approach, data is gathered via structured interviews, physical check-ups, and laboratory evaluations. With the primary aim of reflecting the demographics of the US population, stringent measures are in place during data collection to safeguard the privacy and confidentiality of participants. The initial sample collected from six continuous cycles totaled 59 842 individuals. Firstly, people younger than 20 years were not considered (n=34 770). Secondly, pregnancy was excluded (n=372). In addition, participants without complete information about MgDS and kidney stones were also removed (n=7913). The individuals with low PIR (PIR <1.3) were also not enrolled. Ultimately, there are 7600 adults admitted and the exclusion criteria are described in Figure 1. Flow diagram of obtaining the final inclusion in the population. Data available in a publicly accessible repository that does not issue DOIs. Publicly available datasets were analyzed in this study. These data can be found here: https://www.cdc.gov/nchs/nhanes/index.htm. In assessing our sample size adequacy, we followed the European Association of Urology (EAU) guidelines, which indicate a 10% prevalence rate of kidney stones in the United States. With a significance level (α) set at 0.01, we applied the formula :n=Z1−a/22*pqd2 to calculate the necessary sample size, where Z represents the Z-score for the chosen confidence level, p is the prevalence rate (q=1−p), and d is the margin of error. Based on our computations, we determined that a sample size of 5991 participants would be adequate. However, our final sample size consisted of 7600 individuals, surpassing the calculated requirement and ensuring the reliability and robustness of our findings. All NHANES study protocols were approved by the Ethics Review Committee of the NCHS, and consent was obtained from all participants. This cross-sectional study was performed in line with the STROCSS 2021 and STROCSS 2021 Guidelines14. Outcomes and exposure variable MgDS, a clinical composite index devised to assess magnesium deficiency within the body, is calculated by summing points from the four risk factors12. 1 diuretics use: ‘yes’ scores one point, ‘no’ scores zero points; 2 PPIs use: ‘yes’ scores one point, ‘no’ scores zero points; 3 kidney function: estimated glomerular filtration rate (eGFR) ≥90 scores zero point. eGFR <90 and ≥60 ml/min/1.73 m2 scores one point. eGFR <60 ml/min/1.73 m2 scores two points15; 4 heavy alcohol consumption, defined as more than two drinks per day for men and more than one drink per day for women, scores one point. All other drinking habits (never, ever, mild, and moderate) score zero points16. Each aspect plays a role in determining the complete score, showcasing the seriousness of magnesium insufficiency. Owing to the small sample of MgDS3–5, MgDS classifies people into four groups: 0, 1, 2, and ≥3, respectively. The primary outcome of the study was the prevalence of kidney stones. Data from the questionnaire can be extracted to calculate the prevalence of kidney stones. In the questionnaire, participants were categorized as having kidney stones if they responded affirmatively to the question, ‘Have you ever had kidney stones?’ Conversely, participants who replied negatively were assumed to be free of kidney stones. Other covariates Continuous variables were age, BMI, fiber intake, fat intake, magnesium intake, calcium intake, energy intake, healthy eating index-2015 (HEI-2015), sedentary intake, and water intake. Categorical variables included sex (female and male), race (Mexican American, non-Hispanic white, non-Hispanic black, other Hispanic, other races), education (less than 9th grade, 9–11th grade, high school graduate, some college, college graduate or above), marital status (married/living with a partner, divorced/separated/widowed, never married), alcohol (never, former, mild, moderate, and heavy), smoking (never, former, and now), diabetes (no, borderline, and yes), stroke, cardiovascular disease (CVD), hypertension (HBP), moderate activity, and vigorous activity (all no/yes). In addition, sedentary time and calcium intake were divided into two groups based on the cut point of 150 mins/day and 300 mg/day. Adequate water required ≥2000 ml/day for females and 2500 ml/day for males. Statistical analysis The study provided baseline characteristics in the form of means±SD for continuous variables and proportions for categorical variables. Correlations between continuous variables were determined using linear regression, and comparisons of categorical variables were adjusted using chi-square analysis. Multivariate logistic regression analyses were employed to evaluate the potential association between MgDS and the prevalence of kidney stones with three logistic regression models conducted. In addition, another three logistic regression models were utilized to investigate the relationship between MgDS and recurrent kidney stones (people who had developed kidney stones more than once). In the nonadjusted model, no factor was adjusted. The minimally adjusted model was adjusted for age and race. The fully adjusted model was further adjusted for age, sex, race, education, marital status, BMI, alcohol, smoking, stroke, CVD, HBP, diabetes, moderate activity, vigorous activity, magnesium intake, calcium intake, fat intake, fiber intake sedentary time, water intake, energy intake, and HEI-2015. In order to identify whether some factors modify the association, the stratified and interaction analyses were made. The dietary information was gathered through 24 h recall interviews for the study. Water intake, considered to be a significant factor in kidney stone development, was specifically obtained via telephone 3–10 days after the initial interview, and sensitive analyses were conducted with adjustments made for water intake once again. All the above statistical analyses were completed using R 4.2.2 (http://www.R-project.org, the R Foundation) and EmpowerStats (http://www.empowerstats.com, X&Y Solutions, Inc.). Statistical significance was set at P<0.05. Result Baseline characteristics of study participants There were 7600 people enrolled in the study. The individuals were classified into four groups: 0 points for MgDS (n=3814), 1 point for MgDS (n=2229), 2 points for MgDS (n=1020), and ≥3 points for MgDS (n=537). The baseline characteristics showed significant differences among the four groups (Table 1). People with ≥3 MgDS were more likely to be female (62.76%) and older (67.42±11.00 years), have higher BMI (32.55±8.12 kg/m2), and have longer sedentary time (394.83±207.55 mins/day). In addition, the highest proportion of kidney stones (16.57%), low-educated (below high school graduate) (71.71%), stroke (18.25%), CVD (43.58%), HBP (91.25%), diabetes (52.14%) were indicated in this group. Conversely, the lowest magnesium intake (237.68±97.61 mg/day) and calcium intake (777.29±439.30 mg/day) and energy intake (1684.92±778.84 kcal), and the lowest proportion of moderate activity (18.99%) and vigorous activity (2.79%) and never married (9.12%). In addition, compared to the other three groups, people with 0 points MgDS prefer to never smoke (55.61%) and never alcohol (19.34%) and have the highest fiber intake (16.32±9.73 mg/day) and fat intake (76.08±40.74 mg/day) and lowest HEI-2015 (47.57±13.51). Compared to nonkidney stones people, participants with kidney stones were more likely to have higher MgDS and lower magnesium intake (Supplementary Table S1, Supplemental Digital Content 2, http://links.lww.com/JS9/C782). Table 1Characteristics of participants with low PIR by magnesium depletion score: NHANES 2007–2018.a MgDSVariablesAll (n=7600)0 (n=3814)1 (n=2229)2 (n=1020)≥3 (n=537) P MgDS (mean±SD)0.79±0.970.00±0.001.00±0.002.00±0.003.20±0.42<0.001Kidney stones (%)<0.001 No90.4592.5890.1386.8683.43 Yes9.557.429.8713.1416.57Age (years, mean±SD)47.84±17.8738.85±14.2251.49±16.7063.16±13.5067.42±11.00<0.001 20–34 (%)28.8745.6518.753.330.19 35–49 (%)25.1830.4925.8913.147.45 50–64 (%)24.4918.5629.9732.2529.05 ≥65 (%)21.465.3025.3951.2763.31PIR (mean±SD)0.79±0.350.76±0.350.81±0.350.84±0.320.89±0.30<0.001BMI (kg/m2, mean±SD)29.87±7.6329.37±7.5029.62±7.4430.92±7.9132.55±8.12<0.001 <25 (%)26.9429.8327.2622.3313.35 ≥25 and <30 (%)31.1130.7832.8829.0729.98 ≥30 (%)41.9439.4039.8648.5956.67Sex (%)<0.001 Female55.3257.0350.5655.3962.76 Male44.6842.9749.4444.6137.24Race (%)<0.001 Mexican American19.9225.3315.7913.4310.99 Other Hispanic37.1130.3942.0446.0847.30 Non-Hispanic white23.0021.9722.8824.4128.12 Non-Hispanic black12.0313.5011.0410.109.31 Other races7.958.818.255.984.28Education (%)<0.001 Less than 9th grade16.6315.3215.9420.5921.27 9–11th grade22.2822.5921.6022.1623.13 High school graduate26.5826.6527.3024.9026.31 Some college26.3526.6326.3625.9825.00 College graduate or above8.168.818.806.374.29Marital (%)<0.001 Married/Living with partner47.0151.0745.9440.0035.94 Divorced/Separated/Widowed29.8619.1433.9247.8454.93 Never married23.1329.7920.1412.169.12Alcohol (%)<0.001 Never17.7419.3414.4419.0817.72 Former20.8716.8520.2127.8738.29 Yes61.3963.8165.3553.0543.99Smoke (%)<0.001 Never48.4355.6141.3441.1840.60 Former21.3914.6123.3432.1640.97 Yes30.1829.7735.3226.6718.44Stroke (%)<0.001 No94.5897.6694.8889.1681.75 Yes5.422.345.1210.8418.25HBP (%)<0.001 No55.3273.2050.8322.758.75 Yes44.6826.8049.1777.2591.25CVD (%)<0.001 No86.3394.5786.6870.4656.42 Yes13.675.4313.3229.5443.58Diabetes (%)<0.001 No70.1678.9270.1754.1238.36 Borderline8.467.978.938.739.50 Yes21.3813.1120.9137.1652.14Water intake (%)1019.50±1215.761075.54±1252.841005.88±1238.28885.82±1089.59932.00±1045.77<0.001 Inadequate85.8884.3286.0989.4189.39 Adequate14.1215.6813.9110.5910.61Moderate activity<0.001 No68.9366.1968.1374.5181.01 Yes31.0733.8131.8725.4918.99Vigorous activity<0.001 No85.1879.9487.0394.4197.21 Yes14.8220.0612.975.592.79Sedentary time (%)323.69±199.22302.42±195.13329.66±197.65352.91±200.34394.83±207.55<0.001 <150 mins/day20.5023.7619.1415.8811.65 ≥150 mins/day79.5076.2480.8684.1288.35Calcium intake (%)885.31±517.24922.41±534.18889.82±530.82793.57±435.87777.29±439.30<0.001 <300 mg/day5.845.115.747.558.19 ≥300 mg/day94.1694.8994.2692.4591.81Fiber intake (mg/day, mean±SD)15.51±9.1816.32±9.7315.20±9.0514.20±7.7913.54±7.27<0.001Fat intake (mg/day, mean±SD)73.54±39.8476.08±40.7474.50±41.1667.82±36.1362.43±30.61<0.001Magnesium intake (mg/day, mean±SD)269.86±128.14273.08±130.72280.10±133.70252.40±115.31237.68±97.61<0.001Energy intake (kcal, mean±SD)2063.28±1080.282122.95±1082.822138.99±1160.681873.92±955.801684.92±778.84<0.001HEI-2015 (mean ±SD)48.69±13.4447.57±13.5149.93±13.2349.56±13.5249.90±12.92<0.001 a Mean+SD for continuous variables, and P-value was calculated by weighted t-test. % for categorical variables, and P-value was calculated by weighted χ2 test.CVD, cardiovascular disease; HBP, hypertension; HEI-2015 Index, healthy eating index-2015; MgDS, magnesium depletion score; PIR, poverty income ratio. Characteristics of participants with low PIR by magnesium depletion score: NHANES 2007–2018.a Mean+SD for continuous variables, and P-value was calculated by weighted t-test. % for categorical variables, and P-value was calculated by weighted χ2 test. CVD, cardiovascular disease; HBP, hypertension; HEI-2015 Index, healthy eating index-2015; MgDS, magnesium depletion score; PIR, poverty income ratio. Multivariate regression analysis The multivariable regression analyses showed that a positive association between MgDS and the prevalence of kidney stones in the nonadjusted model (OR=1.341, 95% CI: 1.249–1.439, P<0.001), minimally-adjusted model (OR=1.202, 95% CI: 1.102–1.311, P<0.001), fully adjusted model (OR=1.123, 95% CI: 1.019–1.238, P<0.001) (Table 2). Subgroup analyses indicated that 3 points of MgDS had a significant relationship with kidney stones in the fully adjusted model (OR=1.417, 95% CI: 1.013–1.983, P=0.042). Moreover, no significant association was found between the recurrence of kidney stones and MgDS in three models (Table 3). Table 2Association between MgDS and the prevalence of kidney stones for the low PIR.Nonadjusted modela Minimally-adjusted modelb Fully adjusted modelc Variables (%)OR (95% CI) P OR (95% CI) P OR (95% CI) P MgDS1.341 (1.249–1.439)<0.0011.202 (1.102–1.311)<0.0011.123 (1.019–1.238)0.020Categories of MgDS 0RefRefRef 11.366 (1.136–1.643)<0.0011.092 (0.895–1.332)0.3851.150 (0.928–1.425)0.201 21.887 (1.517–2.347)<0.0011.374 (1.069–1.767)0.0131.242 (0.942–1.637)0.124 ≥32.479 (1.916–3.207)<0.0011.809 (1.344–2.433)<0.0011.417 (1.013–1.983)0.042OR, odds ratio. a Nonadjusted model adjusts for none. b Minimally adjusted model adjusts for age, race. c Fully adjusted model adjusts for age, sex, BMI, race, education, marital, alcohol, smoke, diabetes, hypertension, cardiovascular disease, stroke, energy intake, healthy eating index-2015, sedentary time, vigorous activity, moderate activity, water intake, calcium intake, magnesium intake, fiber intake, fat intake. Association between MgDS and the prevalence of kidney stones for the low PIR. OR, odds ratio. Nonadjusted model adjusts for none. Minimally adjusted model adjusts for age, race. Fully adjusted model adjusts for age, sex, BMI, race, education, marital, alcohol, smoke, diabetes, hypertension, cardiovascular disease, stroke, energy intake, healthy eating index-2015, sedentary time, vigorous activity, moderate activity, water intake, calcium intake, magnesium intake, fiber intake, fat intake. Table 3Association between MgDS and the recurrence of kidney stones for the low PIR.Nonadjusted modela Minimally-adjusted modelb Fully adjusted modelc Variables (%)OR (95% CI) P OR (95% CI) P OR (95% CI) P MgDS0.947 (0.773–1.161)0.6021.017 (0.787–1.314)0.8991.098 (0.811–1.485)0.546Categories of MgDS 0RefRefRef 11.350 (0.754–2.418)0.3131.549 (0.813–2.949)0.1831.706 (0.813–3.581)0.158 21.165 (0.616–2.202)0.6391.572 (0.729–3.387)0.2492.195 (0.924–5.214)0.075 ≥30.850 (0.416–1.737)0.6561.160 (0.486–2.766)0.7391.345 (0.472–3.832)0.580OR, odds ratio. a Nonadjusted model adjusts for none. b Minimally adjusted model adjusts for age, race. c Fully adjusted model adjusts for age, sex, BMI, race, education, marital, alcohol, smoke, diabetes, hypertension, cardiovascular disease, stroke, energy intake, healthy eating index-2015, sedentary time, vigorous activity, moderate activity, water intake, calcium intake, magnesium intake, fiber intake, fat intake. Association between MgDS and the recurrence of kidney stones for the low PIR. OR, odds ratio. Nonadjusted model adjusts for none. Minimally adjusted model adjusts for age, race. Fully adjusted model adjusts for age, sex, BMI, race, education, marital, alcohol, smoke, diabetes, hypertension, cardiovascular disease, stroke, energy intake, healthy eating index-2015, sedentary time, vigorous activity, moderate activity, water intake, calcium intake, magnesium intake, fiber intake, fat intake. Stratified and interaction analysis To identify whether some factors modify the association between MgDS and the prevalence of kidney stones, stratified and interaction analyses were conducted. Table 4 showed that BMI and calcium intake had some significant effects on the association. The three groups of BMI stratified by 25 and 30 kg/m2 cut points contributed the association more obvious (BMI <25 kg/m2 OR=1.378, BMI ≥25 and <30 kg/m2 OR=1.018, BMI ≥30 kg/m2 OR=1.119). Moreover, both of the stratified calcium intake showed the same trend (<300 mg/day OR=1.604, ≥300 mg/day OR=1.097). Table 4Logistic regression analysis to identify variables that modify the correlation between MgDS and the prevalence of kidney stones for the low PIR.Fully adjusted modela OR (95% CI)Variables (%)Food securityFood insecurity P for interactionAge (years)0.923 20–34Ref1.209 (0.791–1.846) 35–49Ref1.109 (0.910–1.351) 50–64Ref1.085 (0.928–1.269) ≥65Ref1.158 (0.992–1.352)BMI (kg/m2)0.042 <25Ref1.378 (1.129–1.681) ≥25 and <30Ref1.018 (0.870–1.191) ≥30Ref1.119 (0.992–1.262)Sex0.312 FemaleRef1.083 (0.960–1.222) MaleRef1.175 (1.031–1.339)Race0.523 AmericanRef1.144 (0.922–1.421) Non-Hispanic whiteRef1.069 (0.945–1.210) Non-Hispanic blackRef1.311 (1.072–1.603) HispanicRef1.111 (0.874–1.412) Other racesRef1.100 (0.782–1.549)Education0.078 Less than 9th gradeRef1.325 (1.108–1.584) 9–11th gradeRef1.203 (1.011–1.432) High school graduateRef0.997 (0.837–1.187) Some collegeRef1.013 (0.861–1.192) College graduate or aboveRef1.245 (0.879–1.763)Marital0.603 Married/Living with partnerRef1.099 (0.963–1.254) Divorced/Separated/WidowedRef1.119 (0.979–1.277) Never marriedRef1.268 (0.979–1.641)Alcohol0.103 NeverRef1.299 (1.071–1.575) FormerRef1.178 (1.009–1.376) NowRef1.043 (0.921–1.182)Smoke0.992 NeverRef1.130 (0.985–1.295) FormerRef1.117 (0.958–1.302) NowRef1.121 (0.951–1.321)Diabetes0.661 NoRef1.166 (1.027–1.323) BorderlineRef1.070 (0.805–1.423) YesRef1.083 (0.940–1.246)HBP0.271 NoRef1.221 (1.024–1.456) YesRef1.094 (0.982–1.219)CVD0.688 NoRef1.110 (0.990–1.244) YesRef1.154 (0.980–1.358)Stroke0.846 NoRef1.120 (1.011–1.240) YesRef1.153 (0.866–1.536)Moderate activity0.842 NoRef1.118 (1.005–1.244) YesRef1.139 (0.960–1.352)Vigorous activity0.388 NoRef1.114 (1.008–1.230) YesRef1.295 (0.928–1.807)Sedentary time (%)0.721 <150 mins/dayRef1.163 (0.939–1.440) ≥150 mins/dayRef1.116 (1.007–1.237)Water intake (%)0.425 InadequateRef1.107 (0.998–1.228) AdequateRef1.210 (0.985–1.486)Calcium intake (%)0.020 <300 mg/dayRef1.604 (1.170–2.200) ≥300 mg/dayRef1.097 (0.992–1.212)OR, odds ratio. a Fully adjusted model adjusts for age, sex, BMI, race, education, marital, alcohol, smoke, diabetes, hypertension, cardiovascular disease, stroke, energy intake, healthy eating index-2015, sedentary time, vigorous activity, moderate activity, water intake, calcium intake, magnesium intake, fiber intake, fat intake. Logistic regression analysis to identify variables that modify the correlation between MgDS and the prevalence of kidney stones for the low PIR. OR, odds ratio. Fully adjusted model adjusts for age, sex, BMI, race, education, marital, alcohol, smoke, diabetes, hypertension, cardiovascular disease, stroke, energy intake, healthy eating index-2015, sedentary time, vigorous activity, moderate activity, water intake, calcium intake, magnesium intake, fiber intake, fat intake. Sensitivity analysis The multivariable logistic regressions were conducted with water intake based on day 2 dietary recall data adjusted. Supplementary Table S2 (Supplemental Digital Content 3, http://links.lww.com/JS9/C783) showed that MgDS was positively associated with the prevalence of kidney stones, and subgroup analysis supported that ≥3 points of MgDS are positively related to kidney stones. In addition, Supplementary Table S3 (Supplemental Digital Content 4, http://links.lww.com/JS9/C784) showed no significant association between the recurrence of kidney stones and MgDS, which was consistent with the previous. Discussion This research investigation examined the relationship between MgDS and the prevalence of kidney stones through the analysis of NHANES data spanning from 2007 to 2018. The findings indicated a positive association between MgDS and the prevalence of kidney stones, particularly in the fully model following adjustments for multiple variables, with this association maintaining significance. This correlation was particularly pronounced in individuals with elevated MgDS (≥3 points). However, no significant correlation was observed between the prevalence of recurrent kidney stones and MgDS. Furthermore, our study revealed that both BMI and calcium intake exerted a noteworthy positive moderating influence on the association between MgDS and the prevalence of kidney stones. Sensitivity analysis further validated the robustness of these findings. Magnesium is a crucial factor in the prevention of kidney stone formation, as supported by existing research. Various clinical and fundamental investigations have demonstrated that magnesium has the ability to create a soluble compound with oxalic acid, thereby diminishing the deposition of calcium oxalate through the inhibition of exogenous oxalic acid absorption in the intestines, resulting in decreased levels of urinary oxalate and urinary supersaturation17–19. Moreover, magnesium has been shown to inhibit the crystallization and growth of calcium oxalate by extending the induction period of calcium oxalate crystals administration of magnesium supplements has been shown to induce anti-inflammatory reactions and diminish the presence of proinflammatory indicators resulting from magnesium deficiency20,21. Consequently, a significant correlation exists between magnesium and crystals development22. Additionally, the consumption of magnesium salts can elevate urine pH, enhance the excretion of citric acid, and subsequently mitigate the development of kidney stones23. However, the acidification of urine has been found to expedite the loss of magnesium24. Research indicates that magnesium deficiency is linked to mitochondrial dysfunction, abnormal levels of oxidative stress markers (such as plasma superoxide anions and malondialdehyde, GSH, SOD, MDA), impaired DNA repair capacity, and heightened genomic instability, all of which are factors that elevate the likelihood of developing kidney stones. This suggests a potential mechanism for stone formation25. Research conducted on animals has shown that a magnesium-deficient diet leads to an imbalance in antioxidant and oxidant levels within the body, impaired redox ability, and heightened susceptibility to lipid peroxidation damage26. Magnesium deficiency exacerbates the sensitivity of vascular endothelial cells to oxidative stress induced by hydrogen peroxide, resulting in increased free radical-induced damage and cytotoxicity. These findings provide insight into the potential mechanism by which magnesium deficiency may contribute to an elevated risk of kidney stone formation27,28. On the contrary, there is magnesium depletion and heightened susceptibility to kidney stone formation. Indirect evidence indicates that magnesium depletion may elevate the likelihood of multiple distinct risk factors associated with the development of kidney stones, consequently contributing to an increased prevalence of kidney stone formation. Moreover, magnesium deficiency is closely linked to various components of metabolic syndrome, including insulin resistance, HBP, and obesity, further heightening the risk of CVD, all of which collectively amplify the susceptibility to kidney stone formation29–33. Magnesium is integral to numerous biological processes implicated in the pathogenesis of various diseases, including insulin signaling, blood pressure regulation, and lipid metabolism34–36. Factors such as the presence of components of metabolic syndrome and the use of certain medications (e.g. diuretics, PPIs) can exacerbate magnesium loss and hinder its absorption, thereby heightening the risk of magnesium deficiency37–39. Thus, a negative feedback loop is present. Moreover, the precise mechanisms are not yet fully understood, but magnesium deficiency frequently coexists with heightened uric acid levels, thereby heightening the likelihood of uric acid kidney stone development40,41. So, the depletion of magnesium may indirectly facilitate the formation of kidney stones by impacting various metabolic pathways within the organism. Magnesium deficiency is primarily influenced by dietary magnesium intake and excretion levels. Inadequate magnesium intake is prevalent among the general population, with research indicating that individuals of lower socioeconomic status are at a heightened risk of magnesium depletion. This susceptibility may be attributed to factors such as suboptimal dietary habits, limited health literacy, and restricted availability of nutritious food options42,43. Research has shown that individuals with lower income levels are more likely to have limited access to magnesium-rich foods, such as green leafy vegetables, nuts, and whole grains, which can contribute to an increased risk of magnesium deficiency8,44. Furthermore, financial strain and a lower socioeconomic status may also heighten the likelihood of engaging in unhealthy behaviors, such as consuming a high-fat diet, smoking, and leading a sedentary lifestyle, all of which are recognized risk factors for the development of kidney stones45,46. Hence, it is imperative to implement targeted interventions and policies aimed at improving the nutritional status of magnesium among low-income populations and addressing the specific needs of vulnerable groups in order to mitigate the risk of kidney stone formation. For example, the eligibility criteria for the federal and state joint Medicaid programs that provide health insurance to millions of low-income Americans should be appropriately relaxed. Actively advancing the Children’s Health Insurance Program (CHIP) and Affordable Care Act (ACA) marketplaces to offer low-cost health insurance to children in families with incomes too high to qualify for Medicaid but unable to afford private insurance, while low-income individuals may qualify for subsidies to help offset premiums and out-of-pocket costs. Establishing federally qualified health centers (FQHCs) and community health centers to provide primary healthcare services to underserved and low-income populations, including medical, dental, and behavioral health services. Operating free and low-cost clinics by nonprofit organizations or local governments to offer basic medical services at reduced or no cost to uninsured and low-income individuals. Encouraging many pharmaceutical companies to provide prescription assistance programs to help eligible low-income individuals with discounts or waivers of medication costs. Most importantly, vigorously promoting supplemental nutrition assistance programs (SNAP) and Women, Infants, and Children (WIC) programs to help low-income individuals and families access nutritious foods, which can have a positive impact on their overall health. These initiatives not only increase the prevention and treatment possibilities for urinary stones but also significantly improve the health-related quality of life for citizens. This study demonstrates the significant impact of calcium intake and BMI on the association between magnesium levels and the formation of kidney stones. It is advised to maintain a balanced calcium intake as the primary dietary measure for preventing kidney stones. However, both excessive and inadequate calcium intake may elevate the risk of kidney stone formation, particularly when magnesium intake is insufficient47–49. The stratified analysis of calcium intake revealed a correlation between low calcium intake (<300 mg/day) and an elevated risk of kidney stones. This association may be attributed to the potential mechanism by which a low calcium diet leads to an increase in free oxalate ions in the intestine, facilitating their absorption and subsequently raising urinary oxalate excretion levels50. Furthermore, obesity, defined as a BMI of 30 kg/m2 or higher, is recognized as an autonomous risk factor for the development of kidney stones. Our research substantiates that the association between magnesium dietary supplement (MgDS) intake and kidney stone risk varies across different BMI categories. The elevated risk of kidney stones in individuals with obesity may be attributed to alterations in urine composition, such as decreased urine pH and heightened excretion of calcium and oxalate51,52. Therefore, the interaction between calcium intake and BMI may influence the relationship between magnesium and kidney stones through multiple mechanisms. This article provides a significant contribution by examining the association between magnesium consumption scores and kidney stones in low-income individuals for the first time, utilizing a large multiethnic sample population from NHANES to enhance the reliability and generalizability of the research findings. However, limitations exist in the study design. As it is a cross-sectional study, preventing the establishment of a causal relationship between the variables. Secondly, the data collection of kidney stones is completed through interviews. Although it is conducted by trained professionals, recall bias is inevitable. Information on the composition and size of kidney stones is absent in the database, which limits our further research. Result This study identified a notable correlation between magnesium intake levels and the occurrence of kidney stones within a low-income demographic. So, it is important to recommend that tailored dietary interventions and social support initiatives be implemented for low-income populations to enhance magnesium levels and mitigate the risk of kidney stone formation. In addition, the comprehensive and longitudinal investigations are supposed to delve deeper into the underlying mechanisms of this relationship. Ethical approval This study was performed using public data from the National Center for Health Statistics (NCHS) program and the National Health and Nutrition Examination Survey (NHANES). The data have been de-identified and not merged or augmented in a way that has compromised the privacy of the participants. Therefore, the study requires no further approval and follows ethical guidelines. In addition, participant data were obtained from the publicly available NHANES, so no additional consent was obtained. Consent This study was performed using public data from the National Center for Health Statistics (NCHS) program and the National Health and Nutrition Examination Survey (NHANES). The data have been de-identified and not merged or augmented in a way that has compromised the privacy of the participants. Therefore, the study requires no further approval and follows ethical guidelines. In addition, participant data were obtained from the publicly available NHANES, so no additional consent was obtained. Source of funding This work was supported by the Key Research and Development Projects of Sichuan Science and Technology Department (grant numbers: 2022YFS0306). Author contribution J.W. and J.H.W.: conception and design; J.W.: administrative support and supervision; J.H.W., Y.F.X., Y.Q.Y., S.Y., J.W.C., and K.H.: collection and assembly of data; Y.F.X., Y.Q.Y., and Y.J.B.: data analysis and interpretation; J.H.W. and Y.F.X.: manuscript writing; All authors contributed in final approval of the manuscript. Conflicts of interest disclosure All authors certify that they have no affiliations with or involvement in any organization or entity with any financial interest or non-financial interest in the subject matter or materials discussed in this manuscript. Research registration unique identifying number (UIN) Name of the registry: not applicable. Name of the registry: not applicable. Unique identifying number or registration ID: not applicable. Unique identifying number or registration ID: not applicable. Hyperlink to your specific registration (must be publicly accessible and will be checked): not applicable. Hyperlink to your specific registration (must be publicly accessible and will be checked): not applicable. Guarantor Jia Wang. Department of Urology, Institute of Urology, West China Hospital, Sichuan University, No. 37, Guoxue Alley, Chengdu, Sichuan, People’s Republic of China. E-mail: wangjiawch@163.com (JW) Yunjin Bai. Department of Urology, Institute of Urology, West China Hospital, Sichuan University, No. 37, Guoxue Alley, Chengdu, Sichuan, People’s Republic of China. E-mail: baiyunjin@163.com (YJB). Data availability statement Data available in a publicly accessible repository that does not issue DOIs. Publicly available datasets were analyzed in this study. These data can be found here: https://www.cdc.gov/nchs/nhanes/index.htm. Provenance and peer review Not commissioned, externally peer-reviewed. Supplementary Material SUPPLEMENTARY MATERIAL Acknowledgements Not applicable. Footnotes Jiahao Wang and Yunfei Xiao have contributed equally to this work. Sponsorships or competing interests that may be relevant to content are disclosed at the end of this article. Supplemental Digital Content is available for this article. Direct URL citations are provided in the HTML and PDF versions of this article on the journal's website, www.lww.com/international-journal-of-surgery. Published online 14 June 2024 Contributor Information Jiahao Wang, Email: 864648787@qq.com. Yunfei Xiao, Email: xiaoyunfeix@163.com. Yaqing Yang, Email: yyq_wch@163.com. Shan Yin, Email: 672627597@qq.com. Jianwei Cui, Email: cuijianwei1001@163.com. Ke Huang, Email: huangke200101@163.com. Jia Wang, Email: wangjiawch@163.com. Yunjin Bai, Email: baiyunjin@163.com. References Associated Data Supplementary Materials SUPPLEMENTARY MATERIAL Data Availability Statement Data available in a publicly accessible repository that does not issue DOIs. Publicly available datasets were analyzed in this study. These data can be found here: https://www.cdc.gov/nchs/nhanes/index.htm.