Objective: To investigate the prevalence and independent risk factors of non-alcoholic fatty liver disease (NAFLD) and advanced chronic liver disease among the type 2 diabetes mellitus (T2DM) population in the Shenyang community, so as to provide evidence for the prevention and control of T2DM combined with NAFLD. Methods: This cross-sectional study was conducted in July 2021. 644 T2DM cases from 13 communities in Heping District, Shenyang City were selected. All the surveyed subjects underwent physical examination (measurements of height, body mass index, neck circumference, waist circumference, abdominal circumference, hip circumference, and blood pressure), infection screening (excluding hepatitis B and C, AIDS, and syphilis), random fingertip blood glucose, controlled attenuation parameter (CAP), and liver stiffness measurement (LSM). The study subjects were divided into the non-advanced chronic liver disease group and the advanced chronic liver disease group according to whether the LSM value was greater than 10 kPa. Cirrhotic portal hypertension development was indicated in patients with LSM ≥ 15 kPa. The comparison of multiple mean values among the sample groups was performed by analysis of variance when the normal distribution was met. Results: In the T2DM community population, there were 401 cases (62.27%) combined with NAFLD, 63 cases (9.78%) combined with advanced chronic liver disease, and 14 cases (2.17%) combined with portal hypertension. There were 581 cases in the non-advanced chronic liver disease group and 63 cases (9.78%) in the advanced chronic liver disease group (LSM ≥10 kPa), including 49 cases (7.61%) with 10 kPa≤LSM<15 kPa, 11 cases (1.71%) with 15 kPa ≤LSM<25 kPa, and 3 cases (0.47%) with LSM ≥ 25 kPa. Age, body mass, body mass index, neck circumference, waist circumference, hip circumference, waist-to-height ratio, systolic blood pressure, and CAP were all statistically different between the non-advanced chronic liver disease group and the advanced chronic liver disease group (F=-1.983,-2.598,-4.091,-2.062,-3.909, -4.581,-4.295,-2.474, and -5.191, respectively; P<0.05). There was a statistically significant difference in terms of whether or not there was combined cerebrovascular disease (2=4.632, P=0.031); however, there were no statistically significant differences in terms of lifestyle, diabetes complications, and other complications (P>0.05). Conclusion: Patients with T2DM have a higher prevalence of NAFLD (62.27%) than those with advanced chronic liver disease (9.78%). 2.17% of T2DM cases in the community may not have had early diagnosis and early intervention, and they might have been combined with cirrhotic portal hypertension. So, the management of these patients should be strengthened.