Cities experience changes in abiotic factors, such as warming, increases in noise and light. These changes can lead to phenotypic changes. Several studies have revealed that altered environments change phenotypes in plants and animals in cities. However, limited studies have isolated evolutionary from nongenetic changes. Here, we analyzed the evolution of thermal tolerance and diurnal activity patterns in the urban population of the fruit pest,
Drosophila suzukii
. Urban and rural isofemale lines were reared under constant conditions. We compared the lower and upper thermal limits (CT
min
and CT
max
, respectively), and effects of temperature exposure on the thermal limits of urban and rural populations. Common garden experiments showed that urban populations exhibit a lower CT
min
than rural populations, suggesting genetic difference in CT
min
among populations. On the other hand, the difference in CT
max
between urban and rural populations was not significant. Exposure to cold temperature did not affect CT
min
in both urban and rural populations. In contrast, exposure to hot temperature increased CT
max
especially in urban population, suggesting that urban populations evolved in response to urban heat. We also investigated the daily activity patterns of urban and rural populations and the effect of lifelong artificial light at night on daily activity. We found that night‐time light (dim light) reduced the total amount of activity compared to dark night condition. In addition, dim light at night altered the daily rhythm of activity and increased the activity rate at night. The effect of night light on total activity was less in urban than that in rural populations, suggesting that populations in cities evolved to mitigate decreased activity under night light. Our results showed that environmental temperature and artificial light at night evolutionarily and plastically influence ecologically important traits, such as temperature tolerance and diurnal activity.