Hemicellulose consists primarily of pentose sugars, joined together in a polysaccharide chain with d-xylose as the most abundant component. Ileal digestibility and urinary excretion of d-xylose and associated effects of this pentose sugar on ileal and faecal digestibility of dry matter (DM), organic matter (OM), gross energy (GE) and nitrogen were studied in pigs. Castrated pigs were prepared with a post-valvular T-caecum cannula to measure ileal digestibility. Faecal digestibility was measured in non-cannulated pigs. d-xylose was given at dietary inclusion levels of 100 and 200 g/kg, and the control sugar, d-glucose, at a rate of 200 g/kg diet. Ileal digestibility of d-xylose as well as that of d-glucose was found to be close to 100%. The presence of d-xylose in the diet decreased ileal digesta pH and increased ileal flow of volatile fatty acids, suggesting the occurrence of microbial degradation of d-xylose in the pig small intestine. In pigs fed on the 100 g d-xylose/kg diet, 44.5% of the d-xylose intake appeared in the urine. This percentage increased significantly to 52.6 when pigs were fed on the 200 g d-xylose/kg diet. Ileal and faecal digestibility of DM, OM, GE and N, as well as N retention, decreased significantly in pigs fed on the 200 g d-xylose/kg diet.