PurposeMegaprojects can play a crucial role in achieving Sustainable Development Goals (SDGs) and tackling Global Challenges. However, they are often criticized for their massive resource consumption, poor cost/time performance and significant social-environmental impacts, including irreversible environmental damage. This study aims to chart the evolution of research on megaprojects sustainability and to offer a roadmap for future developments.Design/methodology/approachThis study adopted a systematic literature review (SLR) to identify emerging themes and gaps. This study follows a three-step process of planning, conducting and reporting, based on the Tranfield approach. The overview of megaprojects sustainability research was captured through bibliometric analysis. In addition, content analysis was carried out to reveal the development of this field and get an insight into the future directions towards sustainability transition.FindingsThis study provides a longitudinal, in-depth analysis of megaprojects sustainability studies. Drawing on sustainability science and project management theories, we introduce a three-dimensional analytical framework consisting of sustainability, scope and stakeholder. This framework explains the evolution of megaprojects sustainability research from sustainability of megaprojects, to sustainability for megaprojects and then to sustainability by megaprojects. Three future avenues are proposed: (1) SDGs orientation at multi-level; (2) scope enlargement at temporal and spatial scales and (3) inclusive development for stakeholders.Originality/valueThis research contributes to the literature by providing a comprehensive and forward-looking analysis of megaprojects sustainability research. The framework and three research agendas provide a comprehensive picture of megaproject sustainability research; the agenda for future research is intended to inspire more studies and disruptive actions towards sustainability transition.