Pigs have long been integral to human society for their roles in agriculture and medicine. Consequently, there is an urgent need for genetic improvement of pigs to meet human dual needs for medicine and food. In agriculture, gene editing can improve productivity traits, such as growth rate and disease resistance, which could lower farming costs and benefit consumers through enhanced meat quality. In biomedical research, gene-edited pigs offer invaluable resources as disease models and in xenotransplantation, providing organs compatible with human physiology. Currently, with CRISPR technology, especially the CRISPR/Cas9 system emerging as a transformative force in modern genetics, pigs are not only sources of sustenance but also cornerstones of biomedical innovation. This review aims to summarize the applications of CRISPR/Cas9 technology in developing pigs that serve dual roles in agriculture and biomedical applications. Compared to ZFNs and TALENs, the CRISPR/Cas9 system offers several advantages, including higher efficiency, greater specificity, ease of design and implementation, and the capability to target multiple genes simultaneously, significantly streamlining the process of genetic modifications in complex genomes. Therefore, CRISPR technology supports the enhancement of traits beneficial for agricultural productivity and facilitates applications in medicine. Furthermore, we must acknowledge the inherent deficiencies and technical challenges of the CRISPR/Cas9 technology while also anticipating emerging technologies poised to surpass CRISPR/Cas9 as the next milestones in gene editing. We hypothesize that with the continuous advancements in gene editing technologies and successful integration of traits beneficial to both agricultural productivity and medical applications, the goal of developing dual-purpose pigs for both agricultural and medical use can ultimately be achieved.