The effects of fructans in the diet on the mucosal morphometry (height of villi, depth of the crypts, number of goblet cells), the thickness of the epithelial mucus layer and the histochemical composition of intestinal mucosubstances in the distal jejunum and the distal colon were investigated by comparing germ-free (GF) rats, rats harbouring Bacteroides vulgatus and Bifidobacterium longum (diassociated (DA) rats), and rats with a human faecal flora (HFA). The rats were fed either a commercial standard diet (ST) or ST + (50 g oligofructose (OF)-long-chain inulin (lcIN))/kg. Changes in total bacteria, bifidobacteria and Bacteroides-Prevotella in response to feeding these diets were investigated by fluorescent in situ hybridization with 16S rRNA-targeted probes both in intestinal contents (lumen bacteria) and tissue sections (mucosa-associated bacteria). The OF-lcIN-containing diet resulted in higher villi and deeper crypts in bacteria-associated, but not in GF rats. In DA and HFA rats, the colonic epithelial mucus layer was thicker and the numbers of the goblet cells were greater than in GF rats. These effects were enhanced by the OF-lcIN-containing diet. In both dietary groups, bacterial colonization of GF rats caused an increase in neutral mucins in the distal jejunum and colon. Bacteria-associated rats had more acidic mucins in the colon than GF rats, and the OF-lcIN-containing diet stimulated sulfomucins as the predominant type of acidic mucins, while sialomucins dominated in the ST-fed groups. The number of mucosa-associated bifidobacteria detected in the colon of DA and HFA rats was greater with OF-lcIN than ST (4.9 and 5.4 v. 3.5 and 4.0 log10/mm2 mucosal surface respectively), whereas the number of luminal bifidobacteria was only affected by fructans in DA rats. Bacteroides did not differ between the groups. The stabilisation of the gut mucosal barrier, either by changes in the mucosal architecture itself, in released mucins or by stimulation of mucosal bifidobacteria with fructans, could become an important topic in the treatment and prophylaxis of gastrointestinal disorders and health maintenance.