ABSTRACT Economic and social activities in the digital age have changed business forms and spatial relations, and identifying evolution of the urban form in the digital age is the key to sustainable urban governance. Based on data from prefecture-level cities in China from 2010 to 2021, this study explores the impact of the digital economy on urban sprawl and the path to its realization, thus providing policy implications for urban governance in the digital economy era. The empirical results show that the digital economy significantly promotes urban sprawl and that the urban sprawl effect caused by the digital economy has regional and scale heterogeneity. Western and medium-sized cities show greater sprawl trends under the influence of the digital economy. Digital economy development can significantly affect residents’ lifestyles and lead to urban sprawl, such as encouraging green, digital, and suburban lifestyles. In addition, the digital economy significantly affects the demand for urban land space, such as the industrial division of labour patterns, urbanization processes, and industrial virtual agglomeration, which are indirect factors leading to urban sprawl.