It is found in subtropical/tropical in both montane and lowland moist forest, and is also found in bamboo thickets and rice plantations. Flocks of this species can do great damage to rice crops, and in parts of its range it is classed as a pest.
This bird is commonly found in humid tropical and subtropical forests, including mountainous and low-lying areas, and also inhabits bamboo thickets and rice farms. Colonies of this species can inflict substantial damage on rice crops, and in some parts of its range, it is considered a pest.