BackgroundIn recent times, a number of new indices for measuring visceral obesity have been developed. This research sought to investigate the relationship between four visceral obesity indices and prediabetes and diabetes.MethodsConducted in 2011 as a cross-sectional analysis in Dalian, China, this study utilized logistic regression models to explore the relationships between four visceral obesity indices and prediabetes and diabetes. It also assessed the dose-response relationships using restricted cubic splines (RCS), performed subgroup analyses, and conducted interaction tests. The predictive values of four visceral obesity indices were evaluated using receiver operating characteristic (ROC) curves.ResultsThe study enrolled 10,090 participants, with prediabetes and diabetes prevalence at 80.53%. Multifactorial logistic regression revealed positive relationships between the four visceral obesity indices and prediabetes and diabetes. The results of the RCS analysis revealed a linear relationship between the body roundness index (BRI), cardiometabolic index (CMI) and prediabetes and diabetes. Conversely, a non-linear relationship was observed between Chinese visceral adiposity index (CVAI), lipid accumulation product (LAP) and prediabetes and diabetes. Subgroup analyses demonstrated stronger relationships of CMI, CVAI, and LAP with prediabetes and diabetes among females. ROC curves suggested that LAP could be an effective predictor of these conditions.ConclusionThis research confirmed that four visceral obesity indices are linked with a higher risk of prediabetes and diabetes in middle-aged and elderly individuals in Dalian. Importantly, LAP could be an effective predictor of prediabetes and diabetes. Effective weight management significantly reduces the risk of both prediabetes and diabetes.