Excessive testosterone affects the chronic activation of androgen receptor in pancreatic beta cells, which is prone to diabetes, leading to excessive insulin secretion and secondary pancreatic beta cell failure (29–32).Combined with the above mechanism research, our study further provides clinical evidence that pre-pregnancy testosterone is a potential risk factor for GDM. This evidence concerns the gene AR and gestational diabetes.