As one kind of high-quality feed with rich nutrients, including high quality protein and amino acids, dietary fiber, enriched vitamins and mineral elements and bioactive molecules, alfalfa has been widely used in the production of ruminant livestock. As the understanding of alfalfa becomes more and more comprehensive, it is found that the high-quality nutrients in alfalfa could have positive effects on pigs. An increasing number of researches have shown that supplementing dietary alfalfa to the diet of gestating sows reduced constipation, alleviated abnormal behavior, improved satiety and reproductive performance; supplementing dietary alfalfa to the diet of piglets improved growth performance and intestinal barrier function, reduced intestinal inflammatory response and diarrhea; supplementing dietary alfalfa to the diet of growing-fattening pigs improved production performance and pork quality. Moreover, the mechanisms by which various nutrients of alfalfa exert their beneficial effects on pigs mainly including dietary fiber stimulating intestinal peristalsis, enhancing the activity of digestive enzymes, and promoting the colonization of beneficial bacteria in the intestinal tract through fermentation in the intestine, producing short-chain fatty acids and thus improving intestinal health; high quality protein and amino acids are beneficial to improve animal health condition; rich vitamins and mineral elements play an important role in various physiological functions and growth and development of the body; and bioactive molecules can improve the antioxidant and anti-inflammatory level. Therefore, alfalfa could be used as pig feed ingredient to alleviate various problems in the pig industry and to improve pig production performance. In this review, we detail the current application of alfalfa in pigs and discuss the potential mechanisms involved in how alfalfa improves growth and reproductive performance, pork quality, and intestinal health of the animals, thus laying the foundation for the increased application of high-quality forage in pig production.