Thirty-six pigs (22 kg of BW) were used to evaluate a carbohydrase preparation, with xylanase and beta-glucanase as main activities, added to either wheat-barley-rye- (WBR) or corn-based diets on performance, intestinal environment, and nutrient digestibility. Pigs were offered 1 of 4 different dietary treatments for 27 d according to a factorial arrangement of treatments (a 2*2) with 2 cereal types (WBR or corn) and 2 levels of supplemental carbohydrase (0 or 0.01%). Pig growth and feed intake were individually measured every week until the end of the experiment when pigs were slaughtered to obtain samples of digesta and tissues. Cereal type affected performance only during wk 1, in which WBR improved ADG (590 vs. 440 g/d; P=0.008) and G:F (0.61 vs. 0.43; P=0.045) compared with corn. The WBR also increased the viscosity of the digestive contents in stomach (1.95 vs. 1.23 mPa.s; P=0.001) and ileum (6.53 vs. 2.80 mPa.s; P=0.001) and resulted in greater cecal starch digestibility (95.7 vs. 93.9%; P=0.012). However, trends for a reduction in digestibility were observed for glucose in the nonstarch polysaccharide (NSP) fraction in the ileum (64.4 vs. 75.8%; P=0.074) and galactose in the NSP fraction in the cecum (1.4 vs. 1.8%; P=0.055). The use of the enzyme preparation increased ADFI during wk 2 (1,328 vs. 1,215 g/d; P=0.028), and increased villus height (423 vs. 390 m; P=0.045) and tended to reduce relative pancreas weight (0.16 vs. 0.17% BW; P=0.079) at d 27. The enzyme also improved cecal starch digestibility (95.5 vs. 94.1%; P=0.043) and tended to improve ileal energy digestibility (61.3 vs. 53.7%; P=0.090) and cecal glucose digestibility in the NSP fraction (76.0 vs. 54.5%; P=0.055). However, it reduced the cecal digestibility of mannose in the NSP fraction (27.0 vs. 50.5%; P=0.016). Interactions ( P