BackgroundTo describe the trends of Type 2 Diabetes with Pulmonary Tuberculosis (T2DM-TB) patients from 2013 to 2022 and to investigate the impact of COVID-19 lockdown on glycemic control and associated factors in T2DM-TB. MethodsIn this population-based study of the First Affiliated Yijishan Hospital of Wannan Medical College in China, we described the 10-year trends of patients diagnosed with T2DM-TB. We included patients diagnosed with TB, T2DM-TB and T2DM-TB patients for comparative analysis, aged 15 years or older. Data were missing, and both multidrug-resistant (MDR) TB patients and non-T2DM patients were excluded from our study. ResultsWe pooled Type 2 Diabetes (T2DM) and Tuberculosis (TB) data from The First Affiliated Yijishan Hospital of Wannan Medical College in China, gathered between January 1, 2013, and December 31, 2022. The data included 14,227 T2DM patients, 6130 TB patients, and 982 T2DM-TB patients. During the past 10 years, the number of inpatients with TB decreased, while the number of patients with T2DM and T2DM-TB increased year by year. To rule out any influence factors, we analyzed the ratio of the three groups. The ratio of TB/T2DM decreased year by year (p < 0.05), while the ratio of TB-T2DM/TB increasing year by year (p = 0.008). During the COVID-19 epidemic period, there was no significant change in the ratio of TB-T2DM/T2DM (p = 0.156). There was no significant change in the proportion of male patients with TB and TB-T2DM (p = 0.325; p = 0.190), but the proportion of male patients with T2DM showed an increasing trend (p < 0.001). The average age of TB patients over the past 10 years was 54.5 ± 18.4 years and showed an increasing trend year by year (p < 0.001). However, there was no significant change in the age of T2DM or TB-T2DM patients (p = 0.064; p = 0.241). Patients data for the first (2013–2017) and the last (2018–2022) five years were compared. We found that the number of T2DM and TB-T2DM in the last five years was significantly higher than in the first five years, but the number of TB was significantly lower than in the first five years. There is a significant statistical difference in the proportion of TB/T2DM and TB-T2DM/TB, which is similar to the previous results. The average age (56.0 ± 17.6 years) of TB patients in the last five years is significantly higher than in the first five years (53.1 ± 18.9) (p < 0.001). The number of male patients with T2DM in the last five years is higher than that in the first five years, with significant difference (p < 0.001). ConclusionThe trends of T2DM-TB among hospitalized TB patients have increased significantly over the past 10 years, which may be related to the increase in the number of T2DM cases. The COVID-19 pandemic has been effective in controlling the transmission of TB, but it has been detrimental to the control of T2DM. Male patients with T2DM and elderly TB patients are the key populations for future prevention and control efforts.