Two experiments were conducted to determine the effects of viscosity and fermentability of purified nonstarch polysaccharides (NSP) on intestinal nutrient and energy flow and hindgut fermentation in growing pigs. In Exp. 1, 15 ileal-cannulated pigs (50.5 ± 2.9 kg BW) were allotted to 5 diets in a 2-period incompletely randomized design. Pigs were provided a cornstarch N-free diet (CST) or a diet containing 5% inulin (INU), carboxymethylcellulose sodium (CMC), microcrystalline cellulose (MCC), or Solka-Floc (SFC). Apparent ileal digestibility (AID) of DM, ash, and GE were greater ( P < 0.05) in the MCC and SFC diets than in the INU and CMC diets. Apparent total tract digestibility (ATTD) of DM, carbohydrates (CHO), and GE and the DE content in the CST and INU diets were greater ( P < 0.01) than in the CMC, MCC, and SFC diets. Hindgut disappearance of DM, CHO, and GE in the INU diet was greater ( P < 0.05) than in the other N-free diets. The ileal endogenous flow of His, Ile, Leu, Met, Thr, Val, and all dispensable AA in the CMC diet was greater ( P < 0.05) than in the other diets. In Exp. 2, 6 ileal-cannulated pigs were allotted to 3 diets containing either a corn–soybean meal control diet or the control diet with 5% INU or CMC in a replicated 3 × 3 Latin square design. Standardized ileal digestibility (SID) of Ala, Arg, Asp, Cys, Gly, His, Ile, Leu, Lys, Phe, Ser, Thr, and Val were greater ( P < 0.05) in the CMC diet than in the control and INU diets. Incorporation of 5% INU or CMC in the control diet reduced ( P < 0.01) the AID of arabinoxylan and insoluble and total NSP. The ATTD of NSP and cellulose and the hindgut disappearance of NSP, β-glucan, and cellulose in the CMC diet were less ( P < 0.01) than in the control and INU diets. Inclusion of 5% INU in the diet increased ( P < 0.01) hindgut fermentation of insoluble and total NSP compared with the control and CMC diets. In conclusion, depending on the viscosity and fermentability of the NSP, different sources will have different effects on nutrient digestibility and hindgut fermentation. Addition of 5% INU to a corn–soybean meal diet reduced digestibility of the NSP component in the ileum and increased hindgut fermentation of total NSP. In contrast, the inclusion of CMC increased the AID and SID of the diet and reduced total tract digestion and hindgut fermentation of NSP component. Carboxymethylcellulose sodium is not recommended as a source of synthetic fiber in a N-free diet to determine the SID of AA of diets.