Its natural habitats are subtropical or tropical moist lowland forests and subtropical or tropical mangrove forests. It is threatened by habitat loss.