Barley straw was subjected to hydrothermal pretreatment (steam explosion) processing to evaluate its potential as a raw material to produce xylooligosaccharides (XOS) suitable for use as a prebiotic. The steam explosion pretreatment generated a liquid fraction containing solubilised hemicellulose. This fraction was purified using gel permeation chromatography to obtain a fraction rich in XOS DP2-DP6. The sample was characterised through analytical techniques such as HPAEC-PAD, FTIR and MALDI-TOF-MS. The prebiotic activity was evaluated using in vitro fermentation in human faecal cultures through the quantification of short-chain fatty acid (SCFA) and lactate production, the evolution of the pH and the consumption of carbon sources. The total SCFA production at the end of fermentation (30 h) was 90.1 mM. Positive significant differences between the amount of XOS from barley straw and fructooligosaccharides after incubation were observed.