Objective To understand the temporal and spatial distribution characteristics and clustering features of pulmonary tuberculosis in Nanning City,Guangxi Zhuang Autonomous Region from 2013 to 2022,and to provide a scientific basis for formulating pulmonary tuberculosis prevention and control strategies.Methods Extract pulmonary tuberculosis case data from the Chinese Disease Prevention and Control Information System for Nanning City from 2013 to 2022 to describe the spatial distribution characteristics of the disease and explore its spatial clustering characteristics through spatial autocorrelation analysis and spatiotemporal scanning analysis.Results The average annual reported incidence rate of pulmonary tuberculosis in Nanning City from 2013 to 2022 was 74.90/100 000,with average annual reported incidence rates of 101.74/100 000 for males and 46.25/100 000 for females.The incidence rate in males was higher than in females(x2=21.19,P<0.001).Cases were reported every month throughout the year,but no obvious seasonality was observed.There were variations in reported incidence rates among the 12 districts and counties(x2=53.31,P<0.01).Since 2017,there has been a spatial positive correlation between the number of pulmonary tuberculosis patients with positive pathogenic results and the reported incidence of pulmonary tuberculosis in Nanning City.The number of pulmonary tuberculosis cases demonstrates a significant global spatial positive correlation(Moran's I values ranging from 0.16 to 0.30)."High-high"cluster areas were mainly located in certain streets(townships)of Jiangnan District,Mashan County,and Shanglin County.Pulmonary tuberculosis incidence showed both spatial and temporal clustering,with a total of five spatiotemporal cluster areas identified.One cluster area was centered on Tanghong Township in Shanglin County,occurring from January 2013 to November 2017,covering 39 streets(townships)in Nanning City.Conclusions The pulmonary tuberculosis epidemic in Nanning City is not optimistic,with evident spatial and temporal clustering.Males are the key population for pulmonary tuberculosis prevention and control.Areas with dense populations and underdeveloped economies should be prioritized for epidemic prevention and control,and screening for close contacts of pathogen-positive cases should be strengthened.