Abstract Context Understanding the scale-specific effects of different landscape variables on the COVID-19 epidemics is critical for developing the precise and effective prevention and control strategies within urban areas. Objective Based on the landscape epidemiology framework, we analyzed the scale-specific effects of urban landscape pattern on COVID-19 epidemics in Hangzhou, China. Methods We collected COVID-19 cases in Hangzhou from 2020‒2022 and combined the datasets of land use and land cover (LULC) and social gathering point (SGP) to quantify the urban landscape pattern. Optimal general linear model with stepwise regression was applied to explore the dominant landscape factors driving the COVID-19 transmission in the city. Furthermore, multi-scale geographically weighted regression illustrated the spatial heterogeneity and scale specificity of these landscape variables’ effects to COVID-19 epidemic. Results Eight landscape variables of LULC and SGP patterns were identified which explained 68.5% of the variance in spatial risk of COVID-19. Different optimal bandwidths across these variables in MGWR indicated their scale-specific effects. LSI of green space enhanced the spatial risk across the entire region. The effects of landscape contagion, the number of water bodies, LSI of cropland and built-up areas, and the density of commercial houses were detected to vary between urban and suburban areas. The effects of LSI of water bodies and the density of shopping malls were found to vary among different districts. Conclusions In this study, we firstly discriminated the scale-specific effects of different landscape variables on the COVID-19 epidemic in the urban region. These findings can help to optimize the differentiated zoning prevention and control strategies for COVID-19 in cities and guide policy-making and urban planning at a multi-scale hierarchical perspective to improve public health and urban sustainability.