Visceral fat accumulation was an independent risk factor for T2DM, and increased skeletal muscle mass showed a protective effect. The combined SMI and VFA model showed significantly enhanced predictive ability for T2DM risk, suggesting its potential as a clinical biomarker.