Old deciduous trees for nesting, and nearby feeding grounds with plenty of ants, is essential. This is usually found in semi-open landscapes with small woodlands, hedges, scattered old trees, edges of forests and floodplain forests. Suitable habitats for foraging include grassland, heaths, plantations, orchards and lawns.