{'fraction_non_alphanumeric': 0.03919230769230769, 'fraction_numerical': 0.031884615384615386, 'mean_word_length': 5.093508319662527, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Association of Serum Magnesium with Insulin Resistance and Type 2 Diabetes among Adults in China

Magnesium is an essential mineral for the human body and a cofactor or activator for more than 300 enzymatic reactions, including blood glucose control and insulin release. Diabetes is a well-known global burden of disease with increasing global prevalence. In China, the prevalence of diabetes in adults is higher than the global average. Evidence shows that magnesium is a predictor of insulin resistance and diabetes. However, the majority of studies focus on dietary magnesium instead of serum magnesium concentration. We study the correlation of serum magnesium levels with insulin resistance and Type 2 diabetes. In this prospective cohort study, we included 5044 participants aged 18 years and older without insulin resistance (IR) and diabetes at the baseline from China Health and Nutrition Survey (CHNS). A fasting blood sample was taken for the measurement of both types of magnesium, fasting blood glucose, hemoglobin A1c (HbA1c), and fasting insulin. The homeostatic model (HOMA-IR) was calculated. Demographic characteristics of participants, and risk factors such as intensity of physical activities, smoking status, drinking habit, and anthropometric information were recorded. IR was defined as HOMA-IR ≥ 2.5, and Type 2 diabetes mellitus was defined as fasting plasma glucose ≥ 7.0 mmol/L or HbA1c ≥ 6.5%, or a self-reported diagnosis or treatment of diabetes. A total of 1331 incident insulin resistance events and 429 incident diabetic events were recorded during an average follow-up of 5.8 years. The serum magnesium concentration was categorized into quintiles. After adjusting for relevant covariates, the third quintile of serum magnesium (0.89–0.93 mmol/L) was correlated with 29% lower risk of incident insulin resistance (hazard ratio = 0.71, 95% CI 0.58, 0.86) and with a lower risk of Type 2 diabetes. Multivariable-adjusted hazard ratios (95% confidence intervals) for insulin resistance were compared with the lowest quintile of serum magnesium (<0.85). We found similar results when evaluating serum magnesium as a continuous measure. Restricted cubic spline (RCS) curves showed a nonlinear dose–response correlation in both serum magnesium levels and insulin resistance, and in serum magnesium levels and Type 2 diabetes. Lower serum magnesium concentration was associated with a higher risk of insulin resistance and diabetes.


Introduction
Diabetes is a global burden of disease that is globally growing at a remarkable rate. In 2017, the global prevalence of Type 2 diabetes was 6059 cases per 100,000, with roughly 462 million individuals being affected by Type 2 diabetes, equivalent to 6.28% of the global population [1]. In China, chronic disease surveillance data showed that the prevalence of diabetes mellitus in adults was higher than the global average in 2018, up to 12.8%, Nutrients 2022, 14, 1799 2 of 11 while the awareness rate of diabetes was only 36.7% [2]. Globally, the prevalence rate continues to rise regardless of socioeconomic factors, and the global prevalence of Type 2 diabetes will increase to 7079 in every 100,000 people by 2030 [1]. Insulin is a hormone that is produced by pancreatic β-cells; the primary function of insulin is to maintain glucose homeostasis in tissue such as skeletal muscle, adipose tissue, and the liver through promoting glucose transport and inhibiting glucose production [3,4]. β-cells failing to compensate for peripheral insulin resistance (IR) result in the development of Type 2 diabetes, and the presence of peripheral insulin resistance in tissue is a characteristic of diabetes [4].
Magnesium is one of the most abundant intracellular divalent cations, second only to potassium, and the fourth most plentiful cation in the human body [5]. Magnesium balance in the human body is controlled by the dynamic interaction among intestinal absorption, renal resorption and excretion, and magnesium conversion in bone tissue. About 30% of magnesium enters the blood through paracellular and transcellular pathways [6]. Magnesium is vital to enzymatic reactions as a cofactor or activator for hundreds of enzymes [7]. In fact, magnesium participates in more than 300 enzymatic reactions in the human body, and regulates various biochemical reactions, including blood glucose control. An animal study showed that magnesium controls glucose tolerance through the suppression of the gluconeogenesis pathway and glucagon receptor gene expression, and the stimulation of glucose transporter 4 (Glut4) gene expression and GLUT4 protein translocation in the liver and gastrocnemius muscle [8]. Although the molecular mechanisms of magnesiuminduced insulin resistance have not been fully revealed, it is clear that magnesium plays an essential role in inducing insulin release [5]. The activity of protein tyrosine kinases is dependent on the concentration of intracellular magnesium; consequently, lower magnesium concentration can inhibit insulin action, increasing insulin tolerance [9]. A recent study demonstrated that magnesium supplementation improves insulin sensitivity by affecting β-arrestin-2 gene expression and inhibiting lipid peroxidation [10].
Magnesium is associated with many chronic and inflammatory diseases or conditions, such as Alzheimer's disease, asthma and respiratory insufficiency, psychiatric disorders, insulin resistance, Type 2 diabetes, hypertension, cardiovascular disease (e.g., stroke), migraines, osteoporosis, and cancer [11]. In epidemiological studies, magnesium has attracted wide attention due to its role in the prevention of diabetes. Diabetes is usually accompanied by changes in magnesium status. According to a Canadian study, patients with diabetes mellitus had lower serum magnesium levels (between 0.04 and 0.07 mmol/L) compared with nondiabetic participants, and insulin homeostatic model assessment was negatively associated with serum magnesium levels [12].
In this study, we analyze the association of serum magnesium with IR and Type 2 diabetes mellitus within a large longitudinal cohort.

Study Population
Research data of this study are based on the China Health and Nutrition Survey (CHNS), an ongoing multipurpose longitudinal survey to assess secular trends in health and nutritional status, and to research the etiology of nutritional diseases in the Chinese population. The CHNS was established in 1989, covering more than 20,000 subjects from 15 provinces by 2015 using a multistage random-cluster sampling process to draw the survey data from each selected province in China [13]. Our analysis used survey data from three rounds (2009,2015,2018) of the CHNS, since fasting blood samples were collected in the CHNS in 2009, 2015, and 2018. Eligible participants were 18 years of age and older with reasonable BMI (BMI ≥ 14 and ≤45), not pregnant or lactating, had completed the fasting blood collection for biochemical measurements, and had complete questionnaire records. Our analysis excluded individuals with diabetes or insulin resistance at baseline (n = 6690) and those with only 1 round follow-up (n = 5978). A total of 5044 participants were included in the final analysis. All participants who enrolled in the study signed written informed consent to participate in the survey.

Exposure and Outcome Assessment
Participants had fasted for 8 to 12 h at the time of blood sample collection. Standard operating procedures regarding blood-sample collection, processing, and storage were followed. Fasting blood samples were analyzed at the laboratory of the National Institute for Nutrition and Health (NINH), China CDC. The primary predictor was serum magnesium concentration, which was measured in mmol/L by the xylidyl-blue colorimetric method. Fasting glucose was measured with the glucose oxidase-phenol aminophenazone method, hemoglobin A1c (HbA1c) was measured with an automated glycohemoglobin analyzer, and insulin was measured with ECL [14,15].
The diagnostic criterion for Type 2 diabetes was based on the guideline for the prevention and treatment of Type 2 diabetes mellitus in China (2020 edition) [16] and the World Health Organization criteria for diabetes mellitus (fasting glucose ≥ 7.0 mmol/L or HbA1c ≥ 6.5%), or a self-reported diagnosis of diabetes and treatment with antidiabetic pharmacotherapy. The homeostatic model (HOMA-IR) was used as the surrogate measure of IR, calculated as (fasting glucose (mmol/L) × fasting insulin (µU/mL))/22.5 [17], and IR was defined as HOMA-IR ≥ 2.5 [18].

Covariate Assessment
A well-designed general questionnaire was used to collect participants' sociodemographic, lifestyle, and anthropometric information (including age, sex, education (low: primary school and below; medium: middle or high school; high: college and above), residential area (urban or rural), annual household income, smoking status, drinking habit, and physical activity) during the inhouse interview conducted by well-trained health professionals, following the reference protocol written by NINH. Body mass index was calculated by height and weight measurements (BMI, kg/m 2 ) and categorized into three levels (<18.5 kg/m 2 , 18.5-23.9 kg/m 2 and ≥24.0 kg/m 2 ). Household income was categorized into tritiles (low, medium, and high). Physical activity was calculated by metabolic-equivalent hours/week (MET-h/week), which categorized by the intensity of physical activity assignments [19] into tertiles (low, medium, and high). Age was categorized into three categories (18-49, 50-64, and 65+) for the adjustment of Cox multivariate proportional hazard regression models.

Statistical Analysis
Descriptive statistics of participants at baseline across serum magnesium quintiles are presented; continuous variables with normal distribution are presented in means ± standard deviation, continuous variables with non-normal distribution are presented in media (p25, p75), and categorical variables are presented in percentages. Analysis of variance was used for comparison of groups with continuous baseline variables, including sociodemographic, lifestyle, and anthropometric variables across quintile groups of serum magnesium; the Mantel-Haenszel chi-squared test was used to compare categorical baseline variables within quintile groups.
Associations between levels of serum magnesium and the risk of insulin resistance, and Type 2 diabetes mellitus were estimated by Cox multivariate proportional hazards regression models with age as the underlying time scale (participants enter the risk set at the baseline age and exit at the censoring or event age). Model 1 was adjusted for age (three categories: 18-49, 50-64, and 65+), sex, education, residential area, and household income. Model 2 was adjusted as Model 1 plus lifestyle risk factors (physical activity, smoking status, and drinking habit). Model 3 was further adjusted for BMI. Hazard ratios (HRs) with 95% confidence intervals (CIs) were calculated accordingly.
To explore the nonlinear dose-response correlation between levels of serum magnesium and all endpoints, restricted cubic spline (RCS) curves based on Cox multivariate proportional hazards models [20] with five knots were produced.
To test the robustness of our findings, sensitivity analysis was performed. We repeated our analysis on the basis of HOMA-IR ≥ 2.0 [21] as an indicator of insulin resistance to study whether different diagnostic criteria of IR could have influenced our effect estimates.
All statistical analyses of this study were performed with SAS software package version 9.4 (SAS Institute, Inc., Cary, NC, USA) and R software version 4.1.0 (The R Foundation for Statistical Computing). A p-value of less than 0.05 was considered to be statistically significant.

Baseline Characteristics
As presented in Table 1, among the 5044 participants at baseline, those in the lower serum magnesium quintiles were more likely to be female, current smokers, and had a drink habit. Those in the higher serum magnesium quintiles were more likely to have a higher household income and lower intensity of physical activity. Fasting blood glucose and fasting insulin were lower in the lower quintiles of serum magnesium. Most participants fell within the recommended serum magnesium levels (0.75-0.95 mmol/L) [22].

Association of Serum Magnesium with Insulin Resistance
During the average follow-up of 5.8 years, 1331 participants were identified as insulin resistance cases. Table 2 presents the association between quintiles of serum magnesium and insulin resistance (HOMA-IR ≥ 2.5). After adjusting for age, sex, education, residential area, and annual household income (Table 2), HRs (95% CI) of IR for each quintile compared to the first quintile of serum magnesium were: Q2: 0.93 (0.78-1.11); Q3: 0.73 (0.61-0.88) Q4: 0.84 (0.71-1.00); and Q5: 0.97 (0.82-1.16); p-trend = 0.41. The association remained statistically significant in Q3 and Q4 compared with the lowest quintile of serum magnesium after further adjustment for lifestyle covariates (including physical activity, smoking status, drinking habit) and BMI with p-trends of 0.34 and 0.19, respectively ( Table 2).

Association of Serum Magnesium with Type 2 Diabetes
Among the 5044 participants without Type 2 Diabetes and with normal fasting blood glucose at baseline, 429 cases of Type 2 diabetes were identified during an average of 5.8 years of follow-up. After adjusting for age, sex, education, residential area, and annual household income (Table 3), HRs (95% CI) of Type 2 diabetes for each quintile compared to the first quintile of serum magnesium were: Q2: 0.76 (0.56-1.05); Q3: 0.68 (0.49-0.95) Q4: 0.75 (0.55-1.02); and Q5: 0.90 (0.67-1.22); p-trend = 0.82. The association remained statistically significant in Q3 compared with the lowest quintile of serum magnesium group after further adjustment for lifestyle covariates (including physical activity, smoking status, drinking habit), with a p-trend of 0.82 (Table 3). However, the association was statistically significant not only in Q3 compared with the lowest quintile of serum magnesium after fully adjustment, but also in Q4 after adjustment for sociodemographic, lifestyle, and BMI characteristics. The multivariable-adjusted HRs for Type 2 diabetes comparing Q3 and Q4 to Q1 of serum magnesium were 0.68 (95% CI, 0.49-0.96) and 0.69 (95% CI, 0.50-0.95), respectively. Table 3. Hazard Ratio (HR) and 95% confidence interval (CI) for association between serum magnesium quintiles and Type 2 diabetes risk.  Figure 1 shows the result of dose-response relationship between serum magnesium levels and insulin resistance (HOMA-IR ≥ 2.5) by RCS model. The hazard ratio of IR and serum magnesium displayed a nonlinear relationship (nonlinear p < 0.001) while setting the 5th percentile of serum magnesium level (0.78 mmol/L) as a reference. When the serum magnesium level was less than 0.82 mmol/L, the hazard ratio of IR progressively rose with increasing serum magnesium. When the serum magnesium level reached around 0.82 mmol/L, the risk of IR decreased with the increase in serum magnesium levels. However, when the serum magnesium was greater than approximately 0.93 mmol/L, the risk of IR rapidly rose.   Figure 1 shows the result of dose-response relationship between serum magnesium levels and insulin resistance (HOMA-IR ≥ 2.5) by RCS model. The hazard ratio of IR and serum magnesium displayed a nonlinear relationship (nonlinear p < 0.001) while setting the 5th percentile of serum magnesium level (0.78 mmol/L) as a reference. When the serum magnesium level was less than 0.82 mmol/L, the hazard ratio of IR progressively rose with increasing serum magnesium. When the serum magnesium level reached around 0.82 mmol/L, the risk of IR decreased with the increase in serum magnesium levels. However, when the serum magnesium was greater than approximately 0.93 mmol/L, the risk of IR rapidly rose. The result of the dose-response relationship between serum magnesium levels and Type 2 diabetes mellitus in the RCS model showed that the hazard ratio of Type 2 diabetes and serum magnesium displayed a similar nonlinear relationship (nonlinear p < 0.001) The result of the dose-response relationship between serum magnesium levels and Type 2 diabetes mellitus in the RCS model showed that the hazard ratio of Type 2 diabetes and serum magnesium displayed a similar nonlinear relationship (nonlinear p < 0.001) comparing the relationship of IR and serum magnesium. V-shaped correlation was found when setting the 5th percentile of serum magnesium level (0.78 mmol/L) as a reference. When serum magnesium level was less than approximately 0.93 mmol/L, the risk of comparing the relationship of IR and serum magnesium. V-shaped correlation was found when setting the 5th percentile of serum magnesium level (0.7 8 mmol/L) as a reference. When serum magnesium level was less than approximately 0.93 mmol/L, the risk of diabetes decreased with increasing serum magnesium levels. However, when the serum magnesium level reached 0.93 mmol/L, the risk of diabetes increased with increasing serum magnesium (Figure 2).

Figure 2.
Restricted cubic spline of association between serum magnesium and Type 2 diabetes.

Sensitivity Analyses
Sensitivity analyses showed a similar relationship between serum magnesium with IR and diabetes mellitus as that in our main analyses. Multivariable-adjusted HRs for IR comparing Q3 and Q4 to the lowest quintile of serum magnesium level were 0.71 (95%CI, 0.57-0.89) and 0.67 (95%CI, 0.53-0.83), respectively. The association between serum magnesium levels and Type 2 diabetes mellitus remained statistically significant in Q4 compared with the lowest quintile of serum magnesium level after fully adjusting for sociodemographic, lifestyle, and BMI characteristics (HR 0.70 (95%CI, 0.50-0.98)).

Discussion
Findings from this prospective cohort study among 5044 participants with an average follow-up of 5.8 years showed that participants with serum magnesium level between 0.89 and 0.93 had the lowest risk of IR and Type 2 diabetes compared with those at the lowest quintile of serum magnesium level. In the present analysis, we saw a nonlinear dose-response association between serum magnesium levels, and IR and diabetes. In fact, we found U-shaped correlation between serum magnesium levels, and the risk of IR and Type 2 diabetes, with low and high levels associated with increased risk. Dose-response analyses showed that participants with a serum magnesium level around 0.93 mmol/L had the lowest risk of IR (HOMA-IR ≥ 2.5) and Type 2 diabetes mellitus. The prevalence of IR and Type 2 diabetes of the study population was 26.39% and 8.51%, respectively, and the prevalence of Type 2 diabetes mellitus in our study was slightly greater than the estimated level (7.5%) investigated on CHNS 2009 [23].
Some studies suggested significantly negative correlation between serum magnesium and insulin resistance [24][25][26]; however, there were also some studies showing that the relationship is insignificant [27,28]. One study by Akter et al. found that

Sensitivity Analyses
Sensitivity analyses showed a similar relationship between serum magnesium with IR and diabetes mellitus as that in our main analyses. Multivariable-adjusted HRs for IR comparing Q3 and Q4 to the lowest quintile of serum magnesium level were 0.71 (95% CI, 0.57-0.89) and 0.67 (95% CI, 0.53-0.83), respectively. The association between serum magnesium levels and Type 2 diabetes mellitus remained statistically significant in Q4 compared with the lowest quintile of serum magnesium level after fully adjusting for sociodemographic, lifestyle, and BMI characteristics (HR 0.70 (95% CI, 0.50-0.98)).

Discussion
Findings from this prospective cohort study among 5044 participants with an average follow-up of 5.8 years showed that participants with serum magnesium level between 0.89 and 0.93 had the lowest risk of IR and Type 2 diabetes compared with those at the lowest quintile of serum magnesium level. In the present analysis, we saw a nonlinear dose-response association between serum magnesium levels, and IR and diabetes. In fact, we found U-shaped correlation between serum magnesium levels, and the risk of IR and Type 2 diabetes, with low and high levels associated with increased risk. Dose-response analyses showed that participants with a serum magnesium level around 0.93 mmol/L had the lowest risk of IR (HOMA-IR ≥ 2.5) and Type 2 diabetes mellitus. The prevalence of IR and Type 2 diabetes of the study population was 26.39% and 8.51%, respectively, and the prevalence of Type 2 diabetes mellitus in our study was slightly greater than the estimated level (7.5%) investigated on CHNS 2009 [23].
Some studies suggested significantly negative correlation between serum magnesium and insulin resistance [24][25][26]; however, there were also some studies showing that the relationship is insignificant [27,28]. One study by Akter et al. found that serum magnesium levels were inversely correlated with HOMA-IR and HbA 1c , but the association was attenuated in healthy subjects [27].
Previous studies found an inverse association between lower serum magnesium levels and risk of diabetes mellitus [26,[29][30][31][32][33], and some studies showed that lower serum magnesium levels were positively associated with poor glycemic control [34][35][36][37]. In a prospective Rotterdam population-based cohort study in people aged 45 and over, among 8555 participants, the risk of prediabetes and diabetes increased with decreasing serum magnesium levels, while insulin resistance was a mediating factor [26]. Several studies showed that Type 2 diabetic or prediabetic patients were more likely to have lower serum magnesium levels [35,[38][39][40][41]. Secondary analysis regarding a double-blind placebo-controlled randomized clinical trial of vitamin D supplementation found that serum magnesium level was significantly lower in patients with Type 2 diabetes [38]. The meta-analysis of 13,455 subjects (2979 prediabetic patients and 10,476 healthy controls) revealed that serum magnesium level were significant lower in prediabetic subjects than those of healthy controls [39]. Moreover, a recent case-control study in Morocco confirmed that serum magnesium levels were positively correlated with glycemic control; among 170 patients with Type 2 diabetes, HbA1c was significant higher in patients with lower magnesium levels [35]. Those studies strongly showed that hypomagnesemia is not an important feature of diabetes, but a valuable factor to predict diabetes. A prospective study suggested serum magnesium concentrations ≥0.82 mmol/L as an evidence-based reference interval of serum magnesium concentrations for preventing noncommunicable chronic diseases such as hypertension, stroke, and Type 2 diabetes [42]. Genetics seems to be a vital risk factor for Type 2 diabetes, and serum magnesium levels may modify the risk of diabetes through several magnesium-regulating genes such as TRPM6, CLDN19, SLC41A2, CNNM2, and FXYD2 [26]. The mechanism of how CNNM2 and FXYD2 mediated the serum magnesium levels has still not been revealed [43]. Both magnesium and zinc are vital micronutrients in glucose homeostasis [44,45], and deficiency in magnesium and zinc could lead to complications of diabetes mellitus [46,47]. Several meta-analyses indicated that zinc supplementation benefits glucose control and diabetes mellitus management [48,49]. Hamedifard et al. conducted a trial on Type 2 diabetes patients with coronary heart disease, and found that the levels of insulin and fasting blood glucose were significantly improved in participants taking zinc and magnesium supplements [45].
The strengths of our study include the large sample size, and the stability and detailed characterization of the study population. CHNS is a longitudinal cohort study tracking data in two generations that provides study populations with heterogeneity. Furthermore, each round of CHNS strictly followed a protocol with the same survey design and questionnaire model to ensure the comparability of data across different rounds. This is the first prospective cohort that evaluated the relationship between serum magnesium, and IR and Type 2 diabetes among healthy adults in China. In addition, we chose data with at least two rounds of follow-up to obtain more reliable information in order to examine the association of serum magnesium levels with IR and Type 2 diabetes mellitus. Furthermore, we used RCS analysis to explore the dose-response correlation between continuous serum magnesium levels, and IR and Type 2 diabetes.
A potential limitation of our study is that we excluded participants on the basis of missing or invalid values on other variables of interest, which may have significant differences in sociodemographic, lifestyle, and anthropometric variables compared with the remaining analytical subjects. The quantile division of continuous variables may have caused misclassification bias, and there were information and batch biases in our study caused by the multiround cohort study design and data collection. We also could not rule out potential confounding factors caused by the inability to obtain data from the current survey such as family history of diabetes and treatment methods or by inaccurately measured factors. In our study, the micronutrient amount taken from nutrient supplements and fortified food was not evaluated. Moreover, we could not estimate the daily water intake in terms of Mg 2+ during the follow-up period.

Conclusions
Lower serum magnesium was associated with IR and Type 2 diabetes in participants with normal serum magnesium levels. Nonlinear dose-response relationships were found in both serum magnesium and IR, and in serum magnesium and Type 2 diabetes. Potential reasons for the U-shaped association between serum magnesium levels, and the risk of IR and diabetes warrant further discussion.