Its natural habitats are subtropical or tropical moist lowland forests, swamps, freshwater marshes, intermittent freshwater marshes, and heavily degraded former forest.
Its natural habitats are subtropical or tropical dry forests, subtropical or tropical moist lowland forests, subtropical or tropical dry shrubland, and heavily degraded former forest.