The reason that wagtails wag their tales is not entirely understood, and despite numerous studies. However, there is some evidence that the behaviour is associated with visually demonstrating a state of vigilance against predators, with the relevance of this being that, in particular for Pied wagtails, they feed largely in open areas with little cover.