Existing research on regional railway network characteristics often overlooks the degree of connectivity between stations and tends to adopt a singular analytical perspective.To address these limitations,this study examines the railway passenger transport network of the Chengdu-Chongqing urban agglomeration from the perspective of community division,exploring the complex structural and functional characteristics of the railway network.First,considering both railway infrastructure and train operations,the Space L and Space P methods are employed to construct models of the railway passenger physical network and service network,respectively.Next,the overall network characteris-tics are analyzed through topological statistical indicators such as degree distribution and average path length.Finally,community structure theory is introduced to investigate the internal network character-istics.A community division method based on an improved particle swarm optimization algorithm is proposed to further analyze the community composition,geographical distribution,and internal connec-tivity of the Chengdu-Chongqing railway passenger transport network.The results indicate that the rail-way passenger physical network of the Chengdu-Chongqing urban agglomeration exhibits scale-free characteristics,while the service network demonstrates small-world characteristics.The physical net-work is divided into 12 communities,whose spatial distribution exhibits obvious geographical patterns closely aligned with the main railway lines.The service network is divided into 8 communities,with a spatial distribution that transcends geographical constraint,where stations within the same community display long-distance interactions.Additionally,each community network retains small-world character-istics.The study's conclusions provide valuable insights for promoting the integrated development of the Chengdu-Chongqing railway passenger transport network and enhancing its overall reliability.