For reproductive traits such as total number born (TNB), variance due to different environments is highly relevant in animal breeding. In this study, we aimed to perform a gene-network analysis for TNB in pigs across different environments using genomic reaction norm models. Thus, based on relevant single-nucleotide polymorphisms and linkage disequilibrium blocks across environments obtained from GWAS, different sets of candidate genes having biological roles linked to TNB were identified. Network analysis across environment levels resulted in gene interactions consistent with known mammal’s fertility biology, captured relevant transcription factors for TNB biology and pointing out different sets of candidate genes for TNB in different environments. These findings may have important implication for animal production, as optimal breeding may vary depending on later environments. Based on these results, genomic diversity was identified and inferred across environments highlighting differential genetic control in each scenario.