To explore the reasonable width of urban road green belts under the background of carbon peak policy and provide quantitative design guidance for urban green-belt planning, a closed-loop design that integrates urban traffic, carbon emissions, urban greening, and carbon absorption was established at the road network level. First, the factors affecting urban transport carbon emissions were analyzed from the aspects of environment, economy, population, and technology. A carbon emission prediction model was constructed based on the STIRPAT (stochastic impacts by regression on population, affluence, and technology) model. The path of the carbon peak in the transportation sector was simulated. A scenario under the carbon peak target was designed to determine the development trend of each factor. The layout forms and design requirements of urban road greening were then summarized. The annual carbon sequestration amounts of different plant types were calculated. An objective optimization model was constructed with the lowest cost of greening as the objective function. The constraint conditions specify that the carbon absorption be greater than the carbon emissions, in addition to specifying the basic greening design requirements. Finally, an empirical study was conducted on a road network area in Xi’an. According to the results, the traffic carbon emissions of Xi’an City will be 2.71 Mt in 2025, with road traffic accounting for 1.94 Mt. Without considering the road-measurement green-width constraint, the proportions of the road green belt for six road classes and the red-line width under the carbon peak target are 0.31, 0.33, 0.40, 0.22, 0.21, and 0.23. These research results provide a quantitative and reliable basis for designing the width of an urban green belt under the background of carbon peak policy. Under proportion restrictions, road greening yields better performance by considering both aesthetics and road characteristics.