PurposeMagnesium (Mg) is an essential nutrient for the maintenance of vital physiological functions. Magnesium deficiency is associated with diseases such as obesity, type 2 diabetes mellitus (T2DM), and metabolic syndrome (MetS); however, conclusions have been inconsistent, and there is a particular lack of evidence regarding this association in Chinese population older than 45 years. This study aimed to assess the association between plasma magnesium and the risk of MetS and its components, the dose–response relationship, and the threshold effect relationship in a Chinese population involving older than 45 years.MethodsA total of 2,101 individuals were randomly selected from the China Nutrition and Health Surveillance (CNHS) (2015–2017) by considering monitoring points. We used the joint statement of the International Diabetes Federation (IDF) in 2009 to define participants with MetS. The plasma magnesium was tested by inductively coupled plasma mass spectrometry (ICP-MS). The logistic regression and restricted cubic spline (RCS) models were used to analyze the association and dose–response relationship between plasma Mg and MetS and its components.ResultsCompared with the lowest quintile (Q1) for plasma Mg, the odds ratios (ORs) and 95% confidence intervals (95% CI) for MetS, impaired fasting glucose (IFG), hypertension, and triglyceride (TG) elevation at the highest quintile (Q5) were 0.419 (0.301, 0.583), 0.303 (0.221, 0.415), 0.446 (0.322, 0.618), and 0.526 (0.384, 0.720), respectively, with all p