Abstract The increasing frequency of European heatwaves and the associated impacts on ecosystems have raised widespread concern during the last two decades. The partitioning of surface energy between latent and sensible heat fluxes plays a pivotal role in regulating heat and water exchange between the land surface and the atmosphere. However, the responses of surface energy partitioning during heatwave events and the contributions of changes in energy partitioning to heatwave development have been underexplored. Here, we investigated the responses of surface energy exchange to temperature extremes during four devastating European heatwaves (2003, 2010, 2018, and 2022) based on long‒term observations from 31 flux towers. Our results demonstrated that the divergent responses of surface energy exchange to heatwaves were modulated by vegetation type and background climate in Europe. Forests maintained similar latent heat fluxes as the climatological mean but largely increased sensible heat under heat‒stressed conditions. While grasslands and croplands tended to increase sensible heat by suppressing latent heat during heatwaves, especially under water‒stressed conditions. Furthermore, the changes in surface energy partitioning strengthened positive land‒atmosphere feedbacks during the heatwave period, leading to unprecedented temperature extremes. This study highlights the importance of surface energy partitioning in land‒atmosphere interactions and heatwave developments.