Predators can exploit chemical signals of social insects to locate prey. Ants are considered as major predators of termites, and the interactions between them have been shaped by a long evolutionary history. Here, we investigated whether the ant Odontoponera transversa exhibits differential responses towards three termite species: Coptotermes formosanus, Ancistrotermes dimorphus, and Macrotermes barneyi. Through a combination of field trapping experiments and laboratory behavioral assays, we found that O. transversa showed stronger predatory responses towards A. dimorphus and M. barneyi than towards C. formosanus. Furthermore, when A. dimorphus or M. barneyi was present, attacks on C. formosanus were rarely observed, suggesting a hierarchy in prey preference. Behavioral assays indicated that termite trail pheromones serve as key cues influencing ant foraging decisions. Our findings suggest that differential responses to chemical signals, particularly trail pheromones, may underlie the observed prey preference patterns in O. transversa. Together, these results demonstrate that chemical signals, particularly trail pheromones, are key determinants of prey preference in O. transversa, offering a foundation for understanding the chemical ecology of ant–termite interactions.