A method for improving water quality in aquatic ecosystems is described. An effective amount of Quercus infectoria nut gall powder is added to the ecosystem to prevent excessive proliferation of pathogenic bacterial species thereby improving the health of aquaculture species in the ecosystem.