Acoustic communication plays a vital role in predator-prey interactions. Although habitat structure has been shown to affect anti-predator tactics, little is known about how animals vary their behaviors in response to predator calls or heterospecific alarm calls in different environments. Here we used sound playbacks to test the responses of Eurasian tree sparrows (Passer montanus) foraging in harvested/unharvested rice paddy and open residential area. In the first experiment, we tested their behavioral responses to dove calls, male common cuckoo (Cuculus canorus) calls, hawk-like calls mimicked by female common cuckoo, sparrowhawk (Accipiter nisus) calls, and human yell calls produced to scare birds (predator signal playbacks). In the second experiment, we tested their behavioral responses to the Japanese tit’s (Parus minor) territorial songs and alarm calls (heterospecific alarm signal playbacks). Results showed that the tree sparrows had less fleeing in unharvested ripe rice paddy than in harvested rice paddy and open residential area. In predator signal playbacks, call type affected the escape behavior of sparrows in unharvested rice paddy and open residential area but not harvested rice paddy. In alarm signal playbacks, tit alarm calls evoked more fleeing than territorial songs in harvested rice paddy and open residential area but not unharvested rice paddy. These results suggest that anthropogenic habitat changes may influence avian anti-predator tactics.