Toxicological studies have indicated that exposure to chlorinated paraffins (CPs) may disrupt intracellular glucose and energy metabolism. However, limited information exists regarding the impact of human CP exposure on glucose homeostasis and its potential association with an increased risk of developing gestational diabetes mellitus (GDM). Here, we conducted a prospective study with a nested case−control design to evaluate the link between short-and medium-chain CP (SCCPs and MCCPs) exposures during pregnancy and the risk of GDM. Serum samples from 102 GDM-diagnosed pregnant women and 204 healthy controls were collected in Hangzhou, Eastern China. The median (interquartile range, IQR) concentration of SCCPs was 161 (127, 236) ng/mL in the GDM group compared to 127 (96.9, 176) ng/mL in the non-GDM group (p < 0.01). For MCCPs, the GDM group had a median concentration of 144 (117, 174) ng/mL, while the control group was 114 (78.1, 162) ng/mL (p < 0.01). Compared to the lowest quartile as the reference, the adjusted odds ratios (ORs) of GDM were 7.07 (95% CI: 2.87, 17.40) and 3.34 (95% CI: 1.48, 7.53) in the highest quartile of ∑SCCP and ∑MCCP levels, respectively, with MCCPs demonstrating an inverted U-shaped association with GDM. Weighted quantile sum regression evaluated the joint effects of all CPs on GDM and glucose homeostasis. Among all CP congeners, C 13 H 23 Cl 5 and C 10 H 16 Cl 6 were the crucial variables driving the positive association with the GDM risk. Our results demonstrated a significant positive association between CP concentration in maternal serum and GDM risk, and exposure to SCCPs and MCCPs may disturb maternal glucose homeostasis. These findings contribute to a better understanding of the health risks of CP exposure and the role of environmental contaminants in the pathogenesis of GDM.