Hordeum vulgare husk, a cereal grain, is rich in dietary fiber and prebiotics beneficial for the gut microbiota and host organism. This study investigates the effects of barley husk-derived water-soluble xylan (BH-WSX) on gut homeostasis and the microbiome. We enzymatically extracted BH-WSX and evaluated its prebiotic and antioxidant properties. A 40.0 % (w/v) xylan yield was achieved, with the extracted xylan having a molecular mass of 212.0885 and a xylose to glucuronic acid molar ratio of 6:1. Specialized optical rotation research indicated that the isolated xylan is composed of monomeric sugars such as D-xylose, glucose, and arabinose. Fourier Transform Infrared (FTIR) spectroscopy revealed that the xylan comprises β (1 → 4) linked xylose units, randomly substituted with glucose residues, α-arabinofuranose, and acetyl groups. Nuclear Magnetic Resonance (NMR) analysis showed that the barley husk extract's backbone is substituted with 4-O-methyl glucuronic acid at the O2 position. Thermogravimetric analysis indicated that WSX exhibits a single sharp peak at 266 °C on the Differential Thermal Gravimetry (DTG) curve. Furthermore, a combination of in vitro, in vivo models, and molecular docking analysis elaborated on the anti-adhesion properties of BH-WSX. This study presents a novel approach to utilizing barley husk as an efficient source of functional polysaccharides for food-related industrial applications.