Abstract The advancement of rural revitalization strategies underscores the increasing significance of landscape garden construction. This study optimizes scenic road routing within rural garden planning to support these strategies. By refining the topological data analysis method with Particle Swarm Optimization (PSO), we develop a model for rural scenic road routing. The model utilizes selected suitability indexes, organized through factor analysis into four categories: scenic, land, industrial resources, and infrastructure. Applied to a case study (Route Z), the model identifies Route 2 as the most suitable option, scoring 2.933. Our findings offer innovative insights and technical approaches for effectively planning rural scenic roads, contributing to countryside revitalization efforts.