City residents get the opportunity to develop a comfortable and safe living environment with the effective use of smart infrastructure. First of all, this concerns the digitalization of the housing, energy, construction, and public transport sectors, the large-scale use of integrated digital platforms in city management, and control over environmental protection. Therefore, the governments of many countries are actively looking for ways for the balanced sustainable development of megacities, one of which is the policy of developing smart megacities using IT infrastructure. The purpose of the study is to identify promising areas for the development of smart infrastructure in the sustainable development of megacities. Using qualitative methods, the main opportunities for the development of digital infrastructure have been identified to achieve the principles of sustainable development, including opportunities for the development of smart infrastructure to improve an environmentally sustainable megacity, directions for solving transport and traffic problems, improving the efficiency of the waste disposal system and developing the smart energy consumption. However, the authors note that when implementing smart solutions, it is necessary to minimize the possibility of intentional human influence on the safety of the population or the creation of man-made threats, since the vital activity and safety of cities largely depends on the effective functioning of digital technologies.