Determining the dietary spectrum of European insectivorous bats over time is the cornerstone of their conservation, as it will aid our understanding of foraging behavior plasticity in response to plummeting insect populations. Despite the global decline in insects, a restricted number of arthropod pest species thrive. Yet past research has overlooked the potential of European bats to suppress pests harmful to woodlands or livestock, in spite of their economic relevance. Here we investigated the diet composition, its breeding season variations and pest consumption of an insectivorous bat species (Myotis emarginatus), at the northern edge of its range (Wallonia, Belgium). We also explored the prey ecology to gain insight into the hunting strategies and foraging habitats of this bat species. We used DNA metabarcoding to amplify two COI markers within 195 bat droppings collected in June, July and August, thereby identifying 512 prey taxa predominated by Diptera, Araneae and Lepidoptera. Overall, in 97% of the samples we detected at least one of the 58 potential pest taxa, 41 of which targeting trees. The June samples were marked by a diet rich in orb-weaver spiders, in accordance with the archetypal diet of M. emarginatus bats. However, during the highly energy demanding July-August parturition and lactation period, roughly 55% of the dropping samples contained two cattle fly pests (Stomoxys calcitrans and Musca domestica). Moreover, among the 88 Diptera species preyed upon by M. emarginatus in July and August, these flies accounted for around 50% of the taxa occurrences. This plasticity—the switch from a spider-rich to a fly-rich diet—seems providential considering the dramatic ongoing drop in insect populations but this involves ensuring bat-friendly cattle farming. Our results revealed that bats widely consume pest entomofauna, thereby highlighting their potential role as allies of forest managers and farmers.