To investigate the screening and predicting functions of obesity- and lipid-related indices for type 2 diabetes (T2D) in middle-aged and elderly Chinese, as well as the ideal predicted cut-off value. This study's data comes from the 2011 China Health and Retirement Longitudinal Study (CHARLS). A cross-sectional study design was used to investigate the relationship of T2D and 13 obesity- and lipid-related indices, including body mass index (BMI), waist circumference (WC), waist–height ratio (WHtR), visceral adiposity index (VAI), a body shape index (ABSI), body roundness index (BRI), lipid accumulation product (LAP), conicity index (CI), Chinese visceral adiposity index (CVAI), triglyceride- glucose index (TyG index) and its correlation index (TyG-BMI, TyG-WC, TyG-WHtR). The unadjusted and adjusted correlations between 13 indices and T2D were assessed using binary logistic regression analysis. The receiver operating characteristic curve (ROC) was used to determine the usefulness of anthropometric indices for screening for T2D and determining their cut‑off value, sensitivity, specificity, and area under the curve (AUC). The study comprised 9488 people aged 45 years or above in total, of whom 4354 (45.89%) were males and 5134 (54.11%) were females. Among them were 716 male cases of T2D (16.44%) and 870 female cases of T2D (16.95%). A total of 13 obesity- and lipid-related indices were independently associated with T2D risk after adjusted for confounding factors (P < 0.05). According to ROC analysis, the TyG index was the best predictor of T2D among males (AUC = 0.780, 95% CI 0.761, 0.799) and females (AUC = 0.782, 95% CI 0.764, 0.799). The AUC values of the 13 indicators were higher than 0.5, indicating that they have predictive values for T2D in middle-aged and elderly Chinese. The 13 obesity- and lipid-related indices can predict the risk of T2D in middle‑aged and elderly Chinese. Among 13 indicators, the TyG index is the best predictor of T2D in both males and females. TyG-WC, TyG-BMI, TyG-WHtR, LAP, and CVAI all outperformed BMI, WC, and WHtR in predicting T2D.