The white wagtail is an insectivorous bird of open country, often near habitation and water. It prefers bare areas for feeding, where it can see and pursue its prey. In urban areas, it has adapted to foraging on paved areas such as car parks. It nests in crevices in stone walls and similar natural and human-made structures.
This species breeds throughout Eurasia up to latitudes 75°N, only being absent in the Arctic from areas where the July isotherm is less than 4 °C. It also breeds in the mountains of Morocco and western Alaska. It occupies a wide range of habitats, but is absent from deserts. White wagtails are residents in the milder parts of its range such as western Europe and the Mediterranean, but migratory in much of the rest of its range. Northern European breeders winter around the Mediterranean and in tropical and subtropical Africa, and Asiatic birds move to the Middle East, India, and Southeast Asia. Birds from the North American population also winter in tropical Asia.

