Objective: This study aimed to assess the impact of a hydroethanolic extract of walnut green husks (WGH) on rumen fermentation and the diversity of bacteria, methanogenic archaea, and fungi in sheep fed a high-concentrate diet.Methods: Five healthy small-tailed Han ewes with permanent rumen fistula were selected and housed in individual pens. This study adopted a self-controlled and crossover design with a control period and an experimental period. During the control period, the animals were fed a basal diet (with a ratio of concentrate to roughage of 65:35), while during the treatment period, the animals were fed the basal diet supplemented with 0.5% hydroethanolic extract of WGH. Fermentation parameters, digestive enzyme activities, and microbial diversity in rumen fluid were analyzed.Results: Supplementation of hydroethanolic extract of WGH had no significant effect on feed intake, concentrations of total volatile fatty acids, isovalerate, ammonia nitrogen, and microbial protein (p>0.05). However, the ruminal pH, concentrations of acetate, butyrate and isobutyrate, the ratio of acetate to propionate, protozoa count, and the activities of filter paper cellulase and cellobiase were significantly increased (p<0.05), while concentrations of propionate and valerate were significantly decreased (p<0.05). Moreover, 16S rRNA gene sequencing revealed that the relative abundance of rumen bacteria <i>Christensenellaceae</i> R7 group, <i>Saccharofermentans</i>, and <i>Ruminococcaceae</i> NK4A214 group were significantly increased, while <i>Ruminococcus gauvreauii</i> group, <i>Prevotella</i> 7 were significantly decreased (p<0.05). The relative abundance of the fungus <i>Pseudomonas</i> significantly increased, while <i>Basidiomycota, Fusarium</i>, and <i>Alternaria</i> significantly decreased (p<0.05). However, there was no significant change in the community structure of methanogenic archaea.Conclusion: Supplementation of hydroethanolic extract of WGH to a high-concentrate diet improved the ruminal fermentation, altered the structure of ruminal bacterial and fungal communities, and exhibited beneficial effects in alleviating subacute rumen acidosis of sheep.