The relationship between childhood socioeconomic status (SES) and type 2 diabetes (T2D) remains inconclusive, and the pathways and mechanisms driving this relationship have yet to be clarified. This study aimed to examine the pathways linking childhood SES to T2D prevalence in mid-late adulthood in a low- and middle-income country. The incidence of T2D diagnosed in mid-late Chinese adulthood was assessed using self-reports from the Health and Retirement Longitudinal Study (CHARLS). Childhood SES was assessed by the education, occupation, survivorship of the parents and the financial situation of the family, whereas adulthood SES was assessed by education and wage. This study performed structural equation modeling to clarify the direct and indirect pathways from childhood SES to T2D via childhood health, childhood food shortage, adulthood SES and physical activity. A total of 15,132 participants were included, and the prevalence of T2D was 5.24%. This study found that childhood SES was directly associated with T2D in mid-late adulthood, the probability of developing T2D increased by 9.20% of the standard deviation for each decrease in standard deviation in childhood SES. Childhood SES was indirectly associated with T2D via adulthood SES, physical activity, childhood health and food shortage. Adulthood SES and physical activity mainly mediated the indirect pathway from childhood SES and T2D. This study showed direct and indirect pathways from disadvantaged childhood SES to increased risk of T2D in mid-late Chinese adulthood. Childhood SES, adulthood SES, physical activity, childhood health and food shortage were identified as life-course interventional targets that should be considered in the development of effective strategies to reduce the burden of T2D and SES-related health inequities in childhood.