['To investigate the relationship of liver enzymes with hyperglycemia in a large population in Shanghai and identify the association between liver enzymes and insulin resistance.', 'A total of 3 756 participants were enrolled. Each participant underwent an oral glucose tolerance test and completed a questionnaire. Anthropometric indices were recorded and serum samples were collected for measurement.', 'Liver enzymes concentrations were independently associated with i-IGT, IFG+IGT, and diabetes. With the increase of ALT and GGT concentrations, ORs for i-IGT, IFG+IGT, and diabetes increased gradually. By comparing patients in the highest quartile of GGT concentrations or ALT concentrations with those in the lowest quartile (Q1), ORs for i-IGT, IFG+IGT, or diabetes was significant after adjustment. Both ALT and GGT concentrations were linearly correlated with HOMA-IR and independently associated with HOMA-IR [ALT OR (95% CI): 2.56 (1.51-4.34) P=0.00; GGT OR (95% CI): 2.66 (1.53-4.65) P=0.00].'] Are liver enzymes concentrations closely related to prediabetes : findings of the Shanghai Diabetes Study II ( SHDS II )?