To estimate the incidence of pulmonary tuberculosis (PTB) in Chinese diabetes patients and to evaluate the effect of blood glucose on PTB risk, a retrospective cohort study was built based on the diabetes management system in Shanghai and included 240,692 adults aged 35 or above. Incidences of PTB in all diabetes patients and by subgroups were calculated and compared. Multivariable Cox regression models with restricted cubic splines were used to evaluate the association of fasting plasma glucose (FPG) with the risk of PTB. A total of 439 incident PTB cases were identified in the cohort after an average of 3.83 years of follow-up. The overall PTB incidence rate was 51.3/100,000 in diabetes patients, and annual incidence remained higher than that in general population. The PTB incidence rate of diabetes patients was higher in men than in women (86.2 vs. 22.1 per 100,000) and was highest in patients with body mass index (BMI) < 18.5 kg/m 2 (215.2/100,000) or FPG ≥ 10 mmol/L (143.2/100,000). Our results suggest that the risk of tuberculosis may be greater at higher levels of FPG in diabetes patients of normal weight. Specific tuberculosis screening strategies for different characteristic diabetes population should be provided to prevent and control tuberculosis in China. Tuberculosis (TB) remains a major global public health issue despite its slowly decreased incidence, particularly in developing countries. The World Health Organization (WHO) reported that an estimated 10 million people developed TB and 1.6 million people died of TB worldwide in 2017 1. At the same time, type 2 diabetes mellitus (T2DM) is a global epidemic. It is estimated that there were around 425 million prevalent diabetes patients worldwide in 2017, and the number is expected to be almost 700 million by 2045 2. The associations of T2DM with the incidence, severity and clinical outcome of TB have been well documented 3-7. The estimated number of incident TB attributable to T2DM increased from 10% in 2010 to 15% in 2013, globally, and almost 17% of diabetes-associated TB cases occurred in China 8. A recent meta-analysis demonstrated that T2DM was associated with a two-to four-fold increased risk of active TB 9. Shanghai, a typical megacity of China, experiencing rapid population aging, urbanization, industrialization and changes in lifestyle, is bearing heavy dual burden of prevention and control for diabetes and TB. Although TB incidence rate is relatively low in Shanghai, approximately 26.9 per 100,000 in 2015, the prevalence of diabetes is dramatically increasing. A cross-sectional investigation in 2013 reported that overall weighted prevalence of diabetes was 17.6% among Shanghai residents aged 35 or above, which was much higher than the nationwide average level 10. Therefore, to realize the WHO's END TB Strategy, which was approved by the 67 th World Health Assembly in 2014 11 , the Shanghai Municipal Commission of Health and Family Planning launched "Plan for Hierarchical