The habitats it prefers in its breeding range are the dense, shrubby forested edges of rivers and lakes. It mostly occurs in low-lying areas, but it may breed in valleys at altitudes of up to 1,500 मी (4,900 फीट). In winter, it additionally occurs in marshes, flooded fields, and open rivers. While it prefers freshwater, it may also be seen wintering in coastal lagoons and estuaries. In its introduced European range, it lives in more open habitat than in its native range, around the edges lakes, water meadows, and cultivated areas with woods nearby.