It moves between a variety of habitats. These include subtropical and temperate forests, dry and seasonally flooded grasslands and woodlands, wetlands and agricultural land from sea level to mountain slopes. In Mali and Namibia, it also lives at times in desert areas.