TG and type 2 diabetes mellitus: <h4>Aims</h4>This study aimed to investigate the potential non-linear relationships between thyroid hormones and thyroid-stimulating hormone levels on glycemic control levels.<h4>Methods</h4>A retrospective analysis of electronic medical records was performed on patients with T2DM who received treatment at a tertiary care hospital in Chengdu, Sichuan Province, between 2018 and 2023.