The massive and rapid expansion of the cattle egret's range is due to its relationship with humans and their domesticated animals. Originally adapted to a commensal relationship with large browsing animals, it was easily able to switch to domesticated cattle and horses. As livestock keeping spread throughout the world it was able to occupy otherwise empty niches.