Beneficial effects of Bidens pilosa on gut microflora and animal health. A composition comprising a therapeutically effective amount of Bidens pilosa extract or an active compound isolated from the Bidens pilosa extract for use in promoting beneficial gut microbiota and/or inhibiting pathogenic gut microbiota in an animal in need thereof is disclosed. In one embodiment, the composition is for use in promoting growth performance or increasing body weight in an animal in need thereof. In another embodiment, the composition is for use in an animal that is not afflicted with coccidiosis.