• Rotenone can lead to the change of the abundance of gut microbiota. • The contents of acetic acid and butyric acid decreased in intestinal tissues of rats exposed to rotenone. • The increase of intestinal barrier permeability induced inflammatory reactions in rats exposed to rotenone. • The nicotinate/nicotinamide metabolic pathways might play an important role in rats exposed to rotenone.