Abstract. Urban vegetation plays a role in offsetting urban CO2 emissions, mitigating heat through tree transpiration and shading, and acting as deposition surfaces for pollutants. The frequent occurrence of heatwaves and of concurrent drought conditions significantly disrupts the processes of urban trees, particularly their photosynthesis and transpiration rates. Despite the pivotal role of urban tree functioning in delivering essential ecosystem services, the precise nature of their response remains uncertain. We conducted sap flux density (Js) and leaf gas exchange measurements of four tree species (Tilia cordata, Tilia × europaea, Betula pendula, and Malus spp.) located in different urban green areas (Park, Street, Forest, and Orchard) in Helsinki, Finland. Measurements were made over two contrasting summers 2020 and 2021. Summer 2021 experienced a local heatwave and drought, whereas summer 2020 was more typical of Helsinki. In this study, we aimed to understand the responses of urban tree transpiration (measured with sap flux density) and leaf gas exchange to heatwave and drought conditions, and we examined the main environmental drivers controlling the tree transpiration rate during these periods. We observed varying responses of Js during the heatwave period at the four urban sites. When comparing the heatwave and no heatwave periods, a 35 %–67 % increase in Js was observed at the Park, Forest, and Orchard locations, whereas no significant change was seen at the Street site. Our results also showed that Js was higher (31 %–63 %) at all sites under drought conditions compared with non-dry periods. The higher Js values during the heatwave and dry periods were mainly driven by the high atmospheric demand for evapotranspiration, represented by the high vapor pressure deficit (VPD), suggesting that the trees were not experiencing severe enough heat or drought stress that stomatal control would have decreased transpiration. Accordingly, photosynthetic potential (Amax), stomatal conductance (gs), and transpiration (E) at the leaf level did not change during heatwave and drought periods, excluding the Park site where a significant reduction in gs was seen. VPD explained 55 %–69 % of the variation in the daily mean Js during heatwave and drought periods at all sites. At the Forest site, the increase in Js saturated after a certain VPD level, likely due to low soil water availability during these hot and dry periods. Overall, the heat and drought conditions were untypical of the region but not excessive enough to restrict stomatal control and transpiration, indicating that ecosystem services such as cooling were not at risk.