Dietary fiber (DF) is receiving increasing attention, and its importance in pig nutrition is now acknowledged. Although DF for pigs was frowned upon for a long time because of reductions in energy intake and digestibility of other nutrients, it has become clear that feeding DF to pigs can affect their well-being and health. This review aims to summarize the state of knowledge of studies on DF in pigs, with an emphasis on the underlying mode of action, by considering research using DF in sows as well as suckling and weaned piglets, and fattening pigs. These studies indicate that DF can benefit the digestive tracts and the health of pigs, if certain conditions or restrictions are considered, such as concentration in the feed and fermentability. Besides the chemical composition and the impact on energy and nutrient digestibility, it is also necessary to evaluate the possible physical and physiologic effects on intestinal function and intestinal microbiota, to better understand the relation of DF to animal health and welfare. Future research should be designed to provide a better mechanistic understanding of the physiologic effects of DF in pigs.