The article is devoted to the study of congestion on city roads in Ukraine, which has significantly increased. Special attention is paid to city bus transport. The development of ecological public transport is the most effective method of combating harmful emissions. Today, hybrid, hydrogen, and electric technologies in road transport are considered to be such. The object of the study is the level of congestion of city roads in Ukraine and their assessment. The purpose of the work is to model the reduction of traffic jams and the development of ecological transport in megapoles of Ukraine. Research methods – statistical methods, mathematical modeling. An analysis of the level of congestion on the roads of the largest cities of Ukraine was carried out. The analysis of the development trends of urban passenger transport was carried out. An analysis of the traffic level of Ukrainian cities was carried out. A comparative analysis of the main advantages and disadvantages of electric cars over cars running on gasoline and diesel fuel was carried out. An analysis of the ways of development and use of electric buses in large cities of the developed countries of the world was carried out. On the basis of the analyzed data on the level of traffic jams in the cities-megapolises of Ukraine, it is proposed to optimize the routes and the structure of the rolling stock during linear operation in different seasons of the year, days of the week and hours of the day using a modular type of electric buses: an electric tractor and salons - electric trailers of different lengths and capacities: small, medium and large.