The aim of this study was to identify genetic variants and pathways associated with the total number of piglets born and to investigate the potential negative consequences of the intensive selection for reproductive traits, particularly the formation of bumps on the legs of pigs. We used genome-wide association analysis and methods for identifying selection signatures. As a result, 47 SNPs were identified, localized in genes that play a significant role during sow pregnancy. These genes are involved in follicle growth and development (SGC), early embryonic development (CCDC3, LRRC8C, LRFN3, TNFRSF19), endometrial receptivity and implantation (NEBL), placentation, and embryonic development (ESRRG, GHRHR, TUSC3, NBAS). Several genes are associated with disorders of the nervous system and brain development (BCL11B, CDNF, ULK4, CC2D2A, KCNK2). Additionally, six SNPs are associated with the formation of bumps on the legs of pigs. These variants include intronic variants in the CCDC3, ULK4, and MINDY4 genes, as well as intergenic variants, regulatory region variants, and variants in the exons of non-coding transcripts. The results suggest important biological pathways and genetic variants associated with sow fertility and highlight the potential negative impacts on the health and physical condition of pigs.