This is a bird of swamps, mangrove, várzea and other semi-open areas near water. It is generally common, and even occurs in lightly wooded wet habitats in towns or cities (e.g. Manaus and Puerto Maldonado).