Lay Summary Dairy cows are exposed to severe heat stress under hot and humid climates in summer in south China, resulting in a decline in feed intake and milk yield. Therefore, we investigated the effect of live yeast (LY, Saccharomyces cerevisiae) supplementation on the milk performance, bacterial community, and functions in the rumen and hindgut of dairy cows under heat stress. Thirty-three dairy cows were randomly assigned to control (CON, without yeast addition), treatment 1 (LY-10, with 10 g yeast/d/head) and treatment 2 (LY-20, with 20 g yeast/d/head). Supplementing LY decreased the rectal temperature and respiratory rate of the dairy cows and increased feed intake and milk performance. Live yeast enhanced fermentation in the rumen but did not affect it in the hindgut. Live yeast altered the microbiota in the rumen and hindgut, with an enrichment of bacteria in the pathways of the metabolism of carbohydrates, protein, and other substances. In all, LY supplementation had beneficial effects on dairy cows under heat stress by affecting the microbiota and fermentation in the rumen and hindgut. The objective of this study was to investigate the effects of live yeast (LY, Saccharomyces cerevisiae) on the lactation performance, bacterial community, and functions in the rumen and hindgut of dairy cows under heat stress. Thirty-three multiparous (parity 3.9 +/- 0.8) Holstein dairy cows (189.1 +/- 6.6 d in milk at the beginning of the experiment) were randomly assigned to three groups (11 cows per treatment). Cows in the three groups were fed a diet without yeast (CON), with 10 g yeast/d/head (LY-10), and with 20 g yeast/d/head (LY-20). The yeast product contained 2.0 x 10(10) CFU/g. Supplementing LY decreased the rectal temperature and respiratory rate of cows, and increased dry matter intake, milk yield, milk fat yield, milk protein yield, and milk lactose yield (P < 0.001), yet decreased milk urea nitrogen concentration (P = 0.035). Interaction effects of treatment x week were observed for rectal temperature (P < 0.05), respiratory rate (P < 0.05), milk yield (P = 0.015), milk urea nitrogen (P = 0.001), milk protein yield (P = 0.008), and milk lactose yield (P = 0.030). In rumen, LY increased the concentrations of acetate, isobutyrate, isovaterate, valerate, total volatile fatty acids (VFAs), and NH3-N (P < 0.05). Miseq sequencing of the 16S rRNA genes showed that LY increased the relative abundance of Prevotella and Prevotellaceae UCG-003 at the genus level with a series of enriched pathways in the metabolism of carbohydrates and protein. In fecal samples, LY did not affect the profile of VFAs (P > 0.05). Clostridium sensu stricto 1 (P = 0.013) and Actinobacillus (P = 0.011) increased in the relative abundance by LY, whereas Bacteroides (P = 0.016) and Oscillospirales UCG-010 (P = 0.005) decreased with a series of enriched pathways in carbohydrate metabolism, secondary bile acid biosynthesis. In summary, LY supplementation altered the bacterial community's composition and function in rumen and hindgut, and simultaneously alleviated the detrimental effects of heat stress on dairy cows. These findings provide extended insight into the effects of LY in the rumen and hindgut of dairy cows exposed to heat stress. Live yeast functioned not only in the rumen but also in the hindgut of dairy cows exposed to heat stress.